clairop

IBS and Depression: The Link and What Helps

About 1 in 4 people with IBS has depression, and the link runs both ways. What causes what, why doctors prescribe antidepressants for IBS, and what helps.

Clairop Team31 min read

Photo: Zetong Li / Unsplash

The short answer

IBS and depression often travel together: pooled studies put depressive disorders at about 23% of people with IBS, roughly three times the odds of people without it. In a population study, gut symptoms came first in about two-thirds of people and mood first in one-third. In the largest trial, low-dose amitriptyline improved IBS symptoms but did not shift depression scores.

IBS and depression are strongly linked: about one in four people with IBS has a depressive disorder, roughly three times the odds of people without IBS. The link runs in both directions. For most people the gut problems seem to come first and the low mood follows, but for a sizeable minority it is the other way round, and genetic studies suggest the two share some biology. The practical upshot is that both deserve treatment, and treating one does not automatically treat the other.

This article is for the person who has had IBS for years, has noticed the joy draining out of life, and wants to know whether that is "just" the IBS, whether it is real depression, and why a doctor reached for an antidepressant when the problem seemed to be in the bowel. It is built on the research, with every number checked against the paper it came from, and on the questions people actually ask in r/ibs.

Yes. A 2019 meta-analysis of 73 studies found depressive disorders in 23.3% of people with IBS and depressive symptoms in 28.8%, with about three times the odds of healthy controls. A 2023 expert review summarises it as up to one-third of people with IBS also having anxiety or depression.

The biggest pooled estimate comes from Zamani and colleagues, who screened nearly 15,000 papers and included 73. Depressive symptoms (a raised score on a questionnaire) were found in 28.8% of people with IBS, and depressive disorders (meeting diagnostic criteria) in 23.3%. Compared with healthy people, the odds were 3.04 times higher for symptoms and 2.72 times higher for disorders. Anxiety was even more common: anxiety symptoms in 39.1% and anxiety disorders in 23% (Zamani 2019). That is why the search phrase "IBS and depression and anxiety" is so common: many people have all three.

A 2023 review by gastroenterology, nutrition and psychology researchers puts the practical figure at up to one-third, and makes a point that matters for anyone deciding where to spend their energy: gut symptoms and psychological symptoms both drive how often people seek care, but psychological comorbidity "seems to be more important" for long-term quality of life (Staudacher 2023). In other words, if your bowels improve but your mood does not, life may not feel much better.

An earlier meta-analysis of ten case-control studies, 885 people with IBS and 1,384 healthy controls, also found higher depression scores in IBS (Fond 2014). One detail in it is worth knowing if you read it yourself: the abstract gives the anxiety effect size as 0.76 with a 95% confidence interval of 0.47 to 0.69. A confidence interval cannot end below its own point estimate, so one of those numbers is a typo. We could not check the full text to see which. The depression result (0.80, 95% CI 0.42 to 1.19) is internally consistent.

What the "1.2 million IBS patients" figure actually counts

At least one page ranking for this topic repeats that a 2023 study of more than 1.2 million IBS patients found 38% had anxiety and 27% depression. The paper is real, but it counted 1,256,325 hospitalisations with an IBS diagnosis in a US national inpatient database, not 1.2 million people with IBS (Tarar 2023). People admitted to hospital are sicker than people with IBS in general, and one person can be admitted more than once, so those percentages describe inpatients, not the typical reader of this page.

The same abstract has two copying errors that are worth flagging. It gives depression as 27.4% of the IBS admissions, then in the comparison with the general population lists depression as "38.1% vs. 15.1%", which are exactly the anxiety figures from the line before. It also lists suicidal attempt or ideation as "3.22% vs. 2.38%", and 2.38% is the general-population figure it had just given for bipolar disorder. The adjusted odds ratios (2.88 for anxiety, 2.16 for depression, 1.94 for suicidal attempt or ideation) are the more trustworthy summary. We are flagging this rather than guessing what the intended numbers were.

Can IBS cause depression?

IBS can contribute to depression. In a one-year population study, people who had IBS but normal mood at the start reported significantly more depression a year later, and the researchers estimated that gut symptoms came before mood problems in about two-thirds of cases. Pain, unpredictability, isolation and slow diagnosis are the plausible routes.

The cleanest evidence comes from two prospective studies by the same Australian group, which followed random population samples over time rather than recruiting from clinics. In the more recent one, 1,900 people from Newcastle, Australia, completed surveys a year apart. Among people who did not have raised anxiety or depression at the start, those who already had IBS reported significantly more depression a year later than those who did not. The authors calculated that in one-third of people a mood disorder came first, but in two-thirds the gut disorder came first (Koloski 2016). That study received funding from Janssen, a pharmaceutical company, according to its Europe PMC grant record.

An earlier 12-year follow-up of the same kind of population sample found the same pattern: people with a functional gut disorder but normal mood at baseline had higher anxiety and depression scores 12 years later (Koloski 2012).

