Underwear that still smells after washing is almost always a bacteria problem, not a cleaning problem. Odor-causing microbes can survive a normal wash cycle by clinging to fabric fibers and forming protective colonies called biofilms, which standard detergent alone often can’t fully break down. The issue gets worse with certain fabrics, low wash temperatures, and washing machines that harbor their own bacterial buildup.
Bacteria Survive Normal Wash Cycles
The smell on your underwear isn’t the sweat itself. It’s the byproduct of bacteria feeding on sweat, skin cells, and body oils trapped in the fabric. These bacteria don’t just sit loosely on the surface. They form biofilms, which are sticky, layered colonies that anchor themselves to fibers and resist being washed away. Once a biofilm establishes itself, a regular spin through your washing machine may remove the surface layer of grime while leaving the deeper bacterial colony intact. When you put those “clean” underwear back on, body heat and moisture reactivate the surviving bacteria, and the smell returns almost immediately.
One species in particular, Mycobacterium osloensis, is a known culprit behind persistent laundry odor. It produces a compound called 4-methyl-3-hexenoic acid, which has a distinctly stale, sour smell, and it’s unusually resistant to both drying and UV light. That means even sun-drying your clothes won’t necessarily eliminate it.
Synthetic Fabrics Hold Odor Far More Than Cotton
If your underwear contains polyester, nylon, or spandex, that’s a major part of the problem. Research published in Applied and Environmental Microbiology found that polyester clothing smelled significantly worse than cotton after exercise: more intense, more musty, more sour, and more sweaty. The difference was dramatic enough that study participants could easily distinguish them by smell alone.
Two things explain this. First, cotton fibers are made of cellulose, which has a high capacity to absorb both moisture and odor compounds. That absorption actually traps odors inside the fiber where they’re less noticeable and easier to wash out. Polyester, a petroleum-based material, can’t absorb moisture at all. Sweat just pools in the spaces between fibers, sitting on the surface where bacteria can feast on it.
Second, the bacteria most responsible for that classic “stale funk” smell, a group called Micrococcus, selectively thrives on synthetic fabrics. The study found polyester had about ten times more bacterial growth than other textiles. Cotton showed no selective growth of these odor-causing species at all. So if you’re wearing polyester-blend underwear and wondering why they always smell, the fabric itself is creating a better home for the worst-smelling bacteria.
Your Washing Machine May Be Part of the Problem
Washing machines, especially front-loaders, develop their own bacterial ecosystems. The rubber door seal traps water after every cycle, and the detergent drawer stays damp between uses. Both spots provide a warm, nutrient-rich environment where microorganisms thrive. Over time, these colonies form visible biofilms (that slimy residue you might notice on the rubber gasket) and produce their own musty smell.
Here’s the real issue: bacteria from the machine can transfer onto your clothes during washing. Research suggests a cycle of cross-contamination where dirty laundry introduces bacteria to the machine, the machine’s biofilm grows, and then that biofilm recontaminates supposedly clean laundry in future loads. Your underwear might be going into a dirty machine and coming out with more bacteria than you’d expect.
To break this cycle, run an empty hot wash with bleach or a machine cleaner monthly. Wipe down the door seal after each load and leave the door open between washes so the drum can dry out. Pull out the detergent drawer periodically and scrub it.
Cold Water Isn’t Hot Enough
Modern washing habits have shifted toward cold or warm water to save energy and protect fabrics, but this comes with a trade-off. The CDC notes that hot-water washing at 160°F (71°C) for at least 25 minutes is what reliably destroys microorganisms in laundry. Your typical “warm” setting runs around 71°F to 77°F (22°C to 25°C), which can reduce bacterial levels only when combined with bleach or oxygen-activated cleaning agents.
If you’re washing underwear on cold with a gentle detergent and no additives, you’re essentially rinsing the fabric without killing much of anything. For underwear specifically, switching to the hottest setting your fabric can tolerate makes a meaningful difference. Check care labels first, as high heat can degrade elastic and spandex over time, but cotton underwear can handle it without issue.
What Actually Removes Deep-Set Odor
Standard detergent is designed to lift dirt and oils, but it’s not always enough for biological buildup embedded in fabric fibers. Enzyme-based detergents are more effective because they contain proteins that chemically break down the specific compounds causing the smell. Protease enzymes break down protein-based residues from sweat and skin, and research shows protease also improves the removal of oily soil, making it a better all-around choice than lipase (which targets fats but has only a slight effect on its own).
Two common household additives also help. White distilled vinegar (a quarter to half a cup in the rinse cycle, added through the fabric softener compartment) is mildly acidic and neutralizes alkaline residues that trap odor. Baking soda (half a cup to one cup added to the main wash) raises the water’s pH slightly, which boosts detergent performance and neutralizes acidic odor compounds. Don’t mix them together in the same compartment, as they cancel each other out.
For underwear with truly stubborn odor, laundry stripping can reset the fabric. Fill a bathtub or large bucket with very hot water and mix in a quarter cup of borax, a quarter cup of washing soda, and half a cup of powdered detergent. Submerge the underwear, stir occasionally, and let them soak overnight. The water will turn visibly murky as built-up residue releases from the fibers. After soaking, run the items through a normal wash cycle and dry them completely.
Drying Matters More Than You Think
Bacteria multiply rapidly in damp conditions. If your underwear sits in the washing machine after the cycle ends, or if you air-dry them in a humid room, microorganisms can regrow before the fabric is even dry. Machine drying on high heat provides a second round of microbial reduction through dry heat. If you prefer air drying, do it in direct sunlight when possible, as UV rays offer some antibacterial benefit, and make sure there’s good airflow so the fabric dries quickly. Slow air drying in a damp bathroom is one of the worst options.
When the Smell Isn’t a Laundry Problem
Sometimes persistent underwear odor points to something happening with your body rather than your washing routine. A strong, fishy smell paired with off-white or gray discharge can signal bacterial vaginosis, a common and treatable vaginal infection. A yeasty smell, like beer or bread dough, especially alongside itching or unusual discharge, may indicate a yeast infection. Both conditions change the bacterial balance in ways that can make underwear smell noticeably different from normal, and no amount of laundry optimization will fix it if the underlying issue isn’t addressed.
Excessive sweating in the groin area (a condition called hyperhidrosis) and certain dietary changes can also intensify body odor enough that it lingers on fabric. If you’ve overhauled your laundry routine and the smell persists, the source is worth investigating beyond the hamper.

