Why Do My Toe Nails Stink and How Do I Stop It?

Smelly toenails are almost always caused by microbes, specifically bacteria and fungi that thrive in the warm, moist environment trapped inside your shoes. Your feet have among the highest concentrations of sweat glands anywhere on your body, and when that sweat gets sealed inside footwear with limited airflow, the bacteria living on your skin multiply rapidly and break down sweat, dead skin cells, and keratin into sulfur-containing compounds and short-chain fatty acids that reek. Sometimes the smell signals something more than everyday foot sweat, like a fungal nail infection or a bacterial colonization that needs treatment. The good news is that most causes are fixable once you understand what is driving the odor.

Why Feet Are a Perfect Breeding Ground

The soles of your feet pack roughly 250 to 550 sweat glands per square centimeter, which is two to five times the density found on your chest, back, or limbs.1PubMed Central. Physiology of sweat gland function: The roles of sweating and sweat composition in human health Those glands respond to both heat and emotional stress, which means your feet can be sweating even when the rest of you feels dry. A single foot can produce several tablespoons of sweat in a day. Sweat itself is mostly water and salt and has almost no smell on its own. The stink starts when skin-surface bacteria eat components of that sweat and shed skin, releasing volatile byproducts.

Shoes turn this into a problem because they trap that moisture against the skin and raise the temperature inside. Research measuring conditions inside different types of footwear found that bacterial growth on the sole of the foot increased in direct proportion to in-shoe temperature and humidity, and decreased as ventilation improved.2PubMed Central. Footwear microclimate and its effects on the microbial community of the plantar skin In other words, shoes that breathe less create more bacteria, which creates more odor. The relationship was strongest at slower walking speeds, where airflow through the shoe was minimal. This is why your feet tend to smell worse after a long day of standing at a desk than after an active walk outside in sandals.

Fungal Nail Infections and the Smell They Produce

If the odor seems to come specifically from the nail itself rather than the surrounding skin, a fungal infection called onychomycosis is a likely culprit. Fungal nails often look thickened, yellowed, or crumbly, but the smell is the clue people notice first. The fungi (usually dermatophytes, the same organisms behind athlete’s foot) digest keratin, the protein that makes up your nail. The metabolic waste they produce has a distinctly musty, cheesy, or sour odor that regular washing alone will not fix because the infection lives beneath and within the nail plate.

Topical antifungal creams and lacquers are commonly tried first, but they struggle to penetrate the hard nail. Oral antifungal medications tend to work faster and produce better cure rates because they reach the nail bed through the bloodstream.3Cochrane Database of Systematic Reviews. Oral antifungal medication for toenail onychomycosis That said, oral antifungals require a prescription and sometimes blood monitoring, so a visit to a doctor or podiatrist is the first step. Community nursing guidelines note that topical antifungals remain the first-line approach for skin-level fungal infections like athlete’s foot, but when the nail is involved, oral medication is often the more effective choice.4PubMed Central. Fungal infections: community nursing approaches to skin and nail care If you have been applying an over-the-counter antifungal cream to a thick, smelly toenail for months without improvement, that is a sign you probably need the oral route.

Green Nail Syndrome

Occasionally the odor comes with a visible green, greenish-yellow, or greenish-black discoloration of the nail plate. This is chloronychia, commonly called green nail syndrome, and it is caused by a bacterium called Pseudomonas aeruginosa rather than a fungus. Pseudomonas produces pigments called pyocyanin and pyoverdine that stain the nail green, and the infection typically shows up alongside swelling around the nail fold and lifting of the nail from its bed at the edges.5PubMed Central. Chloronychia: green nail syndrome caused by Pseudomonas aeruginosa in elderly persons The smell tends to be sharper and more pungent than fungal odor.

Pseudomonas thrives in wet environments. People whose nails are frequently exposed to water, soaps, or detergents, or who have experienced mechanical trauma to the nail, are at higher risk. On toenails it often appears after prolonged dampness inside occlusive footwear or after a pre-existing fungal infection has loosened the nail plate enough for bacteria to colonize underneath. Other bacteria and fungi can sometimes cause similar green discoloration, but Pseudomonas is the most common offender.6PubMed. Green nail: Etiology and treatment of chloronychia Treatment usually involves trimming back the lifted nail, keeping the area dry, and sometimes topical antiseptics or antibiotics. Green nail syndrome is not dangerous in most cases, but it does need attention because the same conditions that caused it can lead to more serious secondary infections if ignored.