What does "gut first" look like in a real life? The original poster in one of the most-discussed r/ibs threads on this topic described fifteen years of IBS-D slowly turning an active, social person into someone who was nearly housebound, partly because going out was a hassle and partly because they had stopped caring (r/ibs thread). Replies described the same arc: years of pain, many doctors, many medicines, and a gradual loss of enjoyment. The 2023 review lists the mechanics behind that arc: work impairment, lost social life and travel, stigma from people who do not understand the condition, and the finding that delays in diagnosis and effective treatment can bring on or worsen anxiety and depression (Staudacher 2023).

If avoidance of going out is a big part of your picture, our article on IBS anxiety about leaving the house covers the avoidance loop and the graded-exposure approach in detail.

Can depression cause IBS?

Depression can come first, and in population studies it predicts developing IBS. But "depression causes IBS" is too simple. The best genetic study found that IBS and depression share genes involved in the nervous system, which points to a common root rather than one condition straightforwardly causing the other.

In the one-year Australian study, higher depression scores at the start predicted developing IBS by the follow-up (Koloski 2016). The longer 12-year study was more mixed: among people free of any gut disorder at the start, anxiety predicted developing one but depression did not, although within IBS specifically both anxiety and depression at baseline predicted having IBS at follow-up (Koloski 2012). So the two studies do not fully agree about depression as a starting point.

Two 2024 Mendelian randomisation studies, which use genetic variants as a kind of natural experiment, both concluded that depression may be a cause of IBS. Read the numbers, though. One reported an odds ratio of 1.356 using Finnish data but 1.011 using UK Biobank data, and described these as "the same finding" (Zhu 2024). The other also used UK Biobank IBS data and found an odds ratio of 1.01 (Sun 2024). A 1% change in odds is statistically detectable in a huge dataset, but it is tiny, and two analyses drawing on the same UK Biobank cases are not independent confirmation. The second paper's abstract also says its reverse analysis found no link between "IBD" and depression, which appears to be a typo for IBS.

The largest genetic study of IBS reached a different conclusion. It analysed 53,400 people with IBS and more than 433,000 controls, then replicated its findings in a 23andMe panel. It found six genetic regions linked to IBS, four of which involve genes associated with mood and anxiety disorders or expressed in the nervous system. The genetic correlation between IBS and depression was above 0.5, and further analyses suggested this "arises due to shared pathogenic pathways rather than, for example, anxiety causing abdominal symptoms" (Eijsbouts 2021).

Put together, the honest summary is: both directions exist, and some of the overlap seems to come from shared biology. One r/ibs commenter wrote that "experts say depression causes IBS" (r/ibs thread). That is not what the evidence says.

Why do IBS and depression go together?

IBS is now classed as a disorder of gut-brain interaction: the gut and brain constantly exchange signals about pain, movement and threat. Depression, pain sensitivity, sleep, stress and shared genes all act on that same two-way line, so a problem at one end tends to show up at the other.

The British Society of Gastroenterology recommends that doctors explain IBS to patients in exactly these terms: a disorder of gut-brain interaction, with a simple account of the gut-brain axis and how it is affected by diet, stress, thoughts, behaviour, emotional responses to symptoms, and changes after an infection (Vasant 2021). The Rome Foundation uses the same name, and its working team on medicines notes that drugs acting on the central nervous system are increasingly used for these conditions precisely because the problem involves how signals are processed, not only what is happening in the bowel (Drossman 2018).

The stress side of this, including how acute stress changes gut sensitivity and the HPA hormone axis, is covered in our article on whether stress can cause an IBS flare-up, so we will not rebuild it here. Two other overlaps matter specifically for depression:

  • Fatigue. Tiredness is a core symptom of depression and also common in IBS for reasons that have nothing to do with mood. Our article on whether IBS makes you tired goes through the evidence.
  • Sleep. Poor sleep worsens both. The next-day effects of a short night on IBS are covered in does lack of sleep make IBS worse.

Is IBS-C or IBS-D more linked to depression?

The studies disagree. One meta-analysis found depression significantly raised only in IBS-D. A later network meta-analysis found the highest depression prevalence in IBS-C, at 38%, and the highest symptom levels in IBS-M, but no significant difference between subtypes. All three main subtypes carried more depression than healthy controls.

The 2014 meta-analysis found significantly higher depression scores only in IBS-D, but noted the other subtypes showed a trend in the same direction and that it probably lacked the power to detect them (Fond 2014). A larger 2021 network meta-analysis of 18 studies and 7,095 participants found IBS-M, IBS-C and IBS-D all had significantly higher depression levels than healthy controls, while IBS-U did not. It found no significant difference between the subtypes themselves, ranked IBS-M highest for depression symptom levels, and found IBS-C had the highest prevalence of depression at 38% (Hu 2021).

So if you searched "IBS-C and depression" or "IBS-D and depression", the fair answer is that your subtype does not protect you and does not doom you. If you are unsure which subtype you have, our guide to the difference between IBS-D and IBS-C explains how it is decided.

