Why Do Humans Have Body Odor: Bacteria, Genes & More

Humans have body odor because bacteria on the skin break down odorless compounds in sweat, producing pungent chemicals in the process. Your sweat itself is virtually scentless when it first leaves the gland. The smell only develops once specific species of bacteria living on your skin get to work on the proteins, lipids, and steroids in that sweat. This bacterial transformation is the core reason you smell after a workout, a stressful day, or a missed shower.

Two Types of Sweat Glands, Two Different Jobs

Your body has two main types of sweat glands, and only one of them is responsible for body odor. Eccrine glands cover nearly your entire body and are active from birth. They produce a watery, mostly clear fluid made up of water, sodium, potassium, and small amounts of metabolic waste like lactate and urea. This is the sweat that cools you down. It evaporates quickly and contributes very little to how you smell.

Apocrine glands are a different story. They’re concentrated in your armpits, groin, and around the nipples, and they stay dormant until puberty. Unlike eccrine glands, which simply release liquid from the cell, apocrine glands secrete by pinching off parts of their outer cells. This means they expel an oily substance rich in proteins, lipids, and steroids alongside the usual minerals. That oily secretion is odorless on its own, but it’s a feast for bacteria.

Bacteria Create the Smell, Not Sweat

The transformation from odorless sweat to noticeable body odor happens thanks to specific bacteria that thrive in warm, moist areas like your armpits. Two groups of bacteria do most of the heavy lifting.

Staphylococcus hominis is one of the key players. It takes in an odorless precursor molecule secreted by apocrine glands, transports it into the bacterial cell, and uses a specialized enzyme to strip off a sulfur-containing compound. That released compound, called a thioalcohol, is one of the most potent contributors to the sharp, oniony side of underarm odor. Remarkably, the enzyme responsible for this process appears to have evolved in these bacteria around 60 million years ago, well before modern humans existed. The bacteria essentially co-evolved alongside primates to exploit this particular chemical niche on our skin.

The other major contributors are certain species of Corynebacterium. These bacteria break down different precursors in apocrine sweat and release volatile fatty acids. Two of the most significant ones produce a goat-like smell and a cumin-like smell, respectively. The balance of Staphylococcus and Corynebacterium species on your skin, along with the dozens of other microbial residents, determines your personal scent profile. This is why two people can use the same soap, eat the same food, and still smell distinctly different.

Why It Starts at Puberty

Children rarely have noticeable body odor because their apocrine glands are inactive. These glands switch on during a hormonal process called adrenarche, when the adrenal glands begin producing androgens. As androgen levels rise, they trigger the development of apocrine glands alongside other pubertal changes like pubic hair growth and increased oil production in the skin. Once the apocrine glands start secreting their protein-and-lipid-rich fluid, the bacteria already living on the skin have new material to metabolize, and adult-type body odor begins.

This hormonal connection also explains why body odor can fluctuate with stress, menstrual cycles, and other hormonal shifts throughout life. Apocrine glands respond to adrenaline, which is why anxiety sweat often smells worse than exercise sweat. Exercise primarily activates eccrine glands (the watery, cooling ones), while stress activates apocrine glands directly.

Genetics Play a Surprising Role

Not everyone produces body odor equally, and a single gene explains much of the variation. The ABCC11 gene controls a protein that transports odor precursors into apocrine sweat. A specific variant of this gene essentially shuts down that transport, meaning the bacteria on your skin have far less to work with.

This variant is strikingly common in East Asian populations, where 80 to 95 percent of people carry it. Among people of European and African descent, it’s extremely rare, appearing in only 0 to 3 percent of the population. People with two copies of this variant produce few of the characteristic underarm odorants, and they also tend to have dry, flaky earwax rather than the wet, sticky type. It’s one of the clearest examples of a single genetic change affecting an everyday physical trait.

An Evolutionary Signal

The fact that humans developed specialized odor-producing glands that activate only at sexual maturity is a strong hint that body odor once served a biological purpose. Darwin himself noted that many male mammals develop strong scents during breeding seasons, reasoning that odor glands likely evolved through sexual selection.

Modern research supports the idea that body odor carries meaningful biological information. Humans are reliably good at recognizing close family members by smell alone. Body odor reflects the genetic makeup of your immune system, specifically a highly variable set of genes involved in fighting pathogens. Some evidence suggests people may be drawn to partners whose immune genes differ from their own, potentially using scent as an unconscious guide toward producing offspring with broader immune protection.

Studies have also found that women’s scent profiles shift across the menstrual cycle, and that these shifts can measurably affect hormone levels in men who are exposed to them. Other experiments have shown that sweat collected during stressful situations produces different responses in people who smell it compared to sweat collected during neutral activities. Whether any of these qualify as true pheromones in the strict biological sense remains debated, but the evidence clearly shows that human body odor carries information beyond just “this person needs a shower.”

What Makes Body Odor Worse

Several factors can intensify your natural scent. Diet is one of the most direct. When you eat foods rich in sulfur compounds (garlic, onions, cruciferous vegetables) or certain nitrogen-containing compounds (eggs, fish, legumes), your body metabolizes them and some byproducts exit through sweat. Trimethylamine, for example, is produced by gut bacteria during digestion of eggs, fish, and legumes. Most people’s livers neutralize it efficiently, but in varying amounts, some of it can be released through sweat and breath.

A rare genetic condition called trimethylaminuria illustrates this pathway in the extreme. People with this condition lack full function of the liver enzyme that breaks down trimethylamine, so it accumulates and is released in sweat, urine, and breath, producing a persistent fishy odor. Stress and diet both influence how severe the symptoms are.

Certain medical conditions also alter body odor in distinctive ways. Uncontrolled diabetes can lead to a buildup of ketone bodies in the blood, one of which (acetone) produces a characteristic fruity smell on the breath. Liver and kidney diseases can change body scent as the body loses its ability to filter or process certain waste products. These kinds of odor changes can sometimes be early warning signs before other symptoms become obvious.

How Antiperspirants and Deodorants Work

Deodorants and antiperspirants tackle body odor through completely different strategies. Deodorants target the bacteria. They typically contain antimicrobial agents or alcohol that reduce the bacterial population on your skin, along with fragrances that mask whatever odor remains.

Antiperspirants go after the sweat itself. They contain aluminum salts that physically block sweat ducts. The aluminum ions react with compounds in the sweat duct lining, forming a gel-like plug that reduces how much sweat reaches the skin surface. With less apocrine sweat available, bacteria have fewer precursors to convert into odorous compounds. For people with excessive sweating, higher concentrations of aluminum or clinical treatments may be needed, but the underlying mechanism is the same: block the duct, starve the bacteria of raw material.

Your individual microbiome also responds to these products over time. Switching deodorant brands or stopping use altogether can temporarily shift the bacterial communities on your skin, which is why some people notice a “detox” period of stronger odor when they change products. The smell typically stabilizes as the microbial ecosystem reaches a new equilibrium.