Fungal nail infection, also called onychomycosis, commonly affects toenails and sometimes fingernails. The infection often develops slowly and may be difficult to clear because healthy nail must grow out after the fungus has been treated.
Symptoms
An affected nail may become:
- thickened
- white, yellow, brown or darker than usual
- brittle, crumbly or distorted
- lifted from the nail bed
- uncomfortable in shoes or painful when severe
Not every thick or discolored nail is fungal. Injury, psoriasis, eczema and other nail disorders can look similar, so confirmation is important before long-term oral treatment.
How nail fungus develops
Fungi grow well in warm, damp environments. Risk is increased by athlete’s foot, sweaty footwear, shared locker rooms, nail injury, increasing age, diabetes, poor circulation and a weakened immune system.
The infection can spread between nails and between people through shared clippers, footwear or contaminated surfaces. It may also contribute to pressure around the nail and an ingrown toenail.
Diagnosis
A clinician may take nail clippings or scrapings for laboratory testing, particularly before oral antifungal medication. This helps distinguish fungus from other nail conditions and may identify the type of organism.
Treatment
Mild infection affecting a small part of one or two nails may be treated with an antifungal nail polish or solution. These products must be used consistently for many months because nails grow slowly.
Oral antifungal medication may be considered when infection is extensive, painful, spreading or has not responded to topical treatment. Oral antifungal medication can interact with other medications and may not be suitable with liver or kidney disease, during pregnancy or breastfeeding, or with certain other health conditions. Blood tests may be needed before and during treatment.
Even after successful treatment, a toenail can take 12 months or longer to look normal as the damaged nail grows out. Treatment does not guarantee that infection will never return.
Foot and nail care
- Keep feet clean and dry and change socks regularly.
- Wear breathable footwear and rotate shoes so they dry fully.
- Treat athlete’s foot promptly.
- Trim nails straight across and file thickened areas carefully.
- Do not share nail clippers, shoes or towels.
- Wear sandals in shared showers and locker rooms.
- Disinfect reusable nail tools and choose salons with safe hygiene practices.
Do not cut or file so deeply that the skin bleeds. A podiatrist can help if nails are too thick or difficult to reach safely.
When to seek medical advice
Arrange an assessment if the diagnosis is uncertain, several nails are affected, the nail is painful or badly distorted, pharmacy treatment has failed, or the surrounding skin becomes inflamed.
Seek advice early if you have diabetes, poor circulation, reduced sensation or a weakened immune system. Urgent care is needed for rapidly spreading redness, warmth, swelling, pus, fever or severe foot pain.
Sources
Reviewed: 28 August 2026
Medical disclaimer: This information is general and does not replace examination, laboratory testing or treatment from a qualified healthcare professional.