(© Brian Jackson - stock.adobe.com)
In a Nutshell
- People with inflammatory bowel disease face a sharply higher risk of depression, anxiety, and substance misuse starting two to three years before their diagnosis and continuing for at least a decade afterward.
- Mental health risk peaked within six months of diagnosis and then declined over time, but stayed meaningfully elevated even 10 years later.
- A comparison with the patients’ own healthy siblings produced similar results, pointing away from shared family genetics as a full explanation for the mental health toll.
A painful, lifelong gut condition comes with a mental health burden that shows up in the medical record two to three years before patients are ever diagnosed, and one that lingers for at least a decade after. A new study suggests IBD patients may notice psychological changes well before they’ve been seen for their abdominal pain.
Researchers tracked more than 43,000 patients with inflammatory bowel disease, a chronic condition that causes painful, long-term inflammation of the digestive tract, comparing them against nearly 179,000 people from the general population. Mental health risk didn’t simply appear after diagnosis. It started climbing two to three years earlier, then peaked sharply right around the time of diagnosis, showing that the mental health burden can emerge well before a patient ever gets an official IBD diagnosis.
Inflammatory bowel disease, which includes Crohn’s disease and ulcerative colitis, affects millions of people worldwide. It is painful, unpredictable, and often socially isolating. For years, doctors have known that patients with the condition tend to struggle mentally. But this study, published in Clinical Gastroenterology and Hepatology, is among the most thorough efforts yet to map exactly when that mental health risk rises, how long it lasts, and whether family genetics might explain it.

Mental Health Risk Rises Before the IBD Diagnosis
One of the more surprising findings here is what happens in the years leading up to diagnosis. Most previous research focused on what happens to patients after they receive their diagnosis. This study tracked patients going back five years before that date and found the mental health risk was already climbing well before any official diagnosis.
At two years before diagnosis, patients with inflammatory bowel disease were 15% more likely to have a psychiatric disorder than matched individuals from the general population. That figure climbed higher in the final months before diagnosis. Researchers suggest this pre-diagnosis period may reflect the toll of undiagnosed gut symptoms, the psychological stress of an unexplained illness, and underlying biological changes in the gut that can influence brain function. That analysis could not pin down what caused the early rise in psychiatric risk.
In a separate subanalysis of patients diagnosed since 2010, those with inflammatory bowel disease were also more likely to be using psychotropic medications, a category that includes antipsychotics, antidepressants, anxiolytics/hypnotics/sedatives, mood stabilizers, and ADHD medications, even five years before their diagnosis. Antidepressants and anxiolytics/hypnotics/sedatives drove most of that increase.
A Spike at Diagnosis, and a Decade-Long Tail
Right around the time of diagnosis, mental health risk surged to its highest point. At six months after diagnosis, patients were 50% more likely to have a psychiatric disorder than matched general-population members. That gap then narrowed over time, but never closed. Even a full decade after diagnosis, patients remained about 19% more likely to have a psychiatric disorder than their counterparts.
Major depression, anxiety disorders, and substance misuse drove most of the elevated risk. Depression risk was 70% higher at six months after diagnosis, and anxiety risk was 57% higher at that same mark. Both remained elevated at the 10-year follow-up point.
Not every type of mental health condition followed the same pattern. Psychotic disorders, personality disorders, and attention-deficit/hyperactivity disorder showed no clear link. Patients were somewhat more likely to be diagnosed with autism spectrum disorders shortly after diagnosis, which researchers said could reflect the extra medical attention patients receive following an inflammatory bowel disease diagnosis rather than a causal relationship. Eating disorders showed an elevated risk starting around five years after diagnosis. Researchers suggested that dietary changes tied to abdominal pain and digestive discomfort could be one explanation.
Testing the Family Genetics Explanation
To address a key scientific question, the team also compared patients with inflammatory bowel disease directly against their own brothers and sisters who did not have the disease. Siblings share genetics and often early-life environments, so finding similar mental health risks in the general population but not among siblings would point to family factors, rather than the disease itself, as the driver.
That is not what the data showed. Among 26,807 patients compared to their healthy siblings, mental health risks remained elevated both before and after diagnosis. Psychiatric disorders developed in 15.6% of patients with inflammatory bowel disease after diagnosis, compared to 12.6% of their healthy siblings. Relative risks ran slightly smaller in the sibling comparison, but the overall pattern held. Shared family factors cannot fully explain the mental health burden these patients carry.