Is it IBS or depression? How to tell them apart

Low mood during a bad flare is understandable and usually lifts when the gut settles. Depression is different: low mood or loss of interest on most days for at least two weeks, often on good gut days too. Because fatigue, sleep and appetite change are both depression symptoms and IBS effects, a questionnaire alone can overcount.

The most widely used depression screen, the PHQ-9, scores each of the nine DSM-IV criteria for depression from "not at all" to "nearly every day". A score of 10 or more had 88% sensitivity and 88% specificity for major depression against a structured interview, and scores of 5, 10, 15 and 20 mark mild, moderate, moderately severe and severe (Kroenke 2001). That validation was done in primary care and obstetrics clinics, not in IBS.

The BSG guideline suggests clinicians screen for anxiety and depression in IBS using simple questionnaires such as the GAD-7 and PHQ-9, and discuss a referral to mental health services if mood seems to be the key issue. It also notes that IBS symptoms are "inherently distressing", so anxiety and depression symptoms in IBS often do not reach the level of a psychiatric diagnosis (Vasant 2021). The 2023 review adds that most such tools have not been validated specifically in IBS but can show when a fuller assessment is needed (Staudacher 2023).

Some practical signals that point toward depression rather than an ordinary bad patch:

SignMore likely a hard IBS stretchMore likely depression as well
Mood on good gut daysLifts noticeablyStays flat or low
Loss of interestIn things that depend on your gut (travel, meals out)In things your gut does not affect (music, games, calls with friends)
DurationTracks the flareMost days for two weeks or more
Thoughts about yourselfFrustration at the conditionWorthlessness, guilt, being a burden
Hopelessness"This week is awful""Nothing will ever get better"

The second row is the one many r/ibs posters describe without naming it. One wrote that IBS had "broken my spirit"; another reply described still feeling numb after finding a way to get out of the house (r/ibs thread). Loss of pleasure in things that have nothing to do with your gut is worth taking to a doctor in its own right.

There is a free self-check for the anxiety half of this, our IBS anxiety check, which uses the GAD-7. A questionnaire result is a starting point for a conversation, not a diagnosis.

Why did my doctor prescribe an antidepressant for IBS?

Because some antidepressants change how the gut and brain process pain and bowel signals, at doses lower than those used for depression. UK guidelines call them gut-brain neuromodulators and recommend tricyclics as a second-line IBS treatment. A prescription like this is not your doctor deciding your IBS is "all in your head" or that you are depressed.

This is the question behind one of the biggest r/ibs threads on the topic, with 291 comments, from someone newly diagnosed who had been prescribed a pill that looked like an antidepressant and did not feel depressed (r/ibs thread). The top replies explained that these drugs are used at lower doses for pain, including nerve pain and migraine. That matches the guidelines.

The BSG recommends tricyclic antidepressants "used as gut-brain neuromodulators" as an effective second-line treatment for global symptoms and abdominal pain in IBS (strong recommendation, moderate quality evidence), and SSRIs as possibly effective for global symptoms (weak recommendation, low quality evidence). It says the reason for using them must be carefully explained, that the tricyclic dose is lower than the dose used for common mental disorders, that they are usually taken in the evening because they cause drowsiness, and that side effects such as drowsiness tend to ease after the first week or two (Vasant 2021). We are deliberately not repeating doses here: how much, how fast and for how long is your prescriber's call.

The label tells the same story from the other side. The US prescribing information for amitriptyline lists one indication, relief of the symptoms of depression (DailyMed 2026). So in the US, using it for IBS is an off-label use, which is common and legitimate, and is why the leaflet in the box talks about depression even though you were given it for your bowels.

The trial that settles the "but I'm not depressed" question

ATLANTIS is the largest trial of a tricyclic in IBS. It randomised 463 adults in 55 English general practices, whose IBS had not responded to first-line treatment, to low-dose amitriptyline or placebo for six months, with participants adjusting their own dose within a set range. Amitriptyline was better than placebo on the IBS Severity Scoring System (a 27-point greater fall, 95% CI 7.1 to 46.9) and on the global relief question (Ford 2023). People with suicidal ideation were excluded, so the trial does not speak for that group.

The detail that answers the Reddit question sits in the full report: amitriptyline improved a range of IBS symptom measures "but had no impact on somatoform symptom-reporting, anxiety, depression, or work and social adjustment scores" (Wright-Hughes 2024). At IBS doses, then, it worked on the gut and not on mood. The trial team concluded that guidance should help GPs and patients tell amitriptyline for IBS apart from its use as an antidepressant.

The trade-offs are real. In ATLANTIS, 13% of people stopped amitriptyline because of adverse events, against 9% on placebo, though most adverse events were mild (Ford 2023). Across trials, side effects were more common with tricyclics and SSRIs than placebo, with drowsiness and dry mouth the most frequent (Vasant 2021). The Reddit thread shows the full range of experience, from people who say it transformed their days to people who stopped because of side effects or felt it faded over time. That is a reason to report how it is going to your prescriber, not to stop or adjust it on your own.

