Jump to a section
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 disease1. It typically causes discolouration, thickening and lifting of the nail, and the skin around it can be affected too2.
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 it3. Hospital studies give higher figures, but these probably overstate how common it is3.
What causes it, and who gets it?
Most fungal nail infections are caused by dermatophytes (a group of fungi), mainly one called Trichophyton rubrum4. 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 shoes5. Athlete's foot can spread to the toenails if it isn't treated early6.
The infection can also pass between people who live together: it's been seen in almost half of households with someone affected7. 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 risk8. Complications are more common with poor circulation (peripheral vascular disease) or a weakened immune system, and in people with diabetes they can threaten the limb4.
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 shoes5.
Skin conditions such as psoriasis and lichen planus, or an injury to the nail, can look just like fungus7, so how a nail looks isn't enough to go on. The diagnosis should be confirmed by testing a nail sample in a laboratory4. 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 high4.
What helps first?
If you have athlete's foot, treating it early is a good first step, because it can spread to the nails6. 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)6.
A podiatrist or GP can take a nail clipping for testing. Antifungal tablets shouldn't be prescribed until a laboratory test has confirmed the infection9. Because tablets can affect the liver, you'll need blood tests before and during treatment5. Health conditions, allergies, other medicines, and pregnancy or breastfeeding can affect which antifungals are suitable, as many antifungals aren't suitable10. 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 test9.
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 suspected9. 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 psoriasis7.
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 months5. They don't always work, and the nail may never return fully to normal5.
To help stop it coming back, look beyond the nail, because infections enter through the skin11. Treat athlete's foot early6. Cleaning shoes, socks, stockings and other textiles is described as an important part of preventing the infection returning and spreading11.
What can make it serious?
- Some nails shift in colour, texture, shape or thickness for reasons you can't identify12.
- 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 works1213.
- Bleeding keeps coming from the same spot under a nail13.
A dark band in a child's nail is very unlikely to turn cancerous, but it's still worth having it checked14.
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-threatening46.
- 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 unwell512.
- 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 blistering10.
Difficulty breathing after starting antifungal tablets can be a sign of a serious allergic reaction to the medicine10.
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
- Fungal nail infectionNHS
- Mycotic Nails: What Is It, Symptoms, Causes & TreatmentCleveland Clinic
- Toenail infectionhealthdirect
- Athlete's foot and fungal nails - The Dudley Group NHS Foundation TrustNHS
- Athlete’s foot and fungal nail infections – Rotherham Doncaster and South Humber NHS Foundation Trust (RDaSH)NHS
Reviewed by Andrew Schox, BSc(Hons) PGradDipPod MPod
Podiatrist
Reviewed 27 October 2026. Next review by 27 October 2027.
Related guides
Sources
(14)
- 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.Unveiling onychomycosis: Pathogenesis, diagnosis, and innovative treatment strategiesShah AA, Mirza R, Sattar A et al. · Microbial Pathogenesis · 2025
- 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.Oral antifungal medication for toenail onychomycosisKreijkamp-Kaspers S, Hawke K, Guo L et al. · The Cochrane Database of Systematic Reviews · 2017
- 5.Fungal Nail Infection (Onychomycosis) guideMersey Care NHS Foundation Trust
- 6.Fungal Nail Infection: Causes, Symptoms, and TreatmentNHS
- 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.Nails - fingernail and toenail problemsBetter Health Channel · 2010
- 9.Fungal nail infectionsNHS
- 10.Antifungal medicinesNHS
- 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.Nail abnormalitiesnidirect · 2017
- 13.Differential diagnosis of pigmented nail lesionsBertanha L, Noriega LF, Di Chiacchio NG et al. · Anais Brasileiros de Dermatologia · 2024
- 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.
