7 JCI-accredited hospitals · 45+ hospitals & clinics · 90+ countries served · 24/7 multilingual support
Skin & Hair

Why a Nail Turns Black: Bruising, Fungus and the Rare Causes a Dermatologist Checks For

22 min read
Why a Nail Turns Black: Bruising, Fungus and the Rare Causes a Dermatologist Checks For

Key Takeaways

  • A bruise under the nail has a sharp border, spares the cuticle and shifts toward the fingertip as the nail grows, while pigment made in the nail matrix stays in place.
  • MedlinePlus puts fingernail replacement at about six months and toenail replacement at twelve to eighteen months, so a toenail bruise can take over a year to clear.
  • Fungal infection rarely turns a nail pure black; it usually thickens and crumbles the nail from the free edge, and guidelines advise laboratory confirmation before treatment.
  • A single new dark band in an adult, a widening stripe, mixed colors or pigment on the surrounding skin are the features that prompt a nail matrix biopsy.
  • Acral melanoma, which includes nail melanoma, occurs at similar rates across all skin tones and is often found late because it is mistaken for a bruise or fungus.
  • Vitamin B12 deficiency is the only nutritional cause with documented links to dark nails, and it is rare and almost always accompanied by fatigue, tingling or anemia.
Quick Answer

A black nail is most often a bruise under the nail plate from a knock or from repeated pressure inside a shoe, and it grows out over months. Fungal infection, some medicines, a mole in the nail bed and a normal pigment stripe are other explanations. A new dark band that widens, spreads onto the surrounding skin or appears on one nail alone needs a dermatologist's examination.

The first thing most people do is press on it. A dark patch under a toenail after a long hike, a fingernail that has gone the color of a plum since a car door closed on it, or a thin brown stripe that seems to have appeared from nowhere. Then comes the search bar, and the question is almost always the same: why is my nail black, and should I be worried?

The honest answer is that the nail is a small, slow-growing window. Blood, pigment, fungus and even the residue of some medicines can all show through it, and from the outside they can look surprisingly alike. The clues that separate them are not the shade of black so much as the shape, the edges, the history and the way the color behaves as the nail grows.

This article walks through the common causes, the less common ones, and the single rare cause that every dermatologist is trained to rule out, so you know what a sensible next step looks like.

Why is my nail black? The short answer first

In most cases a nail turns black because blood has collected underneath it. The medical name is a subungual hematoma: “subungual” simply means under the nail, and “hematoma” means a pocket of blood. It happens after a sharp knock, a crush injury, or, far more quietly, after weeks of a toe tapping against the end of a shoe. The blood is trapped between the nail plate and the nail bed, it cannot drain, and it darkens from red to purple to near-black as it ages.

The second group of causes involves pigment rather than blood. Melanin, the same pigment that colors skin, can be deposited into the growing nail by the cells in the nail matrix, the hidden factory at the base of the nail. The result is usually a brown or black stripe running from cuticle to tip. Most of these stripes are harmless, and they are particularly common in people with darker skin, but a small number are caused by a melanoma starting in the nail bed.

Fungal infection, bacterial infection, certain medicines and a few hormonal conditions make up the rest. None of them is an emergency in the way chest pain is, but one pattern should not wait: a dark band that is new, wider than the others, uneven in color, spreading onto the skin around the nail, or breaking the nail apart. That pattern earns a prompt dermatology appointment, not a wait-and-see approach.

A bruise under the nail is the most common reason

Think of the nail plate as a clear roof over a very thin layer of living tissue. Crush that tissue, even briefly, and its small vessels leak. The blood has nowhere to go, so it spreads in a flat sheet and the nail looks black or deep purple almost overnight. Pain in the first day or two comes from pressure, and a large collection can throb with every heartbeat.

Doctor examining patient's hand during consultation: A bruise under the nail is the most common reason

Several features point toward a simple bruise rather than anything else. The color usually appears within hours of an event you can name. The dark area has a clear edge and does not reach the cuticle. Over the following weeks it shifts toward the free edge of the nail as new nail grows from the base, and a pale crescent of healthy nail appears behind it. The patch may lift the nail, and a badly bruised nail often loosens and falls off, with a new one forming underneath.

