How to Stop a Fungal Infection and Keep It Gone

Most fungal skin infections clear up within two to four weeks with the right over-the-counter antifungal cream or spray, applied consistently even after symptoms fade. Nail infections take much longer, often four months or more. The key to stopping a fungal infection is matching the treatment to the type of infection, finishing the full course, and eliminating the conditions that let fungi thrive in the first place.

Identify What You’re Dealing With

Fungal infections on the skin typically look red, swollen, or bumpy, and they almost always itch. Beyond that shared profile, the specifics depend on what’s causing the infection and where it is.

Dermatophytes are fungi that feed on skin, hair, and nail cells. They’re responsible for athlete’s foot (between and under the toes), jock itch (groin folds), and ringworm (the circular, raised rash that can appear nearly anywhere on the body). These infections spread through direct contact or shared surfaces like gym floors and towels.

Yeast infections are caused by Candida, a type of yeast that already lives on your body in small amounts. When conditions shift, it can overgrow and cause vaginal yeast infections, oral thrush (a white coating inside the mouth), skin-fold rashes in areas like the armpits or under the breasts, and some types of diaper rash. Candida thrives in warm, moist environments where skin touches skin.

Nail infections stand apart because the fungus embeds itself beneath the nail plate. Infected nails turn yellow, brown, or white and become thick, brittle, or cracked. Because nails grow slowly, these infections are the hardest to resolve.

Over-the-Counter Treatments

For most skin-level fungal infections, you can start treatment without a prescription. Topical antifungals come as creams, sprays, powders, gels, and solutions. The two most widely available active ingredients are clotrimazole and terbinafine, and both are effective against dermatophytes and many Candida strains.

These products work by disrupting a substance called ergosterol, which fungi need to build and maintain their cell walls. Without it, the fungal cells become leaky and eventually die. Terbinafine blocks an early step in ergosterol production, which also causes a toxic buildup inside the fungal cell. Clotrimazole and other related compounds block a later step, starving the cell of the same essential material. The practical difference: terbinafine tends to work a bit faster for dermatophyte infections like athlete’s foot and ringworm.

Other over-the-counter options include miconazole (commonly used for vaginal yeast infections), ketoconazole (available as a shampoo for scalp conditions), and tolnaftate (often found in antifungal powders). Apply the product to clean, dry skin and extend it about an inch beyond the visible edge of the rash. Continue using it for the full duration listed on the packaging, typically one to two weeks after the rash disappears. Stopping early is one of the most common reasons fungal infections come back.

When You Need Prescription Treatment

If an over-the-counter product hasn’t improved your infection after two to three weeks of consistent use, or if the infection is spreading, a prescription-strength option is the next step. Oral antifungal medications are necessary for nail infections, scalp ringworm, and widespread or deep skin infections that topical creams can’t penetrate.

For nail fungus specifically, oral treatment typically lasts 6 to 12 weeks, but the nail itself may take four months or longer to look normal again because you’re waiting for a healthy nail to grow in behind the damaged one. Medicated nail polish is another option, though it requires daily application for close to a year. Your doctor will help decide which approach makes sense based on severity.

Infections in the mouth, throat, or esophagus also usually require prescription treatment, as do vaginal yeast infections that keep recurring (four or more times a year).

Why Infections Keep Coming Back

Fungal spores are remarkably durable. They survive on clothing, bedding, shoes, and surfaces for weeks or months. If you clear an infection but don’t address the environment, reinfection is almost inevitable. Three factors drive recurrence: residual spores, persistent moisture, and incomplete treatment.

Residual spores on socks, towels, or shoes reintroduce the fungus to skin that just healed. Moisture trapped against the skin, whether from sweat, tight clothing, or humid conditions, creates exactly the environment fungi need to regrow. And cutting treatment short leaves behind enough viable fungus to flare up again within days or weeks.

Laundry and Surface Decontamination

Washing contaminated clothing and bedding properly matters more than most people realize. Hot water at 160°F (71°C) for at least 25 minutes is the standard recommendation for killing microbial contamination, including fungal spores. Most home washing machines on a “hot” setting don’t reliably reach that temperature, so adding chlorine or oxygen-activated bleach compensates. Chlorine bleach activates at water temperatures between 135°F and 145°F, which most hot cycles do hit.

If you’re washing in cold water, bleach becomes especially important since you’re relying on chemical action rather than heat. The dryer adds another layer of protection: high-heat drying and ironing both provide significant additional killing power regardless of wash temperature. For items you can’t bleach, like colored workout clothes, a full hot dryer cycle is your best backup.

Shoes are a common blind spot. Athlete’s foot frequently recurs because spores survive inside sneakers and boots. Rotate your shoes so each pair has at least 24 hours to dry out between wears. Antifungal sprays or powders applied inside shoes after each use help reduce spore counts.

Keep Your Skin Dry and Cool

Fungi grow fastest in warm, moist conditions. Relative humidity above 70% is optimal for fungal growth, and even levels above 50% can support it. That applies to your home environment and, more importantly, to the microenvironment against your skin.

Wear moisture-wicking fabrics during exercise rather than cotton, which holds sweat against the skin. Change out of wet or sweaty clothing as soon as possible. Dry thoroughly after bathing, paying extra attention to skin folds, between the toes, and the groin area. Antifungal powder in these zones adds a protective barrier on humid days or during heavy activity.

At home, keep indoor humidity below 50%. A simple hygrometer (available for a few dollars at hardware stores) lets you monitor levels. Use exhaust fans in bathrooms and kitchens, and run a dehumidifier in damp basements or rooms where moisture accumulates. This won’t just help your skin. It reduces mold growth on surfaces throughout the house.

Protect Yourself in Shared Spaces

Gyms, public pools, communal showers, and locker rooms are high-risk environments for picking up dermatophyte infections. Wear sandals or shower shoes on wet shared floors. Avoid sharing towels, razors, or nail clippers. Wipe down gym equipment before use, not just for bacteria but for fungal spores as well.

If you have an active infection, take precautions to avoid spreading it. Use your own towel and wash it after every use. Cover ringworm patches with a bandage during contact sports. Treat athlete’s foot before it spreads to your groin (a common pattern, since pulling underwear over infected feet transfers spores directly).

People at Higher Risk

Some people are more susceptible to fungal infections and may need a more aggressive or longer treatment approach. Diabetes reduces blood flow to extremities and alters skin chemistry, making foot and nail infections more common and harder to resolve. A weakened immune system, whether from medication, HIV, or other conditions, allows fungi to take hold more easily and increases the risk of serious systemic infections.

Antibiotics can also set the stage for fungal overgrowth. They kill bacteria that normally compete with fungi for space on the skin and mucous membranes, giving Candida room to expand. This is why vaginal yeast infections and oral thrush often follow a course of antibiotics.

Drug-resistant fungal strains are an emerging concern in healthcare settings. Candida auris, a species that appeared globally in recent decades, is often resistant to multiple classes of antifungal drugs, and some cases have resisted all three major drug classes. This is primarily a hospital-acquired threat rather than a community one, but it underscores why finishing treatment courses matters: incomplete treatment contributes to resistance.