Foot odor is caused by bacteria on your skin breaking down compounds in sweat. Your feet are uniquely prone to this because they have one of the highest concentrations of sweat glands anywhere on your body, roughly 497 glands per square centimeter on the sole alone. That’s nearly six times the density of your armpits. When all that sweat gets trapped inside shoes and socks, bacteria thrive and produce the acids responsible for the smell.
How Bacteria Create the Smell
Sweat itself is mostly odorless. The smell comes from what lives on your skin. A bacterium called Staphylococcus epidermidis, part of your skin’s normal microbial community, feeds on an amino acid called leucine found in sweat. As it breaks leucine down, it produces isovaleric acid, the primary chemical behind that sharp, cheesy foot smell. Other bacteria contribute their own byproducts. Some generate sulfur-containing compounds with a rotten-egg quality, while others produce ammonia-like odors.
The process is straightforward: more sweat means more food for bacteria, which means more odor. Anything that increases moisture on your feet or gives bacteria a longer window to feed, like wearing the same shoes all day, amplifies the problem.
Why Feet Sweat So Much
Your hands and feet together account for only about 5% of your total skin surface, yet they contain roughly 25% of your body’s sweat glands. The soles of your feet pack in about 497 active glands per square centimeter, compared to around 100 on your forearm or 84 in your armpit. This density exists because sweat on the palms and soles originally served a grip function, helping our ancestors hold tools and maintain traction.
Unlike sweat glands elsewhere on your body, the ones on your feet fire in response to both heat and emotional stress. A nerve-wracking meeting or a warm room can trigger a surge of moisture inside your shoes. On an average day, a pair of feet can produce about half a pint of sweat. In enclosed footwear with poor ventilation, very little of that moisture evaporates, creating the warm, damp conditions bacteria need to multiply rapidly.
Shoes and Socks That Make It Worse
The material surrounding your feet matters enormously. Footwear made from synthetic leather and composite materials tends to absorb and retain moisture, raising both the temperature and humidity inside the shoe. That combination creates an ideal breeding ground for bacteria and fungi. Mesh fabrics with larger air holes allow water vapor to escape and wick moisture away from the skin, significantly reducing the buildup.
Socks play a similar role. Cotton absorbs sweat readily but holds onto it, keeping your skin damp for hours. Merino wool and high-performance synthetic fabrics pull moisture away from the skin and allow it to evaporate faster. Some synthetic blends dry more than 50% faster than wool, though wool has natural antimicrobial properties that can slow bacterial growth between washes. Either option outperforms cotton for odor control.
Wearing the same pair of shoes two days in a row without letting them dry out compounds the problem. Residual moisture from yesterday’s wear gives bacteria a head start before you even leave the house.
Hyperhidrosis and Excessive Sweating
Some people sweat far more than their body needs for temperature regulation. This condition, called hyperhidrosis, can affect the feet specifically. If your socks are consistently soaked through, your shoes deteriorate quickly from moisture, or you leave wet footprints on hard floors, you may be dealing with more than typical sweating.
Hyperhidrosis can exist on its own or be triggered by another condition, including an overactive thyroid or low blood sugar. Diagnosis typically involves a physical exam and sometimes blood or urine tests to rule out underlying causes. A starch-iodine test can map exactly where on the foot excessive sweating occurs and how severe it is. If over-the-counter antiperspirants haven’t helped, this is worth discussing with a doctor, because targeted treatments exist.
Fungal Infections Add a Different Smell
Athlete’s foot, a common fungal infection, produces its own distinct odor that layers on top of normal bacterial foot smell. The two are distinguishable: bacterial odor tends to be sharp, pungent, or ammonia-like, while fungal odor is more musty, sour, or moldy. Fungal infections typically settle between the toes and across the soles, causing itching, peeling, or cracking in addition to the smell.
The relationship between the two goes both ways. Excessive moisture encourages both bacterial overgrowth and fungal infections, so people with significant foot odor are at higher risk for athlete’s foot, and athlete’s foot makes odor harder to control. Treating the fungal infection separately is necessary because the odor won’t fully resolve with hygiene changes alone if a fungus is involved.
Foods and Medical Conditions That Affect Odor
What you eat can change how your sweat smells. Garlic, onion, curry, and alcohol all contain compounds that are excreted through sweat after digestion. These don’t just affect breath; they alter the chemical composition of sweat across your entire body, feet included. Reducing intake of these foods noticeably decreases odor for some people.
A rarer cause is trimethylaminuria, a metabolic condition where the body can’t fully break down a compound called trimethylamine. The result is a persistent fishy smell released through sweat, breath, and urine. In one study, after consuming choline (a nutrient found in eggs, liver, and fish that the body converts to trimethylamine), as many as 10% of participants developed body odor noticeable at a social distance. Another metabolic condition involving the amino acid methionine produces a boiled-cabbage or rancid-butter smell in sweat. Both conditions are uncommon but worth considering if foot odor persists despite good hygiene and doesn’t smell like the typical sharp, cheesy scent.
Practical Ways to Reduce Foot Odor
Since foot odor comes from bacteria feeding on sweat, effective strategies target one or both of those factors. Washing your feet daily with soap, including between the toes, physically removes bacteria and the dead skin they feed on. Drying your feet thoroughly afterward is just as important, because bacteria multiply fastest on damp skin.
Antiperspirants containing aluminum chloride reduce sweating by temporarily blocking sweat glands. These aren’t just for armpits. Applying an antiperspirant to clean, dry feet before bed gives it time to take effect overnight. Aluminum chloride solutions also control the skin maceration (softening and breakdown) that comes with chronic dampness, which itself can worsen odor by giving bacteria more organic material to consume.
Rotating between at least two pairs of shoes ensures each pair gets a full day to dry out. Removing insoles to air separately speeds this up. For socks, choosing merino wool or moisture-wicking synthetics over cotton keeps the skin drier throughout the day. Changing socks midday, if your feet sweat heavily, can cut odor significantly by resetting the moisture level bacteria depend on.
Going barefoot or wearing open-toed shoes when possible allows sweat to evaporate before bacteria can act on it. This is the simplest explanation for why foot odor is primarily an enclosed-shoe problem and rarely an issue for people who spend most of their time in sandals or barefoot.