
IBS at night is common. More than 1 in 3 people with IBS have a sleep problem, and poor sleep predicts more pain the next day. Late, heavy or fatty dinners, alcohol, reflux and stress are common causes. Eat a lighter, low FODMAP dinner at least 3 hours before bed and keep a steady sleep routine.
In this article
- Why is IBS worse at night?
- Does poor sleep make IBS worse?
- Can bad sleep raise your risk of IBS?
- What does the gut-brain link have to do with night symptoms?
- Is it heartburn or IBS that wakes me up?
- What can I do tonight to ease IBS at night?
- What helps if I cannot sleep because of IBS?
- Does melatonin help IBS?
- Could sleep apnoea be making my IBS worse?
- When are night-time symptoms a warning sign?
- Frequently asked questions
- What I want you to remember
More than 1 in 3 people with IBS also have a sleep problem. A 2018 review of 36 studies and 63,620 people put the figure at 37.6%. People with IBS had about 2.6 times the odds of a sleep disorder compared with people without it.
If IBS at night keeps you awake, you are far from alone. Bloating, cramps, heartburn or a racing mind can all break your sleep. Then a poor night can make the next day’s gut worse. Here is why it happens and the steps that help most.
Why is IBS worse at night?
IBS often feels worse at night because of what and when you eat. Your gut also runs on a body clock, and the quiet makes you notice every gurgle. Stress from the day can also catch up with you once you lie down.
Your gut follows a daily rhythm. A 2026 review explains that gut movement is set by a master clock in the brain and smaller clocks in the gut itself. When those clocks fall out of step, symptoms of IBS can get worse. Women seem more sensitive to this.
Eating also wakes up the bowel. A 2026 review of the gastrocolonic response found that the colon starts to move within minutes of a meal. This lasts for 30 to 120 minutes, and fat is an important trigger. A big, rich dinner late in the evening can keep your gut busy just as you try to sleep.
Does poor sleep make IBS worse?
Yes, and the research suggests that sleep comes first. In a 2024 study of 80 people with IBS, participants logged their symptoms on a phone 10 times a day for a week. Poor sleep quality predicted more belly pain and lower gut symptoms the next day.
The reverse was not true. A bad gut day did not predict a worse night. About 82% of that group screened positive for a sleep disorder, most often insomnia.
Interestingly, sleep measured by a wrist tracker did not predict symptoms. How rested people felt seemed to matter more than the numbers. A smaller 2014 study of 24 women with IBS found the same pattern. Poor self-reported sleep predicted next-day pain, anxiety and tiredness.
In a 2026 French study of 700 people with IBS, 38.6% had insomnia. Those with insomnia had more severe gut symptoms, more anxiety and low mood. This type of study cannot show which came first.
Can bad sleep raise your risk of IBS?
It might. A UK Biobank study followed 302,839 adults for a median of 12 years. Each extra point on a healthy sleep score was linked to a 19% lower risk of developing IBS.
A healthy sleep score meant sleeping 7 to 8 hours and being an early riser. It also meant rarely having insomnia, not snoring and not feeling very sleepy in the day. About a third of the link seemed to run through mental health. Sleep was self-reported, so the results show a link, not proof.
Shift work may matter less than sleep itself. In a 2026 study of 1,335 Norwegian nurses, IBS was twice as common in those with insomnia, at 9.7% against 4.8%. Working nights was not linked to IBS in that group.
What does the gut-brain link have to do with night symptoms?
A lot. I strongly believe the gut and brain work as one system, and sleep is where you feel that most. A tired brain turns up the volume on gut signals, so normal gas and movement can feel painful.
A 2025 review of 18 studies found that people with IBS reported more tiredness and poorer sleep than people with inflammatory bowel disease. The worse the gut symptoms, the worse the sleep. My guide to the gut-brain axis explains this two-way line, and IBS and anxiety covers the worry loop that often keeps people awake.
Is it heartburn or IBS that wakes me up?
It may be both. A 2012 review of 13 studies with 49,939 people found reflux symptoms in 42% of people with IBS. People with IBS had about 4 times the odds of reflux symptoms.
Burning in the chest or a sour taste when you lie down points to reflux. Cramps, gas and an urge to open your bowels point more to IBS. Timing of dinner helps with reflux. A 2007 trial tested this in 30 people with reflux. A meal 2 hours before bed caused more acid reflux while lying down than the same meal 6 hours before bed.
What can I do tonight to ease IBS at night?
Start with dinner and your wind-down routine. Research on sleep, reflux and gut rhythm supports these steps.
- Eat dinner earlier. Aim to finish at least 3 hours before bed. If you sleep at 11 pm, eat by 8 pm.
- Keep dinner moderate and lower in fat. Monash notes that high-fat meals slow the gut and can cause fullness and bloating. Try grilled fish or chicken with rice and cooked carrots or zucchini.
- Keep the evening meal low FODMAP. Swap onion and garlic for garlic-infused oil and chives. My complete IBS diet guide lists safe swaps.
- Limit alcohol and late caffeine. A 2025 review of 27 studies found that even about 2 standard drinks reduced deep dream sleep. My guide to IBS and alcohol explains which drinks are gentler.
- Take a short walk after dinner. A 2026 review notes that exercise may help line up the gut’s clock. My guide to exercise for IBS has gentle options.
- Keep the same wake-up time. A steady rhythm helps both the brain clock and the gut clock.
- Calm your nervous system. Try slow breathing in bed. The Breathe With Me game guides you through it in a few minutes.
For cramps, a warm heat pack on your belly can feel soothing. If you are still awake after about 20 minutes, get up and do something calm in dim light until you feel sleepy.
What helps if I cannot sleep because of IBS?
Treating the insomnia itself can help your gut. Cognitive behavioural therapy for insomnia, called CBT-I, is the best-studied option. A 2025 review of 67 trials with 5,232 people with long-term conditions, including IBS, found it greatly improved insomnia.
In a 2022 trial, 60 college students with IBS and insomnia had 4 weekly CBT-I sessions of 90 minutes or no therapy. The CBT-I group slept better and had less severe IBS. They also had fewer gut symptoms during sleep. CBT-I is available in person, online and through apps.
Gut-directed hypnotherapy is another option that calms the gut-brain link. My guide to hypnotherapy for IBS explains what to expect.
Does melatonin help IBS?
It may help IBS symptoms, but not as a sleeping pill. A 2026 review pooled 7 trials with 391 adults with IBS. Melatonin roughly halved the chance of moderate to severe symptoms and eased pain frequency compared with a placebo.
Oddly, it did not clearly improve overall sleep quality. The trials were small and short, and side effects were mild. Melatonin rules differ by country, so speak to your doctor first, especially if you are pregnant, take other medicines or have epilepsy.
Could sleep apnoea be making my IBS worse?
It could, if you snore loudly or wake up gasping. In a 2025 Chinese study of 582 patients, more severe sleep apnoea and low oxygen at night were linked to a higher risk of IBS.
People with both conditions who used a CPAP breathing machine had milder IBS after 3 and 6 months. This was one study without a comparison group for the CPAP part. Still, loud snoring and daytime sleepiness are worth checking with your doctor.
When are night-time symptoms a warning sign?
Diarrhoea that wakes you from sleep is not typical of IBS and needs a check with your doctor. So does night pain with weight loss, fever or blood in your stool. These can point to inflammation or another cause.
Losing weight without trying, such as 3 kg (about 7 lb) or more, also needs a check. My guide to IBS vs IBD explains the differences and the signs you should never ignore.
Frequently asked questions
Why does my IBS wake me up at 3 am?
Night waking is often linked to a late or heavy dinner, alcohol, stress or reflux. Waking itself can also make you more aware of normal gut movement. If diarrhoea is what wakes you, please see a doctor, because that is not typical of IBS.
What is the best sleeping position for IBS?
There is no proven best position for IBS. Choose the position that feels most comfortable for you. If reflux wakes you, raising the head of your bed and eating dinner earlier may help. Ask your doctor if heartburn keeps coming back.
What should I eat for dinner with IBS?
Choose a moderate, low FODMAP meal that is not too fatty. Try fish, chicken, eggs or firm tofu with rice, potatoes or quinoa and cooked vegetables. Try to finish it at least 3 hours before bed.
Can a snack before bed help IBS?
A small snack is fine if you are truly hungry, but a big one can wake up the gut. A few rice crackers, a firm banana or a small lactose-free yogurt are gentle choices. My low FODMAP snacks guide has more ideas.
What I want you to remember
IBS at night is common, and poor sleep can make the next day worse. Eat a moderate, low FODMAP dinner at least 3 hours before bed, limit late alcohol and caffeine, and keep a steady wake-up time. If insomnia keeps going, ask about CBT-I.
Never ignore diarrhoea that wakes you, blood or weight loss. For more help with sleep, read my guide on how to sleep better. Then join my free 30-Day Calm Gut Challenge for daily calm-gut habits.
Sources
- Wang B, et al. Prevalence of sleep disorder in irritable bowel syndrome. A systematic review with meta-analysis. Saudi Journal of Gastroenterology, 2018
- Topan R, et al. Poor subjective sleep quality predicts symptoms in irritable bowel syndrome using the experience sampling method. American Journal of Gastroenterology, 2024
- Buchanan DT, et al. Sleep measures predict next-day symptoms in women with irritable bowel syndrome. Journal of Clinical Sleep Medicine, 2014
- Albert E, et al. Insomnia, a comorbidity to take into account in the global management of patients with irritable bowel syndrome? Neurogastroenterology and Motility, 2026
- Liu M, et al. Healthy sleep, mental health, genetic susceptibility, and risk of irritable bowel syndrome. Journal of Affective Disorders, 2023
- Waage S, et al. Irritable bowel syndrome among Norwegian nurses. Associations with insomnia, excessive sleepiness, shift work disorder and shift work schedule. BMC Nursing, 2026
- Fowler S, et al. Sleep disturbances, fatigue and immune markers in the irritable bowel syndrome and inflammatory bowel disease, a systematic review. Neurogastroenterology and Motility, 2025
- Babu SR, et al. Circadian regulation of gastrointestinal motility and the effect on disorders of gut-brain interaction. Journal of Smooth Muscle Research, 2026
- Shibata C, et al. Role of neural and humoral mediators in the gastrocolonic response. Journal of Smooth Muscle Research, 2026
- Lovell RM, Ford AC. Prevalence of gastro-esophageal reflux-type symptoms in individuals with irritable bowel syndrome in the community. A meta-analysis. American Journal of Gastroenterology, 2012
- Piesman M, et al. Nocturnal reflux episodes following the administration of a standardized meal. Does timing matter? American Journal of Gastroenterology, 2007
- Gardiner C, et al. The effect of alcohol on subsequent sleep in healthy adults. A systematic review and meta-analysis. Sleep Medicine Reviews, 2025
- Scott AJ, et al. Cognitive behavioral therapy for insomnia in people with chronic disease. A systematic review and meta-analysis. JAMA Internal Medicine, 2025
- Yang YY, Jun S. The effects of cognitive behavioral therapy for insomnia among college students with irritable bowel syndrome. A randomized controlled trial. International Journal of Environmental Research and Public Health, 2022
- Mahdi GA, et al. Melatonin supplementation in the management of irritable bowel syndrome. An updated systematic review and meta-analysis. Journal of Gastroenterology and Hepatology, 2026
- Wu G, et al. Evaluating the impact of obstructive sleep apnea-hypopnea syndrome on irritable bowel syndrome. Sleep Medicine, 2025
- Swiney C. Non-FODMAP dietary triggers of IBS symptoms. Monash University FODMAP blog, 2024
- Lacy BE, et al. ACG clinical guideline. Management of irritable bowel syndrome. American Journal of Gastroenterology, 2021
- Vasant DH, et al. British Society of Gastroenterology guidelines on the management of irritable bowel syndrome. Gut, 2021
This article shares general information. It is not a diagnosis or a treatment plan. Please talk to your own doctor before you change your diet, medicines or supplements.