Mental Health Screening Earlier in IBD Care
In absolute terms, across the entire study population, researchers calculated roughly one extra case of a psychiatric disorder for every 31 patients with inflammatory bowel disease over a 10-year period, compared to the general population. By disease subtype, Crohn’s disease patients saw roughly one extra case per 24 patients, ulcerative colitis about one per 41, and IBD-unclassified about one per 21.
Those numbers carry real clinical weight. Certain patients face even higher absolute risk: those diagnosed as children, those with fewer years of formal education, those with heavier healthcare use before diagnosis, and those whose parents had a psychiatric history. Previous research has linked depression and anxiety in people with IBD to worse disease outcomes, including flares and hospitalizations. This study did not have information on disease activity, so it could not determine whether psychiatric disorders contributed to those complications.
Crohn’s disease patients appeared to carry a heavier mental health burden than those with ulcerative colitis, though the researchers cautioned against drawing direct comparisons between the two groups. Mental health risk also stayed consistently elevated across the calendar periods studied, from 2007 to 2023, an indication that the problem has persisted despite major treatment advances in recent years.
Drawing on a nationwide Swedish registry and one of the largest, most carefully controlled cohorts of its kind, the study lands on a clear message: for people with inflammatory bowel disease, mental health risk is already measurably elevated well before a diagnosis is ever made. Authors suggest clinicians stay alert to depression, anxiety, and substance misuse around the time IBD is being diagnosed, as well as in the years that follow.
Disclaimer: This article describes an observational cohort study. Research of this kind can show that inflammatory bowel disease and psychiatric disorders occur together more often than expected, but it cannot prove that one condition directly causes the other. The authors state plainly that they do not claim causality. Figures such as hazard ratios reflect relative risk within this Swedish population and may not translate directly to countries with different rates of inflammatory bowel disease, different mental health systems, or different healthcare funding. Anyone concerned about their own physical or mental health should consult a qualified clinician.
Paper Notes
Limitations
Authors identify several important limitations. Because the study relied on national registries rather than primary care records, patients with mild psychiatric symptoms who did not seek specialist care may have been missed, meaning the true psychiatric burden in this population is likely somewhat higher than reported. Information on disease activity and severity was not available, so the researchers could not analyze whether more active disease translated to greater mental health risk. Detailed lifestyle data, such as dietary habits, were also absent, so residual confounding from unmeasured factors cannot be ruled out. Additionally, the sibling comparison may produce conservative estimates because some siblings could themselves have undiagnosed inflammatory bowel disease or psychiatric conditions due to shared genetic predisposition. Finally, the authors explicitly state they do not claim causality and urge caution when applying findings to healthcare systems or populations outside Sweden, given differences in how inflammatory bowel disease, psychiatric disorders, and healthcare funding are structured in other countries.
Funding and Disclosures
This study received support from several funding sources, including the Swedish Society for Medical Research, the European Crohn’s and Colitis Organization, the Swedish Society of Medicine, the Ruth and Richard Julin Foundation, the Karolinska Institutet Research Foundation, the National Natural Science Foundation of China, and the Fundamental Research Funds for Central Universities at Sun Yat-sen University. Agnieszka Butwicka received support from Nordforsk, the Swedish Research Council for Health, Working Life and Welfare, Helse Sør-Øst Norway, and the Medical Research Agency Project. Carole A. Marxer was supported by the Swiss National Science Foundation. Funders had no role in study design, data collection, analysis, interpretation, or writing.
Several authors disclosed professional relationships with pharmaceutical companies. Ola Olén was principal investigator on projects at Karolinska Institutet financed by grants from Janssen, Pfizer, AbbVie, Takeda, Galapagos/Alfasigma, Ferring, and Bristol Myers Squibb. Jonas Halfvarson served as speaker or advisory board member for multiple pharmaceutical companies and received grant support from Takeda, Janssen, and MSD. Jonas F. Ludvigsson disclosed several research collaborations and financial relationships with industry, including with Takeda and MSD. Zheng Chang received lecture honoraria from Takeda Pharmaceuticals. All other authors reported no conflicts of interest.
Publication Details
Paper Title: Psychiatric Disorders Before and After Inflammatory Bowel Disease Diagnosis: A Nationwide Cohort Study in Sweden 2007 to 2023
Authors: Jiangwei Sun, Lin Li, Zheng Chang, Agnieszka Butwicka, David Bergman, Shihua Sun, Carole A. Marxer, Jonas Halfvarson, Ola Olén, and Jonas F. Ludvigsson
Journal: Clinical Gastroenterology and Hepatology (2026)
DOI: 10.1016/j.cgh.2026.05.034
Ethics Approval: Stockholm Ethics Review Board (approval numbers 2014/1287-31/4, 2018/972-32, 2022-05774-02). Individual informed consent was waived given the register-based nature of the study.







