You’re bloated after every meal. Your stomach distends like you’re six months pregnant after eating a salad. Gas is constant and embarrassing. You’ve cut out gluten, dairy, FODMAPs, and half the foods you used to enjoy, and the bloating persists. And somewhere alongside the digestive misery, your sleep fell apart. Not dramatically. Gradually. Lighter. More fragmented. Less restorative. Until one day you realised you couldn’t remember the last time you woke up feeling genuinely rested.
If this sounds familiar, SIBO, small intestinal bacterial overgrowth, may be the connection nobody has made. SIBO is one of the most common functional gut conditions, found in roughly a third of people with IBS on meta-analysis and far more in some studies. And while the digestive symptoms get all the attention, the sleep disruption it causes is often equally devastating and almost completely overlooked.
SIBO disrupts sleep through at least six routes: the evening build-up of gas and discomfort itself, serotonin impairment, systemic inflammation, histamine overproduction, nutrient malabsorption, and vagal nerve irritation. Each one alone can impair sleep quality. When several are active at once, which is common in moderate-to-severe SIBO, the compounding effect on sleep can be devastating. And because the connection between SIBO and insomnia isn’t widely recognised, many people spend months or years treating their sleep as a separate problem from their gut, never realising they’re the same problem.
In short
- Bloating that peaks in the evening plus sleep that got lighter around the same time is the SIBO pattern. The two are one problem, not two.
- SIBO is confirmed with a breath test, not guesswork, and treating the overgrowth usually improves sleep within weeks.
- If you also snore or wake unrefreshed, get checked for sleep apnea at the same time: about a third of people with untreated apnea test positive for SIBO.
From the practice: “SIBO is one of the more common findings I see in clients whose sleep problems centre on middle-of-the-night waking with bloating or discomfort. It’s also one of the more satisfying issues to address, because once the overgrowth is treated properly, the nights of waking up uncomfortable at 2 or 3am often stop along with the bloating.”
Riley Jarvis, The Sleep Consultant
What SIBO Is
In a healthy digestive system, the small intestine has relatively few bacteria compared to the large intestine. The “cleaning wave” of the migrating motor complex (MMC) sweeps bacteria downward between meals, keeping the small intestine relatively clear. In SIBO, this system fails. Bacteria from the large intestine migrate upward and colonise the small intestine, where they don’t belong, or the small intestine’s own flora multiply excessively.
Once established, these bacteria ferment food in the small intestine (producing the gas, bloating, and distension that are SIBO’s hallmark symptoms), steal nutrients before the body can absorb them, damage the intestinal lining, and create byproducts that affect the brain and nervous system through the gut-brain axis. The overgrowth can be hydrogen-dominant (associated with diarrhoea), methane-dominant (associated with constipation), or hydrogen sulphide-dominant (associated with both plus additional systemic symptoms). SIBO is frequently linked to underlying issues that slow gut motility or disrupt bacterial control, including prior infections, structural issues, and some of the same root causes behind IBS.
How SIBO Disrupts Sleep