MedlinePlus notes that fingernails take roughly six months to grow out completely and toenails take between twelve and eighteen months, which is why a toenail bruise can be a long-term companion. A bruise that does not move at all over a couple of months, or one that reappears without any new injury, deserves a second look, because unchanging pigment is not what trapped blood does.

Black toenail with no injury: shoes, running and repeated pressure

Runners, hikers and people who stand all day often insist they never hurt the toe. They are usually right about a single blow, and wrong about the cumulative one. A shoe that is half a size short, a steep downhill stretch, or a sock that bunches at the toe lets the nail strike the toe box thousands of times in an hour. Each tap is trivial; together they produce the same pooled blood as a dropped weight.

The big toe and the second toe take the brunt, because they are longest. The nail may feel tender for a few days and then settle, which is why the discoloration is often spotted only in the shower. Sometimes a blister forms under the nail first and the color follows.

Clinicians sort this out with three questions: what footwear and activity preceded it, does the dark area sit away from the cuticle with a sharp border, and is it migrating outward week by week. A “yes” to all three is reassuring. Prevention is mostly mechanical. A thumb’s width of room at the front of the shoe, laces tightened so the foot does not slide forward on descents, nails trimmed straight across and not too short, and moisture-wicking socks all reduce the hammering. None of these measures is fully reliable on its own, but together they make repeat episodes far less likely.

Fungal nail infection: when black comes with crumbling and thickening

Fungal nail infection, known clinically as onychomycosis, rarely turns a nail pure black on its own. The classic picture, as the NHS describes it, is a nail that becomes thickened, brittle, discolored yellow, white or brown, and lifts away from the nail bed. Debris builds up underneath. Blackness tends to appear when dirt and old blood collect in that debris, or when a dark-pigmented mold rather than the usual dermatophyte fungus is involved.

Doctor consulting with older patient at desk: Fungal nail infection: when black comes with crumbling and thickening

The infection usually starts at the free edge or the side of the nail and creeps toward the base over months, which is the opposite direction from a growing-out bruise. Toenails are affected far more often than fingernails because feet spend hours in warm, damp shoes, and the CDC lists shared showers, pools and gyms as common places to pick up the organisms.

Looks alone are unreliable: psoriasis, injury and simple age-related thickening can mimic it. For that reason a clinician usually clips a sample and sends it for microscopy or culture before deciding on treatment. Topical antifungal lacquers work on the surface and suit mild, superficial disease; oral antifungal medicines reach the nail through the bloodstream and are used for deeper infection. Either way, the medicine only prevents new fungus in the new nail, so the NHS warns that visible improvement waits on nail growth and that complete clearing of a toenail can take a year or more. The prescribing clinician decides whether treatment is worthwhile and which option fits your health history.

Black line on nail: what a dark stripe (melanonychia) usually means

A thin brown or black band running the full length of the nail is called longitudinal melanonychia. The word just means black nail; it describes the finding, not the cause. The stripe forms because pigment cells in the nail matrix have become more active and are loading melanin into the nail as it is built, like a thread dyed before it is woven.

Most of these bands are benign. In people with brown or Black skin they are extremely common and frequently appear on several nails, often becoming more noticeable with age. Pregnancy, repeated friction, nail biting, some medicines and inflammatory nail conditions can all switch pigment production on. A benign band is typically narrow, evenly colored, has parallel edges, and either stays stable or appears alongside similar bands on other nails.

What makes a clinician pause is a band that behaves differently from its neighbors. One nail only, particularly a thumb, index finger or big toe. A band that is wide or widening, especially broader at the cuticle end than the tip, which suggests the source is enlarging. Several shades of brown and black mixed within the same stripe. Blurred or irregular borders. Pigment leaking onto the skin fold around the nail, a finding called the Hutchinson sign. A nail that splits, cracks or lifts along the band. None of these proves anything by itself, and the examination that follows is usually brief and painless, but they are the reason the rule of thumb is simple: a new single dark stripe in an adult should be looked at rather than watched.

The rare cause a dermatologist checks for: melanoma of the nail