When Diabetes or Other Health Conditions Are Involved

People with diabetes face a significantly higher risk of fungal toenail infections. Elevated blood sugar over time weakens the immune cells that normally keep fungi in check and reduces blood flow to the extremities, making it harder for the body to fight off infections at the toes.7Saudi Medical Horizons Journal. Prevalence and Factors Associated with Tinea Pedis and Tinea Unguium among Diabetic Patients in Saudi Arabia Contributing factors include peripheral nerve damage (which means you might not feel the discomfort that would prompt earlier treatment), poor circulation, and sometimes limited mobility that makes it harder to inspect and care for your own feet.

The stakes are higher, too. In people with diabetes, a fungal nail infection is not just a cosmetic nuisance. It is associated with an elevated risk of secondary bacterial infections, foot ulcers, and in severe cases, amputation.8PubMed Central. Onychomycosis in Diabetics: A Common Infection with Potentially Serious Complications If you have diabetes and notice your toenails smelling off, looking discolored, or crumbling, treat it as something that needs professional attention rather than a minor annoyance. Good blood sugar management itself is one of the most effective preventive measures, because it keeps the immune system functioning well enough to suppress fungal overgrowth in the first place.

How to Stop Toenail Odor at Home

If you have ruled out a fungal or bacterial nail infection (no discoloration, no thickening, no crumbling), the odor is most likely caused by the ordinary bacterial bloom that comes from sweaty feet in poorly ventilated shoes. That is the most common scenario, and it responds well to a few practical changes.

  • Wash thoroughly: Scrub between and around each toe with soap daily, and dry your feet completely before putting on socks. Bacteria love the moisture left behind by a shower, so toweling off matters as much as the washing.
  • Rotate shoes: Wearing the same pair every day means the shoes never fully dry out between uses. Alternating between at least two pairs gives each one 24 to 48 hours to air out, which reduces the bacterial load waiting inside the next time you slip them on.
  • Choose breathable footwear: Shoes with mesh panels, natural materials, or ventilation holes allow more airflow. Research consistently links lower ventilation rates inside shoes to higher bacterial growth on the foot.2PubMed Central. Footwear microclimate and its effects on the microbial community of the plantar skin
  • Pick the right socks: Moisture-wicking fibers like merino wool or synthetic blends pull sweat away from the skin faster than plain cotton. Cotton absorbs moisture and holds it against the foot, which is the opposite of what you want. Studies comparing sock materials in people with diabetes found that fiber content and sock structure both influenced foot skin health over time.9Textile Research Journal. Effect of sock type on foot health
  • Trim nails properly: Long or jagged nails create pockets where dead skin, lint, and bacteria accumulate. Trim straight across and keep them at a moderate length.
  • Use antifungal or antibacterial powder: Sprinkling a foot powder into your shoes or onto your feet before putting on socks helps absorb excess moisture and creates a less hospitable surface for microbes.

These steps overlap with standard athlete’s foot prevention for a reason: the same environmental factors that cause foot odor also create the conditions for fungal skin infections, and a fungal skin infection left untreated is often the gateway to a fungal nail infection. Keeping the foot environment dry and clean protects against both problems simultaneously.

The Gunk Under the Nail

Sometimes the smell specifically comes from a buildup of debris under the free edge of the toenail. This is a mix of dead skin cells, sock fibers, dried sweat, and bacteria. It can be surprisingly pungent. People with longer toenails or nails that have started to lift from the nail bed (even slightly) tend to accumulate more of this debris. The material packs in tightly and is hard to dislodge with a regular shower.

Gently cleaning under the nail with an orange stick or a soft nail brush can help, but avoid digging aggressively, which can push debris deeper or damage the nail bed. If a nail is already partially detached, forcing an instrument underneath can worsen the separation and invite infection. Soaking the foot in warm soapy water for ten minutes before cleaning loosens things up and makes the process easier and safer. If the debris looks dark, greenish, or you notice a foul smell even after cleaning, that is a sign that the issue has progressed beyond simple buildup and may involve a fungal or bacterial infection underneath.

Aging and Toenail Care

