Skip to main content

Skin and nailsGuide

Fungal nail infection

A fungal nail infection (onychomycosis) can turn a nail discoloured, thick and crumbly. Other nail problems look similar, so a laboratory test of a nail sample confirms it. Treatment takes months and doesn't always work, so treating athlete's foot early and keeping shoes clean matter.

Reviewed by Andrew Schox, BSc(Hons) PGradDipPod MPodLast reviewed 27 October 2026 6 min read

Jump to a section
  1. 1. What is a fungal nail infection?
  2. 2. What causes it, and who gets it?
  3. 3. What does it look like, and how is it diagnosed?
  4. 4. What helps first?
  5. 5. What if that isn't enough?
  6. 6. How long does it take, and how can I stop it coming back?
  7. 7. What can make it serious?

At a glance

  • It's common: A fungal nail infection can turn a nail yellow, white or brown, thick and crumbly.
  • Confirm it first: Other nail problems look similar, so a nail sample should confirm fungus before tablets are started.
  • It's slow to treat: Treatment takes months, doesn't always work, and the nail may not look fully normal.
  • Look after your skin too: Treating athlete's foot early and keeping shoes and socks clean helps prevent it.
  • Dark streaks can be a sign of melanoma: A dark stripe down a nail may point to subungual melanoma, which usually affects one nail, and the stripe may widen, darken or spread to the surrounding nail fold.

What is a fungal nail infection?

A fungal nail infection (onychomycosis) is an infection of the nail caused by fungi. It's the most common nail problem, making up about half of all nail disease. It typically causes discolouration, thickening and lifting of the nail, and the skin around it can be affected too.

How many people have it depends on the country, age and type of fungus. In studies of the general population in Europe and North America, about 4% of people had it. Hospital studies give higher figures, but these probably overstate how common it is.

What causes it, and who gets it?

Most fungal nail infections are caused by dermatophytes (a group of fungi), mainly one called Trichophyton rubrum. These are largely the same fungi that cause athlete's foot. They can live harmlessly on skin, but multiply in warm, moist, dark places such as inside shoes. Athlete's foot can spread to the toenails if it isn't treated early.

The infection can also pass between people who live together: it's been seen in almost half of households with someone affected. If someone at home has a fungal nail or skin infection, keep an eye on your own feet and nails.

People with diabetes or a weakened immune system are at higher risk. Complications are more common with poor circulation (peripheral vascular disease) or a weakened immune system, and in people with diabetes they can threaten the limb.

What does it look like, and how is it diagnosed?

Early on there may be no symptoms. Later the nail can turn white, yellow, orange, brown or black, thicken, crumble or lift, and it may be uncomfortable in shoes.

Skin conditions such as psoriasis and lichen planus, or an injury to the nail, can look just like fungus, so how a nail looks isn't enough to go on. The diagnosis should be confirmed by testing a nail sample in a laboratory. No test is perfect, and a negative result doesn't always rule out infection, so a repeat sample may be needed if the suspicion stays high.

What helps first?

If you have athlete's foot, treating it early is a good first step, because it can spread to the nails. Treatment for the nail itself is usually advised when the nail is uncomfortable, when how it looks upsets you, or when you have diabetes, vascular disease or a connective tissue disorder, because of a higher risk of skin infection (cellulitis).

A podiatrist or GP can take a nail clipping for testing. Antifungal tablets shouldn't be prescribed until a laboratory test has confirmed the infection. Because tablets can affect the liver, you'll need blood tests before and during treatment. Health conditions, allergies, other medicines, and pregnancy or breastfeeding can affect which antifungals are suitable, as many antifungals aren't suitable. It isn't clear yet which first treatment works best.

What if that isn't enough?

If a nail hasn't improved, it is possible that the diagnosis was never confirmed by a laboratory test.

Referral to a dermatologist (a skin doctor) is recommended if the infection isn't responding, the diagnosis is uncertain, or a growth under the nail is suspected. It's also recommended if the infection has spread to other nails, is severe, has reached the nail matrix (where the nail grows from), or you have diabetes or psoriasis.

How long does it take, and how can I stop it coming back?

Antifungal tablets are taken for at least three months, sometimes 9–12 months. They don't always work, and the nail may never return fully to normal.