One safety point applies whatever the reason for the prescription. The US label carries a boxed warning that antidepressants increased the risk of suicidal thoughts and behaviour compared with placebo in children, adolescents and young adults in short-term studies, with no increase seen in adults over 24 and a reduction in adults 65 and over (DailyMed 2026). If you are young and your mood changes after starting one, tell your prescriber promptly.

Clairop logs meals, symptoms and stool in seconds, then looks for the foods your gut reacts to, including reactions that land days later.

One email when Clairop launches. No spam, and you can unsubscribe any time.

Can treating depression improve IBS, or treating IBS improve depression?

Sometimes, but not reliably in either direction. Antidepressants and psychological therapies both improve IBS symptoms in trials. IBS-specific CBT also improved combined anxiety-and-depression distress in a large trial. But low-dose amitriptyline helped the gut without changing mood, so a single treatment rarely covers both problems.

Start with the pooled evidence. A meta-analysis of 53 randomised trials found the relative risk of IBS symptoms not improving was 0.66 with antidepressants versus placebo, and 0.69 with psychological therapies versus control, meaning roughly a third fewer people remained symptomatic. Tricyclics and SSRIs had similar effects, though the SSRI trials varied more. The authors cautioned that the psychological therapy trials had quality problems, including lack of blinding, and that their effects may be overestimated (Ford 2019).

Now the trials that looked at mood and gut separately:

  • Desipramine and CBT (2003). In 431 women with moderate to severe functional bowel disorders, CBT beat education (70% vs 37% responders). The tricyclic desipramine did not beat placebo in the main analysis (60% vs 47%), though it did among people who took it properly. In the subgroup analysis, desipramine helped more in people without depression, and CBT helped in every subgroup except depression (Drossman 2003). That is an old trial with subgroups that need cautious reading, but it fits ATLANTIS: gut-targeted treatment and depression treatment are not the same thing.
  • ACTIB (2019). In 558 adults with refractory IBS, telephone CBT and web-based CBT both reduced IBS symptom scores compared with usual care at 12 months. Combined anxiety-and-depression distress on the Hospital Anxiety and Depression Scale also fell further in both CBT groups, to a mean of 12.2 and 12.7 compared with 15.0 with usual care (Everitt 2019). At baseline, 28% of participants met the trial's threshold for probable depression and about half for probable anxiety. The trial was publicly funded by the UK National Institute for Health Research.

The BSG guideline draws the distinction clearly: IBS-specific psychological therapies target brain-gut symptom mechanisms, not mood, and should be viewed as ways of managing IBS rather than as psychotherapy. It says these therapies should not be limited to people with psychological problems, and that referral to a mental health service makes sense if mood is the key issue (Vasant 2021). The 2023 review's treatment table suggests low-dose tricyclics as the first-choice neuromodulator for gut symptoms, but SSRIs when a mood disorder is present as well (Staudacher 2023). The Rome working team recommends adding a second treatment when one medicine is not enough or causes side effects, and continuing successful treatment for 6 to 12 months to help prevent relapse (Drossman 2018); the 2023 review adds that combining these medicines belongs under specialist guidance. Those are frameworks for your doctor, not instructions to change anything yourself.

Gut-directed hypnotherapy is the other brain-gut therapy with an IBS trial base. Its evidence, access and limits are covered in our article on whether gut-directed hypnotherapy works for IBS.

Should you try a low FODMAP diet if you are depressed?

Be cautious. A 2023 expert review recommends avoiding the full low FODMAP diet in people with moderate to severe anxiety or depression, because there is limited evidence it helps mood and the diet is demanding. A gentler, partial version may suit some people, though it has not been tested in trials.

The review notes that no low FODMAP trial has used a psychological threshold to decide who could enrol, and that where mood improved in trials, it did not improve more than in the control groups. Given that and "the complexity of the diet", it recommends avoiding the full approach in people with moderate to severe anxiety or depression. Instead it describes a "gentle" or "bottom-up" approach that restricts only selected FODMAP groups, which it says is used routinely in practice but has not been tested in trials. For people whose psychological symptoms predominate, it suggests a Mediterranean-style diet can be considered (Staudacher 2023).

That fits what many people describe. One r/ibs reply came from someone who had done the low FODMAP diet and ended up with "a zillion things I can't eat", which they found depressing in itself (r/ibs thread). Low FODMAP is meant to be a short, structured elimination followed by reintroduction, ideally with a dietitian, never a permanent way of eating. If you want the basics, our explainer on what FODMAP stands for is the place to start. The review also flags disordered eating as something that interacts with both IBS and mood (Staudacher 2023), which is another reason to do any restriction with professional support if your mood is low.

Do probiotics or exercise help IBS and depression?

The probiotic evidence is a single small pilot trial with industry authors. Exercise has better support for gut symptoms, from a randomised trial, while its mood benefit comes from an uncontrolled follow-up. Neither should replace treatment for depression.

