Common Causes (Ranked by Likelihood)

Staphylococcus hominis bacteria on armpit skin have a C-T lyase enzyme that converts Cys-Gly-3M3SH (a precursor molecule in apocrine sweat) into 3-methyl-3-sulfanylhexan-1-ol — the primary thioalcohol responsible for the onion smell. Your apocrine sweat itself is odorless; the bacteria create the smell. People with more S. hominis or whose sweat has more precursor molecules smell stronger.

Eating garlic, onions, cruciferous vegetables, red meat, eggs, and curry increases the sulfur-containing compounds in your sweat, giving bacteria more material to convert into onion-smelling thioalcohols. The effect can last 24-72 hours after eating the trigger food.

Hormones directly control apocrine gland activity. Puberty activates apocrine glands for the first time (which is why children don't have adult body odor). Menstrual cycles, pregnancy, menopause, and stress all increase apocrine secretion, providing more fuel for odor-producing bacteria.

Synthetic fabrics (polyester, nylon) harbor more odor-producing bacteria than natural fibers. Bacteria embed in synthetic fibers and aren't fully removed by washing, which is why that old polyester shirt smells worse faster. Cotton absorbs sweat but can trap bacteria in tight-fitting clothes. The clothing itself becomes a secondary odor source.
How to Fix It
Target Armpit Bacteria
$5-25The most effective approach — go after the source.
- 1Wash armpits with benzoyl peroxide cleanser (2.5-5%) or chlorhexidine soap — these specifically kill odor-producing Staphylococcus.
- 2Apply glycolic acid (like The Ordinary 7% Glycolic Toner) to armpits — lowers skin pH, making it inhospitable to bacteria.
- 3Use a clinical-strength antiperspirant with aluminum chloride (15-20%) at bedtime — reduces sweat AND bacterial habitat.
- 4If OTC products aren't enough, ask your doctor about prescription Drysol (aluminum chloride 20%).
Optimize Your Clothing
$0-20Reduces secondary odor sources.
- 1Switch to natural fibers (cotton, linen, merino wool) or purpose-built anti-odor synthetics (Lululemon Silverescent, etc.).
- 2Pre-soak smelly shirts in white vinegar (1 cup per gallon) for 30 minutes before washing.
- 3Wash workout clothes separately on hot with an enzyme-based detergent or add 1/2 cup baking soda.
- 4Don't leave sweaty clothes sitting — bacteria multiply rapidly in warm, damp fabric.
See a Dermatologist
$100-400For severe cases that don't respond to OTC products.
- 1Botox injections in armpits reduce sweating by 85-90% for 6-12 months ($500-1,000 per session, sometimes insurance-covered).
- 2miraDry treatment permanently destroys armpit sweat glands ($1,500-3,000, one-time).
- 3Prescription topical antibiotics can reduce bacterial populations.
- 4Laser hair removal can reduce bacterial colonization by removing hair that traps bacteria.
When to Call a Professional
Sudden dramatic change in body odor without dietary explanation — could indicate hormonal or metabolic changes.
One-sided armpit odor with lump or swelling — see a doctor to rule out infection or other issues.
Odor accompanied by skin changes (rash, redness, peeling) — possible fungal infection needing treatment.
Persistent odor that doesn't respond to any intervention — consider trimethylaminuria or other metabolic testing.
How to Prevent It
Apply antiperspirant at night — this is when it's most effective at blocking sweat glands.
Trim or shave armpit hair — less surface area for bacteria to colonize.
Shower or wipe armpits within 30 minutes of exercising.
Keep armpit area dry — carry clinical wipes for mid-day freshening if needed.
Wear breathable, natural-fiber clothing when possible.
Why Armpits Specifically? The Biology
Armpits are body odor ground zero for three biological reasons. First, they have the highest density of apocrine sweat glands — specialized glands that secrete a thick, protein-rich fluid (unlike the watery eccrine sweat from the rest of your body). Second, the warm, enclosed environment maintains the humidity and temperature that bacteria need to thrive. Third, armpit hair provides additional surface area for bacterial colonization.
The key bacterium is Staphylococcus hominis, which possesses the C-T lyase enzyme that converts an odorless precursor in apocrine sweat (S-Cys-Gly-3M3SH) into 3-methyl-3-sulfanylhexan-1-ol — a thioalcohol with a potent onion/body odor smell. Research at the University of York in 2020 showed that this enzyme evolved in the bacterial lineage millions of years ago, likely before humans even existed as a species.
This means the onion smell isn't a failure of hygiene — it's a fundamental biological process involving the interaction between your sweat glands and your skin microbiome. The most effective interventions work by changing this interaction: killing the bacteria (antibacterials), reducing the sweat they feed on (antiperspirants), or making the skin environment less hospitable (acid toners).
Frequently Asked Questions
Bacteria recolonize within hours of showering. Use an antibacterial wash (benzoyl peroxide or chlorhexidine) specifically on armpits, then apply antiperspirant immediately. This can extend the odor-free window to 12-24 hours.
Yes, significantly. Hair provides surface area for bacteria and traps moisture. Studies show trimming or shaving reduces detectable body odor intensity regardless of gender. Combined with antibacterial wash, it's one of the most effective interventions.
Regular deodorant only masks the smell. Antiperspirant (which contains aluminum salts) actually reduces sweating, which reduces the bacterial food supply. For onion-specific smell, antibacterial wash + clinical-strength antiperspirant is much more effective than deodorant alone.
Partly. Your genes determine your sweat composition, skin microbiome, and the activity of the ABCC11 gene (which affects both earwax type and body odor). People with wet earwax tend to have stronger body odor. However, diet, hygiene products, and clothing choices all modify the outcome significantly.