To help stop it coming back, look beyond the nail, because infections enter through the skin. Treat athlete's foot early. Cleaning shoes, socks, stockings and other textiles is described as an important part of preventing the infection returning and spreading.

What can make it serious?

  • Some nails shift in colour, texture, shape or thickness for reasons you can't identify.
  • A dark stripe runs down a nail, especially if it widens, darkens or spreads to the skin around it. Don't wait to see whether antifungal treatment works.
  • Bleeding keeps coming from the same spot under a nail.

A dark band in a child's nail is very unlikely to turn cancerous, but it's still worth having it checked.

A nail that is uncomfortable, spreads to other nails, or isn't improving with treatment can mean the infection is more severe, or that the original diagnosis was not correct. If you have diabetes, poor circulation or a weakened immune system, nail changes carry a higher risk of secondary bacterial infection and cellulitis, and in diabetes these complications can be limb-threatening.

  • The skin around the nail is painful, red, hot, swollen or oozing pus, or your foot is quickly getting more painful or red, or you feel unwell.
  • You have diabetes and notice a wound, sore, blister or colour change on your foot.
  • You're taking antifungal tablets and your skin or the whites of your eyes turn yellow, you have pale stools and dark urine, your face, neck or tongue swell, or you get a severe skin reaction with peeling or blistering.

Difficulty breathing after starting antifungal tablets can be a sign of a serious allergic reaction to the medicine.

Common questions

Can fungal nail infection spread to other people or other nails?

Yes. It can pass between people who share a home, and it can spread from one nail to others. If someone you live with has it, keep an eye on your own feet and nails. If more than one nail becomes affected, ask your GP or podiatrist to take another look.

Is fungal nail infection more serious if I have diabetes?

It can be. Complications are more common in people with diabetes, and they can threaten the limb. That's why it's best not to wait and see. A podiatrist can check your nails and feet, so book a check as soon as you notice a nail change.

Further reading

Want to know more? Fungal nail infection on Clindice

Reviewed by Andrew Schox, BSc(Hons) PGradDipPod MPod

Podiatrist

Reviewed 27 October 2026. Next review by 27 October 2027.

How we write and review Learn

Was this page helpful?

Sources

(14)
  1. 1.Monotherapy for toenail onychomycosis: a systematic review and network meta-analysisGupta AK, Foley KA, Mays RR et al. · The British Journal of Dermatology · 2020
  2. 2.Unveiling onychomycosis: Pathogenesis, diagnosis, and innovative treatment strategiesShah AA, Mirza R, Sattar A et al. · Microbial Pathogenesis · 2025
  3. 3.The prevalence of onychomycosis in the global population: a literature studySigurgeirsson B, Baran R · Journal of the European Academy of Dermatology and Venereology · 2014
  4. 4.Oral antifungal medication for toenail onychomycosisKreijkamp-Kaspers S, Hawke K, Guo L et al. · The Cochrane Database of Systematic Reviews · 2017
  5. 5.Fungal Nail Infection (Onychomycosis) guideMersey Care NHS Foundation Trust
  6. 6.Fungal Nail Infection: Causes, Symptoms, and TreatmentNHS
  7. 7.Onychomycosis: Recommendations for Diagnosis, Assessment of Treatment Efficacy, and Specialist Referral. The CONSONANCE Consensus ProjectPiraccini BM, Starace M, Rubin AI et al. · Dermatology and Therapy · 2022
  8. 8.Nails - fingernail and toenail problemsBetter Health Channel · 2010
  9. 9.Fungal nail infectionsNHS
  10. 10.Antifungal medicinesNHS
  11. 11.The March Against Onychomycosis: A Systematic Review of the Sanitization Methods for Shoes, Socks, and TextilesGupta AK, Simkovich AJ, Hall DC · Journal of the American Podiatric Medical Association · 2022
  12. 12.Nail abnormalitiesnidirect · 2017
  13. 13.Differential diagnosis of pigmented nail lesionsBertanha L, Noriega LF, Di Chiacchio NG et al. · Anais Brasileiros de Dermatologia · 2024
  14. 14.Melanoma-like features in pediatric longitudinal melanonychia: A systematic review and meta-analysisTsai SY, Hamilton CE, Mologousis MA et al. · Pediatric Dermatology · 2024

This is general information, not advice about your own situation. To discuss your issues, book with one of our podiatrists. In an emergency, call 000.

Searching…