How to Get Rid of Onychomycosis: Treatments That Work

Getting rid of onychomycosis (nail fungus) takes patience, the right treatment, and realistic expectations. Most toenail infections require 12 to 18 months to fully resolve because that’s how long it takes for a new, healthy toenail to grow in and replace the damaged one. Fingernails move faster, typically clearing in 4 to 6 months. The good news: several proven treatments exist, ranging from prescription pills to topical solutions, and choosing the right one depends on how severe your infection is.

Why Nail Fungus Is Hard to Treat

The fungus lives underneath and within the nail plate, which acts like a shield. Topical treatments struggle to penetrate this barrier, and oral medications need time to build up in the nail bed. Even after the fungus is killed, the nail won’t suddenly look normal. You’re waiting for the old, discolored nail to grow out completely while new healthy nail grows in behind it. For toenails, that full replacement cycle averages up to 18 months.

Certain health conditions make the infection harder to clear. About 26% of people with diabetes have toenail fungus, roughly double the rate in the general population. Peripheral vascular disease, a family history of nail fungus, and immunosuppressive medications all increase both the risk of getting onychomycosis and the difficulty of treating it. If any of these apply to you, treatment may take longer and require closer monitoring.

Oral Antifungal Medication

Oral antifungals are the most effective option, especially for moderate to severe toenail infections. Terbinafine is considered the first-line treatment. In head-to-head trials, terbinafine achieved a mycological cure (meaning the fungus was actually eliminated, confirmed by lab testing) in 81% of patients, compared to 63% for itraconazole. By culture results alone, 92% of terbinafine-treated patients tested negative for fungus at the end of the study, versus 67% for itraconazole.

The difference extends to long-term results. In a five-year follow-up study, relapse rates were significantly lower with terbinafine: 23% experienced fungal relapse compared to 53% with itraconazole. Clinical relapse (the nail looking infected again) followed a similar pattern, at 21% versus 48%.

A typical course of terbinafine for toenails runs about 12 weeks of daily pills. Your doctor will likely check liver function before starting and possibly during treatment, since the medication is processed through the liver. You won’t see dramatic changes right away. The medication works by saturating the new nail growth with antifungal compound, so visible improvement tracks with how fast your nail grows.

Topical Prescription Treatments

Topical antifungals applied directly to the nail are an option for mild to moderate infections, particularly when oral medication isn’t suitable. Three FDA-approved topical treatments exist, and their cure rates are notably lower than oral medications.

  • Efinaconazole 10% solution has the best topical results, with complete cure rates of 15% to 18%.
  • Tavaborole 5% solution achieves complete cure in 6.5% to 9.1% of patients.
  • Ciclopirox 8% nail lacquer produces complete cure in about 7% of patients.

All three require daily application for 48 weeks, nearly a full year. Those cure rates may seem discouraging, but “complete cure” is a strict measure requiring both a clear nail and negative lab tests. Many more patients see meaningful cosmetic improvement even without hitting that benchmark. Topical treatments work best for infections that haven’t spread to the nail root (the matrix) and that affect less than half the nail surface.

Combining a topical treatment with an oral antifungal can improve results for stubborn infections. This approach attacks the fungus from both directions and is sometimes recommended when a single method hasn’t worked.

Laser Treatment

Laser therapy, particularly using a 1064-nm Nd:YAG laser, has gained popularity as a non-drug alternative. A systematic review and meta-analysis found that long-pulse versions of this laser achieved a mycological cure rate of 71%, while short-pulse versions were far less effective at just 21%. The overall cure rate across laser types was 63%.

Laser treatment typically involves multiple sessions spaced weeks apart. It’s generally painless or mildly uncomfortable, with no downtime. The major drawback is cost: most insurance plans don’t cover laser treatment for nail fungus, and a full course of sessions can run several hundred to over a thousand dollars. Given that oral terbinafine outperforms laser therapy and is covered by most insurance, laser is usually a second-line choice for people who can’t take oral antifungals.

Tea Tree Oil and Home Remedies

Tea tree oil is the most studied natural remedy for nail fungus. Lab research shows it can inhibit the two most common fungi responsible for onychomycosis. Growth of Trichophyton rubrum (the most frequent culprit) was inhibited at concentrations above 0.04%, and Trichophyton mentagrophytes was inhibited at even lower concentrations, with complete inhibition at 0.07%.

The catch is that lab results don’t always translate to real-world effectiveness. The nail plate still blocks penetration, and maintaining a consistent therapeutic concentration on a living nail is very different from a petri dish. No large clinical trials have shown tea tree oil matching prescription antifungals for complete cure. If you want to try it, apply it consistently to the affected nail twice daily, but don’t rely on it as your sole treatment for anything beyond a very mild infection. Other popular home remedies like vinegar soaks and Vicks VapoRub have even less clinical evidence behind them.

Nail Removal

In severe cases where the nail is very thick, painful, or interfering with wearing shoes, partial or complete nail removal can be part of the treatment plan. This isn’t a cure on its own. Removing the nail simply gives topical antifungals better access to the nail bed where the fungus lives. A new nail will grow back over the following 12 to 18 months, and antifungal treatment continues during that regrowth period.

Nail removal can be done surgically or chemically (using a paste that dissolves the nail over several days). Both approaches are performed under local anesthesia and are outpatient procedures. This option is typically reserved for infections that haven’t responded to standard treatments or are causing significant pain.

How to Confirm You Actually Have Nail Fungus

Before committing to months of treatment, it’s worth confirming the diagnosis. About half of abnormal-looking nails aren’t actually fungal infections. Psoriasis, trauma, and aging can all mimic the thickened, discolored appearance of fungus. A potassium hydroxide (KOH) preparation, where nail clippings are dissolved and examined under a microscope, detects fungus in about 87.5% of confirmed cases. PCR testing catches about 84%. Culture (trying to grow the fungus in a lab) is the most specific test but only comes back positive about 9% of the time because the organism is difficult to grow. Your doctor will typically use at least one of these tests before prescribing treatment.

Preventing Reinfection

Even after successful treatment, nail fungus comes back frequently. Relapse rates range from 21% to over 50% depending on the medication used and the severity of the original infection. The fungus thrives in warm, moist environments, so prevention is an ongoing effort.

Keep your feet dry, especially between the toes. Change socks when they get damp. Wear breathable shoes and rotate pairs so each has time to dry out completely. Use antifungal powder or spray in shoes you wear regularly. In public pools, locker rooms, and showers, wear sandals or shower shoes. Trim nails straight across and keep them short so there’s less surface area for fungus to colonize. If you get pedicures, bring your own tools or make sure the salon sterilizes theirs between clients.

Treating athlete’s foot promptly matters too. The same fungi cause both conditions, and an untreated skin infection on your feet can easily spread to your nails and restart the cycle.