| Route | What it does to sleep | How it feels |
|---|---|---|
| Evening gas and reflux | Discomfort peaks at bedtime; lying flat worsens reflux | Can’t get comfortable, wake at 2 or 3 a.m. bloated |
| Serotonin disruption | Bacteria divert tryptophan away from serotonin and melatonin | Low mood, light sleep, hard to fall asleep |
| Systemic inflammation | Leaky gut, cytokines, raised night-time cortisol, less deep sleep | “Sleeping but never resting” |
| Histamine overproduction | A wake-promoting chemical flooding the system | Wired at bedtime, congestion, flushing, itching at night |
| Nutrient malabsorption | B12, iron, magnesium, zinc consumed or not absorbed | Fatigue, restless legs, poor recovery |
| Vagal nerve irritation | Constant distress signals to the brainstem suppress the parasympathetic shift into sleep | Physical anxiety at bedtime that breathing exercises only half fix |
Direct Discomfort and Evening Timing
The most immediate route is physical. Bacterial fermentation produces gas throughout the day, so bloating and distension accumulate and peak by evening, exactly when you are trying to fall asleep. Reflux is also common with SIBO, and lying flat worsens it, adding a second route to disrupted sleep. No gut-brain axis is required to explain why a distended abdomen makes lying down and sleeping harder.
Serotonin Disruption
The small intestine is where 90–95 percent of serotonin is produced. When SIBO bacteria colonise this area, they alter the local environment in ways that impair enterochromaffin cell function and serotonin metabolism. Some SIBO bacteria actually consume tryptophan (the serotonin precursor) before it can be converted, directly reducing the raw material for both serotonin and melatonin production. Research has shown that gut bacteria can convert tryptophan into indole and other metabolites that divert it away from the serotonin pathway, effectively stealing the brain’s sleep chemistry.
Systemic Inflammation
Bacterial overgrowth in the small intestine damages the intestinal lining, increasing intestinal permeability (“leaky gut”). This allows bacterial toxins (lipopolysaccharides) and partially digested food particles into the bloodstream, triggering a systemic inflammatory response. The resulting cytokine elevation follows the same pattern seen in other gut infections: suppressed deep sleep, fragmented architecture, elevated nocturnal cortisol, and the “sleeping but never resting” experience.
Histamine Overproduction
Certain SIBO bacteria produce histamine as a metabolic byproduct. Histamine is a wake-promoting neurotransmitter; it’s what antihistamines (like diphenhydramine/Benadryl) block to induce drowsiness. When histamine-producing bacteria overgrow in the small intestine, the body is flooded with a chemical signal that directly opposes sleep. This creates the “wired at bedtime” feeling many SIBO patients describe, along with nasal congestion, skin flushing, and itching that worsen at night. See histamine intolerance and sleep for the full picture.
Nutrient Malabsorption
SIBO bacteria consume B12, iron, and fat-soluble vitamins before the body can absorb them. They damage the brush border of the small intestine, impairing absorption of magnesium, zinc, and other minerals. Over months, this creates the same progressive nutrient depletion seen in H. pylori and parasitic infections: a slow erosion of every building block sleep chemistry requires.
Vagal Nerve Irritation

