Things smell bad because your nose is wired to detect specific airborne chemicals, and your brain interprets certain ones as repulsive. This isn’t random. The compounds that trigger disgust are almost always linked to something harmful: rotting food, bacterial waste, decaying tissue, or toxic gases. Your sense of smell is essentially an early warning system, and “bad” is the alarm.
How Your Nose Flags Danger
When a substance breaks down or off-gasses, it releases volatile compounds, tiny molecules light enough to float through the air and reach your nasal passages. Inside your nose, roughly 400 types of smell receptors sit on specialized nerve cells. Each receptor recognizes a specific molecular shape, and when a volatile compound locks into one, it triggers a chain of electrical signals to your brain. Your brain then assembles those signals into what you experience as a smell.
The reason some of those smells register as disgusting comes down to evolution. Disgust is part of what researchers call the behavioral immune system: a set of psychological and physical reflexes that evolved to keep you away from sources of infection before you ever touch or eat them. Detecting pathogens before ingestion saves your body the enormous energy cost of mounting a full immune response. People reliably pick up cues of infection through smell, and the emotional reaction (recoiling, gagging, wanting to leave) is the behavioral follow-through that keeps you safe.
The Chemicals Behind the Worst Smells
A surprisingly small family of compounds is responsible for most of the odors people find unbearable.
- Sulfur compounds. Hydrogen sulfide (the rotten-egg smell), methyl mercaptan, and dimethyl sulfide are the main culprits behind halitosis, sewer gas, and the stench of rotting vegetables. Sulfur-containing molecules are so potent that utility companies add them to odorless natural gas specifically so leaks are noticeable.
- Short-chain fatty acids. Butyric acid smells like vomit. Propionic acid has a sharp, sour quality. Isovaleric acid is the classic “sweaty feet” or “old gym socks” smell. These form when bacteria digest fats and proteins.
- Decay amines. Putrescine and cadaverine are produced when fatty acids in dead tissue break down. They’re so strongly associated with death that even brief, unconscious exposure to putrescine triggers fight-or-flight alertness in humans. Animal studies show cadaverine activates the same escape and avoidance pathways.
- Ammonia and trimethylamine. Ammonia produces the sharp, stinging smell of old urine. Trimethylamine is the compound behind the smell of rotting fish. Both can come from bacterial activity in the gut, on the skin, or in stagnant waste.
Why Sweat and Body Odor Develop
Fresh sweat is nearly odorless. The smell only appears after bacteria on your skin get to work on it. Your armpits contain apocrine glands that secrete a thick, protein-rich sweat. Bacteria from the Corynebacterium family, along with other common skin microbes, break that sweat down into volatile molecules. The signature “B.O.” compound is a branched fatty acid that produces a sharp, pungent odor. Alongside it, bacteria release a cheesy, rancid-smelling acid and, in some people, a sulfur compound that can smell like onions or tropical fruit depending on its molecular form.
This is why deodorants target bacteria rather than sweat itself. The sweat isn’t the problem. The microbial digestion of sweat is. Different people harbor different communities of skin bacteria, which is part of why body odor varies so much from person to person.
Bad Breath and Oral Bacteria
About 90% of bad breath originates in the mouth, not the stomach. Bacteria on the tongue, between teeth, and along the gumline break down food particles and dead cells, releasing volatile sulfur compounds (the same hydrogen sulfide and methyl mercaptan family). Coating on the back of the tongue is one of the biggest contributors.
Around 9% of halitosis cases trace to non-oral sources like respiratory infections, gastrointestinal conditions, or kidney issues. The remaining 1% comes from specific foods or medications. Garlic and onions, for example, release sulfur compounds that enter your bloodstream and get exhaled through your lungs for hours after eating.
Mold, Mildew, and Indoor Mustiness
That damp, earthy smell in basements or old buildings comes from microbial volatile organic compounds, chemicals released by actively growing mold and bacteria. CDC research has identified several of these compounds at measurable concentrations in homes, with a group of eight-carbon molecules showing the most promise as indicators of fungal growth. The musty smell is often detectable before visible mold appears, making your nose a surprisingly useful early detection tool. If a room smells earthy or stale without an obvious source, mold behind walls or under flooring is a likely explanation.
When Normal Things Suddenly Smell Terrible
Sometimes the problem isn’t what you’re smelling. It’s how your brain processes the signal. Parosmia is a condition where real smells become distorted, often making pleasant or neutral odors seem rotten, burnt, or chemical. Phantosmia is the related experience of smelling something that isn’t there at all, commonly described as smoke, burning rubber, or sewage.
Both conditions share a long list of triggers: sinus infections, colds, allergies, nasal polyps, migraines, dental problems, exposure to toxic chemicals, and certain medications. COVID-19 brought widespread attention to parosmia, as many people developed distorted smell for weeks or months after infection. The virus damages the olfactory nerve cells, and as they regenerate, they can “miswire,” sending scrambled signals to the brain. For most people, this resolves gradually, though recovery can take anywhere from a few weeks to over a year.
Genetic Conditions That Cause Persistent Odor
A rare metabolic disorder called trimethylaminuria causes a persistent fishy smell in a person’s sweat, urine, and breath. It happens when the body lacks the enzyme needed to convert trimethylamine (from dietary sources like eggs, fish, and legumes) into an odorless form. A mutation in the gene that produces this enzyme is the most common cause, though liver disease, kidney disease, and an overgrowth of trimethylamine-producing gut bacteria can trigger similar symptoms. Temporary cases have been reported in premature infants and in some women at the start of menstruation.
People with this condition often face significant social and psychological consequences. Because the odor can fluctuate with diet and hormonal cycles, it’s sometimes dismissed or misdiagnosed for years. Dietary adjustments that reduce trimethylamine intake are the primary management strategy.
Why Some Smells Bother You More Than Others
Sensitivity to bad smells varies widely between individuals. Part of this is genetic: people carry different versions of smell receptor genes, which means the same molecule can register as intense for one person and barely noticeable for another. Hormonal changes also play a role. Pregnant women frequently report heightened sensitivity to odors, particularly food smells, during the first trimester.
Context matters too. A smell you associate with a bad experience, illness, or contaminated food will trigger a stronger disgust response than the same compound encountered in a neutral setting. Your brain doesn’t just identify the molecule. It layers in memory, expectation, and emotional history, then delivers the final verdict on whether that smell is tolerable or revolting.

