The short answer
Toenail fungus is stubborn for three mechanical reasons: the hard nail plate shields the fungus from whatever you put on top; your shoes and socks re-seed the infection daily with warmth, darkness and sweat; and a toenail takes 9–12 months to fully replace itself, so even winning treatments look slow. Getting ahead of it means attacking all three at once — daily treatment at the nail margins, ruthless shoe-and-sock hygiene, and patience measured in months. And one honest red line: a nail that is painful, badly thickened, or attached to a foot with diabetes or poor circulation belongs in front of a doctor.
What toenail fungus actually is
The medical name is onychomycosis: fungi — most often dermatophytes, the same family behind athlete's foot — colonizing the nail bed and plate. They eat keratin, the protein your nail is made of. That is why an infected nail turns yellow-brown, thickens, and crumbles at the edge: the structure is literally being digested and badly rebuilt.
It usually starts small — a pale streak at the nail's edge, a corner that lifts slightly — because the fungus enters where the nail meets skin: the side folds, the cuticle, or under the free edge. From that beachhead it spreads backward toward the root, which matters for treatment: the margins are the front line, not the middle of the nail plate.
The three reasons it beats most treatments
- The nail plate is a shield — for the fungus. Nail is dense, hard keratin, nearly waterproof. Whatever you paint or spray on top mostly stays on top. The fungus, living underneath and at the edges, is structurally protected. This is the single most under-explained fact in the category, and it is why marching a topical straight onto the middle of the nail plate disappoints — and why smarter routines aim at the cuticle, folds and edges, where product can actually reach living tissue.
- Your shoes reinfect you every day. Fungal spores survive for months in footwear. You can treat the nail perfectly all evening and re-inoculate it for eight hours the next day inside a warm, damp sneaker. Treatment without shoe hygiene is bailing a boat without plugging the hole — we cover the fixes in our shoe-and-sock guide.
- The scoreboard moves at nail speed. Toenails grow roughly 1–2 mm a month; a big toenail replaces itself in about 9–12 months. Progress doesn't look like a nail "healing" — it looks like clear nail slowly emerging at the base while you trim away the damaged part. People quit at week three calling a treatment useless, when week three was never a realistic checkpoint for anything, prescription drugs included.
What actually gets ahead of it
- Treat daily, at the marginsWhatever you use — an OTC antifungal like undecylenic acid, tea tree oil, or a prescription lacquer — apply it every single day, focused on the cuticle, side folds and under the free edge. Consistency beats strength in this fight.
- Trim and file the damaged nailShort nails give fungus less real estate and let product closer to the action. File thickened areas gently. Use dedicated clippers for the infected nail — or disinfect between nails — so you don't ferry spores to healthy toes.
- Break the reinfection loopRotate shoes so each pair dries 24–48 hours, change socks daily (twice on sweaty days), dry between toes after showers, and treat athlete's foot the moment it appears — it is the same fungus commuting between skin and nail.
- Judge progress at the base, monthlyPhotograph the nail once a month in the same light. What you want to see is a clean band at the base getting wider. That is winning — even though the tip still looks bad.
When it deserves a doctor, not a product
Honest boundaries, because they matter more in feet than almost anywhere: see a clinician promptly if the nail is painful, lifting off the bed, badly thickened or spreading to other nails; if you have diabetes, poor circulation or a weakened immune system (foot infections escalate dangerously in those situations); or if months of disciplined self-care have changed nothing. Oral prescription antifungals exist precisely because established infections under the nail plate are hard to reach from outside — a doctor can also confirm it actually is fungus, since psoriasis and nail trauma imitate it convincingly.
The bottom line
Toenail fungus keeps coming back because it hides under armor, gets re-seeded by your own shoes, and is judged against a clock most people never learn — the months a nail needs to regrow. The winning posture is unglamorous: daily treatment aimed at the margins, shoe-and-sock hygiene that stops reinfection, patient monthly scoring at the nail base, and a doctor's visit the moment pain, spread or a risk condition enters the picture. Start there; every honest product conversation comes after those basics.