HomeAll Guides 🏠 Home & House🚗 Car & Vehicle🧬 Body & Health🍳 Food & Kitchen🐾 Pets & Animals🔧 Water & Plumbing

Why Do My Armpits Smell Like Onions? (4 Causes)

Onion-smelling armpits are caused by bacteria converting sweat into thioalcohols — the same compounds in actual onions. Here are 4 causes and fixes.

Easy FixUsually harmless. A simple cleanup or maintenance step should take care of it.
Common & Fixable

Onion-smelling armpits are one of the most common body odor complaints. It's caused by bacteria, not hygiene failure.

/At a glance
Most Likely Cause
Bacterial Thioalcohol Production
82%
Verdict
Easy Fix
Typical Cost
$5-25
Fix Time
15 – 30 min
Safety Risk
Low

Quick Answer

Your armpits smell like onions because bacteria (primarily Staphylococcus hominis) on your skin contain an enzyme that converts a precursor in your sweat into thioalcohols — the same sulfur compounds found in onions. This happens in armpits specifically because they have the highest concentration of apocrine sweat glands and provide the warm, moist environment bacteria love. It's extremely common and almost entirely fixable with the right approach.

Common Causes (Ranked by Likelihood)

1

Bacterial Thioalcohol Production

Very Common82%

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.

Why it happens
Staphylococcus hominis bacteria on armpit skin have a C-T…
How to tell
Typical cost
$5-25
Fix difficulty
Easy
Fix time
5 – 10 min
How to tell
✓Smell develops gradually after showering.
✓Strongest 6-12 hours after washing.
✓Worse in hot weather or after exercise.
✓Both armpits affected (one may be stronger).
2

Sulfur-Rich Diet

Common45%

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.

Why it happens
Eating garlic, onions, cruciferous vegetables, red meat,…
How to tell
Typical cost
$5-25
Fix difficulty
Easy
Fix time
10 – 20 min
How to tell
✓Smell intensifies after eating specific foods.
✓Correlates with meals high in garlic, onions, or spicy foods.
3

Hormonal Fluctuations

Common40%

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.

Why it happens
Hormones directly control apocrine gland activity.
How to tell
Typical cost
$5-25
Fix difficulty
Easy
Fix time
10 – 20 min
How to tell
✓Smell fluctuates with menstrual cycle.
✓Worsened during puberty, pregnancy, or menopause.
✓Stress noticeably intensifies the smell.
4

Clothing Trapping Bacteria

Common36%

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.

Why it happens
Synthetic fabrics (polyester, nylon) harbor more…
How to tell
Typical cost
$5-25
Fix difficulty
Easy
Fix time
10 – 20 min
How to tell
✓Certain shirts smell worse than others.
✓Polyester/synthetic tops smell faster.
✓Some shirts smell bad even right out of the wash.

How to Fix It

$5-25
Typical Cost
15 – 60 min
Time Needed
Easy
Difficulty
Low
Safety Risk

Target Armpit Bacteria

$5-25

The most effective approach — go after the source.

  1. 1Wash armpits with benzoyl peroxide cleanser (2.5-5%) or chlorhexidine soap — these specifically kill odor-producing Staphylococcus.
  2. 2Apply glycolic acid (like The Ordinary 7% Glycolic Toner) to armpits — lowers skin pH, making it inhospitable to bacteria.
  3. 3Use a clinical-strength antiperspirant with aluminum chloride (15-20%) at bedtime — reduces sweat AND bacterial habitat.
  4. 4If OTC products aren't enough, ask your doctor about prescription Drysol (aluminum chloride 20%).

Optimize Your Clothing

$0-20

Reduces secondary odor sources.

  1. 1Switch to natural fibers (cotton, linen, merino wool) or purpose-built anti-odor synthetics (Lululemon Silverescent, etc.).
  2. 2Pre-soak smelly shirts in white vinegar (1 cup per gallon) for 30 minutes before washing.
  3. 3Wash workout clothes separately on hot with an enzyme-based detergent or add 1/2 cup baking soda.
  4. 4Don't leave sweaty clothes sitting — bacteria multiply rapidly in warm, damp fabric.

See a Dermatologist

$100-400

For severe cases that don't respond to OTC products.

  1. 1Botox injections in armpits reduce sweating by 85-90% for 6-12 months ($500-1,000 per session, sometimes insurance-covered).
  2. 2miraDry treatment permanently destroys armpit sweat glands ($1,500-3,000, one-time).
  3. 3Prescription topical antibiotics can reduce bacterial populations.
  4. 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

Why do my armpits smell like onions even after showering?

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.

Does shaving armpits reduce onion smell?

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.

Can deodorant fix onion-smelling armpits?

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.

Is onion armpit smell genetic?

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.

Related Guides

Armpits Smell
All armpit odor causes
Body Odor Causes
Complete body odor guide
Sweat Smells Different
Why sweat changes

Quick Fix (4 steps)

1Wash armpits with benzoyl peroxide cleanser
2Apply glycolic acid
3Use a clinical-strength antiperspirant…
4If OTC products aren't enough, ask your…