Fresh sweat is nearly odorless. The smell that builds in your shirts comes from bacteria living on your skin and in the fabric itself, which feed on compounds in your sweat and convert them into volatile, pungent molecules. Your shirt acts as a sponge for both the bacteria and their food supply, and certain fabrics are far worse offenders than others. The biology behind shirt odor is surprisingly specific, involving particular bacterial species, particular glands, and particular chemical reactions that vary from person to person.
Your Sweat Is Not What Smells
You have two main types of sweat glands, and they produce very different fluids. Eccrine glands cover most of your body and produce the watery, salty sweat that cools you down during exercise or in hot weather. That fluid is mostly water, with some salts and trace metabolites. Apocrine glands are concentrated in your armpits, groin, and a few other spots. They produce an oily, protein- and lipid-rich secretion that, straight out of the gland, is also essentially odorless.1PubMed Central. Comparative Study of the Composition of Sweat from Eccrine and Apocrine Sweat Glands during Exercise and in Heat The apocrine glands work differently from eccrine glands at a cellular level: they secrete by pinching off parts of the cell itself, which means the fluid carries lipids, proteins, and steroids that eccrine sweat does not contain.
This distinction matters because the apocrine secretion is what skin bacteria are most interested in. It is loaded with the raw materials that bacteria convert into the compounds you recognize as body odor. The eccrine sweat on your forehead or forearms rarely smells much because it lacks those substrates. Your armpits, where apocrine glands are dense, are where the real chemistry happens.
The Bacteria That Create the Smell
Your underarm skin hosts a resident community of bacteria, and three genera dominate: Staphylococcus, Corynebacterium, and Cutibacterium (formerly called Propionibacterium). Together these account for the vast majority of the armpit microbiome.2PubMed Central. Mapping axillary microbiota responsible for body odours using a culture-independent approach But they contribute to odor in different ways and to different degrees.
Corynebacterium species are considered the primary drivers of the classic “body odor” smell. They produce an enzyme (sometimes called AMRE, for axillary malodor-releasing enzyme) that cleaves odorless precursor molecules secreted in apocrine sweat, releasing pungent fatty acids. The key odor compounds include several hydroxy acids and alkenoic acids that carry a sharp, sweaty smell.3CHIMIA. Biochemistry of Human Axilla Malodor and Chemistry of Deodorant Ingredients Corynebacteria are, in the research consensus, the genus most responsible for the characteristic underarm odor that most people recognize as “B.O.”4FEMS Microbiology Ecology. Microbiological and biochemical origins of human axillary odour
Staphylococcus species contribute too, but they tend to produce a somewhat different odor profile. Staphylococcus hominis is the main species responsible for converting an odorless precursor into 3-methyl-3-sulfanylhexan-1-ol (mercifully abbreviated 3M3SH), a sulfur-containing compound described as smelling like onions or sweat.5PubMed. Discovery of a C-S lyase inhibitor for the prevention of human body malodor formation: tannic acid inhibits the thioalcohol production in Staphylococcus hominis These sulfur compounds, or thioalcohols, are extremely potent: you can detect them at very low concentrations. Research on children and teenagers has confirmed that Staphylococcus hominis and Staphylococcus epidermidis can independently produce malodor, and their relative abundance on the skin correlates with odor intensity.6PubMed Central. Understanding the microbial basis of body odor in pre-pubescent children and teenagers
So the smell in your shirt is not one thing. It is a cocktail: fatty acids from Corynebacterium activity giving the sharp, rancid quality, sulfur compounds from Staphylococcus adding the onion-like bite, and sometimes steroid derivatives contributing a musky undertone. The exact balance depends on which bacteria are more abundant on your skin, which itself varies from person to person.
Why Your Shirt Makes It Worse
If the bacteria live on your skin, why does your shirt end up being the thing that reeks? Because fabric acts as a reservoir. When you sweat, both eccrine and apocrine fluids soak into the fabric, carrying with them skin bacteria, dead skin cells, and sebum (the oily substance your skin secretes). The fabric then provides a warm, moist, nutrient-rich environment where bacteria can thrive and continue producing odor compounds even after you stop sweating. And the odor molecules themselves get trapped in fiber structures, where they linger long after the shirt has dried.
Not all fabrics trap odor equally. Polyester is consistently the worst offender. In a study that had people wear polyester and cotton T-shirts during the same exercise session, a trained odor panel rated the polyester shirts as smelling significantly more intense and less pleasant than the cotton ones.7PubMed Central. Microbial odor profile of polyester and cotton clothes after a fitness session The reason is partly biological and partly physical. Polyester is hydrophobic, meaning it repels water but readily absorbs oils. Sebum and lipids from your skin stick to polyester fibers much more readily than to cotton, and bacteria use those lipids as their main food source. That combination means more bacterial growth and more odor production on synthetic fabrics.8PubMed Central. The Bacterial Life Cycle in Textiles is Governed by Fiber Hydrophobicity
The microbial communities that develop on synthetic versus natural fabrics also differ. Micrococci, a group of bacteria associated with strong odor, were found almost exclusively on polyester shirts in the exercise study and were rarely detected on cotton.7PubMed Central. Microbial odor profile of polyester and cotton clothes after a fitness session Broader textile testing has confirmed that polyester and polyamide (nylon) support the highest overall bacterial mass, and synthetic materials selectively encourage bacteria that are not the dominant species found in sweat itself, meaning the fabric cultivates a different, smellier microbial community than your skin alone would.9Journal of Applied Microbiology. Material‐dependent growth of human skin bacteria on textiles investigated using challenge tests and DNA genotyping
There is also a purely chemical dimension. Polyester fibers absorb and then slowly release volatile organic compounds differently from cellulosic fibers like cotton or viscose. Cellulosic fibers tend to release lower intensities of ketones and aldehydes, two categories of smelly compounds, in short-term measurements. But over 24 hours, polyester released the highest amounts of these compounds, suggesting it holds onto odor molecules and then steadily off-gasses them.10PubMed Central. Textile sorption and release of odorous volatile organic compounds from a synthetic sweat solution That explains the common experience of pulling a polyester workout shirt from the laundry and finding it still carries a faint smell even after washing.
Stress Sweat Smells Different
If you have noticed that the sweat produced during a nerve-racking presentation smells worse than what you produce during a jog, you are not imagining things. Emotional stress, anxiety, and pain trigger a specific pattern of sweating that is heavier on apocrine gland output. While eccrine glands respond mainly to heat and exercise, apocrine glands are strongly activated by psychological stimuli and are concentrated exactly in the places that smell the worst: armpits and groin.11Skin Pharmacology and Physiology. Psychological Sweating: A Systematic Review Focused on Aetiology and Cutaneous Response
Stress sweat is driven partly by adrenaline-related (adrenergic) pathways rather than the cholinergic pathways that power normal thermoregulatory sweating. Because the apocrine glands dump more of their oily, protein-rich secretion during psychological stress, the bacteria on your skin get a richer substrate to work with. The result is that stress sweat can produce a more intense and more rapid-onset smell. This is why the shirt you wore to a stressful meeting can smell worse than the one you wore on a long walk, even if you felt like you sweated less overall.
Genetics Determine How Much You Smell
Some people genuinely produce less body odor than others, and genetics plays a large role. A gene called ABCC11 encodes a transporter protein found in apocrine sweat glands, and it functions as the gatekeeper for odor precursors. A single variation in this gene (a substitution known as 538G→A) nearly eliminates the secretion of the amino acid conjugates and steroid precursors that bacteria convert into odor compounds.12Journal of Investigative Dermatology. A Functional ABCC11 Allele Is Essential in the Biochemical Formation of Human Axillary Odor People who carry two copies of this variant produce very little typical underarm odor. The same variant is also linked to dry earwax (as opposed to wet, sticky earwax), so earwax type is a surprisingly reliable proxy for how much body odor someone produces.
This variant is common in East Asian populations, where the majority of people are homozygous for the low-odor allele. In other populations, the functional (wet earwax, higher odor) version predominates. A Japanese study found that nearly 99% of patients diagnosed with axillary osmidrosis (clinical body odor) carried at least one copy of the functional allele, compared to about 35% of the general Japanese population.13PubMed Central. A strong association of axillary osmidrosis with the wet earwax type determined by genotyping of the ABCC11 gene
The gene’s influence extends beyond just the sweat itself. Recent research has shown that the ABCC11 genotype also affects which bacterial enzymes are expressed on your skin. People carrying the functional allele have higher levels of a key bacterial enzyme (PatB) involved in thioalcohol production, while people homozygous for the low-odor variant have significantly lower levels.14Scientific Reports. Interplay of human ABCC11 transporter gene variants with axillary skin microbiome functional genomics So your genetics shape both what your sweat glands secrete and what the bacteria on your skin are equipped to do with it.
Why Some Shirts Still Smell After Washing
One of the more frustrating aspects of shirt odor is that standard laundering does not always solve the problem, especially with synthetic fabrics. Research suggests that while washing reduces the volatile organic compounds responsible for smell, it can actually increase the total number of live bacteria on clothing. Skin bacteria are displaced by microbes from the washing machine itself, and these machine-dwelling microbes often carry genes involved in building biofilms, the sticky microbial colonies that are especially hard to remove.15PubMed Central. Unravelling the hidden side of laundry: malodour, microbiome and pathogenome This finding explains why a shirt can come out of the wash smelling clean, only to develop a sour or musty funk shortly after you put it on: the bacteria are still there, waiting for fresh sweat.
Temperature matters, but perhaps not as much as you would expect. In one study, laundering at 40°C (about 104°F, a typical warm-water cycle) removed about three and a half orders of magnitude of bacteria, leaving a residual population that could still contaminate other fabrics. Raising the temperature to 60°C (140°F) achieved complete removal of the test bacteria.16Journal of Applied Microbiology. The effect of low‐temperature laundering and detergents on the survival of Escherichia coli and Staphylococcus aureus on textiles used in healthcare uniforms However, another study found that both cold and hot water washes with a bleach cycle reduced bacterial counts by a similar amount, about three log-steps, and the dryer cycle contributed further reduction.17PubMed. Effect of water temperature on bacterial killing in laundry The practical takeaway: if your synthetic workout shirts have a persistent smell, washing them in hot water, using a detergent with bleach or an enzymatic sports formula, and drying them promptly can help. Leaving wet laundry sitting in the machine is an especially bad idea, as humid drying conditions have been associated with characteristic malodors and favor the growth of specific odor-producing bacteria.15PubMed Central. Unravelling the hidden side of laundry: malodour, microbiome and pathogenome
Public laundromats add another wrinkle. Washing machines themselves harbor microbial communities, and cold-water cycles in shared machines do not reliably prevent microbial transfer from one load to the next.18Microbiology Research. Potential for Microbial Cross Contamination of Laundry from Public Washing Machines Running an empty hot cycle before your load, or periodically running a cleaning cycle with bleach, can reduce the machine’s own bacterial burden.
What You Eat Can Change How You Smell
Diet has a measurable effect on sweat odor, though the influence is subtler than many people assume. A study that assessed both skin color (as a proxy for fruit and vegetable intake) and dietary self-reports found that higher fruit and vegetable consumption was associated with more pleasant-smelling sweat, described by evaluators as having floral, fruity, and sweet qualities. Fat, meat, egg, and tofu intake were also linked with more pleasant odor. Meanwhile, greater carbohydrate intake was associated with stronger-smelling, less pleasant sweat.19ScienceDirect. Diet quality and the attractiveness of male body odor That last point might surprise people who expect meat to be the dietary villain in body odor. The evidence here points more toward the overall quality and variety of the diet than toward any single food being the culprit.
Anecdotal claims about garlic, onions, and strong spices making sweat smell worse have some plausibility, since sulfur-containing compounds from these foods can be excreted through sweat, but controlled research on this is thin. What is clearer is that the effect of diet operates alongside all the other factors. If you have a genetic profile that produces abundant odor precursors, a skin microbiome rich in Corynebacterium, and a wardrobe full of polyester, changing your diet alone is unlikely to transform your shirt-smell situation.
Antimicrobial Fabrics and Coatings
The textile industry has invested heavily in antimicrobial treatments, with silver being the most common approach. Silver-threaded fabrics do appear to alter the bacterial community on your skin. Research has shown that wearing silver-threaded T-shirts shifts the types of fatty acids detected on the skin surface, with changes in odd-carbon short-chain fatty acids pointing to a genuine shift in microbial populations rather than just surface chemistry.20PubMed Central. The Molecular Effect of Wearing Silver-Threaded Clothing on the Human Skin Whether that translates into meaningfully less odor in real-world conditions, however, is less well established than the marketing might suggest.
A more targeted approach involves coating fabrics with combinations of silver and plant-derived polyphenols like tannic acid. In a proof-of-concept study, shirts with a silver-and-tannic-acid coating on one armpit were nearly odorless after wearing, scoring an average of about 1 on a 0-to-10 smell scale, while the uncoated armpit on the same shirt averaged about 5. That difference held up across ten cycles of wearing and machine washing.21Scientific Reports. Rapid assembly of colorless antimicrobial and anti-odor coatings from polyphenols and silver Tannic acid is particularly interesting because separate research has shown it can inhibit the specific bacterial enzyme (C-S lyase) responsible for producing the sulfur-based odor molecule 3M3SH in Staphylococcus hominis.5PubMed. Discovery of a C-S lyase inhibitor for the prevention of human body malodor formation: tannic acid inhibits the thioalcohol production in Staphylococcus hominis Rather than broadly killing bacteria, it blocks the specific metabolic step that creates one of the worst-smelling products.
The Evolutionary Puzzle of Body Odor
Given how complex the biochemistry of underarm odor turns out to be, with dedicated transporter proteins, specific precursor molecules, and bacteria that have evolved specialized enzymes to process them, researchers have questioned whether body odor once served an adaptive function. The specificity of the system is striking: your body manufactures particular odorless compounds, secretes them through a dedicated type of gland, and the bacteria on your skin have evolved highly specialized enzymatic pathways to convert those specific compounds into volatile signals. That level of biochemical coordination between a host and its microbiome is not accidental.22PubMed Central. The specific biochemistry of human axilla odour formation viewed in an evolutionary context
The leading hypothesis is that body odor functioned as a chemical signaling system: communicating individual identity, genetic compatibility, or social status. The ABCC11 gene variant that eliminates most body odor may have been positively selected in certain populations because the signaling function became less important as human social behavior changed, or because the gene has other effects (like reduced earwax) that offered some advantage in particular environments. Whatever the original purpose, the odor-producing system is deeply embedded in human biology. Your smelly shirt is, from an evolutionary standpoint, a signal that was never meant to be trapped in polyester.