Black Line on Your Nail: What It Means and When to Worry

June 5, 2026

You noticed a dark stripe running down your fingernail or toenail, and now you can't stop staring at it. Maybe you read something online about nail cancer and your stomach dropped. Take a breath. Most black lines on nails are completely harmless, but a few deserve a closer look from a doctor, and knowing the difference is what this article is for.

What is a black line on the nail?

A black or brown line running the length of your nail is called melanonychia, sometimes written as melanonychia striata or longitudinal melanonychia. It happens when pigment-producing cells (melanocytes) at the base of your nail deposit melanin into the growing nail plate. As the nail grows out, that pigment is carried along with it, creating a stripe that runs from the cuticle toward the tip.

Most causes are benign. Common ones include a harmless mole or freckle in the nail matrix, natural pigmentation related to skin tone, certain medications, and trauma. Far less often, a dark band can be the first sign of melanoma in the nail, which is why a new or changing streak is worth having checked.

What causes a dark stripe down the nail?

The causes range from entirely ordinary to ones that need attention. Here are the most common explanations dermatologists see:

  • Constitutional (ethnic) pigmentation: very common in people with darker skin tones (Fitzpatrick types IV-VI). One frequently cited estimate is that longitudinal melanonychia appears in essentially all Black individuals by age 50 and about 20% of Asian individuals, while it occurs in only about 1% of light-skinned people.
  • A nail mole or freckle: a benign nail matrix nevus or lentigo, the nail-bed version of a mole on the skin.
  • Trauma: an injury, repeated friction, or nail biting can stimulate pigment.
  • Medications: some drugs (including certain chemotherapy and antimalarial agents) can darken the nails.
  • Subungual hematoma: a bruise under the nail from stubbing or pinching, which looks dark but is blood, not pigment.
  • Nail (subungual) melanoma: uncommon, but the reason a new or changing band should never be ignored.

Black line vs. a bruise under the nail

One of the most useful clues is whether the dark area moves. A bruise under the nail (subungual hematoma) is trapped blood. As your nail grows, the bruise grows out with it and drifts toward the tip over several weeks, eventually disappearing. You can often recall the injury that caused it, like stubbing a toe or slamming a finger in a door.

A true pigment band from melanonychia behaves differently. It stays anchored at the base of the nail and grows out as a continuous stripe, and a concerning one may slowly widen over time. If a dark spot is still sitting in the same place months later, or it is spreading, that is a reason to see a dermatologist rather than wait it out.

When should I worry about a black line on my nail?

Most dark nail bands are harmless, but nail melanoma is often diagnosed late, which worsens the outlook, so it helps to know the red flags. Dermatologists use the ABCDEF rule (Levit et al., 2000) to decide when a streak needs evaluation:

  • A - Age: peak incidence is roughly 50 to 70 years.
  • B - Band: brown-black, wider than about 3 mm, with irregular or blurred borders.
  • C - Change: recent change in the width, color, or shape of the band, or a streak that grows fast.
  • D - Digit: a single finger or toe affected, most often the thumb, index finger, or big toe.
  • E - Extension: pigment spreading onto the surrounding skin or cuticle (called Hutchinson's sign).
  • F - Family or personal history of melanoma.

How is it diagnosed and treated?

A dermatologist starts by examining the nail closely, often with a handheld magnifier called a dermoscope, to study the pattern, color, and borders of the band and to check the skin around the nail. Many benign-looking bands are simply monitored over time with photos to see whether they change, rather than biopsied right away.

When the features are worrying or the band is changing, the definitive step is a nail matrix biopsy, in which a small sample from the base of the nail is examined under a microscope. If a nail melanoma is found and caught early, surgical removal may be the only treatment needed. That is exactly why getting a new or changing streak checked promptly matters so much.

This article is general education, not a diagnosis. If you have a dark nail line that is new, widening, changing, or spreading onto nearby skin, see a board-certified dermatologist. A skin scan or a quick consult through a clinician-overseen tool like Nolla can help you decide whether an in-person visit is the right next step.

Medical Disclaimer: This article is for informational purposes only and does not constitute medical advice. Always consult with a qualified healthcare provider before starting any new skincare treatment, especially if you have underlying health conditions, are pregnant, or are taking medications.

Frequently Asked Questions

View All