Antifungal medications kill fungal infections by destroying the cell membranes or cell walls that fungi need to survive. The specific treatment depends on where the infection is and how deep it goes: surface-level skin infections often clear with over-the-counter creams in one to four weeks, while nail fungus can take four months or longer to fully resolve, and internal infections require prescription oral or intravenous drugs.
How Antifungals Actually Kill Fungi
Fungal cells are surrounded by a membrane made with a fatty molecule called ergosterol, which is unique to fungi. Most antifungal drugs target this molecule or the structures around it. The largest class of antifungals, called azoles (found in common creams like clotrimazole and miconazole), block an enzyme fungi need to produce ergosterol. Without it, the cell membrane becomes leaky, and the fungal cell ruptures and dies.
Other antifungals take a different approach. Polyene drugs bind directly to ergosterol and punch holes in the membrane. Echinocandins skip the membrane entirely and instead prevent fungi from building their cell walls, which causes the cell to collapse. Terbinafine, the active ingredient in Lamisil, blocks an even earlier step in ergosterol production, causing toxic compounds to build up inside the fungal cell until it dies. Each class attacks a different weak point, which is why doctors sometimes combine them for stubborn infections.
Over-the-Counter Treatments for Skin Infections
For common fungal skin infections like athlete’s foot, jock itch, and ringworm, two OTC ingredients dominate the pharmacy shelf: terbinafine and clotrimazole. Both work, but they aren’t equally fast. In a clinical comparison of the two for athlete’s foot, terbinafine 1% cream applied twice daily for just one week achieved a 93.5% cure rate at four weeks. Clotrimazole 1% cream, applied twice daily for four full weeks, reached only 73.1% over the same period. By six weeks, terbinafine’s cure rate climbed to 97.2% versus 83.7% for clotrimazole.
The practical takeaway: terbinafine works faster and more reliably for skin-level fungal infections. You apply it for about a week, while clotrimazole typically requires a full month of consistent use. Whichever you choose, the key mistake people make is stopping too early. Fungal symptoms often improve before the infection is fully gone, and quitting treatment early is one of the most common reasons infections come back.
When You Need Prescription Treatment
Topical creams can only penetrate so deep. If a fungal infection has spread to your nails, scalp, or internal organs, you’ll need oral or intravenous antifungals that travel through your bloodstream. Nail fungus is the most common example. Oral antifungals are typically taken daily for 6 to 12 weeks, but the nail itself grows slowly, so you won’t see the full result until the infected nail has completely grown out. That process takes four months or longer.
Medicated nail polishes are another option for mild to moderate nail fungus, though they require daily application for close to a year. The long timelines aren’t because the drugs are weak. They reflect the biology of nails: antifungals kill the fungus relatively quickly, but you’re waiting for healthy nail to replace the damaged portion.
For serious internal fungal infections, such as those affecting the lungs, blood, or brain, treatment happens in a hospital setting with stronger medications. These infections are far less common but far more dangerous, and they primarily affect people with weakened immune systems.
Getting the Right Diagnosis First
One reason fungal infections persist is that they’re frequently misdiagnosed. Eczema, psoriasis, contact dermatitis, and bacterial infections can all look remarkably similar to fungal infections on the skin. Treating a non-fungal rash with antifungal cream wastes time and can make the real condition worse.
Dermatologists confirm a suspected fungal infection with a simple skin scraping. A small sample is taken from the affected area and treated with a potassium hydroxide solution, which dissolves skin cells but leaves fungal elements intact. Under a microscope, a doctor can quickly see whether fungal structures are present. Experts recommend confirming the diagnosis with either this direct microscopy, a culture, or a tissue sample before starting targeted treatment. If you’ve been using an OTC antifungal for two to four weeks with no improvement, the infection may not be fungal at all.
Do Natural Remedies Work?
Tea tree oil is the most studied natural antifungal. Lab research shows that concentrations as low as 0.25% can significantly alter the membrane properties of Candida cells, the yeast responsible for many common infections. Formulations used in clinical studies typically contain 5% tea tree oil. It does have genuine antifungal properties, but the evidence is much stronger in lab dishes than on human skin, and it works more slowly and less reliably than proven OTC medications. If you want to try it, look for products with at least 5% concentration, and treat it as a supplement to conventional therapy rather than a replacement.
Apple cider vinegar is another popular home remedy. Vinegar’s acidity (typically around pH 2 to 3) can create an environment hostile to some microbes. The organic acids in vinegar release hydrogen ions that lower the pH inside cells, potentially destabilizing cell membranes. Research on apple vinegar has confirmed antibacterial activity against several species, but its antifungal effects are inconsistent and variety-dependent. Some apple vinegar samples showed no meaningful antifungal activity at all. Soaking your feet in diluted vinegar is unlikely to cause harm, but it’s also unlikely to clear an established fungal infection on its own.
Why Some Infections Keep Coming Back
Fungal infections recur for three main reasons: incomplete treatment, reinfection from the environment, and conditions that favor fungal growth. Fungi thrive in warm, moist environments. If you clear athlete’s foot but keep wearing the same damp shoes, you’ll likely get reinfected. Similarly, sharing towels, walking barefoot in locker rooms, or keeping skin chronically moist creates opportunities for fungi to reestablish.
Your immune system also plays a significant role. People with diabetes, those taking immunosuppressive medications, and anyone with a compromised immune system face higher rates of recurrence because their bodies are less effective at keeping fungal populations in check. For these individuals, longer courses of treatment or maintenance therapy may be necessary.
Drug-Resistant Fungi Are a Growing Concern
Not all fungal infections respond to standard treatments anymore. Candida auris, a species first identified in 2009, has developed resistance to multiple drug classes simultaneously. It carries specific genetic mutations that block azole drugs from working, and some strains have acquired additional resistance to echinocandins and other antifungals. Another emerging threat is a resistant strain of Trichophyton indotineae, which causes difficult-to-treat skin infections that don’t respond to terbinafine.
Clinicians currently fight fungal infections with four main drug classes, and resistance is rising across all of them. For most common infections like athlete’s foot or vaginal yeast infections, standard treatments still work well. But if a fungal infection isn’t responding to appropriate treatment after a reasonable timeframe, drug resistance is one possible explanation, and culture testing can identify whether the specific fungus involved is susceptible to available medications.

