Skin, hair, and nails

Toenail fungus treatment: what to expect

What toenail fungus looks like, who is most likely to get it, why a doctor should test the nail first, how long treatment takes, simple habits that lower your risk, and when to see a doctor.

Two bare feet standing on a light floor
On this page
  1. What is toenail fungus?
  2. Signs of toenail fungus
  3. Who gets toenail fungus?
  4. Toenail fungus treatment options
  5. How long does treatment take?
  6. Habits that help prevent toenail fungus
  7. When to see a doctor about toenail fungus

If you’re looking into toenail fungus treatment, expect it to be slow. The CDC says recovery from a fungal nail infection can take several months, sometimes up to a year, and the infection can come back afterward. Thick, discolored nails aren’t always fungus either, so a doctor should confirm what you have before you start.

This guide explains what toenail fungus is, how to spot it, who tends to get it, the treatments that the CDC and medical research describe, and the everyday habits that lower your risk.

What is toenail fungus?

Toenail fungus is an infection of the nail caused by a fungus. Doctors call it onychomycosis. The CDC describes it as a common type of ringworm, which, despite the name, is a fungal infection and has nothing to do with worms. Ringworm can affect the skin, the scalp, and the nails.

It’s common. Nail infections may affect up to 14% of people, according to the CDC. Toenails are infected much more often than fingernails, and a toenail infection often comes with a skin infection on the foot, such as athlete’s foot.

The fungus can get into cracks in the nail, the CDC explains. MedlinePlus notes that fungi spread through tiny spores, often start on the skin, and can be hard to get rid of.

Signs of toenail fungus

The CDC lists these signs of a fungal nail infection:

  • The nail changes color
  • The nail gets thick
  • The nail becomes fragile, cracks, or breaks easily
  • The nail separates from the skin underneath it (the nail bed)

A review of research on nail fungus in older and higher-risk adults gives the same picture: discoloration, thickening, brittleness, and a nail that lifts away from the nail bed.

These changes can have other causes, though. Nails can change color or shape for many reasons, including an old injury, the CDC says. MedlinePlus adds that changes in nail color or growth can sometimes point to other health problems, such as lung, heart, kidney, or liver disease, diabetes, or anemia. Have a provider check the nail before you decide it’s fungus.

Who gets toenail fungus?

Anyone can get toenail fungus. The CDC lists these things that raise the risk of ringworm, including nail infections:

  • Walking barefoot in shared places such as locker rooms, public showers, and dressing rooms
  • Tight shoes and socks
  • Heavy sweating
  • Not changing socks every day
  • Sharing towels or other personal items
  • Close contact with an infected person or pet

Some people are at higher risk. People with a weakened immune system may be especially at risk, the CDC says, and MedlinePlus notes the same for fungal infections in general. The 2025 research review names older adults, people with diabetes, people with weakened immune systems, and people with liver or kidney disease as groups in which nail fungus occurs more often. In these groups, the review says, an untreated infection can lead to problems such as a second infection or skin ulcers.

If you have diabetes and get A1C tests, our A1C calculator turns an A1C result into an average blood sugar.

Toenail fungus treatment options

The usual toenail fungus treatment is a prescription antifungal pill, after a nail test confirms the infection, according to the CDC. Medicine you put on the nail and, in some cases, removing the nail are other options. Treatment depends on where the infection is and how bad it is. Here is how the sources describe each step.

Get tested first. “Talk to a healthcare provider about testing before beginning treatment for a fungal infection,” the CDC advises. A provider may take a small sample of the nail to test, because fungal infections look like other nail problems. The 2025 review agrees that the diagnosis needs to be confirmed by a lab test, since other nail disorders can look the same.

Prescription pills. For fungal nail infections, prescription antifungal medicine taken by mouth is usually the best treatment, the CDC says. The research review also calls oral antifungals the standard, first-line choice for moderate to severe nail fungus. They aren’t right for everyone. Liver or kidney problems and interactions with other medicines can limit their use, so your doctor will look at your health and your other prescriptions first.

Medicines you put on the nail. MedlinePlus explains that skin and nail infections can be treated with medicine applied directly to the infected area. The review says topical antifungals, such as medicated nail lacquers, can be an option for mild to moderate nail fungus, especially for people who can’t take the pills.

Removing the nail. In some cases, a provider may remove the infected nail completely, the CDC says.

Start early. Early treatment works best, according to the CDC.

The CDC adds two cautions. First, don’t use steroid creams on a rash that could be ringworm, because they can make the infection worse. Second, a more severe type of ringworm that resists the usual antifungal medicine is spreading in other parts of the world, with some cases in the United States.

How long does treatment take?

The CDC says it can take several months, sometimes up to a year, for a fungal nail infection to go away. The infection can also come back after treatment, and people with diabetes are more likely to see it return.

The 2025 review says care should be tailored to each person, to improve results and lower the chance that the infection returns.

Because progress is slow, keep your follow-up visits and ask your provider what change to expect and when.

Habits that help prevent toenail fungus

You can’t control every risk. The CDC and MedlinePlus suggest these daily habits:

  • Keep your skin clean and dry.
  • Wear shoes or sandals in locker rooms and public showers.
  • Change your socks every day.
  • Don’t share towels, socks, or sports gear.
  • Keep your nails short, clean, and dry. MedlinePlus says trimmed, clean, dry nails can prevent some problems.
  • Leave your cuticles alone. Removing the cuticle can cause an infection, MedlinePlus warns.
  • Trim toenails straight across and smooth sharp edges with a nail file, as the CDC advises for people with diabetes.

When to see a doctor about toenail fungus

Contact a healthcare provider if you think you have a fungal nail infection, the CDC says. A primary care provider, a dermatologist, or a podiatrist (foot doctor) can look at it and test a sample.

If you have diabetes, take nail changes more seriously. The CDC advises checking your feet every day for cuts, redness, swelling, sores, blisters, and any change to the skin or nails. Use a mirror or ask a family member if you can’t see the bottoms of your feet. Don’t wait for your next appointment. See your doctor or foot doctor right away if you notice:

  • Thick, yellow toenails
  • A fungal infection between your toes
  • A blister, sore, ulcer, infected corn, or ingrown toenail
  • A change in the shape, color, or temperature of your feet
  • Tingling, burning, pain, or loss of feeling in your feet

If you can’t see or reach your feet well, a podiatrist can trim your nails for you, the CDC notes.

For more on nail and skin care, see our skin, hair, and nails guides, or try our free health calculators.

This guide is general information, not medical advice. Talk to your doctor before you change your diet, your exercise, or your medicines. Read how we write and check our guides in our editorial policy.

Sources

  1. Ringworm Basics, Centers for Disease Control and Prevention (CDC)
  2. Symptoms of Ringworm, Centers for Disease Control and Prevention (CDC)
  3. What Causes Ringworm, Centers for Disease Control and Prevention (CDC)
  4. Treatment of Ringworm, Centers for Disease Control and Prevention (CDC)
  5. Your Feet and Diabetes, Centers for Disease Control and Prevention (CDC)
  6. Nail Diseases, MedlinePlus, National Library of Medicine
  7. Fungal Infections, MedlinePlus, National Library of Medicine
  8. Onychomycosis in special populations, Gupta AK and others, Future Microbiology, 2025 (PubMed)