Melanoma is a cancer of pigment cells, and a small share of melanomas begin in the nail matrix. This subtype belongs to a group called acral melanoma, meaning it arises on the palms, soles or nails rather than on sun-exposed skin. It is uncommon overall, but it carries two particular risks: it is often mistaken for a bruise or a fungal infection, and it occurs at similar rates across all skin tones, so people with darker skin are not protected.

The early sign is almost always a dark longitudinal band, which is why dermatologists take new single bands seriously. Later signs include a widening stripe, spread of color onto the cuticle or fingertip skin, bleeding, a nodule, or a nail that breaks apart. Some nail melanomas have little pigment at all and present as a non-healing sore or a lump under the nail that does not respond to treatment for a presumed infection.

Diagnosis requires a biopsy of the nail matrix, taken under local anesthetic; no scan or blood test can substitute. For context on the wider disease, the National Cancer Institute’s SEER program reports a five-year relative survival of about 94 percent for melanoma of the skin overall for cases diagnosed in the period 2014 through 2020, with survival highest when the tumor is found before it has spread. Those are group figures across all melanoma types and stages. They cannot predict what will happen to any one person, and nail melanomas are often found later than those on exposed skin, which is precisely the argument for an early look.

Other causes: medicines, Addison's disease, bacteria and moles

Several conditions produce nail darkening without injury or fungus. They are less common, and each has a context that helps a clinician recognize it.

  • Medicines. Some chemotherapy agents, certain antimalarials, the tetracycline family of antibiotics, and some antiretroviral drugs can deposit pigment in the nail. The darkening usually involves several nails, may form horizontal rather than vertical bands, and starts weeks to months after the medicine begins. It typically fades as the nail grows out after the course ends. Nobody should stop a prescribed medicine because of nail color; the prescriber can confirm whether the drug is a likely explanation.
  • Addison’s disease. This condition, in which the adrenal glands produce too little cortisol, raises levels of a hormone that stimulates pigment cells. The NHS lists darkened skin, especially in creases, scars and the mouth, among its signs; nails can follow. Fatigue, weight loss, low blood pressure and salt craving usually accompany it.
  • Bacterial infection. Pseudomonas, a bacterium that thrives in damp places, colonizes nails that have lifted from the bed and produces a green-black pigment. The color sits in the lifted part of the nail and has a greenish cast under good light.
  • A mole in the nail bed. A benign cluster of pigment cells, called a nevus, can create a stable dark band, particularly in children. These are watched over time and biopsied if they change.

Each of these tends to come with its own story, which is why the history matters as much as the nail itself.

Which deficiency causes black nails? What the evidence actually shows

This question is asked constantly, and the honest answer is: rarely any. Nutritional deficiency is far down the list of causes, well behind bruising, pigment bands and fungus.

The one deficiency with a documented link is vitamin B12. Case reports in the medical literature describe brown or black streaking of the nails and darkening of the skin, especially on the hands and feet, in people with severe, long-standing B12 deficiency, with the pigmentation fading over months once the deficiency is corrected. These are individual reports rather than large studies, and the nail changes come alongside the deficiency’s better-known effects, such as fatigue, numbness or tingling in the hands and feet, a sore tongue and anemia. A black nail with none of those features is very unlikely to be a B12 problem.

Iron deficiency is often mentioned in the same breath, but it changes nail shape rather than color: the nails become thin, brittle and spoon-shaped, scooped so a drop of water would sit in them. Zinc deficiency can produce white flecks and poor growth. Neither blackens the nail.

The practical point is that a blood test is reasonable when the broader picture fits, for instance in someone following a strict vegan diet without supplementation, with a history of stomach surgery, or with the neurological symptoms above. Self-prescribing supplements for a dark nail is not supported by the evidence, and the NIH Office of Dietary Supplements notes that B12 status is best assessed by testing rather than guesswork. If a deficiency is confirmed, the clinician who ordered the test will advise on how to correct it.

Why is my nail black? Causes, typical features and the usual next step

The table below pulls the common and less common causes side by side. It is a guide to the kind of pattern each cause produces, not a tool for self-diagnosis; the same shade of black can belong to several rows.

