TL;DR: Key Takeaways
- Melanonychia describes nail pigment; it does not mean the cause is harmless.
- A new or changing band needs assessment in people of every skin tone.
- Widening, irregular colour, nail damage or pigment on surrounding skin raises concern.
- Neither a photo, an AI score nor a narrow band can exclude nail melanoma.
Quick Answer
A black or brown line on a nail can be longitudinal melanonychia: pigment extending from the nail base toward the tip. Causes range from benign pigmentation to a nail mole, medicines and, less commonly, nail-unit melanoma. Blood from an injury can also look dark. A new or changing band needs assessment; appearance alone cannot establish the cause.
What Is Melanonychia?
The pigment cells at the base of the nail (the nail matrix) are normally quiet. When they make extra melanin, the pigment is carried along as the nail grows, leaving a straight brown or black band from the cuticle to the tip. This is called longitudinal melanonychia.
Possible Causes of Nail Pigmentation
Normal variation and benign nail moles
Benign pigment bands are more common in deeply pigmented skin and may affect several nails. A mole in the nail matrix can also cause a band on one nail. These patterns are useful context, but no skin tone or number of affected nails excludes melanoma.
Nail injury and bruising
A knock or tight shoes can cause a subungual haematoma — blood under the nail that grows out over weeks to months.
Medicines
Some chemotherapy drugs, antimalarials, minocycline and HIV medicines can cause bands, usually on multiple nails.
Pregnancy and hormones
Pregnancy can be associated with increased pigmentation. Do not attribute a new or changing nail band to hormones without clinical assessment.
Nail biting, picking and friction
Repeated trauma stimulates the pigment cells and can create lines.
Fungal or bacterial infection
Some nail infections give dark discolouration, usually with thickening or crumbling of the nail.
Bruise vs Pigment Band vs Nail Melanoma
Patterns overlap. These features help explain an examination, not diagnose a nail at home.
Underlying cause
- Bruise
- Blood beneath the nail, often after a knock or shoe pressure
- Melanonychia
- Melanin pigment; causes include normal variation, a nail mole or medicines
- Nail melanoma
- Cancer arising in the nail unit
Typical pattern
- Bruise
- Red-purple, brown or black patch; injury may not be remembered
- Melanonychia
- A lengthwise brown-black band; one or several nails may be affected
- Nail melanoma
- May be a changing band, damaged nail or a non-pigmented lump
Change over time
- Bruise
- Often moves toward the tip as the nail grows
- Melanonychia
- May remain stable; stability alone does not establish the cause
- Nail melanoma
- May widen, darken, bleed or distort the nail
Surrounding skin
- Bruise
- Usually unaffected
- Melanonychia
- Some benign causes can also show pigment near the nail fold
- Nail melanoma
- Pigment can extend onto the nail fold; its absence does not exclude melanoma
Assessment
- Bruise
- Seek advice for severe pain, significant injury or an uncertain cause
- Melanonychia
- Clinical review for a new or changing band
- Nail melanoma
- Prompt examination; dermoscopy and biopsy if clinically indicated
| Feature | Bruise | Melanonychia | Nail melanoma |
|---|---|---|---|
| Underlying cause | Blood beneath the nail, often after a knock or shoe pressure | Melanin pigment; causes include normal variation, a nail mole or medicines | Cancer arising in the nail unit |
| Typical pattern | Red-purple, brown or black patch; injury may not be remembered | A lengthwise brown-black band; one or several nails may be affected | May be a changing band, damaged nail or a non-pigmented lump |
| Change over time | Often moves toward the tip as the nail grows | May remain stable; stability alone does not establish the cause | May widen, darken, bleed or distort the nail |
| Surrounding skin | Usually unaffected | Some benign causes can also show pigment near the nail fold | Pigment can extend onto the nail fold; its absence does not exclude melanoma |
| Assessment | Seek advice for severe pain, significant injury or an uncertain cause | Clinical review for a new or changing band | Prompt examination; dermoscopy and biopsy if clinically indicated |
The Nail ABCDEF Checklist — and Its Limits
The ABCDEF reminder describes some concerning features. It is not a validated home scoring system: a narrow band, younger age or absent skin pigmentation cannot rule out melanoma. Do not count signs to decide whether to seek care.
- A — Age and context: clinical assessment considers age and history, but any age or skin tone can be affected
- B — Band: broad or irregular pigmentation can raise concern; a band under 3 mm can still need assessment
- C — Change: the band is widening or darkening, or the nail is changing despite treatment
- D — Digit: one nail only, especially thumb, big toe or index finger
- E — Extension: pigment spreading onto the cuticle or nail fold (Hutchinson's sign)
- F — Family or personal history of melanoma or atypical moles
Does a Nail Bruise Grow Out?
A subungual haematoma is blood beneath the nail, often caused by an impact or repeated shoe pressure. It may move toward the tip as the nail grows and leave clearer nail behind it. Toenails grow slowly, so changes may take longer to see. Injury is not always remembered, and injury history does not exclude an underlying lesion.
Use a dated photograph rather than scratching or filing the nail to mark it. Do not drain or drill a painful nail yourself. Significant trauma or severe pain deserves prompt medical advice. Waiting several weeks is inappropriate when there is a new band, growth, bleeding or other warning signs.
Red Flags: When to See a Dermatologist
- A new band appearing in adulthood on a single nail
- A band getting wider or darker, whatever its starting width
- Uneven colours, blurry edges or a band wider at the base
- Dark pigment on the cuticle or skin around the nail
- Nail splitting, lifting, bleeding or a lump without injury
- An unexplained dark area or one not behaving as your clinician expects
For the full warning signs of nail melanoma, read dark line under your nail: the warning signs of subungual melanoma.
What Will a Clinician Do?
The clinician reviews when the band began, changes, injuries, medicines and whether other nails are affected. They examine the nail plate and surrounding skin, often using dermoscopy. Infection testing may be appropriate if the nail is thickened or crumbly. A suspicious lesion may need a nail-unit biopsy; laboratory examination establishes whether it is melanoma.
Why biopsy is not automatic
Not every band needs a biopsy. The location and technique matter because the nail matrix makes the nail plate, and sampling can affect future nail growth. A clinician experienced in nail disorders weighs the findings and explains whether observation, testing or biopsy is appropriate. If follow-up is recommended, ask for a clear schedule and changes that should bring you back sooner.
Children and non-pigmented nail lesions
Benign nail moles in children can show features that look concerning using adult checklists, so specialist interpretation is important. Nail melanoma can also lack a dark band and appear as a lump, bleeding area or distorted nail. Do not assume no black pigment means no concern.
How to Photograph a Nail Line Clearly
- Remove nail polish and clean the nail
- Use bright daylight, no flash, and hold the phone parallel to the nail
- Include the cuticle and surrounding skin in the frame
- Place a ruler next to the nail to measure band width
- Repeat only on the schedule your clinician recommends; report changes sooner
More tips in our clear skin photo guide. See also skin cancer check online and the melanoma guide.
The Bottom Line
Many nail bands have benign causes, but a new or changing band deserves clinical assessment. Photographs can document change; they cannot replace examination. Ask for a clear follow-up plan rather than using a width threshold or skin tone as reassurance.
For broader warning signs, read our melanoma early-detection guide. For a dark skin bump rather than a nail band, compare blood blister versus melanoma.
Frequently Asked Questions
No. Nail pigment can come from benign variation, a nail mole, medicines or other causes; blood from an injury can also look dark. A new or changing band still needs clinical assessment. Skin tone, narrow width or several affected nails cannot rule out melanoma.
Melanonychia describes brown or black pigmentation in a nail. Longitudinal melanonychia is a lengthwise band from the nail base toward its tip. It describes appearance, not a diagnosis of a harmless condition.
Seek review for a new or widening band, uneven colour or borders, pigment on surrounding skin, unexplained nail splitting or lifting, bleeding or a lump. A band can be concerning even if narrower than 3 mm.
Blood under a nail often moves toward the tip with growth, leaving clearer nail behind it. This may take weeks to become visible and longer on toenails. Movement is useful context, not a reliable home test to exclude melanoma. Do not wait for it if warning signs are present.
Yes. Some medicines can increase nail pigmentation, sometimes on several nails. Tell your clinician which medicines you take and when they began. Do not stop a prescribed medicine without advice.
No. A clinician considers the history, examination and dermoscopy findings before deciding whether monitoring, other tests or a nail-unit biopsy is appropriate. Histology is needed to confirm melanoma when it is suspected.
Yes, including benign nail moles. Adult checklists do not perform the same way in children, and some benign childhood bands can look irregular. A new or changing band should be assessed by a clinician experienced in nail disorders rather than interpreted using a home checklist.
No. Nail assessment can require examination of the nail matrix and dermoscopy or biopsy. A photo or low AI score cannot exclude nail melanoma. A suspicious band should be assessed in person.
Sources
- DermNet — Melanoma of the nail unit
- DermNet — Nail matrix biopsy
- DermNet — Melanonychia
- American Academy of Dermatology — Nail melanoma
- NHS — Melanoma skin cancer
- British Association of Dermatologists — Melanoma