About 90% of bad breath originates inside the mouth, caused by bacteria breaking down food particles and dead cells on the tongue, gums, and teeth. The remaining 5 to 10% comes from conditions elsewhere in the body, like sinus infections, digestive problems, or metabolic disorders. Understanding which category your bad breath falls into is the key to fixing it.
How Mouth Bacteria Create the Smell
The odor itself comes from sulfur-containing gases that bacteria release as waste products. Three compounds make up about 90% of these gases: hydrogen sulfide (which smells like rotten eggs), methyl mercaptan (a cabbage-like smell), and dimethyl sulfide. The bacteria responsible are mostly oxygen-hating species that thrive in low-oxygen pockets: the crevices between teeth, deep gum pockets, and especially the back of the tongue where a thick coating of debris can accumulate.
The tongue is the single biggest source. Research consistently shows that a heavier coating on the tongue’s surface correlates with worse breath odor. That coating is a biofilm of bacteria, dead cells, and food residue, and it gives anaerobic bacteria exactly the sheltered, protein-rich environment they need to produce sulfur gases.
Why Your Breath Is Worse in the Morning
During sleep, saliva production drops to near zero. Saliva is your mouth’s primary defense against odor. It dilutes the raw materials bacteria use to produce sulfur gases, buffers the pH, and delivers antimicrobial proteins that keep bacterial populations in check. When flow drops overnight, bacteria multiply and sulfur gas concentrations climb significantly.
Mouth breathing during sleep makes this worse. People who breathe through their mouths have about 33% less saliva flow than nose breathers, which dries the mouth out further. Studies measuring sulfur gas levels found that mouth breathers produced roughly 1.5 times more odor-causing compounds than nose breathers (about 282 parts per billion versus 186 ppb). They also had thicker tongue coatings, likely because reduced saliva meant less natural rinsing of the tongue surface. If you wake up with consistently terrible breath and a dry mouth, nighttime mouth breathing is a likely contributor.
Gum Disease and Tooth Decay
Chronic gum disease (periodontitis) is one of the most common causes of persistent bad breath that doesn’t go away with brushing. The deep pockets that form between inflamed gums and teeth are ideal breeding grounds for the most potent odor-producing bacteria, including species like Porphyromonas gingivalis and Treponema denticola. These bacteria are aggressive sulfur gas producers and also happen to be the same species that drive gum tissue destruction.
Untreated cavities, poorly fitting dental work, and food trapping between teeth all create similar pockets where bacteria accumulate. If your breath smells bad despite consistent brushing and flossing, undiagnosed gum disease or hidden decay is worth investigating.
Tonsil Stones
Tonsil stones are small, pale lumps that form in the crevices of the tonsils. They start as a mixture of bacteria, dead cells, and food debris that calcifies over time into a hard, foul-smelling nugget. Because they’re packed with the same sulfur-producing bacteria found on the tongue, they can cause a persistent bad smell that’s easy to miss. Many people don’t realize they have tonsil stones because they form deep in tonsillar crypts and aren’t always visible.
If you have chronic bad breath that doesn’t respond to improved oral hygiene, and you still have your tonsils, these stones are worth considering. They can sometimes be dislodged at home with gentle pressure, though larger or recurrent ones may need professional removal.
Medications That Dry Your Mouth
Dry mouth is one of the most common side effects of medications, and it directly worsens breath by removing saliva’s protective effects. The drug classes most frequently linked to this include antidepressants, antihistamines, anticholinergics (used for bladder issues and some stomach conditions), certain acid reducers, and some blood pressure medications. Chemotherapy drugs can also cause it.
Some medications contribute to bad breath through a second pathway: the drug itself or its byproducts are absorbed into the bloodstream and released through the lungs. This produces an odor that no amount of brushing will fix because the smell isn’t coming from the mouth at all. Certain dietary supplements, particularly those containing sulfur compounds like garlic extract, work the same way.
Foods, Fasting, and Keto Breath
Garlic and onions are the classic offenders, but not for the reason most people think. The initial smell comes from the mouth, but the lingering odor hours later happens because sulfur compounds from these foods get absorbed into the bloodstream and exhaled through the lungs. That’s why the smell persists long after brushing.
Low-carb and ketogenic diets cause a different kind of bad breath entirely. When your body burns fat instead of carbohydrates for fuel, it produces ketone bodies, including acetone, the same chemical found in nail polish remover. This acetone is exhaled through the lungs, giving breath a distinctive fruity or metallic smell. Adults on ketogenic diets can have breath acetone levels up to 40 parts per million, which is high enough to be noticeable. Children on therapeutic ketogenic diets for epilepsy can reach levels as high as 360 ppm. Prolonged fasting and very-low-calorie diets produce the same effect, though usually at lower levels.
Medical Conditions Beyond the Mouth
Only about 5 to 10% of bad breath cases come from outside the mouth, but when they do, the smell often has a characteristic quality that points to the source.
- Sinus and throat infections: Chronic sinusitis, postnasal drip, and tonsillitis account for roughly 10% of all halitosis cases. Infected mucus dripping down the back of the throat feeds odor-producing bacteria.
- Digestive disorders: Acid reflux (GERD) and other gastrointestinal conditions account for about 5% of cases. Stomach gases can travel upward, particularly with frequent reflux or belching.
- Liver disease: A failing liver produces a distinctive musty or sweet smell sometimes called “fetor hepaticus.” Research has found significantly elevated levels of dimethyl sulfide and acetone in the exhaled breath of liver disease patients.
- Uncontrolled diabetes: Diabetic ketoacidosis causes the body to produce excessive ketones, leading to a fruity, acetone-like breath odor. This is a medical emergency and typically comes with other symptoms like extreme thirst, nausea, and confusion.
- Kidney disease: Advanced kidney failure can give breath an ammonia or urine-like smell, caused by the buildup of waste products the kidneys can no longer filter.
Finding the Actual Source
The most reliable way to identify bad breath is straightforward: a dentist or specialist smells your breath and rates it on a standardized scale. This “organoleptic” assessment, as it’s called clinically, remains the gold standard because human noses detect a wider range of odor compounds than machines do. Portable devices called Halimeters can measure sulfur gas concentrations and give an objective number, but they miss some compounds that the nose picks up.
A practical way to narrow things down at home: if the smell improves dramatically after thorough tongue cleaning and flossing, the source is almost certainly oral. If it persists no matter what you do to your mouth, the cause may be systemic, related to a medication, or coming from the sinuses or throat. Licking the back of your wrist, letting it dry for ten seconds, and sniffing it gives a rough approximation of what your breath smells like to others, since most people can’t reliably smell their own breath in real time.
Because the vast majority of cases start in the mouth, the highest-yield fixes are consistent tongue cleaning (particularly the back third), thorough flossing, and staying hydrated to support saliva flow. When those don’t work, the search moves to gum disease, tonsil stones, medications, and then the less common systemic causes.