Probiotics. One trial randomised 44 adults with IBS-D or IBS-M and mild to moderate anxiety or depression to a specific Bifidobacterium longum strain or placebo for six weeks. Depression scores fell by at least two points in 14 of 22 people on the probiotic versus 7 of 22 on placebo. It had no significant effect on anxiety or on IBS symptoms (Pinto-Sanchez 2017). Four of the authors were affiliated with Nestle research institutions, and we could not read a conflict-of-interest statement for the paper. A pilot of 44 people with industry co-authors is a reason for a bigger trial, not for buying a supplement.

Exercise. In a randomised trial, 102 people with IBS were assigned either to increase physical activity with a physiotherapist's guidance or to keep their usual lifestyle. Among those who completed it, IBS severity scores fell by a median of 51 points with more activity versus 5 points in the control group, and fewer people in the activity group got worse (Johannesson 2011). A follow-up about five years later, in 39 of the original participants, found IBS symptoms, fatigue, depression and anxiety all improved compared with their baseline (Johannesson 2015). That follow-up had no control group and lost about half the eligible participants, so it shows the improvement lasted in those who returned, not that exercise caused it. The BSG still recommends regular exercise for everyone with IBS (Vasant 2021), and our article on exercise and IBS flare-ups covers how to do it without triggering symptoms.

Several r/ibs replies made the same practical point: solo activities you can plan around toilets, like walking or cycling routes past parks with public facilities, kept them moving when group activities felt impossible (r/ibs thread). That is lived experience, not evidence, but it is a sensible way to make the trial finding usable.

IBS, hopelessness and suicidal thoughts

Hopelessness in severe IBS is more common than most people expect. In one hospital study, 38% of people attending a specialist IBS clinic had seriously considered suicide because of their bowel symptoms, compared with 4% of IBS patients in primary care. Depression did not explain all of it: hopelessness about symptoms and treatment did.

The study compared 100 people at each of four levels: specialist (tertiary) IBS care, hospital (secondary) IBS care, primary care IBS, and active inflammatory bowel disease. Asked specifically whether they had seriously contemplated or attempted suicide because of their bowel problem, 38% of the specialist IBS group said yes, against 16% in secondary care, 4% in primary care and 15% with IBD. The authors highlighted hopelessness from symptom severity, interference with life and inadequate treatment, and concluded that depression did not account for all of the variance (Miller 2004).

A systematic review found that people with IBS were two to four times more likely to show suicidal behaviour than controls, and that chronic abdominal pain predicted suicidal behaviour even after adjusting for psychiatric conditions. The authors recommended that clinicians ask about it (Spiegel 2007). The inpatient database study found adjusted odds of 1.94 for suicidal attempt or ideation among IBS admissions (Tarar 2023).

Two cautions about those numbers. The 38% comes from a specialist referral clinic, where the most severe and hardest-to-treat cases end up, so it does not describe IBS in general. And the primary care figure, 4%, is a reminder that most people with IBS do not reach that point. But if you are one of the people who has, you are not unusual and you are not overreacting. One r/ibs reply in 2026 described days of feeling they should end it because they could not imagine coping in old age (r/ibs thread). That is a medical emergency in the same way chest pain is.

How to talk to your doctor about IBS and depression

Say it plainly, separately from the bowel symptoms: "My IBS is affecting my mood, and I want that assessed too." Bring a few weeks of side-by-side notes on gut symptoms and mood, and say if you have lost interest in things or had thoughts of not wanting to be here.

Guidelines expect your doctor to ask about mood, but many appointments run out of time on bowel habit alone (Vasant 2021). A few things make the conversation more useful:

  1. Name both problems at the start. If mood comes up as an afterthought at the door, it tends to get a sentence of reassurance rather than a plan. Our guide on how to explain IBS to your doctor covers how to open the appointment.
  2. Bring numbers, not adjectives. A weekly gut score and a weekly mood score over a month say more than "it has been bad".
  3. Ask what the medicine is for. If you are offered a tricyclic or SSRI, ask whether it is aimed at gut pain, at mood, or at both, and how you will both judge whether it is working. ATLANTIS shows those can be different answers.
  4. Ask about IBS-specific CBT or gut-directed hypnotherapy, and separately about mental health support if depression is the main problem.
  5. Mention anything you are taking yourself, including cannabis, which several r/ibs posters describe using to cope (r/ibs thread), because it can interact with prescribed medicines and with mood.

If you are trying to decide whether you need a specialist at all, our article on whether to see a gastroenterologist for IBS walks through the referral decision. Clairop's one-page GI visit report summarises your bowel pattern, activity score, medication adherence and labs for that appointment; mood is still something to say out loud.

A worked example: tracking gut and mood side by side

Tracking both on the same page shows whether your mood follows your gut, runs on its own, or both. That pattern helps your doctor decide between a gut-focused plan, a mood-focused plan or both. Here is an illustrative example, not a real patient.

