Nail Fungus: Signs, Treatment Options, and How to Stop It Coming Back

Thick, yellowed, crumbly toenails are not just a cosmetic problem. They are often a sign of a fungal nail infection (onychomycosis), one of the most common nail conditions. It is rarely dangerous for healthy people, but it is stubborn: treatment takes months, and the infection easily comes back if the conditions that caused it do not change.

This guide explains the signs, how it spreads, what treatment involves, and the prevention habits dermatologists recommend. It is general information; for diagnosis and treatment, talk to a pharmacist, doctor, or dermatologist.

Signs of a fungal nail infection

According to the UK’s National Health Service (NHS), a fungal nail infection usually makes nails:

  • discolored, often white or yellow,
  • thicker than usual,
  • brittle or crumbly.

It usually starts at the edge of the nail and often spreads across the whole nail. Toenails are affected most often, but fingernails can be too. In severe cases the nail can lift off, and the skin around it can become swollen and painful.

Not every thick or discolored nail is fungal. Psoriasis, injury, and other conditions can look similar, which is why a doctor may take a nail sample to confirm the diagnosis before prescribing tablets.

What causes it?

Fungi thrive in warm, damp places. The NHS lists these common causes:

  • feet that are often warm and damp,
  • wearing trainers or closed shoes for long periods with hot, sweaty feet,
  • untreated athlete’s foot, which can spread to the nails.

The American Academy of Dermatology (AAD) adds that the fungi spread easily from person to person, through shared nail clippers, unwashed towels, and shoes, and in damp public areas such as locker rooms, gyms, spas, shared showers, and pool decks.

Treatment options

Pharmacy treatments

The NHS suggests seeing a pharmacist if an infected nail bothers you or is painful. A pharmacist may recommend an antifungal nail medicine that you brush onto the nail daily or weekly, depending on the product. Key facts:

  • treatment usually lasts 6 to 12 months,
  • it can take several months to see improvement,
  • some products are not suitable for people under 18, or who are pregnant or breastfeeding.

The infection is considered cured when healthy nail grows back from the base.

Doctor’s treatments

If pharmacy treatments do not work, a doctor can prescribe antifungal tablets. The NHS notes that:

  • a nail sample may be tested and blood tests done to check liver function,
  • tablets are usually taken for up to 6 months,
  • possible side effects include headaches, itchy rash, stomach ache, nausea, and diarrhea,
  • they are not suitable for everyone, for example people with some liver or kidney conditions.

Badly infected nails sometimes need to be removed in a minor procedure under local anesthetic.

The AAD summarizes the reality well: treatment can take about a year and often requires prescription medication, which is why prevention matters so much.

Safety first: See a doctor promptly if you have diabetes or a weakened immune system, if the infection is spreading to other nails, or if the skin around the nail is red, swollen, or painful. Foot problems can be more serious in these situations.

Can you wear polish or gel on a fungal nail?

It is best to avoid covering a nail you suspect is infected until you have spoken to a pharmacist or doctor. Polish can hide changes and make it harder to judge progress, and some treatments need direct contact with the nail. The AAD also advises against using artificial nails to cover nail problems and says they are not recommended for people prone to fungal infections.

Dermatologists’ tips to prevent nail fungus

The AAD’s prevention tips include:

  1. Keep your feet clean and dry. Wear moisture-wicking socks, change sweaty socks, and let shoes dry out for a day before wearing them again.
  2. Use antifungal powder or spray in shoes and socks, especially in hot weather or before exercise.
  3. Wear sandals or flip-flops in locker rooms, gyms, spas, shared showers, and pool areas.
  4. Never share nail clippers, unwashed towels, or shoes.
  5. Keep nails short, trimming toenails straight across.
  6. Disinfect nail clippers after every use: wash them in warm, soapy water, then wipe or soak them in 70% rubbing alcohol for 5 minutes and let them air-dry.
  7. Check salon hygiene: tools and foot baths should be disinfected for every client. Our nail salon safety checklist explains what to look for.
  8. Treat athlete’s foot right away: cracked, scaly, peeling, or itchy skin between the toes can spread to the nails.
  9. Deal with shoes and socks during treatment: disinfect or replace shoes worn before treatment and wash socks in hot water.
  10. Watch for early signs such as thickening, splitting, discoloration, or lifting.
  11. Make sure household members get treated, since fungus spreads easily at home.

The NHS adds: wear well-fitting shoes without narrow toes or high heels, wear clean socks every day, and throw out old shoes.

Pedicures and nail fungus

Pedicures are not off-limits, but hygiene matters. If you do your own, follow our at-home pedicure guide and use your own clean tools. If you go to a salon and have frequent pedicures, the AAD suggests bringing your own tools.

Frequently asked questions

Does nail fungus go away on its own?

Rarely. It usually needs treatment, and even with treatment it takes months for healthy nail to grow out.

Are home remedies effective?

Evidence for most home remedies is weak. Ask a pharmacist about proven antifungal treatments, and see a doctor if they do not work.

Is nail fungus contagious?

Yes, it can spread between people and from athlete’s foot to the nails, through shared tools, towels, shoes, and damp floors.

How do I know the treatment is working?

The NHS says the infection is cured when you see healthy nail growing back at the base. The old, damaged part needs to grow out and be trimmed away.

This article is for general information and is not a substitute for medical advice. Sources: NHS, Fungal nail infection; American Academy of Dermatology, Tips to prevent nail fungus and Manicure and pedicure safety. Checked November 2026.