That onion-like smell coming from your child’s armpits is almost certainly the work of bacteria living on the skin, feeding on compounds in sweat and releasing sulfur-containing molecules as a byproduct. The specific culprit is a thioalcohol called 3-methyl-3-sulfanylhexan-1-ol (mercifully shortened to 3M3SH), which is one of the most pungent molecules in human body odor and carries a distinctly onion-like or leek-like character. While most parents associate body odor with teenagers, it can appear in children years before full puberty, driven by early hormonal shifts that “wake up” the sweat glands in the underarm.
How Armpit Bacteria Produce That Onion Smell
Your child’s body secretes odorless precursor molecules into the underarm through apocrine sweat glands. These precursors are small compounds bound to amino acids, and they have no smell on their own. The smell starts when specific bacteria on the skin take up those precursors and chemically snip off the sulfur-containing piece, releasing volatile thioalcohols into the air. The bacterium most responsible for producing 3M3SH in the underarm is Staphylococcus hominis, which uses two enzymes to convert the odorless precursor into the pungent end product.1PubMed. Discovery of a C-S lyase inhibitor for the prevention of human body malodor formation: tannic acid inhibits the thioalcohol production in Staphylococcus hominis A few closely related Staphylococcus species can do the same thing, along with certain Corynebacterium species, which carry their own enzyme capable of releasing thiols from sweat compounds.2PubMed. Identification of odoriferous sulfanylalkanols in human axilla secretions and their formation through cleavage of cysteine precursors by a C-S lyase isolated from axilla bacteria
The reason the smell is specifically onion-like rather than, say, cheesy or sour comes down to which molecules these bacteria produce. Sulfur-containing thioalcohols are chemically similar to the compounds that give onions and garlic their pungency. Not every person’s armpit microbiome produces the same balance of odor molecules, which is why body odor varies so much from person to person. But when the sulfur pathway dominates, the result is that sharp, unmistakable onion note.
Why a Child Gets Body Odor Before Puberty
The reason most parents are caught off guard is timing. You expect body odor to arrive with puberty, not when your child is six or seven. But the apocrine sweat glands in the underarm don’t need full puberty to start working. They respond to adrenal hormones, particularly a weak androgen called DHEA-S, which the adrenal glands begin producing during a stage called adrenarche. Adrenarche is a gradual process that typically starts between ages six and eight in girls and a bit later in boys, well before any other visible signs of puberty appear. These adrenal androgens contribute to the development of apocrine glands, along with things like pubic hair growth and increased skin oiliness.3PubMed Central. Normal and Premature Adrenarche
Once the apocrine glands are active, they begin secreting those odorless precursor molecules into the underarm. The bacteria already living on the skin do the rest. So a child can develop noticeable body odor purely because their adrenal glands have started producing hormones on a normal schedule, even though breast development, testicular growth, and growth spurts are still years away.
Premature Adrenarche and When to Talk to a Pediatrician
If your child develops armpit odor before age eight (for girls) or age nine (for boys), the likely explanation is premature adrenarche. This is generally considered a benign variant of normal development, not a disease. The American Academy of Pediatrics notes that when signs like body odor, pubic hair, or oily skin appear before those age cutoffs but growth rate stays normal and there are no signs of genital development, the diagnosis is usually premature adrenarche with no activation of the central puberty pathway.4Pediatrics. Evaluation and Referral of Children With Signs of Early Puberty A clinical study of children with premature adrenarche found that almost all of them had adult-type axillary odor, confirming that body odor is one of the hallmark signs.5PubMed. Premature adrenarche. Clinical and diagnostic features
That said, there are situations where a pediatrician visit is worth scheduling. If body odor is accompanied by rapid height gain, breast tissue in girls under seven or eight, testicular enlargement in boys, or significant acne, the issue might be central precocious puberty rather than simple adrenarche, and that does sometimes warrant further evaluation. The pediatrician can check hormone levels to distinguish between the two. For the vast majority of children with early body odor and nothing else, the reassurance is straightforward: their adrenal glands are just a bit ahead of the average timeline.
Body Weight and Adrenal Timing
Research has found a connection between higher body mass index in early childhood and an earlier onset of adrenarche. Children with premature adrenarche tend to have higher BMI scores and a greater percentage of body fat compared to age-matched controls.6Pediatric Research. Body composition in prepubertal children with idiopathic premature adrenarche: implications for cardiometabolic health A study in boys with cystic fibrosis found that a greater increase in BMI during the toddler-to-school-age years was significantly associated with higher DHEA-S levels and earlier adrenarche.7Cystic Fibrosis News Today. BMI gains in early childhood tied to premature adrenarche in CF boys
This doesn’t mean that every child with early body odor is overweight, or that weight loss will make the odor go away. Adrenarche, once it begins, doesn’t reverse. But it does offer some context: if your child carries extra weight and develops body odor early, the two may be connected through the same hormonal pathway. And because premature adrenarche has been linked to certain metabolic markers later in puberty, the body-odor conversation can be an opportunity to discuss overall health with your child’s doctor.8PubMed. Body mass index at the presentation of premature adrenarche is associated with components of metabolic syndrome at puberty
The Microbiome Difference Between Kids and Adults
Even when children develop body odor, their underarm bacterial communities don’t look the same as an adult’s. A study that directly compared the armpit microbiome of pre-pubescent children, teenagers, and adults found that children had a much lower abundance of Corynebacterium species than what is typically seen in adults.9PubMed Central. Understanding the microbial basis of body odor in pre-pubescent children and teenagers Since Corynebacterium is one of the major odor-producing genera in adult armpits, this suggests that different bacterial species may be driving body odor in younger age groups. Staphylococcus species, which are abundant on children’s skin, appear to carry much of the load.
This matters practically because it means your child’s body odor may not respond to the same strategies that work for adults. The bacterial ecosystem on a seven-year-old’s skin is still maturing, and the dominant odor-producing species may shift as the child moves through puberty. A deodorant formulated to target adult armpit flora may be more than your child needs, or it may target the wrong bacteria entirely. Gentle, fragrance-free options or those focused on reducing moisture rather than killing bacteria are a reasonable starting point.
Genetics and Who Gets Stronger Body Odor
Not all humans produce the same amount of underarm odor, and a single gene explains a surprising amount of the variation. The ABCC11 gene codes for a transporter protein in apocrine sweat glands that pumps odor precursors out of the gland and onto the skin surface. A common variant of this gene (a single-letter change from G to A at one position) essentially shuts down that transporter. People who carry two copies of the A variant produce almost none of the amino-acid-conjugated precursors that bacteria convert into thioalcohols, and as a result, they have very little characteristic underarm odor.10PubMed. A functional ABCC11 allele is essential in the biochemical formation of human axillary odor
This variant is extremely common in East Asian populations, where most people carry two copies of it. In European and African populations, at least one functional copy of the gene is far more common, and having even one working copy is enough for full odor-precursor secretion.11PubMed Central. A strong association of axillary osmidrosis with the wet earwax type determined by genotyping of the ABCC11 gene The same gene, incidentally, determines earwax type: the functional G allele produces wet, sticky earwax, while two copies of the A allele produce dry, flaky earwax. So if your child has wet earwax, they are genetically equipped to produce underarm odor precursors. Research has confirmed a complete association between carrying at least one functional ABCC11 allele and secreting the amino-acid conjugates that feed odor-producing bacteria.12Royal Society Publishing. The specific biochemistry of human axilla odour formation viewed in an evolutionary context
None of this changes what you do about it, but it explains why some children seem to develop noticeable body odor practically overnight while others the same age barely have any. The genetic hand your child was dealt determines how much raw material the bacteria have to work with.
How Perception Plays a Role
An interesting wrinkle is that people differ not just in how much odor they produce but in how they perceive the same odor molecules. A large genetic study of olfactory receptors found a variant in the receptor gene OR51B2 that was associated with how people perceive trans-3-methyl-2-hexenoic acid, another key component of underarm odor.13PLOS Genetics. From musk to body odor: Decoding olfaction through genetic variation This means the same armpit smell can register as sharply unpleasant to one parent and barely noticeable to another, which may explain some of the disagreements between caregivers about whether a child’s body odor is “really that bad.” If you are particularly sensitive to thiol-type smells, your child’s normal-for-their-age body odor may hit your nose harder than it would someone else’s.
Diet, Garlic, and Onion-Like Smells
Sometimes the onion smell coming from your child’s skin is not produced by armpit bacteria at all but is genuinely arriving via food. Sulfur-rich foods, especially garlic and onions themselves, contain compounds that the body cannot fully break down during digestion. Among the sulfur-containing components of garlic, allyl methyl sulfide is considered the primary compound responsible for garlic-associated body odor, because it resists breakdown in the gut and gets excreted through sweat and breath for hours after eating.14MDPI / Cosmetics. Deodorizing Activity of Hop Bitter Acids and Their Oxidation Products Against Allyl Methyl Sulfide, a Major Contributor to Unpleasant Garlic-Associated Breath and Body Odor If your child recently ate a garlicky meal and their whole body seems to have an onion-ish scent, the simplest explanation is dietary. This kind of smell is temporary and fades within a day or so.
Cruciferous vegetables like broccoli, cauliflower, and cabbage also contain sulfur compounds that can contribute to body odor after digestion. This is distinct from the bacterial armpit odor described above, because it comes out through eccrine sweat all over the body, not just from the apocrine glands in the underarm. If the onion smell is localized to the armpits and persistent, bacteria are the more likely culprit. If it seems to come from everywhere and correlates with meals, diet is worth investigating first.
Rare Metabolic Conditions Worth Knowing About
In uncommon cases, a persistently strong or unusual body odor in a young child can point to a metabolic disorder. The most discussed is trimethylaminuria, sometimes called fish-odor syndrome, in which the body cannot properly break down trimethylamine, a compound produced during digestion of certain foods. This causes a distinctive odor in sweat, breath, and urine. It is caused by mutations in the FMO3 gene and is inherited in an autosomal recessive pattern.15PubMed Central. A compound heterozygous mutation in the FMO3 gene: the first pediatric case causes fish odor syndrome in Korea The classic description is a “rotting fish” smell rather than onion, but the smell can vary in character and intensity.
Trimethylaminuria can present in early childhood. In one clinical report, two unrelated children (ages three and nine at initial consultation) had a particularly unpleasant body odor noticed by both parents and physicians, and urine testing confirmed elevated trimethylamine levels with compound mutations in FMO3.16PubMed Central. Diagnosis and phenotypic assessment of trimethylaminuria, and its treatment with riboflavin Trimethylaminuria is genuinely rare, so it should not be the first thing a parent worries about. But if your child’s body odor is unusual in character, persistent regardless of hygiene, and doesn’t seem to come specifically from the armpits, mentioning it to a pediatrician is reasonable. A urine test can rule it out.
What Your Child Wears Can Make It Worse
The fabric your child exercises or plays in has a measurable effect on how bad the odor gets. A study that compared polyester and cotton T-shirts worn during a workout found that the polyester shirts smelled significantly worse afterward, both more intense and less pleasant, as rated by a trained odor panel. The reason was bacterial: Micrococcus species, which are potent odor producers, were enriched almost exclusively on polyester fabrics, while cotton did not selectively promote their growth.17PubMed Central. Microbial odor profile of polyester and cotton clothes after a fitness session Staphylococci grew on both fabric types, but the additional Micrococcus load on synthetics pushed the overall odor intensity higher.
If your child wears a lot of polyester athletic wear or synthetic-blend school uniforms, switching to cotton or cotton-blend fabrics for items worn close to the skin may noticeably reduce the smell. This won’t eliminate body odor at the source, since the bacteria on the skin will still be doing their work, but it reduces the secondary amplification that happens when odor-producing bacteria colonize the fabric itself. Washing synthetic athletic clothes promptly after wear and avoiding leaving them bunched up in a hamper also helps, because the bacteria continue multiplying on damp synthetics even after the shirt comes off.
Practical Steps That Actually Help
For most children, managing the onion-like armpit smell is straightforward and doesn’t require medical intervention. Daily bathing with attention to the armpits, using a mild soap, removes the surface bacteria and the precursor molecules they feed on. A gentle, aluminum-free deodorant can mask residual odor and slightly reduce bacterial activity on the skin. Antiperspirants containing aluminum salts work differently, by temporarily blocking sweat ducts and reducing the moisture that bacteria need, and these are generally considered safe for older children, though many parents prefer to start with deodorant alone.
Encouraging your child to change out of sweaty clothes promptly, especially after sports, makes a real difference. As noted above, choosing natural fibers for layers worn against the skin helps limit the fabric-level odor buildup. For children who are self-conscious about the smell, knowing that it is biologically normal and that plenty of their classmates will catch up in a year or two can matter as much as any product. Body odor at age seven or eight is startling for parents but is not, in the vast majority of cases, a sign that anything is wrong.
The Apocrine Glands and Why Armpits Are the Epicenter
The armpit is where the problem concentrates because it is one of only a few body sites where apocrine sweat glands are densely packed. Unlike eccrine sweat glands, which cover most of the body and produce the watery, salty sweat you associate with cooling down, apocrine glands secrete a thicker fluid rich in lipids and proteins directly into hair follicles.18PubMed Central. Physiology of sweat gland function: The roles of sweating and sweat composition in human health That richer fluid is what contains the odorless precursor molecules that bacteria convert into thioalcohols. Eccrine sweat from the rest of the body is mostly water and salt and doesn’t feed the same odor-producing process.
The armpit also provides an ideal environment for bacterial growth: it is warm, moist, folded, and partially shielded from air circulation. Apocrine sweat composition from the armpit differs from eccrine sweat collected elsewhere on the body, with higher concentrations of compounds like urea and potassium.19PubMed Central. Comparative Study of the Composition of Sweat from Eccrine and Apocrine Sweat Glands during Exercise and in Heat This nutritional richness sustains a dense, specialized bacterial community that doesn’t exist in the same form on the forearm or back. So even if your child sweats heavily all over during play, the onion smell will come from the armpits (and to a lesser extent the groin) because those are the sites where the bacterial chemistry producing thioalcohols is concentrated.