The distension and inflammation from SIBO directly irritate vagal nerve endings in the gut wall. This sends chronic distress signals to the brainstem, activating the stress response and suppressing the parasympathetic function needed for sleep. The vagus nerve, which should be orchestrating the transition to sleep, is instead receiving a constant stream of alarm signals from a gut in distress.
The vagal mechanism also explains why many SIBO patients experience anxiety at bedtime that feels physical rather than psychological. The sensation isn’t coming from anxious thoughts. It’s coming from the gut sending distress signals through the vagus nerve. The brain interprets these signals as danger and responds by activating the sympathetic nervous system. You feel anxious, restless, and unable to settle because your body is responding to an internal alarm that you can’t consciously identify. This is why breathing exercises and meditation help partially but can’t fully resolve the insomnia: they calm the output side, but the input from the gut continues.
Bloated by evening and awake by 3 a.m., and nobody has connected the two?
Treating the sleep on its own will not fix it, and neither will another elimination diet. Book a free 30-minute sleep assessment and we will look at whether your pattern fits SIBO, what else might be sitting underneath it, and what to test first.
Symptoms Suggesting SIBO-Related Insomnia
- Bloating and abdominal distension, especially after meals containing carbohydrates or fibre, and worst in the evening
- Excessive gas and belching
- Alternating diarrhoea and constipation, or predominantly one
- Food sensitivities that seem to multiply over time
- Insomnia or unrefreshing sleep that appeared alongside or after the digestive symptoms
- Brain fog that correlates with digestive flare-ups
- Histamine symptoms: nasal congestion, skin flushing, itching at night
- Feeling “wired” at bedtime despite physical exhaustion
- Weight loss or difficulty maintaining weight despite adequate caloric intake
The pattern: digestive symptoms + insomnia + fatigue + brain fog, often with a history of food poisoning, antibiotic use, or chronic stress that disrupted gut motility.
One important clinical detail: SIBO often coexists with other conditions. H. pylori reduces stomach acid, which allows more bacteria to survive the journey into the small intestine. Parasites damage the gut lining and alter motility. Post-infectious IBS (triggered by food poisoning) damages the nerves that control the migrating motor complex. And there is a documented overlap with sleep apnea: in one study, about 31 percent of people with untreated obstructive sleep apnea tested positive for SIBO. The direction isn’t settled (disrupted sleep may slow gut motility, and gut dysfunction may disrupt sleep), but if you have SIBO symptoms and you snore, wake gasping, or are sleepy in the day, both are worth evaluating together.
What the Research Shows
SIBO and sleep quality: A 2025 case-control study using the Pittsburgh Sleep Quality Index alongside breath testing found that a positive SIBO test was significantly associated with both reflux symptoms and poorer sleep-quality scores.
SIBO and sleep apnea: A study of patients with untreated obstructive sleep apnea found roughly 31 percent positive for SIBO on hydrogen and methane breath testing.
Tryptophan diversion: A 2021 study in the Journal of Clinical Medicine found altered serotonin-pathway tryptophan metabolism in people with SIBO, and a follow-up study showed that treating the overgrowth with rifaximin improved both tryptophan metabolism and mood.
Prevalence: Meta-analyses find SIBO in a substantially higher share of people with IBS than healthy controls, around a third depending on the test used, with some individual studies reporting much higher rates. It remains one of the most underdiagnosed functional gut conditions, partly because many doctors still view it as niche, and partly because standard diagnostic thresholds can miss borderline cases. If you have classic SIBO symptoms with a borderline breath test, clinical judgement matters more than arbitrary cutoffs.
Fatigue as a core symptom: Validated SIBO symptom scales include physical tiredness alongside bloating, distension and pain as core measured symptoms, formal recognition that fatigue is part of the SIBO picture, not a side note. A broader review of sleep dysfunction and gastrointestinal disease notes increased sleep disturbance in people with IBS and SIBO.
How to Address SIBO-Related Insomnia

