Learn which dark nail lines are harmless and when to see a dermatologist. The clinic backed ABCDEF checklist, the 3 mm rule, and what happens at your visit.

A dark vertical line on a nail is usually longitudinal melanonychia, and most cases trace back to harmless pigment-producing cells or an old bruise. See a board-certified dermatologist promptly if the line is new, widening, irregular in color, wider than 3 millimeters, or spreading pigment onto the surrounding skin.
TL;DR:
- A new or changing dark nail line wider than 3 millimeters, spreading pigment, or irregular in color warrants prompt dermatologist evaluation.
- The most common benign causes are stable melanocytic activation and old trauma, which typically present as narrow, uniform bands that do not change over time.
- Features such as widening toward the cuticle, multiple colors, or pigment spreading onto surrounding skin increase suspicion for melanoma and require biopsy.
- Dermoscopy improves risk stratification but cannot definitively rule out melanoma; biopsy techniques include shave, punch, and excisional methods.
- Regular photo tracking and a low threshold for specialist assessment help detect nail melanoma early, improving prognosis.
Table of Contents
- What a dark line on the nail looks like and common patterns
- Causes of dark nail lines: from bruises to drug reactions
- Warning signs: the ABCDEF criteria for nail melanoma
- How clinicians evaluate a dark line: exam, dermoscopy, and biopsy
- Management and treatment options by cause
- Prognosis and why early detection matters
- Rao Dermatology’s approach to evaluating nail pigment
- Get your nail pigment checked by a specialist
- FAQ
- Sources
What a dark line on the nail looks like and common patterns
Longitudinal melanonychia describes a brown or black band that runs the length of the nail, from the base (the matrix, where the nail is made) to the free edge. It is different from transverse pigment, which forms a horizontal band, and from diffuse discoloration that covers large portions of the nail plate without a clear linear shape. A subungual hematoma, or bruise under the nail, can look similar at first glance, but it usually has a rounded or irregular blotchy shape rather than a clean vertical stripe, and it migrates toward the nail’s free edge as the nail grows out, the way melanoma of the nail unit explains.
Location matters. Bands on the thumb or big toe deserve extra attention because these digits account for a disproportionate share of nail melanoma cases. Certain features tend to point toward a benign cause:
- A single narrowband with consistent, uniform color from base to tip.
- A clear history of trauma, such as stubbing a toe or a repetitive pressure injury.
- No change in width or color over several months.
Features that raise more concern include a band that widens toward the cuticle, uneven or multiple colors within the same streak, and pigment that bleeds onto the skin fold around the nail.
Causes of dark nail lines: from bruises to drug reactions
Most dark nail lines fall into a handful of categories, and figuring out which one applies often starts with a simple question: did something happen to the nail, or is pigment simply being produced differently inside it.
Melanocytic activation, meaning the pigment cells in the nail matrix are simply making more pigment, is the most common adult cause of longitudinal melanonychia and tends to appear more often in people with darker skin tones. These bands are usually narrow, stable over time, and unchanged for years. A benign nevus, essentially a mole inside the nail matrix, produces a similar appearance and is also typically stable. In adults, melanocytic activation accounts for a majority of longitudinal melanonychia cases, according to a review of melanonychia causes.
Subungual hemorrhage, or trauma-related bleeding under the nail, is another frequent cause, as detailed in patologie delle unghie. It typically starts as a reddish-purple or black mark near the site of injury and grows outward with the nail over weeks to months rather than staying fixed at the base, a key difference from melanoma, which does not migrate the way a bruise does.
Infections can also discolor the nail. Certain fungal infections and Pseudomonas bacteria produce greenish-black or dark brown discoloration, often paired with nail thickening, crumbling, or a distinct odor rather than a clean pigmented band. Some medications, including certain chemotherapy drugs and antimalarials, cause drug-induced nail pigmentation, and systemic conditions such as adrenal disorders have also been linked to nail color changes. Exogenous staining from nail polish, hair dye, or nicotine can mimic melanonychia too, though it usually sits on the surface of the nail rather than growing from the matrix.
Pro Tip: Try gently cleaning the nail with acetone or rubbing alcohol: if the discoloration lifts or fades, it is likely surface staining rather than a true pigment band from within the nail.
Warning signs: the ABCDEF criteria for nail melanoma
Dermatologists use a structured checklist, known as the ABCDEF criteria, to decide which pigmented nail bands need a closer look. Each letter flags a specific red flag described in clinical nail disorder criteria:
- Age: peak incidence of nail melanoma falls between the fifth and seventh decades of life.
- Band width: a band wider than 3 millimeters, or one that is rapidly widening, is considered potentially concerning.
- Color variation: multiple shades of brown, black, gray, or blue within a single band raises suspicion.
- Digit: the thumb and big toe are involved most often.
- Extension: pigment spreading onto the cuticle or surrounding skin, called Hutchinson sign, is a classic warning.
- Family history: a personal or family history of melanoma or dysplastic nevus syndrome adds risk.
A related finding, micro-Hutchinson sign, is pigment extension that is only visible under magnification rather than to the naked eye, and it carries similar weight in a dermatologist’s assessment.
About two out of three nail unit melanomas present as longitudinal melanonychia, a brown or black vertical band, according to a 2024 review of nail unit melanoma. That same review ties multicolor bands, Hutchinson sign, and increasing band width directly to higher suspicion for melanoma and recommends they guide the decision to biopsy.
The rule of thumb that follows from this checklist is straightforward: a new or changing band that checks several ABCDEF boxes warrants a prompt referral rather than a wait-and-see approach, while a stable, narrow, uniformly colored band with no additional flags is far more likely to be benign.