Cause Typical features Usual next step
Bruise under the nail (subungual hematoma) Follows a knock or tight shoes; sharp border; does not reach the cuticle; moves toward the tip over weeks Observe; drainage by a clinician if large and painful in the first day or two
Benign pigment band (longitudinal melanonychia) Narrow, evenly colored stripe; often on several nails; common in darker skin; stable over time Examination; photographs for comparison; review if it changes
Fungal nail infection Thick, crumbly, yellow-brown nail; debris underneath; starts at the free edge; toenails most often Nail clipping sent for microscopy or culture before treatment
Nail melanoma Single new or widening band; uneven colors; pigment on surrounding skin; nail splitting; may bleed Urgent dermatology review; biopsy of the nail matrix
Medicine-related pigmentation Several nails; may be horizontal bands; begins after a new medicine; fades after the course Discuss with the prescriber; no change without their advice
Bacterial (Pseudomonas) colonization Green-black color in a nail that has lifted from the bed; often after water exposure Clinician confirms; keep the nail dry; treatment aimed at the bacteria
Addison’s disease Darkening of skin creases, gums and scars; fatigue, weight loss, dizziness on standing Blood tests for cortisol and related hormones
Vitamin B12 deficiency Rare; dark streaks with tiredness, tingling, sore tongue, anemia Blood test if the wider picture fits

Two rows deserve emphasis. A bruise moves and a melanoma does not, and nothing on this table other than melanoma requires speed. Everything else can be assessed at a routine appointment.

How a dermatologist tells the causes apart

The appointment usually begins with questions rather than instruments. When did the color appear, was there an injury or a change in shoes, is it on one nail or several, has it changed, what medicines have started in the past year, and is there a personal or family history of melanoma. The answers alone settle a large share of cases.

Then comes the examination, often with a dermatoscope, a handheld magnifier with polarized light that reveals structure invisible to the naked eye. Under it, trapped blood shows as rounded, well-defined globules with a reddish-purple tinge. A benign pigment band shows fine, regular, parallel lines of uniform color. Worrying features include lines that vary in thickness, spacing and color, irregular borders, and pigment on the nail fold.

A simple trick resolves many bruises: the clinician scores a tiny notch at the edge of the dark area, or takes a photograph with a ruler, and asks the patient to return in a few weeks. If the mark has traveled toward the fingertip, it is in the nail plate and almost certainly blood. If it sits exactly where it was, the pigment is being made at the base, and a biopsy is discussed.

A nail matrix biopsy is done under local anesthetic, takes minutes, and may leave a permanent groove in the nail, which is why it is reserved for bands with concerning features rather than every stripe. Fungal infection is confirmed by sending clippings to the laboratory, because the NHS and dermatology guidelines both caution that treating on appearance alone leads to months of unnecessary medicine when the real cause was something else.

Will a black nail grow out, and how long does it take?

If the cause is blood, yes, and the timeline is set by nail growth rather than by anything you do. MedlinePlus gives the useful benchmark: a fingernail is replaced in about six months and a toenail in twelve to eighteen months. A bruise near the base of a big toenail can therefore take more than a year to reach the free edge and be clipped away. Along the way it often looks worse before it looks better, because the nail over a sizeable collection of blood may loosen and shed. The new nail that forms underneath is usually normal, though a crushed matrix can leave a ridge or a permanently split nail.

Pigment from a medicine follows the same rule: once the course ends, the stained portion travels outward and is replaced by clear nail over the same months. A benign pigment band, by contrast, does not grow out; it is continuously renewed from the source and tends to persist, which is normal and not a reason for concern as long as it stays stable.

A fungal nail is the slow one. Even when treatment is working, the thickened, discolored part of the nail does not clear; it is pushed out and replaced, so the NHS advises that a treated toenail may take a year or more to look normal, and that some people choose not to treat a mild infection at all.

The signal that something is off is a dark area that is in the same place after two or three months. Nails never stop growing, so pigment that does not move is being produced on the spot, and that needs an explanation from a clinician.

What is reasonable to do at home

