How to Treat a Fungal Infection: Creams to Prescriptions

Most fungal skin infections clear up within two to four weeks using over-the-counter antifungal creams, though stubborn infections in the nails or scalp often need prescription medication and months of patience. The right treatment depends on where the infection is, how deep it goes, and how long you’ve had it.

Identifying What You’re Dealing With

Fungal infections on the surface of the body generally fall into two categories: those caused by dermatophytes (the fungi behind ringworm, athlete’s foot, and jock itch) and those caused by yeast, particularly Candida (responsible for oral thrush, vaginal yeast infections, and skin-fold rashes called intertrigo). Both types share overlapping symptoms: itching, redness, soreness, and rash in the affected area. But the location and appearance help determine which treatment works best.

Athlete’s foot typically shows up as cracked, peeling skin between the toes. Jock itch creates a red, ring-shaped rash along the inner thighs. Ringworm on the body appears as circular, scaly patches with raised edges. Candida infections tend to favor warm, moist areas like skin folds, the mouth, and the genitals, and they often look bright red with satellite spots around the border. Nail infections show up as thickened, discolored, or crumbly nails and are notoriously slow to resolve.

Over-the-Counter Creams and How to Use Them

For most skin-level fungal infections, an antifungal cream from the pharmacy is the first and often the only treatment you’ll need. Clotrimazole and terbinafine are two of the most widely available options. Clotrimazole is FDA-approved for athlete’s foot, jock itch, ringworm, and yeast infections of the skin, and it works by disrupting the fungal cell membrane so the organism can’t survive.

Application frequency and duration matter more than most people realize. For ringworm and jock itch, you apply the cream twice daily for one to four weeks. Athlete’s foot typically requires four weeks of twice-daily application, and you should continue for a full week after the skin looks normal. Yeast infections on the skin follow a similar pattern: twice daily for about two weeks. If there’s no improvement after four weeks of consistent use, the diagnosis itself may need to be reconsidered, since other conditions can mimic fungal infections.

The most common mistake is stopping treatment too early. When symptoms fade after a week or so, it’s tempting to quit. But the fungus is still present in the outer layers of skin. Finishing the full course prevents the infection from bouncing right back.

When You Need Prescription Treatment

Some fungal infections don’t respond to topical creams alone. Nail infections, scalp ringworm, and widespread or deep skin infections generally require oral antifungal medication prescribed by a doctor. This is because creams can’t penetrate thick nails or hair follicles effectively enough to reach the fungus.

Oral antifungals for nail infections are typically taken daily for 6 to 12 weeks, but the nail itself takes much longer to grow out and look normal. It may take four months or longer for the infected nail to be fully replaced, and success rates tend to be lower in adults over 65. An alternative is medicated nail polish containing ciclopirox, but this requires daily application for close to a year.

Because oral antifungals are processed through the liver, doctors typically check liver function before starting treatment and monitor it every three to six weeks afterward. This isn’t a reason to avoid treatment if you need it, but it does explain why these medications require a prescription and follow-up visits rather than being sold over the counter.

How Antifungals Actually Work

Nearly all common antifungal medications target the same basic vulnerability: a fatty molecule called ergosterol that fungi need to build their cell membranes. Human cells don’t use ergosterol, which is what makes these drugs effective against fungi without harming your own tissue.

The three main drug classes attack ergosterol in different ways. Azole-type antifungals (like clotrimazole and fluconazole) block a key step in ergosterol production, leaving the fungus with a defective membrane that can’t function properly. Allylamine-type drugs (like terbinafine) block an even earlier step, causing a toxic buildup of a precursor molecule that kills the fungal cell directly. Polyene drugs, used mainly for serious systemic infections in hospital settings, punch physical holes in the fungal membrane by binding directly to ergosterol.

This is useful to know because if one type of antifungal isn’t working for you, switching to a different class can sometimes succeed where the first one failed.

Treating Vaginal Yeast Infections

Vaginal yeast infections caused by Candida are among the most common fungal infections, and most uncomplicated cases respond well to over-the-counter antifungal suppositories or creams available in one-day, three-day, or seven-day formulations. Oral fluconazole, a single-dose prescription pill, is another widely used option. If you get four or more yeast infections in a year, that pattern of recurrence usually warrants a longer treatment course and investigation into contributing factors like blood sugar levels or immune function.

Treating Oral Thrush

Oral thrush appears as white patches in the mouth or throat, sometimes accompanied by pain while eating or loss of taste. Mild cases can be treated with antifungal lozenges dissolved slowly in the mouth, typically five times a day for 7 to 14 days. More stubborn cases may need a prescription oral antifungal. People who use inhaled corticosteroids for asthma are more prone to thrush, and rinsing the mouth or brushing teeth after each inhaler use significantly reduces this risk.

Diet, Immunity, and Fungal Overgrowth

Your immune system does most of the heavy lifting in keeping fungi in check, and diet plays a real role in that equation. Diets high in fat and sugar and low in fiber, the pattern typical of heavily processed Western diets, promote gut imbalance and can encourage overgrowth of Candida species. This doesn’t mean sugar “feeds” a skin infection directly, but it does mean that dietary patterns influence your body’s overall ability to keep fungal populations under control.

A diversified diet rich in vegetable fiber, omega-3 fatty acids, and vitamins D and E supports a healthier gut environment that naturally limits fungal overgrowth. Probiotic and prebiotic supplements can further improve microbial diversity and reduce the abundance of fungal species in the gut. These dietary shifts won’t replace antifungal medication for an active infection, but they can meaningfully reduce your chances of recurrence, especially for people prone to repeated yeast infections.

Preventing Reinfection

Fungal infections are frustratingly good at coming back, and prevention is largely about controlling moisture and limiting re-exposure. Fungi thrive in warm, damp environments, so keeping skin clean and dry is the single most effective preventive measure. Wear cotton underwear and breathable clothing that isn’t too tight. Dry your feet thoroughly after showering, especially between the toes. Change socks daily, and use moisture-wicking fabrics if you exercise frequently.

Wash your hands regularly with soap and water, particularly after touching infected areas or shared surfaces like gym floors and locker rooms. Avoid sharing towels, shoes, or nail clippers. If you’ve had athlete’s foot, consider rotating your shoes so each pair gets at least 24 hours to dry out completely between wears. For people who’ve dealt with jock itch, putting socks on before underwear prevents transferring fungi from your feet to your groin, a common and easily avoided reinfection route.

Signs the Infection Needs Medical Attention

A spreading rash that doesn’t improve after two to four weeks of over-the-counter treatment is the clearest signal that you need professional help. The same goes for infections that keep returning despite consistent treatment and good hygiene. Fungal infections on the scalp almost always require oral medication and should be evaluated by a doctor from the start, since untreated scalp ringworm can cause permanent hair loss.

Any fungal infection in someone with a weakened immune system, whether from diabetes, HIV, chemotherapy, or immune-suppressing medications, deserves prompt medical evaluation. In these individuals, surface infections can progress to deeper or systemic infections that are far harder to treat. Fever, significant swelling, or streaking redness around an infected area may indicate a secondary bacterial infection has developed on top of the fungal one, which requires a different treatment approach entirely.