Imagine someone with IBS-M who has been offered a low-dose tricyclic. Before starting, they agree with their GP to rate two things every Sunday for eight weeks: their IBS severity score and a simple 0 to 10 mood rating, plus a yes or no for "did I enjoy anything this week that has nothing to do with my gut?".

After four weeks on treatment, the gut score has fallen noticeably, but the mood rating has barely moved and the "enjoyed anything" answer is still mostly no. That is exactly the pattern ATLANTIS would predict for a low-dose tricyclic: gut better, mood unchanged (Wright-Hughes 2024). It is not a reason to stop the medicine. It is a reason to go back and say "my bowels are better but I am still flat", which points toward a separate assessment of depression and treatment for it, whether that is talking therapy, a different medicine chosen by the prescriber, or both.

Now imagine the opposite pattern: mood lifts within a couple of weeks of the gut settling and dips again during the next flare. That suggests the low mood is mostly riding on the symptoms, and gut-directed treatment plus some support during flares may be enough. Most people sit somewhere between these two, and a few weeks of side-by-side records is the fastest way to find out which.

Keep the logging light. Our article on IBS and health anxiety explains how constant checking can feed worry, and the same applies here: once a week is enough for mood.

When to see a doctor promptly

See a doctor promptly for bleeding from the bottom, unexplained weight loss, fever, symptoms that wake you at night, new symptoms after 50, anaemia, or a family history of bowel cancer or IBD. For mood, seek help the same day if you have thoughts of suicide or self-harm.

Depression and IBS overlap so much that it is easy to put every new symptom down to one or the other. Some things are not IBS and not depression and need checking:

  • Gut red flags: blood in your stool, unexplained weight loss, fever, symptoms that wake you from sleep, a persistent change in bowel habit starting after age 50, iron deficiency anaemia, or a family history of bowel cancer, coeliac disease or IBD. See a doctor promptly. Our gut red flags checker lists them.
  • Mood red flags: thoughts that you would be better off dead or of hurting yourself, low mood most days for two weeks or more, losing interest in almost everything, or being unable to manage work, eating or basic self-care. Contact your doctor promptly, or use the crisis lines above if you feel unsafe.
  • Medicine changes: new agitation, worsening mood or suicidal thoughts after starting or changing an antidepressant, especially if you are under 25. Tell your prescriber promptly.

Myths about IBS and depression

"If the doctor prescribed an antidepressant, they think it is all in my head." The guideline name for these drugs at IBS doses is gut-brain neuromodulator, and in the largest trial the gut improved while mood scores did not change (Wright-Hughes 2024). The prescription is about how gut signals are processed.

"Depression causes IBS." Depression can come first, but in the population study gut symptoms came first for about two-thirds of people (Koloski 2016), and the largest genetic study points to shared biology rather than one-way causation (Eijsbouts 2021).

"Fix the gut and the mood will follow." Sometimes it does. But psychological comorbidity seems to matter more than gut symptoms for long-term quality of life (Staudacher 2023), and gut-targeted treatment did not shift mood in ATLANTIS. Depression deserves its own treatment.

"You should just think positive." CBT for IBS is not "positive thinking", and in the 2003 trial it helped every subgroup except the one with depression (Drossman 2003). Real depression needs real treatment.

"A probiotic will treat both." The best trial is a 44-person pilot with industry co-authors, and it did not improve IBS symptoms (Pinto-Sanchez 2017).

"One in four people with IBS are depressed, so I will be too." About three in four people with IBS do not have a depressive disorder (Zamani 2019). The link is common, not destiny.

The honest bottom line

IBS and depression are tied together by a two-way gut-brain line, shared biology, and the plain grind of living with symptoms that limit your life. The research says gut symptoms usually come first, that depression can come first too, and that treatments aimed at the gut, including antidepressants at IBS doses, do not reliably lift mood on their own.

So treat them as two problems that talk to each other. Tell your doctor about mood in plain words. Ask what any medicine is meant to target. Ask about IBS-specific CBT or hypnotherapy, and about mental health support if depression is the bigger weight. Keep a simple weekly record of gut and mood side by side. And if the hopelessness ever tips into thoughts of not wanting to be here, treat it as the emergency it is and reach out today.

Frequently asked questions

