Antifungal medications are drugs that kill fungi or stop them from growing. They treat infections ranging from common issues like athlete’s foot and vaginal yeast infections to life-threatening bloodstream and lung infections. These medications come in four main classes, each working differently to attack fungal cells, and they’re available in forms as simple as an over-the-counter cream or as intensive as an intravenous drip in a hospital.
How Antifungal Medications Work
Fungi have tough outer membranes that protect them, and most antifungals target those membranes in some way. The four main classes of antifungal drugs each take a different approach:
- Azoles (fluconazole, itraconazole, voriconazole, miconazole, clotrimazole) block fungi from building a key component of their cell membrane. This is the largest and most widely used class, covering everything from skin creams to oral pills for serious internal infections.
- Polyenes (amphotericin B, nystatin) punch holes in fungal cell membranes, causing the contents to leak out. Amphotericin B is one of the oldest and most powerful antifungals, often reserved for severe infections.
- Echinocandins (caspofungin, micafungin, anidulafungin, rezafungin) attack the fungal cell wall rather than the membrane, weakening its structural integrity. These are given intravenously and used mainly for serious infections in hospital settings.
- Squalene epoxidase inhibitors (terbinafine, naftifine, butenafine) interrupt the production of a fat molecule fungi need for healthy membranes. These are typically used only for skin and nail infections.
What They Treat
Superficial infections are by far the most common reason people use antifungals. Athlete’s foot, jock itch, ringworm, vaginal yeast infections, and oral thrush are all caused by fungi and generally respond well to treatment. Nail fungus is also superficial but notoriously stubborn, often requiring months of oral medication rather than a simple cream.
Fungi can also cause severe infections in the lungs, brain, bloodstream, and other organs. These invasive infections tend to occur in people with weakened immune systems, such as those undergoing chemotherapy or organ transplant recipients. Conditions like invasive aspergillosis, cryptococcal meningitis, and bloodstream candida infections require aggressive treatment with intravenous or high-dose oral antifungals, sometimes for weeks or months.
Over-the-Counter vs. Prescription
Many antifungals for skin infections are available without a prescription. Creams, sprays, and nail lacquers for athlete’s foot, ringworm, and similar conditions can be purchased directly from a pharmacy. Treatments for vaginal thrush (internal creams, pessaries) and oral thrush (gels, drops) are typically kept behind the pharmacy counter, so you’ll need to speak with a pharmacist to purchase them.
Most antifungal tablets require a prescription. This is because oral and intravenous antifungals carry more significant side effects, particularly to the liver and kidneys, and your doctor needs to confirm the diagnosis and monitor you during treatment. If you’ve tried an over-the-counter product and the infection hasn’t improved or keeps returning, that’s a signal to see your doctor. The condition may need a stronger medication, or it may not be a fungal infection at all.
Forms and Delivery Methods
The form your antifungal takes depends on where and how serious the infection is. For surface-level problems, topical options work well: creams, gels, lotions, sprays, nail lacquers, vaginal suppositories, and medicated washes. Oral thrush is often treated with lozenges or oral suspensions that coat the inside of the mouth.
For infections that have spread deeper or affect internal organs, oral tablets or capsules are the next step up. These travel through your bloodstream to reach infected tissue throughout the body. The most serious infections, particularly in hospitalized patients, call for intravenous delivery. Echinocandins are only available intravenously, while amphotericin B is frequently given this way for life-threatening cases. In some specialized situations, antifungals are delivered as nebulized aerosols to prevent lung infections in high-risk patients, or injected directly into the fluid around the brain or spinal cord for central nervous system infections.
How Long Treatment Takes
Treatment timelines vary enormously depending on the type and location of the infection. A mild case of athlete’s foot may clear up with a topical cream in one to two weeks. Vaginal yeast infections often resolve with a single dose or a short course of a few days. Oral thrush typically needs one to two weeks of treatment.
Nail infections are the outlier among superficial problems. Because nails grow slowly, oral antifungal treatment for toenail fungus commonly lasts three to four months, and it can take six months or longer before the nail looks fully normal as the healthy nail grows in. Serious internal infections may require weeks of intravenous therapy followed by months of oral medication. Cryptococcal meningitis, for example, often involves an initial intensive phase of treatment and then a prolonged maintenance period to prevent relapse.
Side Effects and Safety
Topical antifungals rarely cause problems beyond occasional skin irritation. The more significant concerns arise with oral and intravenous medications.
Liver stress is the most common issue with systemic antifungals, though the risk varies by drug. In clinical data, about 20% of patients taking voriconazole and 17% of those on itraconazole showed elevated liver enzyme levels during treatment. Fluconazole and the echinocandins were gentler, with only 2% to 9% of users showing similar elevations. Most of these cases didn’t require stopping treatment, but voriconazole led to treatment discontinuation due to liver problems in about 12% of patients, the highest rate among common antifungals. Your doctor will typically order blood tests to monitor your liver function during extended courses of oral antifungals.
Amphotericin B is particularly hard on the kidneys. Roughly 30% of patients develop abnormal kidney function during treatment, and about 5% have to stop because of toxicity. Newer lipid-based formulations of the drug cause substantially fewer kidney and infusion-related problems, so they’ve largely replaced the original version for most patients.
Drug Interactions With Azoles
Azole antifungals are notorious for interacting with other medications. They inhibit a liver enzyme called CYP3A4, which is responsible for breaking down a large proportion of commonly prescribed drugs. When this enzyme is blocked, other medications can build up to higher-than-expected levels in your blood, potentially causing serious side effects.
This means azoles can interact with blood thinners, certain heart medications, some cholesterol drugs, sedatives, immunosuppressants, and many others. If you’re prescribed an azole antifungal, make sure your doctor and pharmacist know every medication and supplement you’re taking. Even some over-the-counter azole creams like clotrimazole inhibit this enzyme, though the effect is much smaller when the drug is applied to the skin rather than taken orally.
Safety During Pregnancy and Breastfeeding
Topical antifungals are generally the safest option during pregnancy. Clotrimazole cream, for example, is considered safe to use during pregnancy and breastfeeding. Very little of the drug is absorbed into the bloodstream when applied to the skin, so it’s unlikely to reach a developing baby or pass into breast milk. If you’re breastfeeding, just wash treated areas before handling your baby.
Oral antifungals are a different story. Several, including fluconazole at high doses and itraconazole, carry risks during pregnancy and are generally avoided unless the infection is serious enough to justify them. Your doctor will weigh the severity of the infection against the potential risks when deciding on a treatment plan.
Antifungal Resistance
Just like bacteria can become resistant to antibiotics, fungi are increasingly developing resistance to antifungal drugs. This is a growing public health concern because there are far fewer antifungal classes than antibiotic classes, so when resistance develops, treatment options shrink quickly.
The World Health Organization published its first-ever fungal priority pathogen list in 2022, flagging the most dangerous resistant fungi. The critical-priority group includes Candida auris, a yeast that can resist multiple drug classes and spreads easily in healthcare facilities, along with Aspergillus fumigatus and common Candida species. Resistance to fluconazole, one of the most widely used antifungals, is already exceeding 20% in some Candida species in parts of southern Europe, South America, and South Africa. Common Candida albicans remains largely susceptible, with resistance below 1%, but the trend in other species is concerning.
For patients, the practical takeaway is to finish your full course of antifungal treatment even if symptoms improve early. Stopping short can leave resistant fungi behind, making future infections harder to treat.

