ConditionSkin, hair & nails
Onychomycosis (Fungal Nail Infection)
Onychomycosis is a fungal infection of the nail, most often the toenails. The nail turns white, yellow or brown, thickens, crumbles and may lift off the nail bed. It is usually caused by the same dermatophyte fungi that cause athlete's foot. It is common, not dangerous for most people, and slow to clear: prescription tablets work best, but treatment takes months and the infection often returns. Lab testing should confirm it before treatment, because psoriasis and injury look similar.
Also called: Nail fungus, fungal nail infection, tinea unguium
At a glance
- What it is
- A slow-growing fungal infection of the nail plate and nail bed.
- Who gets it
- About 1 in 10 adults, rising to nearly half of people over 70. Toenails far more than fingernails.
- Main signs
- Thick, discolored, crumbly nails that lift from the bed.
- Diagnosis
- Nail clippings sent for microscopy, culture or PCR.
- Treatment
- Oral terbinafine or itraconazole, medicated nail solutions, or laser. Expect 12 to 18 months for a clear nail.
When to get help
See a doctor within a day or two
- A nail problem with spreading redness, warmth, swelling or pus around the toe, especially with diabetes or poor circulation
- Fever above 38 °C (100.4 °F) with a red, painful foot
- Yellow skin or eyes, dark urine or severe tiredness while taking antifungal tablets
Book a routine appointment
- Thick, discolored or crumbly nails that bother you or hurt in shoes
- Any nail change if you have diabetes, poor circulation or a weak immune system
- A single nail with a dark brown or black streak, or color spreading onto the skin (needs checking for melanoma)
Usually safe to manage at home
- Mild white spots or yellowing at the tip of one toenail, with no pain
- Keeping feet dry and treating athlete's foot to stop spread
What onychomycosis is
The word combines Greek onyx (nail) and mykes (fungus). Fungi invade the nail plate, the nail bed underneath, or both. Because nails grow slowly and have no blood supply in the plate, the infection is hard to reach and clears slowly.
Most cases (around 90 in 100 toenail infections) are caused by dermatophytes, mainly Trichophyton rubrum, which also causes athlete's foot. Yeasts such as Candida more often affect fingernails, especially in people whose hands are often wet. Non-dermatophyte molds cause a minority of cases. When a dermatophyte causes it, the term tinea unguium is also used.
Symptoms
- Yellow, white, brown or gray discoloration
- Thickening that makes the nail hard to cut
- Crumbly, brittle or ragged edges
- Debris building up under the nail
- The nail lifting off the nail bed (onycholysis)
- Distorted shape, and sometimes a slight odor
- Discomfort or pain in tight shoes once the nail is very thick
The big toenail is affected first in most people. Fingernail infection is less common and often comes with toenail infection or chronic wet-work exposure.
Types of onychomycosis
| Type | Where it starts | Appearance | Notes |
|---|---|---|---|
| Distal and lateral subungual | Under the free edge and sides | Yellow, thick, lifting from the tip | Most common type |
| White superficial | Surface of the nail | Chalky white patches you can scrape | Easier to treat with topical medicine |
| Proximal subungual | Near the cuticle, spreading outward | White area at the base | Suggests a weakened immune system, such as HIV |
| Candidal | Fingernails, often with nail fold swelling | Lifting and thickening | Linked to wet hands, chronic paronychia |
| Total dystrophic | Whole nail | Thick, crumbling, destroyed | End stage of any type |
Causes and risk factors
Fungi thrive in warm, moist places and get under the nail through tiny cracks or a separated edge. Risk is higher with:
- Age: slower nail growth and poorer circulation
- Athlete's foot, which spreads to the nails
- Diabetes, poor circulation, or a weakened immune system
- Damage to the nail, from sports, tight shoes or repeated trauma
- Psoriasis, which damages nails and makes them prone to infection
- Sweaty feet, occlusive footwear and walking barefoot in communal showers, pools and gyms
- Family members with fungal infection
- Smoking
Diagnosis
Many nail conditions look like fungus, so the American Academy of Dermatology recommends confirming the diagnosis before starting oral treatment. About half of thick, discolored nails are not fungal.
- Nail clippings or scrapings from under the nail are sent for microscopy with potassium hydroxide (KOH), fungal culture, PCR, or a stain of nail tissue (PAS).
- A dermatologist or podiatrist may use dermoscopy to look at the nail pattern.
Conditions that mimic nail fungus
- Nail psoriasis: pitting, oil-drop yellow-orange spots, often in several nails and with skin psoriasis
- Nail trauma: thick, lifted or discolored nails from repeated pressure, often in runners
- Bacterial infection with Pseudomonas: green-black discoloration
- Lichen planus of the nail
- Melanoma under the nail: a dark streak, changing in width, or pigment on the surrounding skin
Treatment
Not everyone needs treatment. Mild cases that cause no symptoms can be left alone, or kept trimmed. Treatment is worth considering if the nail is painful, you have diabetes or poor circulation, the infection is spreading, or you dislike the look.
Oral antifungal tablets
- Terbinafine is the most effective option for dermatophyte infection. A course typically lasts about 6 weeks for fingernails and 12 weeks for toenails.
- Itraconazole is an alternative, sometimes given in pulses, and works against yeasts too.
- Fluconazole is used off-label in some cases.
The drug stays in the nail after you stop, and the healthy nail has to grow out. A toenail takes 12 to 18 months to grow fully. Your doctor may check liver blood tests, and will review your other medicines because itraconazole interacts with many drugs. Stop and contact your doctor if you develop yellow skin or eyes, dark urine, severe tiredness or a rash.
Topical treatments
- Medicated nail solutions such as efinaconazole, tavaborole and ciclopirox lacquer are applied daily for about 48 weeks.
- They work best for mild infection, white superficial type, or when tablets are not suitable.
- Filing the nail thin first helps the medicine penetrate.
Other options
- Laser and light treatments: may improve appearance, but evidence for a lasting cure is limited, and they are usually not covered by insurance.
- Nail removal: surgical or chemical removal of a painful nail, usually combined with antifungal medicine.
- Regular debridement: a podiatrist trims and thins thick nails to reduce pain.
Do home remedies work?
Over-the-counter creams for athlete's foot do not penetrate the nail well. Tea tree oil, vinegar soaks and vapor rubs have weak evidence. They are unlikely to cause harm, but they rarely clear an established infection.
Complications
For most people, nail fungus is a cosmetic and comfort problem. In people with diabetes or poor circulation, thick, sharp nails can cut the skin and lead to diabetic foot infections or cellulitis. Ongoing infection can also seed athlete's foot.
Preventing reinfection
Recurrence is common, affecting up to 1 in 4 to 1 in 2 people after treatment. To lower the risk:
- Treat athlete's foot promptly and use antifungal powder in shoes.
- Dry feet well, especially between toes, and wear moisture-wicking socks.
- Wear sandals in communal showers, gyms and pools.
- Keep nails short and straight across, and do not share clippers.
- Replace or disinfect old shoes.
Frequently asked questions
What is onychomycosis?
Onychomycosis is a fungal infection of the fingernails or toenails. It causes thick, discolored, crumbly nails that may lift from the nail bed. It is usually caused by dermatophyte fungi, the same organisms responsible for athlete's foot.
What is the most effective treatment for onychomycosis?
Oral terbinafine is the most effective treatment for the common dermatophyte type, typically taken for about 12 weeks for toenails. Topical medicated solutions help milder cases. Because the nail grows slowly, it takes 12 to 18 months to see a fully clear toenail.
Is onychomycosis contagious?
It is mildly contagious. The fungi spread through damp floors, shared clippers and footwear, and from athlete's foot on your own skin. Close contacts often share the infection, so treating everyone in a household may reduce recurrence.
Will onychomycosis go away on its own?
Rarely. Without treatment, onychomycosis usually persists or slowly spreads to other nails. It is not harmful for most healthy people, so leaving mild cases untreated is a reasonable choice.
How do I know if it is nail fungus or something else?
You cannot be sure by looking. Psoriasis, injury and other conditions cause similar thick, discolored nails. A doctor can send a nail clipping to a lab to confirm fungus before you take months of treatment.
Sources
This guide was written from current patient and clinical guidance, including:
- American Academy of Dermatology: Nail fungus diagnosis and treatment
- CDC: Fungal nail infections
- NHS: Fungal nail infection
- MedlinePlus (US National Library of Medicine): Nail fungus
- American Podiatric Medical Association: Toenail fungus