Test
- Lactulose or glucose breath test. The standard diagnostic for SIBO, measuring hydrogen and methane production after a sugar solution, and identifying which type, which shapes treatment
- Some practitioners also test for hydrogen sulphide, which newer tests can now detect
- If apnea signs are present, a sleep study alongside, given the overlap
Treat the Overgrowth
- Antimicrobial protocol. Herbal (berberine, oregano oil, neem) or pharmaceutical (rifaximin, neomycin for methane) depending on type, guided by a healthcare provider
- Elemental diet. A 2–3 week liquid diet that starves bacteria while nourishing the host. Effective but challenging
- Address the underlying cause of impaired motility. SIBO recurs if the MMC isn’t restored. Prokinetic agents, meal spacing, and stress management support motility recovery
Manage Histamine
- Low-histamine diet during treatment. Reduces the histamine load while bacterial producers are being eliminated
- DAO enzyme supplementation with meals. Supports histamine breakdown
Adjust the Evenings While Treatment Is Underway
- Eat earlier and lighter in the evening to reduce the night-time build-up of gas
- Elevate the head of the bed if reflux is part of the picture
Restore Sleep Chemistry
- Replenish B12, iron, magnesium, zinc. All commonly depleted by SIBO
- Magnesium glycinate and L-theanine before bed. Support GABA function and mental calm while gut treatment is underway
Treated SIBO once already and the bloating and the 3 a.m. waking came back?
Then the overgrowth was cleared but whatever allowed it was not. That is the most common reason SIBO treatment fails, and it is the part we focus on. Book a free assessment call and we will map what has been done, what has not, and what to look at next.
This article is educational and not medical advice. SIBO diagnosis and treatment require professional guidance for proper testing and protocol management.
When to Seek Professional Help
Seek help if:
- Bloating and insomnia coexist, especially if both appeared around the same time
- Bloating, gas, or discomfort reliably worsens in the evening and disrupts sleep
- Food sensitivities are multiplying
- Previous SIBO treatment cleared the overgrowth but it returned
- You have histamine symptoms (congestion, flushing, itching) that worsen at night
- You have both digestive symptoms and signs of sleep apnea (snoring, gasping, daytime sleepiness)
- Sleep hasn’t improved despite addressing standard sleep factors
Frequently Asked Questions
Can SIBO cause insomnia?
Yes, both directly and through documented correlations. Directly, the bloating, cramping, gas, and reflux make it physically hard to fall and stay asleep, especially since symptoms often peak in the evening. Beyond that, SIBO disrupts sleep by impairing serotonin and melatonin production, driving systemic inflammation, producing excess histamine (a wake-promoting neurotransmitter), depleting sleep-critical nutrients, and irritating the vagus nerve with chronic gut distress. A case-control study found SIBO positivity significantly correlated with poorer scores on a validated sleep-quality measure.
Why is SIBO bloating worse at night?
Bacterial fermentation of food in the small intestine produces gas throughout the day, so bloating and distension accumulate and peak by evening, right when you’re trying to fall asleep. Lying flat can also worsen reflux, which is common alongside SIBO, adding a second night-time symptom. This timing is part of why SIBO and sleep problems are so often reported together.
Can SIBO cause fatigue and brain fog?
Yes. Nutrient malabsorption (B12, iron, magnesium), systemic inflammation, and impaired serotonin production all contribute to the fatigue and cognitive dysfunction that SIBO patients commonly experience alongside their digestive symptoms. Validated SIBO symptom scales include tiredness as a core symptom.
Is there a link between SIBO and sleep apnea?
There appears to be. A study of patients with untreated obstructive sleep apnea found that around 31 percent tested positive for SIBO on breath testing. The direction isn’t fully settled, but the overlap means both are worth evaluating together if either is suspected.
How is SIBO diagnosed?
A lactulose or glucose breath test measures hydrogen and methane gas production after a sugar solution. Elevated levels indicate bacterial overgrowth, and the gas pattern indicates which type. Newer tests can also detect hydrogen sulphide. The test is non-invasive and typically takes 2–3 hours.
Does treating SIBO improve sleep?
In many cases, yes. Eliminating the bacterial overgrowth reduces inflammation, restores serotonin metabolism, lowers histamine production, allows nutrient absorption to recover, and removes the night-time bloating and reflux that were waking you. Sleep improvement often follows within weeks of successful treatment.
Why does SIBO keep coming back?
SIBO recurs when the underlying motility problem isn’t addressed. The migrating motor complex (MMC), the “cleaning wave” that keeps the small intestine clear, needs to be restored through prokinetic agents, proper meal spacing, and management of stress or other factors that impaired it. If a prior infection, low stomach acid, or a structural issue set it up, that needs addressing too.
When to Work With a Sleep Consultant
If bloating and insomnia are your nightly companions, SIBO is a connection worth investigating. It’s one of the most common gut conditions, one of the most underdiagnosed, and one of the most directly connected to the sleep chemistry your body depends on. When bloating and poor sleep show up together, night after night, that’s a pattern worth investigating properly rather than treating as two unrelated problems.
Riley Jarvis at The Sleep Consultant works with executives and high performers to uncover the root biological causes behind chronic sleep issues and build personalised protocols that address every layer, not just the symptoms.
Book a free 30-minute sleep assessment
References
- SIBO, GERD, sleep quality (PSQI) and anxiety: a case-control study (2025)
- Breath hydrogen/methane (SIBO) in untreated obstructive sleep apnea
- Serotonin pathway of tryptophan metabolism in small intestinal bacterial overgrowth, J Clin Med (2021)
- Antimicrobial treatment improves tryptophan metabolism and mood in SIBO patients
- A meta-analysis on small intestinal bacterial overgrowth in patients with IBS
- Sleep dysfunction and gastrointestinal diseases, including IBS and SIBO
- Content validation of a daily patient-reported outcome measure for SIBO symptoms