How clinicians evaluate a dark line: exam, dermoscopy, and biopsy
A dermatologist typically starts with a focused history: when the band appeared, whether it has changed, any recent trauma, current medications, and personal or family history of melanoma or atypical moles. The physical exam covers the entire nail unit, the surrounding skin fold, and often the other fingers and toes for comparison.
Dermoscopy, a handheld magnification tool, comes next. It can reveal irregular parallel lines, granular or disorganized pigment, and micro-Hutchinson sign, features that help separate low-risk from high-risk bands, according to research on dermoscopy’s diagnostic role. Dermoscopy improves triage, but it cannot confirm or rule out melanoma on its own.
When features are suspicious, a biopsy becomes the next step. Three main techniques are used, each described in a comparison of nail matrix biopsy techniques:
- Matrix shave biopsy removes a thin layer of tissue and tends to preserve nail appearance well.
- Punch biopsy takes a small cylindrical sample and suits narrower bands.
- Lateral longitudinal excision removes a full strip, including matrix, nail bed, and plate, and offers the most tissue for diagnosis at a higher risk of permanent nail dystrophy.
A dermatologist’s choice of biopsy technique balances diagnostic yield against the cosmetic outcome of the nail, since even a carefully performed biopsy carries some risk of permanent nail changes.
Histopathology, the microscopic examination of biopsied tissue, remains the only way to confirm or exclude melanoma with certainty. Patients having a nail biopsy can expect local anesthesia, a short procedure, and a bandage, with results typically available within one to two weeks depending on the practice, and some temporary nail changes while the biopsy site heals.
Management and treatment options by cause
Once the likely cause is identified, treatment follows a fairly predictable path:
- Observation with photo tracking suits stable, low-risk bands; most dermatologists recommend reassessment every few months, since fingernails take about six months and toenails up to 12 to 18 months to grow out fully.
- Treating the underlying infection or stopping an offending medication often resolves infection-related or drug-induced pigmentation within one to several nail growth cycles.
- Biopsy followed by targeted treatment applies when ABCDEF flags are present; if melanoma is confirmed, surgical excision is standard, and Mohs surgery or referral to dermatologic oncology may follow depending on the depth and location of the tumor.
Pro Tip: Keep a simple photo log with your phone, same angle and lighting each time, so you and your dermatologist can compare the band’s width and color over successive visits instead of relying on memory.
The core trade-off is diagnostic certainty versus the small risk of permanent nail dystrophy from biopsy. For a stable, textbook-benign band, watching carefully often makes more sense than cutting into the nail matrix; for a band with multiple red flags, that calculus flips.
Prognosis and why early detection matters
Nail melanoma is uncommon, but it tends to be diagnosed later than melanoma on the skin, partly because a dark nail streak is so often mistaken for a bruise or stain, and later diagnosis is linked to worse outcomes in much of the published literature, as described in research on nail melanoma detection. Catching a suspicious band while it is still confined to the nail unit, rather than after it has spread, consistently gives patients better odds.
After a biopsy or treatment, follow-up typically includes periodic skin and nail checks, since the nail itself may show temporary ridging, thinning, or a visible scar line as it regrows. Given how much the outcome depends on timing, a low threshold for getting an unusual nail band checked by a specialist is a reasonable default rather than an overreaction.
Rao Dermatology’s approach to evaluating nail pigment
We operate medical dermatology practices across multiple states with extensive clinical experience. A nail pigment visit typically starts with a history and photo review, followed by dermoscopic examination of the band and the surrounding nail fold.
When a biopsy is warranted, the clinical team discusses the available techniques and what each means for diagnostic yield versus cosmetic outcome, then coordinates sample processing through dermatopathology for a definitive reading. Patients are encouraged to bring any existing photos of the band, a list of current medications, and a rough timeline of when the line first appeared. For bands that look low-risk, the practice can also set up a monitoring schedule similar to the photo tracking approach used for suspicious moles.
— Rao Dermatology
Get your nail pigment checked by a specialist
A dark line on your nail does not have to stay a guessing game. Rao Dermatology’s medical dermatology services cover the full path from initial exam through dermoscopy, biopsy coordination, and treatment if melanoma is found, so one visit can move you from uncertainty to an actual answer.