For a fresh bruise, the first forty-eight hours are about comfort. Rest the foot or hand, raise it above heart level when sitting, and apply a cloth-wrapped cold pack for short spells to limit swelling. Over-the-counter pain relief is an option for people who can take it; the pharmacist or the leaflet will say who should avoid it. Leave the nail alone. Do not try to drain it with a heated pin or needle: the technique shown in online videos can introduce bacteria into a closed space, and if the collection is large and painful a clinician can release it safely with a sterile instrument.

If the nail loosens, trim the detached part carefully rather than tearing it, keep the area clean with soap and water, and cover it with a dry dressing until the bed is no longer tender. Open-toed or roomy shoes spare the toe while it settles.

For nails that are thick or crumbly, keep them short and dry, change socks daily, avoid walking barefoot in communal showers, and do not share clippers, which the CDC lists among the ways fungal organisms pass between people. These measures reduce spread but do not clear an established infection.

What home care cannot do is tell a bruise from a pigment band. A photograph taken today beside a ruler, and another in a month, is the most useful thing anyone can do before an appointment, because it turns a guess into evidence of movement or stillness.

What people often get wrong

“It doesn’t hurt, so it can’t be serious.” Pain argues for a bruise, but its absence argues for nothing. Pigment bands and early nail melanomas are painless. The features that matter are shape, edges, change and whether the color is on one nail or many.

“I have dark skin, so nail melanoma isn’t my concern.” Pigment bands are far more common in darker skin, and most are benign, which creates a trap. Acral melanomas occur at similar rates across skin tones and are frequently diagnosed late because a new band is assumed to be one more harmless stripe. A band that is new, single and different from its neighbors deserves the same scrutiny in everyone.

“Nail polish or a dark room is why I missed it.” Covering a nail is harmless, but long-term polish can hide a change for months. Inspecting bare nails occasionally, including toenails, is worth the minute it takes.

“Black nails mean a vitamin problem.” As covered above, deficiency is a rare and usually late explanation, almost always accompanied by other symptoms. Buying supplements in response to nail color is not supported by evidence.

“Antifungal cream will sort out any dark nail.” Fungus seldom produces a pure black nail, and treating a bruise or a pigment band with antifungals wastes months and delays a proper look. Laboratory confirmation first is the guideline position for a reason.

“If it falls off, the problem has gone.” A shed nail after a bruise is normal, but pigment that reappears in the new nail, in the same position, is coming from the matrix and needs assessment.

When to see a doctor

Most black nails can wait for a routine appointment or simply be watched as they grow out. Certain patterns should move faster. Arrange a prompt dermatology or general practice review, within a couple of weeks rather than months, if you notice any of the following:

  • A new dark stripe on a single nail in an adult, especially a thumb, index finger or big toe, with no injury to explain it.
  • A band that is widening, broader at the cuticle than at the tip, or contains several shades of brown, black or gray.
  • Pigment spreading onto the skin of the cuticle, nail fold or fingertip.
  • A dark area that has not moved at all after two to three months of nail growth.
  • A nail that is splitting, cracking, bleeding or developing a lump along the discolored area.
  • A sore or ulcer under or beside the nail that does not heal in a few weeks, even without obvious pigment.
  • Darkening of nails together with fatigue, weight loss, dizziness on standing or darkening of skin creases and gums.

Seek same-day care, through an urgent care service or emergency department, for a crush injury where the nail is severely painful and bulging with blood, the fingertip is deformed or numb, the wound is deep or dirty, or there is a possibility of a broken bone beneath the nail. Rapidly spreading redness, warmth, pus or fever around a damaged nail also needs same-day assessment, because infection in a fingertip can progress quickly. People with diabetes, poor circulation or a weakened immune system should have any injured or discolored toenail checked early, since small foot problems in those groups are more likely to become serious.

Frequently asked questions

What should I do if my nail is black?

Start by asking whether there was an injury or a change in footwear, and whether the color is on one nail or several. Photograph the nail beside a ruler and look again in a few weeks. A bruise will have moved toward the tip; a stripe that stays put, widens, or sits on one nail alone should be examined by a dermatologist. Avoid draining it yourself or starting antifungal products without a confirmed diagnosis.

Will black nails go back to normal?

