Nail Fungus: Causes, Treatment Options, and How Long Recovery Takes
Medically reviewed by Dr. Celina Kazumi Iwasa, MD, Board-Certified Dermatologist · Last updated June 2026
Fungal nail infection — onychomycosis — is one of the most common nail disorders worldwide, affecting up to 14% of the general population and over 40% of adults over 60. It's also one of the most frustrating conditions to treat: nails grow slowly, antifungal medications need months to work, and reinfection rates are high. Yet effective treatment matters — beyond cosmetic concerns, untreated fungal nails can cause pain, difficulty walking, and serve as a reservoir for fungal spread to other body sites and other people.
Concerned this might be nail fungus? Scan it with our AI skin checker or, for moles and pigmented spots, our AI mole checker. Free, no signup required.
Quick Answer
Nail fungus, or onychomycosis, is a common fungal infection that causes your fingernails or toenails to become thick, yellow, and crumbly. It usually starts as a small white or yellow spot under the nail tip and spreads deeper. Because toenails grow slowly and are often confined in dark, damp shoes, they are affected most frequently. Treatment can be challenging and slow, often requiring prescription topical lacquers or oral antifungal medications. It can take up to a year or more for a fully healthy new nail to grow out.
Symptoms
- Thickened nails
- White, yellow, or brown discoloration
- Brittle, crumbly, or ragged nail edges
- Distorted nail shape
- Separation of nail from nail bed (onycholysis)
- Dark debris buildup under nail
- Slight foul odor
Severity & Progression
What Causes Nail Fungus
Onychomycosis is caused primarily by dermatophyte fungi — Trichophyton rubrum accounts for approximately 90% of cases. Non-dermatophyte moulds (Scopulariopsis, Fusarium) and yeasts (Candida) cause the remainder, with Candida being more common in fingernail infections.
The fungi invade the nail through the hyponychium (the area where the nail meets the nail bed at the distal edge), the nail folds, or directly through the nail plate surface. Once established, they feed on keratin — the structural protein of the nail — causing progressive nail destruction.
Toenails are affected 6–7 times more often than fingernails because toenails grow more slowly (giving the fungus more time to establish), feet spend more time in warm, dark, moist environments (shoes), and feet have reduced blood flow (weakening local immune defences).
Risk factors include ageing (reduced nail growth rate, decreased circulation), diabetes, peripheral vascular disease, immunosuppression, tinea pedis (athlete's foot — the same organism), nail trauma, swimming, communal showers/changing rooms, and family history. Athlete's foot is both a risk factor and a consequence: the same fungus causes both conditions, and untreated athlete's foot serves as a reservoir for ongoing nail reinfection.
Onychomycosis is classified by the pattern of nail involvement: distal-lateral subungual (most common — starts at the free edge), white superficial (chalky white patches on the surface — easiest to treat), proximal subungual (starts at the cuticle — consider immunosuppression), and total dystrophic (entire nail destroyed).
How Nail Fungus Differs from Similar Conditions
Several conditions can look similar. Here's how to tell them apart — though a healthcare professional can provide a definitive diagnosis.
| Condition | Key Difference from Nail Fungus |
|---|---|
| Nail Psoriasis | Pitting (tiny dents), oil-drop discolouration, onycholysis, and subungual hyperkeratosis. Often associated with psoriasis elsewhere on the body or psoriatic arthritis. May coexist with fungal infection — always confirm with testing. |
| Traumatic Nail Dystrophy | Nail changes localised to a single nail with a clear history of injury. The deformity matches the location of trauma. |
| Melanonychia (Nail Pigmentation) | A dark longitudinal streak in the nail. In darker-skinned individuals, this is usually benign (racial melanonychia). A widening streak, involvement of the cuticle (Hutchinson's sign), or a new streak in a single nail requires evaluation to exclude subungual melanoma. |
| Lichen Planus of the Nail | Nail thinning, longitudinal ridging, and sometimes permanent nail loss (pterygium). Usually affects multiple nails. May be associated with lichen planus on the skin or in the mouth. |
| Yellow Nail Syndrome | All nails are yellow, thickened, and grow slowly. Associated with lymphoedema and pulmonary disease. Not caused by fungal infection. |
Treatment: What Actually Works
Before starting treatment, confirm the diagnosis with nail clipping and microscopy or fungal culture. Up to 50% of dystrophic nails are NOT fungal — treating non-fungal nail dystrophy with antifungals is futile and exposes patients to unnecessary medication side effects.
Oral terbinafine (250mg daily for 6 weeks for fingernails, 12 weeks for toenails) is the most effective treatment with mycological cure rates of 70–80%. It accumulates in the nail plate and persists for months after the course is completed. Liver function tests should be checked before starting and during treatment if there's pre-existing liver disease.
Oral itraconazole (200mg twice daily for one week per month — 'pulse dosing' — for 2 months for fingernails, 3 months for toenails) is an alternative with slightly lower cure rates but fewer gastrointestinal side effects. Multiple drug interactions — check before prescribing.
Topical antifungals — efinaconazole 10%, tavaborole 5%, or ciclopirox 8% nail lacquer — are options for mild disease (white superficial onychomycosis, distal-lateral disease involving <50% of the nail, no matrix involvement). Applied daily for 48 weeks. Cure rates are modest (15–20% for complete cure) but improve when combined with nail filing to reduce nail thickness and improve penetration.
Nail debridement (mechanical reduction of nail thickness by a podiatrist) improves both cosmetic appearance and topical antifungal penetration.
Laser treatment is marketed heavily but evidence for efficacy is limited and inconsistent. Not currently recommended as monotherapy.
Realistic timeline: Even with successful treatment, you won't see a normal-looking toenail for 12–18 months — that's how long it takes for a completely new nail to grow from the matrix to the free edge. Treatment kills the fungus, but the damaged nail must physically grow out. Patience is essential.
Preventing reinfection: Treat concurrent athlete's foot. Discard old shoes or treat them with antifungal powder. Wear breathable footwear. Use antifungal foot powder prophylactically. Avoid walking barefoot in communal wet areas.
When Nail Fungus Is Actually Something Else
Thickened, discoloured nails are not always fungal. Nail psoriasis, trauma, lichen planus, and yellow nail syndrome can all mimic onychomycosis. A laboratory test (KOH microscopy, fungal culture, or PCR) should ideally confirm fungal infection before committing to months of antifungal treatment. If one nail is affected in isolation with no other risk factors, consider trauma as the primary cause.
Nail Fungus Across Skin Types and Hair Types
Fungal nail infection looks similar across skin tones, but racial melanonychia — longitudinal pigmented bands in the nails — is extremely common in darker-skinned individuals (occurring in up to 100% of dark-skinned adults over 50) and should not be confused with nail dystrophy or subungual melanoma. A dark streak that has been present and stable for years in a person with darker skin is almost certainly benign racial melanonychia. Concerning features include: new onset, widening band, involvement of a single digit, or pigmentation extending to the cuticle or surrounding skin (Hutchinson's sign).
Self-Care Tips
- Keep feet clean and dry
- Wear breathable shoes and moisture-wicking socks
- Use antifungal powder in shoes
- Don't share nail clippers or files
- Wear sandals in communal areas
- Treat athlete's foot promptly to prevent spread
When to See a Doctor
If nail changes are significant, spreading to other nails, causing pain, if you have diabetes, poor circulation, or weakened immune system
Frequently Asked Questions
How do I know if I have a fungal nail infection?
Fungal nail infections typically cause your nails to thicken, become brittle, or crumble at the edges. You might notice yellow, white, or brown discoloration, and the nail's shape may become distorted. In some cases, the nail begins to lift away from the nail bed, and dark debris can build up underneath. It is usually painless at first, though severe cases can cause discomfort.
How did I catch toenail fungus?
Nail fungus is primarily caused by dermatophyte fungi, which thrive in warm, moist environments. You can catch it by walking barefoot in communal showers, gyms, or swimming pools. Having a history of athlete's foot makes you much more susceptible, as the fungus can easily spread from your skin to your nails. Older age, diabetes, and sweaty shoes also increase your risk.
What is the most effective treatment for nail fungus?
Prescription oral antifungal medications, like terbinafine, are generally the most effective treatment, boasting a success rate of 70 to 80 percent. These drugs require a course of 6 to 12 weeks and monitoring by a doctor, as they can occasionally affect the liver. For milder infections, medicated nail lacquers can be used, though they are less effective on their own.
Why is my nail taking so long to heal?
Curing a fungal nail infection takes patience because the medication does not immediately clear the existing damaged nail. Instead, it prevents the fungus from growing while a completely new, healthy nail grows in from the base. This process takes a long time: about 6 to 12 months for a fingernail, and 12 to 18 months for a toenail to fully replace itself.
How can I stop the fungus from coming back?
To prevent reinfection, keep your feet clean and completely dry, especially between your toes. Wear breathable shoes and change your socks daily, or more often if they get sweaty. Avoid walking barefoot in public locker rooms or pools by bringing flip-flops. Finally, treat any signs of athlete's foot immediately, as untreated skin fungus easily jumps back into the nails.
When should I see a doctor for a yellow, thickened nail?
You should consult a doctor if the nail causes pain, makes walking difficult, or severely distorts the shape of your toe. It is especially important to seek medical care if you have diabetes, poor circulation, or a weakened immune system. In these cases, minor foot problems can quickly escalate into serious bacterial infections or cellulitis if left untreated.
Can I just cut off the infected part of my nail?
Trimming away the crumbling, loose parts of the nail can help relieve pressure and allow medicated treatments to penetrate better. However, simply clipping the nail will not cure the infection, as the fungus lives deep within the nail bed matrix. You should never attempt to forcefully remove the entire nail yourself, as this causes severe trauma and risks further infection.
How can ScanSkinAI help me evaluate my nail changes?
ScanSkinAI can analyze visual features—like yellow discoloration, thickening, and crumbling edges—to help identify if your symptoms match those typical of a fungal nail infection. However, ScanSkinAI is an informational screening aid, not a diagnostic tool. Since conditions like psoriasis can also mimic nail fungus, you should always visit a healthcare professional for clinical testing and a definitive diagnosis.
Related Symptoms
Explore symptom guides that may help you understand this condition better:
Related Conditions
Medical References
Information on this page is sourced from and verified against reputable medical resources:
Concerned About Your Skin?
Upload a photo and get instant AI-powered analysis across 80+ skin conditions. Track your condition over time with photo timelines, or use our dedicated AI mole checker for moles and pigmented lesions.
Medical Disclaimer: This information is for educational purposes only and is not intended as medical advice. The content on this page should not be used to diagnose or treat any health problem. Always consult with a qualified healthcare professional for proper medical evaluation, diagnosis, and treatment of your condition.