Before your appointment, gather a few things that speed up the exam: any photos showing how the band has changed, a list of current medications, and a rough timeline of when you first noticed it. If a biopsy or further workup is needed, the clinical team walks you through the technique options and what to expect from recovery. For readers further along in a cancer diagnosis, the skin cancer detection and treatment page covers the broader range of services available.
What to expect at your visit:
- A focused history covering onset, trauma, medications, and family history.
- Dermoscopic examination of the band and surrounding skin.
- A shared decision about biopsy versus a monitoring schedule.
Reach out through Raodermatology to schedule an evaluation at a location near you.
This article is general information, not a substitute for advice from a qualified doctor. Consult a qualified healthcare professional about your own circumstances before acting on anything here.
FAQ
What vitamin deficiency causes black lines on nails?
Nail pigment changes are not a reliable sign of vitamin deficiency, and no single deficiency is a well-established cause of longitudinal melanonychia. Dark vertical bands are far more often linked to melanocytic activation, trauma, or a benign nevus than to a nutrient shortfall, so a new band still warrants a dermatologist’s evaluation rather than a vitamin fix.
What do liver failure nails look like?
Advanced liver disease can produce nail changes such as a pale, whitish nail bed, sometimes called Terry’s nails, rather than a distinct dark vertical line. A true longitudinal dark band is a separate finding and should be evaluated on its own merits, not assumed to be liver-related.
What does stage 1 melanoma look like on your nails?
Early-stage nail melanoma most often shows up as longitudinal melanonychia, a brown or black band running the length of the nail, sometimes with color variation or early pigment spread onto the cuticle, known as Hutchinson sign. About two out of three nail unit melanomas present this way, according to a review of nail unit melanoma, which is why any new or changing band deserves prompt dermatologic evaluation.
What do B12 deficiency nails look like?
B12 deficiency has been associated with nail changes such as brittleness or bluish discoloration in some reports, but it is not an established cause of a distinct longitudinal dark line. A new dark vertical band should still be assessed for the more common causes, including melanocytic activation, trauma, and, when red flags are present, melanoma.
When should I see a dermatologist about a dark nail line?
See a dermatologist promptly if the band is new, widening, shows multiple colors, measures wider than 3 millimeters, or spreads pigment onto the skin around the nail. These features align with the ABCDEF criteria clinicians use, detailed in clinical nail disorder criteria, and the American Academy of Dermatology lists dark streaks and periungual pigmentation among the signs that warrant a specialist visit.
Sources
- Nail disorders / clinical criteria (NBK482480)
- Dermoscopy utility in nail lesions (PubMed)
- Nail matrix biopsy techniques and diagnostic algorithm (PubMed)
- How to check your nails for melanoma (AAD)