Can IBS cause depression?
It can contribute. In a one-year population study from Australia, people who had IBS but normal mood scores at the start reported more depression a year later, and the authors estimated that gut symptoms came first in about two-thirds of cases. Pain, unpredictability, cancelled plans and slow diagnosis are the likely routes. It is not inevitable, and it is treatable.
Can depression cause IBS symptoms?
Depression can come first. The same population study estimated that mood problems preceded gut symptoms in about one-third of people, and higher depression scores predicted developing IBS a year later. Genetic studies suggest IBS and depression share biological pathways, so 'depression causes IBS' is too simple. Both directions, and a shared root, appear to exist.
Are IBS and depression and anxiety linked?
Yes. A 2019 meta-analysis of 73 studies found depressive disorders in about 23% and anxiety disorders in about 23% of people with IBS, with around three times the odds of either compared with healthy people. Anxiety symptoms were more common than depressive symptoms (39% vs 29%). Many people have both.
Why did my doctor prescribe an antidepressant for IBS when I am not depressed?
Because some antidepressants act on how the gut and brain process pain and bowel signals, at doses lower than those used for depression. UK guidelines call them gut-brain neuromodulators and recommend tricyclics as a second-line IBS treatment. In the largest trial, low-dose amitriptyline improved IBS symptoms but did not change depression scores, which is exactly the point.
Can antidepressants help both IBS and depression at the same time?
Sometimes, but do not assume one prescription covers both. A review of the field suggests SSRIs may be preferred when a mood disorder is present, while low-dose tricyclics are the usual choice for gut pain. Low-dose amitriptyline did not improve mood scores in its large trial. Which medicine and dose suits you is a decision for your doctor.
Is IBS-C or IBS-D more linked to depression?
The studies disagree. One meta-analysis found depression significantly raised only in IBS-D, while a later network meta-analysis found the highest prevalence of depression in IBS-C (38%) and the highest symptom levels in IBS-M, with no significant difference between subtypes. All main subtypes carry raised depression compared with people without IBS.
Can an IBS flare-up cause depression?
A bad stretch can drag mood down, and people in r/ibs often describe flat, unmotivated weeks during flares. A short low patch is not the same as clinical depression, which means most days for at least two weeks. If low mood outlasts the flare, or you stop enjoying things even on good gut days, tell your doctor.
How do I cope with depression from IBS?
Treat both problems, not one. Tell your doctor about mood as well as bowels, ask about IBS-specific CBT or gut-directed hypnotherapy, keep some activity that does not depend on your gut, and track gut and mood side by side. If you have thoughts of harming yourself, call or text 988 in the US or Samaritans on 116 123 in the UK.
Can probiotics help IBS and depression?
The evidence is thin. One small pilot trial of 44 people found a specific probiotic strain reduced depression scores but did not improve IBS symptoms or anxiety, and four of its authors were affiliated with Nestle research institutions. That is a reason for more research, not a reason to buy a supplement.
Does exercise help IBS and depression?
It may help the gut, and that matters for mood. In a randomised trial of 102 people, increasing physical activity improved IBS symptom scores compared with keeping the same routine. A five-year follow-up of 39 participants found mood and fatigue also better than at baseline, but that follow-up had no control group, so it cannot prove exercise caused it.

