A hydrogen breath test is a noninvasive diagnostic test that measures hydrogen and methane gas in your breath to detect digestive problems. It works on a simple principle: when bacteria in your gut ferment undigested sugars, they produce gases that get absorbed into your bloodstream, travel to your lungs, and come out when you exhale. By measuring those gases at timed intervals after you drink a sugar solution, the test can reveal whether you have a bacterial overgrowth in your small intestine, difficulty digesting certain sugars like lactose or fructose, or unusually fast or slow movement of food through your digestive tract.
How the Test Works
Human cells don’t produce hydrogen or methane on their own. The only source of these gases in your body is bacteria, primarily the ones living in your large intestine (colon). Under normal conditions, very little undigested food reaches those bacteria because your small intestine handles most of the absorption first.
When something goes wrong, the picture changes. If bacteria have overgrown into your small intestine (a condition called SIBO), they start fermenting sugars earlier than they should, producing a spike in hydrogen or methane gas sooner than expected. If you lack the enzyme to break down a specific sugar like lactose, that sugar passes undigested into your colon, where bacteria ferment it and produce a late but significant rise in gas levels. Either way, those gases cross from your gut into your bloodstream, circulate to your lungs, and exit in your breath, where a handheld device can detect them in parts per million.
What Conditions It Diagnoses
The test is used to evaluate three main categories of digestive problems:
- Small intestinal bacterial overgrowth (SIBO): A condition where abnormally large numbers of bacteria colonize the small intestine, causing bloating, gas, abdominal pain, diarrhea, constipation, and sometimes brain fog or unexplained weight loss. People with gut motility disorders, surgically altered anatomy, or immune deficiencies are at higher risk.
- Carbohydrate malabsorption: The most common version tests for lactose intolerance, but the same method can detect problems digesting fructose, sucrose, and sorbitol. Each version uses a different sugar solution.
- Abnormal gut transit time: By tracking when gas levels rise after you drink a specific sugar called lactulose, clinicians can estimate how quickly food moves through your small intestine.
Symptoms that commonly prompt a referral for this test include chronic bloating, excessive gas, diarrhea, abdominal cramping, and unexplained changes in bowel habits. Anxiety and depression have also been linked to SIBO, though whether that connection is direct or a consequence of living with ongoing gut symptoms isn’t fully clear.
The Different Sugar Solutions
The sugar you’re asked to drink depends on what your doctor is looking for. For SIBO testing, the two main options are glucose and lactulose. Glucose is absorbed quickly in the upper small intestine, so if bacteria are present there, they’ll ferment it and produce a detectable gas spike. This makes glucose more specific for catching overgrowth in that region. Lactulose, on the other hand, isn’t absorbed at all by the human gut. It travels the full length of the small intestine before reaching the colon, which means it can detect bacterial overgrowth further along but is also more prone to ambiguous results.
For sugar malabsorption testing, you’ll simply drink the sugar in question. A lactose breath test uses a lactose solution, a fructose breath test uses fructose, and so on. The logic is straightforward: if your body can’t break down that sugar, bacteria will ferment it and gas levels will rise.
What to Expect During the Test
The test itself is painless. You breathe into a collection device to establish a baseline reading, then drink the sugar solution, and continue providing breath samples at regular intervals, typically every 15 to 20 minutes. The entire process usually lasts two to three hours depending on the protocol. You’ll spend most of that time sitting in the clinic waiting between samples.
Some people experience bloating, cramping, or gas during the test, especially if they do have a malabsorption issue. That’s actually the fermentation process happening in real time. These symptoms are temporary and resolve after the test sugar clears your system.
How to Prepare
Preparation starts well before test day, and following the instructions closely matters because several common substances can throw off your results.
One month before: Stop taking antibiotics and probiotics. Both alter the bacterial balance in your gut, which is exactly what the test is trying to measure. One week before: Stop smoking, which can affect breath gas levels. The day before: Eat only simple, low-residue foods. Baked or boiled fish or chicken seasoned with just salt and pepper is a safe choice. Avoid high-fiber foods, beans, pasta, and bread, all of which can feed gut bacteria and elevate your baseline gas levels. On the day of the test: Fast for 12 hours beforehand, with no food or water.
If you’ve recently had a colonoscopy or taken laxatives, you may need to wait before scheduling the test, since bowel preparation temporarily disrupts your gut bacteria.
Reading the Results
Results are measured in parts per million (ppm) of hydrogen and methane above your fasting baseline. For lactose malabsorption, a rise of 20 ppm or more in hydrogen over your pre-test level is considered a positive result, indicating your body has trouble breaking down lactose. Similar thresholds apply to fructose testing.
For SIBO, the interpretation focuses on when the rise happens. An early spike in hydrogen or methane, occurring within the first 60 to 90 minutes, suggests bacteria are fermenting the sugar in the small intestine rather than the colon. Methane is measured alongside hydrogen because some people harbor methane-producing organisms (methanogens) rather than hydrogen-producing bacteria. If only hydrogen is measured, these cases would be missed entirely. Elevated methane has been specifically associated with constipation-predominant symptoms and slowed gut motility.
Accuracy and Limitations
The hydrogen breath test is useful but imperfect. One of its biggest limitations is the variability of gut transit time. In many healthy people, and especially in people with irritable bowel syndrome, food reaches the colon faster than expected. When this happens with lactulose testing, the normal colonic fermentation gets mistaken for small intestinal bacterial overgrowth, producing a false-positive result. Research from the Mayo Clinic has highlighted that this problem affects a high proportion of individuals tested.
False negatives also occur. Roughly 15 to 20 percent of people harbor gut bacteria that produce neither hydrogen nor methane in significant amounts. If the test only measures hydrogen and not methane, these individuals can receive a normal result despite having an overgrowth. Modern testing protocols increasingly measure both gases to reduce this blind spot.
Other factors that can skew results include recent antibiotic use, smoking, vigorous exercise before the test, and eating high-fiber meals the night before. This is why the preparation protocol is strict. Even small deviations can make the difference between a useful result and one that needs to be repeated.
Why Methane Matters
Older versions of this test only measured hydrogen, but clinicians now recognize that methane plays its own distinct role. Methane isn’t produced by ordinary gut bacteria. It comes from a separate group of organisms called methanogens, which consume hydrogen and convert it into methane. In a patient with significant methanogen overgrowth, hydrogen levels might actually appear low because the methanogens are using it up. Without methane measurement, the test would look normal.
Methane also has a direct effect on gut function. It slows intestinal contractions, which is why people with high methane levels tend to experience constipation rather than diarrhea. This distinction matters for treatment: hydrogen-dominant and methane-dominant overgrowth often respond to different approaches. The term “intestinal methanogen overgrowth” is increasingly used to distinguish this pattern from classic SIBO.