Usually, when the cause is a bruise or a medicine. Trapped blood grows out with the nail, which MedlinePlus estimates takes about six months for a fingernail and twelve to eighteen months for a toenail. A badly bruised nail may shed and regrow. Benign pigment bands often persist because they are continuously produced, and that is normal if they are stable. A fungal nail clears only as new nail replaces old, which can take a year or more.

What does a single black nail mean?

Most often a single black nail is a bruise from a knock or tight shoes, especially on a big toe. One nail alone matters more when the color is a lengthwise stripe rather than a patch, because benign pigment bands tend to appear on several nails, while a melanoma starts in one. A single new band in an adult, particularly on a thumb, index finger or big toe, is the pattern dermatologists ask to see promptly.

Which deficiency causes black nails?

Severe, long-standing vitamin B12 deficiency has been linked in case reports to dark streaking of the nails, usually alongside fatigue, tingling in the hands and feet, a sore tongue and anemia. It is a rare cause. Iron deficiency changes nail shape, producing thin, spoon-shaped nails, rather than color. Testing is reasonable when the wider picture fits; taking supplements for a dark nail without that picture is not supported by evidence.

Why is my toenail black with no injury?

Repeated pressure is the usual explanation: a toe tapping the front of a shoe during running, hiking or long shifts produces the same pooled blood as a single blow, often without memorable pain. Fungal infection with debris under a thickened nail is the next possibility. A dark stripe with no injury, especially on one toe only, should be checked, since the big toe is one of the commonest sites of nail melanoma.

Is a black spot under the nail a sign of cancer?

Rarely. Most dark spots are small bruises, and their defining feature is movement toward the tip over weeks. Nail melanoma typically begins as a lengthwise band rather than a spot, and it does not migrate. A spot that stays fixed for two to three months, enlarges, bleeds, breaks the nail or spreads pigment onto nearby skin needs examination and possibly a biopsy. The large majority of fixed spots still turn out to be benign.

What does a black line on a nail mean?

A lengthwise brown or black line, called longitudinal melanonychia, means the cells at the base of the nail are depositing extra pigment. In people with darker skin it is common and usually appears on several nails. Pregnancy, friction, nail biting, some medicines and a mole in the nail bed can also cause it. A line that is new, single, wide, uneven in color or spreading onto the skin should be reviewed by a dermatologist.

Can a fungal infection make a nail black?

It can, though the typical fungal nail is yellow, white or brown, thick and crumbly rather than black. Blackness usually comes from dirt and old blood trapped under a lifted nail, or from a dark-pigmented mold. Because injury, psoriasis and age-related thickening look similar, the NHS advises confirming the diagnosis with a nail clipping before treatment. Antifungal medicines then protect new nail growth, so visible clearing follows the slow pace of the nail.

Should I drain a blood blister under my nail myself?

No. Home drainage with a heated pin or needle can push bacteria into a closed space and damage the nail bed. If a fresh bruise is large and throbbing, a clinician can release the pressure with a sterile instrument, usually within the first day or two, which brings quick relief. A smaller or older collection does not need draining and will grow out. Elevation, a cold pack and roomy shoes are the sensible first steps.

How does a dermatologist check a black nail?

The visit combines a history, with questions about injury, footwear, medicines and family history of melanoma, and an examination with a dermatoscope, a magnifier that shows whether the pigment is blood globules or fine lines of melanin. Many bruises are confirmed by marking the edge and rechecking movement a few weeks later. Suspected fungus is sent for laboratory testing. A band with concerning features is sampled by a small biopsy of the nail matrix under local anesthetic.

References

This article is for general information only and is not a substitute for professional medical advice. Please consult a qualified doctor about your individual situation.

Add Acıbadem on Google

Add us as a Preferred Source to see more of our trusted health content across Google Search, AI Overviews and Discover.

Share this page
Dr. Şule Eren
Dr. Şule Eren, MD
Author
View profile →
Published December 1, 2026
Keep Reading

More from the Blog

We’re With You at Every Step

How can we help you today?

We value your privacy We use essential cookies to run this site and, with your consent, analytics cookies to understand how it is used and improve it. You can accept, reject, or choose what to allow. See our Cookie Policy.