Sources

  1. Zamani M, Alizadeh-Tabari S, Zamani V. Systematic review with meta-analysis: the prevalence of anxiety and depression in patients with irritable bowel syndrome. Aliment Pharmacol Ther. 2019;50(2):132-143. doi:10.1111/apt.15325
  2. Staudacher HM, Black CJ, Teasdale SB, Mikocka-Walus A, Keefer L. Irritable bowel syndrome and mental health comorbidity: approach to multidisciplinary management. Nat Rev Gastroenterol Hepatol. 2023;20(9):582-596. doi:10.1038/s41575-023-00794-z
  3. Fond G, Loundou A, Hamdani N, et al. Anxiety and depression comorbidities in irritable bowel syndrome (IBS): a systematic review and meta-analysis. Eur Arch Psychiatry Clin Neurosci. 2014;264(8):651-660. doi:10.1007/s00406-014-0502-z
  4. Tarar ZI, Farooq U, Zafar Y, et al. Burden of anxiety and depression among hospitalized patients with irritable bowel syndrome: a nationwide analysis. Ir J Med Sci. 2023;192(5):2159-2166. doi:10.1007/s11845-022-03258-6
  5. Koloski NA, Jones M, Talley NJ. Evidence that independent gut-to-brain and brain-to-gut pathways operate in the irritable bowel syndrome and functional dyspepsia: a 1-year population-based prospective study. Aliment Pharmacol Ther. 2016;44(6):592-600. doi:10.1111/apt.13738
  6. Koloski NA, Jones M, Kalantar J, et al. The brain-gut pathway in functional gastrointestinal disorders is bidirectional: a 12-year prospective population-based study. Gut. 2012;61(9):1284-1290. doi:10.1136/gutjnl-2011-300474
  7. Zhu R, Zhang N, Zhu H, Li F, Xu H. Major depressive disorder and the risk of irritable bowel syndrome: a Mendelian randomization study. Mol Genet Genomic Med. 2024;12(3):e2413. doi:10.1002/mgg3.2413
  8. Sun G, Jiang Y. Major depressive disorder and irritable bowel syndrome risk: a Mendelian randomization study. PLoS One. 2024;19(3):e0300251. doi:10.1371/journal.pone.0300251
  9. Eijsbouts C, Zheng T, Kennedy NA, et al. Genome-wide analysis of 53,400 people with irritable bowel syndrome highlights shared genetic pathways with mood and anxiety disorders. Nat Genet. 2021;53(11):1543-1552. doi:10.1038/s41588-021-00950-8
  10. Vasant DH, Paine PA, Black CJ, et al. British Society of Gastroenterology guidelines on the management of irritable bowel syndrome. Gut. 2021;70(7):1214-1240. doi:10.1136/gutjnl-2021-324598
  11. Drossman DA, Tack J, Ford AC, Szigethy E, Tornblom H, Van Oudenhove L. Neuromodulators for functional gastrointestinal disorders (disorders of gut-brain interaction): a Rome Foundation working team report. Gastroenterology. 2018;154(4):1140-1171.e1. doi:10.1053/j.gastro.2017.11.279
  12. Hu Z, Li M, Yao L, et al. The level and prevalence of depression and anxiety among patients with different subtypes of irritable bowel syndrome: a network meta-analysis. BMC Gastroenterol. 2021;21(1):23. doi:10.1186/s12876-020-01593-5
  13. Kroenke K, Spitzer RL, Williams JB. The PHQ-9: validity of a brief depression severity measure. J Gen Intern Med. 2001;16(9):606-613. doi:10.1046/j.1525-1497.2001.016009606.x
  14. US National Library of Medicine. DailyMed: Amitriptyline hydrochloride tablet, film coated (Sun Pharmaceutical Industries), prescribing information, set id 4e520c63-1cf6-40f6-a51c-3f9b0e181342, effective 8 September 2026. https://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=4e520c63-1cf6-40f6-a51c-3f9b0e181342
  15. Ford AC, Wright-Hughes A, Alderson SL, et al. Amitriptyline at Low-Dose and Titrated for Irritable Bowel Syndrome as Second-Line Treatment in primary care (ATLANTIS): a randomised, double-blind, placebo-controlled, phase 3 trial. Lancet. 2023;402(10414):1773-1785. doi:10.1016/S0140-6736(23)01523-4
  16. Wright-Hughes A, Ford AC, Alderson SL, et al. Low-dose titrated amitriptyline as second-line treatment for adults with irritable bowel syndrome in primary care: the ATLANTIS RCT. Health Technol Assess. 2024;28(66):1-161. doi:10.3310/bfcr7986
  17. Ford AC, Lacy BE, Harris LA, Quigley EMM, Moayyedi P. Effect of antidepressants and psychological therapies in irritable bowel syndrome: an updated systematic review and meta-analysis. Am J Gastroenterol. 2019;114(1):21-39. doi:10.1038/s41395-018-0222-5
  18. Drossman DA, Toner BB, Whitehead WE, et al. Cognitive-behavioral therapy versus education and desipramine versus placebo for moderate to severe functional bowel disorders. Gastroenterology. 2003;125(1):19-31. doi:10.1016/S0016-5085(03)00669-3
  19. Everitt HA, Landau S, O'Reilly G, et al. Assessing telephone-delivered cognitive-behavioural therapy (CBT) and web-delivered CBT versus treatment as usual in irritable bowel syndrome (ACTIB): a multicentre randomised trial. Gut. 2019;68(9):1613-1623. doi:10.1136/gutjnl-2018-317805
  20. Pinto-Sanchez MI, Hall GB, Ghajar K, et al. Probiotic Bifidobacterium longum NCC3001 reduces depression scores and alters brain activity: a pilot study in patients with irritable bowel syndrome. Gastroenterology. 2017;153(2):448-459.e8. doi:10.1053/j.gastro.2017.05.003
  21. Johannesson E, Simren M, Strid H, Bajor A, Sadik R. Physical activity improves symptoms in irritable bowel syndrome: a randomized controlled trial. Am J Gastroenterol. 2011;106(5):915-922. doi:10.1038/ajg.2010.480
  22. Johannesson E, Ringstrom G, Abrahamsson H, Sadik R. Intervention to increase physical activity in irritable bowel syndrome shows long-term positive effects. World J Gastroenterol. 2015;21(2):600-608. doi:10.3748/wjg.v21.i2.600
  23. Miller V, Hopkins L, Whorwell PJ. Suicidal ideation in patients with irritable bowel syndrome. Clin Gastroenterol Hepatol. 2004;2(12):1064-1068. doi:10.1016/S1542-3565(04)00545-2
  24. Spiegel B, Schoenfeld P, Naliboff B. Systematic review: the prevalence of suicidal behaviour in patients with chronic abdominal pain and irritable bowel syndrome. Aliment Pharmacol Ther. 2007;26(2):183-193. doi:10.1111/j.1365-2036.2007.03357.x

Clairop is a general wellness app for people living with a diagnosed digestive condition. It does not replace professional medical care, diagnosis, or treatment. Always follow your healthcare provider's advice.

Clairop logs meals, symptoms and stool in seconds, then looks for the foods your gut reacts to, including reactions that land days later.

One email when Clairop launches. No spam, and you can unsubscribe any time.

Free tools