Toenail fungus is a fungal infection that grows in and under the toenail, causing the nail to thicken, discolor, and eventually crumble. It affects roughly 4% of the general population, making it one of the most common nail disorders. The infection is slow-moving and stubborn, sometimes taking over a decade to reach its most advanced stage, and treatment can require a year or more before the nail looks normal again.
What It Looks Like
The infection usually starts as a white or yellow-brown spot under the tip of the toenail. As the fungus works deeper, the changes become harder to ignore. An infected nail can be:
- Thickened and difficult to trim
- Yellow, brown, or white in color
- Brittle, crumbly, or ragged at the edges
- Misshapen or warped
- Separated from the nail bed
- Noticeably smelly
Most infections begin at the tip or side of the nail and spread inward. This is the most common pattern, and you’ll typically notice the nail lifting away from the bed with chalky debris building up underneath. A less common form shows up as white, powdery patches on the nail’s surface. The rarest type starts near the base of the nail, closer to the cuticle. If untreated for many years (10 to 15 in some cases), the entire nail can become thick, deformed, and destroyed.
What Causes It
The fungi responsible are primarily dermatophytes, a group of organisms that feed on keratin, the protein that makes up your nails, skin, and hair. These same fungi cause athlete’s foot, and in fact the two conditions often go hand in hand. The fungus thrives in warm, damp environments: sweaty shoes, gym locker rooms, pool decks, and shared showers.
Your toenails are more vulnerable than fingernails for a few reasons. Feet spend more time in enclosed, moist shoes. Blood circulation to the toes is weaker than to the fingers, which means your immune system has a harder time detecting and fighting off infections there. Toenails also grow slowly, giving the fungus more time to establish itself before the nail can push the infection out.
Who Gets It
Age is the biggest risk factor. Older adults are nearly five times more likely to develop toenail fungus than the general population, largely because of slower nail growth, reduced blood flow, and decades of exposure to fungi. But age isn’t the only factor.
Diabetes creates a particularly high risk. Elevated blood sugar damages small blood vessels and weakens immune cells that would normally fight off fungal invaders. High blood sugar also changes the chemical structure of nail proteins in ways that may help the fungus stick to the nail more easily. For people with diabetes, toenail fungus isn’t just a cosmetic issue. Thickened, deformed nails can dig into surrounding skin and create pressure sores, especially if nerve damage has reduced sensation in the feet. Those small wounds can become entry points for bacterial infections that are slow to heal, and in severe cases, toenail fungus is an independent predictor of foot ulceration.
Other factors that raise your risk include a weakened immune system, a history of athlete’s foot, excessive sweating, walking barefoot in communal areas, and having psoriasis or other conditions that affect nail integrity.
How It’s Diagnosed
Toenail fungus can look like other nail problems, including psoriasis, physical trauma, or simple aging. A doctor will typically clip or scrape a small sample of the affected nail and send it for testing. The most common lab method dissolves the nail material in a chemical solution that strips away the keratin, making fungal structures visible under a microscope. This test is quick and inexpensive. If the specific type of fungus matters for treatment, the sample can be sent for a culture, which takes longer but identifies the exact organism involved.
Treatment Options and Timelines
Toenail fungus is treatable, but patience is essential. Toenails grow slowly, so even after the fungus is killed, it takes months for a healthy nail to fully replace the damaged one. Oral antifungal treatment typically lasts three to four months, but it can take a year or more before the nail looks normal again.
Oral antifungals are the most effective option for moderate to severe infections. They work from the inside out, reaching the nail bed through the bloodstream. Your doctor will likely monitor liver function during treatment since these medications are processed by the liver.
Topical antifungals, applied directly to the nail, are an option for milder cases. They avoid the systemic side effects of oral medication but have lower success rates. In clinical trials, complete cure rates at one year ranged from about 7 to 18 percent depending on the product. That said, many more patients see meaningful improvement even if the cure isn’t technically “complete” by strict study definitions. About a third of patients using one of the more effective topical options had a nearly clear nail with no detectable fungus at the one-year mark.
Laser therapy is FDA-cleared for treating toenail fungus, and some meta-analyses have found higher cure rates compared to oral medication alone. However, laser treatment tends to cost more and isn’t always covered by insurance, so it’s worth discussing the trade-offs with a provider.
Regardless of the treatment you choose, recurrence is common. The same conditions that led to the original infection (warm shoes, gym exposure, slow-growing nails) are still present after treatment ends.
Preventing Infection and Recurrence
Keeping the fungus from coming back, or catching it in the first place, comes down to reducing moisture and limiting exposure.
Footwear hygiene makes a real difference. The fungus that causes most toenail infections can survive in shoes and socks between wearings. Washing socks in hot water (at least 60°C or 140°F) for a full 45-minute cycle eliminates dermatophytes. Washing at lower temperatures, like a quick 30°C cycle, does not kill the spores. Rotating shoes so they dry completely between uses and using an antifungal spray on insoles can reduce recontamination.
In communal areas like gym showers, pool decks, and locker rooms, wearing sandals or shower shoes is the simplest protective step. These surfaces should ideally be cleaned with bleach or hydrogen peroxide-based products, though you can’t always control that. What you can control is not walking barefoot on them.
Keep nails trimmed short and straight across. Avoid sharing nail clippers or files, and if you get pedicures, choose salons that sterilize metal instruments with an autoclave (a high-pressure steam sterilizer) rather than simply soaking tools in liquid disinfectant. UV light cabinets, sometimes seen at nail salons, only disinfect surfaces and miss pathogens hidden in crevices.
If you have diabetes or poor circulation in your feet, regular foot checks are especially important. Catching a fungal infection early, before the nail thickens and warps, means simpler treatment and a lower risk of the skin complications that make toenail fungus genuinely dangerous in these populations.