Black Lines on Nails: Causes and When to Worry

Black lines on your nails are usually deposits of melanin, the same pigment that colors your skin and hair. The cells that produce melanin exist in your nails but are normally inactive. When something activates them, a dark streak or band appears in the nail plate. Most of the time these lines are harmless, but in rare cases they can signal melanoma or an underlying health condition.

Why Black Lines Form in Nails

Your nail plate is made of keratin, which has no color on its own. Melanin-producing cells sit in the nail matrix (the tissue under your cuticle where the nail grows from), and they’re typically dormant. When those cells get switched on by friction, injury, medications, or other triggers, they deposit melanin into the growing nail. The result is a pigmented line that runs vertically from the cuticle toward the tip. This is called longitudinal melanonychia, and it’s the most common pattern.

Less often, the pigmentation runs horizontally across the nail or covers the entire nail surface. A horizontal band usually reflects a temporary event that affected the nail matrix at one point in time, while a vertical line reflects ongoing melanin production.

Skin Tone and How Common These Lines Are

Vertical dark lines are far more common in people with darker skin tones. A 2022 study of over 1,300 participants in Nigeria found that 30% had benign longitudinal melanonychia. In people of African, Asian, or Hispanic descent, these lines often appear on multiple nails and are considered a normal variation rather than a medical concern. They tend to become more common with age. In lighter-skinned individuals, a new dark line on a single nail is less expected and warrants closer attention.

Common Harmless Causes

Bruising Under the Nail

A subungual hematoma, or bruise beneath the nail, can look like a dark streak or blotch. The key difference is that a bruise moves. As your nail grows out, the dark spot migrates toward the tip of your finger over weeks to months. It typically appears as a uniform reddish-brown to black area, and you can usually recall the injury that caused it, like slamming your finger in a door or stubbing a toe. However, not all nail bruises come from an obvious injury, and a history of trauma doesn’t automatically rule out other causes.

Repeated Friction or Pressure

Chronic low-grade trauma can activate melanin-producing cells in the nail matrix. Runners often develop dark lines or patches on their toenails from shoes pressing against the nail bed during long runs. Musicians, manual laborers, and anyone who repeatedly impacts their fingertips can see similar changes.

Vitamin B12 Deficiency

Low B12 levels can trigger hyperpigmentation in the nails, showing up as blue-black streaks or a general darkening. The mechanism involves reduced levels of a protective molecule called glutathione, which normally keeps melanin production in check. When glutathione drops, melanin synthesis ramps up. If B12 deficiency is the cause, the nail changes typically improve with supplementation, and you may notice other symptoms like fatigue, tingling in your hands or feet, or difficulty concentrating.

Medications

Certain drugs can activate melanin production in the nail matrix. Chemotherapy agents are the most well-known culprits, but antiretroviral medications and some other prescription drugs can do the same. A telltale sign of medication-induced lines is that multiple nails are affected simultaneously, often with several bands on each nail. The lines generally fade after stopping the medication, though it can take months as the nail grows out.

When a Black Line Could Be Melanoma

Nail melanoma (subungual melanoma) is rare, but it’s the reason dark nail lines deserve attention. In its early stages, it looks a lot like a harmless pigmented streak, which is why changes over time matter more than a single snapshot. Watch for these warning signs:

  • Width greater than 3 mm, especially if the band is widening over time
  • Irregular or blurred borders rather than clean, parallel edges
  • Mixed coloring with patches of light and dark brown within the same band
  • Pigment spreading onto the surrounding skin around the cuticle or sides of the nail (known as the Hutchinson sign)
  • Changes to the nail itself like thinning, cracking, distortion, or the nail lifting away from the bed
  • A nodule forming, ulceration, or bleeding

A benign pigmented line, by contrast, tends to stay narrow (under 3 mm), has uniform color and sharp edges, and doesn’t change much over months or years.

One important detail: up to half of all nail melanomas have little or no visible pigment. They may appear as a colorless bump or a non-healing sore under the nail rather than a dark streak. So the absence of a black line doesn’t guarantee the absence of melanoma.

The Hutchinson Sign and Its Limits

The Hutchinson sign, where dark pigment extends from the nail bed onto the skin around the cuticle or nail fold, has been considered a hallmark of nail melanoma since it was first described in 1886. It is a significant warning sign, but it’s not foolproof. Pigment can sometimes show through the thin skin of the nail fold and create the illusion of spread, a phenomenon called a pseudo-Hutchinson sign. This is particularly common in children with benign moles in the nail matrix. Other non-cancerous conditions can also cause periungual pigmentation. So while a true Hutchinson sign should always prompt professional evaluation, its presence alone doesn’t confirm melanoma.

Systemic Conditions Linked to Nail Lines

Dark lines appearing on multiple nails at once can occasionally point to a systemic health issue. Addison’s disease, which involves underactive adrenal glands, causes widespread hyperpigmentation that can include the nails. Chronic kidney disease, HIV, and certain rare genetic conditions affecting pigmentation have also been associated with multiple dark nail bands. In these cases, the nail changes are one piece of a larger clinical picture, and you’d typically have other symptoms as well.

What Happens During Evaluation

A dermatologist will start by examining the nail with a dermatoscope, a handheld magnifying device with built-in lighting that reveals details invisible to the naked eye. Under dermatoscopy, benign pigmented lines appear as evenly spaced, parallel bands of uniform color with discrete edges. Suspicious lesions show irregular spacing, variable band widths, and mixed colors.

If the visual features raise concern, the next step is a biopsy of the nail matrix. This involves removing a small sample of tissue from the area where the nail grows. It’s typically done under local anesthesia and is the only definitive way to distinguish between a benign mole and melanoma. The decision to biopsy takes into account the band’s width, whether it’s on a single nail, whether it’s changing, and the patient’s age and skin tone.

For a line that appears stable, narrow, and uniform on dermatoscopy, monitoring with periodic photographs is often the recommended approach. Any change in width, color, or border over time can shift the plan toward biopsy.