Older adults are more prone to smelly toenails for several compounding reasons. Nails tend to thicken and change shape with age, making them harder to trim and keep clean. Reduced flexibility and declining eyesight make it physically difficult to reach, inspect, and care for toenails. In qualitative research with older adults, participants described being hindered by physical changes in nail structure and by limitations related to aging itself when trying to maintain foot self-care routines.10PubMed Central. Challenges of foot self-care in older people: a qualitative focus-group study

The prevalence of onychomycosis also increases with age, partly because of slower nail growth (which gives fungi more time to establish themselves), partly because of accumulated years of minor nail trauma, and partly because the immune system gradually weakens. If you are older and struggling to manage your toenails, regular visits to a podiatrist are worth the investment. Having nails professionally trimmed and checked every few months catches infections early before they produce the kind of odor and thickening that becomes much harder to treat.

Ingrowing Toenails and Secondary Infection

An ingrown toenail that has become infected can also produce a noticeable smell, typically accompanied by redness, swelling, and sometimes pus around the nail border. The odor in this case comes from bacteria colonizing the broken skin rather than from the nail itself. Ingrown nails that require surgery carry a real risk of postoperative infection, and certain factors raise that risk further, including age over sixty and certain surgical approaches.11Journal of Foot and Ankle Research. Risk factors for infection following ingrowing toenail surgery: a retrospective cohort study

Preventing ingrown nails is another reason to trim toenails straight across rather than rounding the corners. Tight shoes that compress the toes push the nail edge into the surrounding skin, so properly fitting footwear matters here too. If you notice an ingrown nail starting to swell and smell, do not try to perform bathroom surgery with scissors or tweezers. Partial removal by a trained professional carries far less risk of making things worse.

When to Stop Managing It Yourself

Most toenail odor responds to the hygiene and footwear changes outlined above within a few weeks. If the smell persists after you have addressed ventilation, sock choice, and regular cleaning, or if you notice any visual changes in the nail, it is time to see a healthcare provider. Signs that suggest something beyond routine bacterial odor include:

  • Thickened nails: Nails that have become noticeably thicker or are difficult to cut.
  • Discoloration: Yellow, brown, white, or green patches that were not there before.
  • Crumbling edges: Nail that flakes or breaks apart easily.
  • Nail separation: The nail lifting away from the nail bed, especially at the sides or tip.
  • Pain or swelling: Redness and tenderness around the nail fold.

A doctor can take a nail clipping or scraping to test for fungus, which helps determine whether you need a topical treatment, an oral antifungal, or something else entirely. Antifungal resistance is a growing concern in clinical practice, and clinicians are advised to rule out poor adherence and other causes of treatment failure before assuming a resistant organism is involved.4PubMed Central. Fungal infections: community nursing approaches to skin and nail care In plain terms, that means if your first round of antifungal treatment did not work, the problem might be that you stopped too early, used only a topical when you needed an oral, or were dealing with a bacterial co-infection rather than pure fungus.

Why the Smell Comes Back

One frustration people have is that toenail odor seems to return even after they clean up their routine. There are a few reasons for this. Fungal nail infections are notoriously slow to resolve because toenails grow slowly, taking roughly twelve to eighteen months to fully replace themselves. Even with effective oral antifungal treatment, the infected portion of the nail has to physically grow out before it looks and smells normal. During that time, if you stop treatment too early, the infection can rebound.

Reinfection is also common. If the shoes you wore during an infection are still harboring fungal spores, putting your feet back into them restarts the cycle. Treating your shoes with antifungal spray or UV sanitizers, or simply replacing heavily worn pairs, helps break this loop. The same goes for shower floors in shared spaces like gyms or dorm bathrooms: if you pick up a new fungal exposure, no amount of personal foot hygiene will matter until the infection is treated.

For people whose feet simply sweat a lot regardless of the season, antiperspirant applied to the soles of the feet can reduce moisture output. Standard aluminum-based antiperspirants work on feet the same way they work under your arms. Apply at night to clean, dry feet so the active ingredient has time to plug the sweat ducts before your feet are sealed into shoes the next morning. It is not a permanent fix, but it meaningfully reduces the moisture that bacteria and fungi depend on. If excessive foot sweating is severe enough to drip or soak through shoes, a doctor can discuss prescription-strength options or other interventions. For everyone else, the combination of breathable shoes, moisture-wicking socks, shoe rotation, and consistent nail hygiene handles the problem well.