Home › Questions › Is IBS genetic?

Is IBS genetic?

Updated 2026-10-31 · 4 min read

Short answer

Partly. IBS runs in families: in a Swedish national study, the parents, siblings and children of people with IBS had roughly 1.8 times the usual odds of it. But the largest genetic study, of 53,400 people with IBS, found that common gene variants explain only about 6% of the risk. Environment, infections, stress and the gut-brain axis matter more.

Key takeaways

IBS clusters in families, and that can have two explanations: shared genes, or a shared environment that runs from diet and gut infections to how a family handles stress and illness. Studies of twins, of whole national populations and of hundreds of thousands of genomes point the same way. Genes play a real but modest part, and much of what makes one person develop IBS lies elsewhere.[1]

Does IBS run in families?

Yes. A nationwide Swedish study compared the relatives of people diagnosed with IBS with the relatives of people without it:[2]

Relative of someone with IBSOdds of IBS compared with usual
Parent1.90 times
Child1.82 times
Sibling1.75 times
Niece or nephew1.27 times
Cousin1.11 times
Spouse1.51 times

The authors read this pattern two ways. A raised risk that extends to second- and third-degree relatives points to a genetic component, while the raised risk in spouses, who share a home but not genes, points to a non-genetic contribution as well.[2] A US study that surveyed relatives directly, rather than relying on patients' reports, found that 50% of the families of people with IBS had at least one other affected relative, compared with 27% of control families.[3]

What do twin studies show?

Identical twins share all their genes and non-identical twins share about half, so a strongly genetic condition should be shared more often by identical twins. That is what researchers found, but only up to a point:

Across twin studies, estimates of how much of IBS is heritable vary widely, from 0 to 57%.[1]

Have scientists found genes for IBS?

A few, each with a tiny effect. The largest genome-wide study, published in 2021, compared 53,400 people with IBS with 433,201 people without it, then checked its results in a separate group of more than 205,000 people with IBS.[1] It found:

The authors concluded that the genetic contribution to IBS is modest, and that environmental factors, including gut bacteria, diet, stress and learned behaviors, all of which families can share, probably play a bigger role.[1]

If genes play a small part, what causes IBS?

There is no single cause. UK guidelines list genetics, epigenetic changes (chemical marks that turn genes up or down), gut infections and adverse events in early life as things that may predispose someone to IBS. Chronic stress, psychological symptoms, negative beliefs about symptoms and unhelpful ways of coping can then make symptoms more frequent and severe.[6]

The clearest trigger is a gut infection: in a meta-analysis of 45 studies, 10.1% of people had IBS a year after infectious enteritis.[7] In the genome study, people whose IBS began after an infection had a family history and psychological profile much like other people with IBS, which the authors took to mean that the infection "falls on fertile ground" in people who are already predisposed.[1] For the bigger picture, see What is IBS? and Is IBS an autoimmune disease?

What does a family history mean for you?

Frequently asked questions

Can I pass IBS on to my children?

Your children may have a somewhat higher chance of IBS: in a Swedish national study, the children of people with IBS had about 1.8 times the odds of an IBS diagnosis. Some of that likely comes from shared environment and habits rather than genes.

Is there a genetic test for IBS?

No. The gene variants linked to IBS each raise the odds by less than 5%, far too little to be useful as a test, and guidelines note that no biomarker for IBS exists. IBS is diagnosed from your symptoms plus a few simple tests.

Is IBS caused by genes or by stress?

Usually neither alone. The largest genetic study found that IBS shares genetic risk with anxiety and depression, and UK guidelines note that chronic stress can make IBS symptoms more frequent and severe, so the two are intertwined.

Sources

  1. 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.org/10.1038/s41588-021-00950-8
  2. Waehrens R, Ohlsson H, Sundquist J, Sundquist K, Zöller B. Risk of irritable bowel syndrome in first-degree, second-degree and third-degree relatives of affected individuals: a nationwide family study in Sweden. Gut. 2015;64(2):215-221. doi.org/10.1136/gutjnl-2013-305705
  3. Saito YA, Petersen GM, Larson JJ, et al. Familial aggregation of irritable bowel syndrome: a family case-control study. Am J Gastroenterol. 2010;105(4):833-841. doi.org/10.1038/ajg.2010.116
  4. Levy RL, Jones KR, Whitehead WE, et al. Irritable bowel syndrome in twins: heredity and social learning both contribute to etiology. Gastroenterology. 2001;121(4):799-804. doi.org/10.1053/gast.2001.27995
  5. Bengtson MB, Rønning T, Vatn MH, Harris JR. Irritable bowel syndrome in twins: genes and environment. Gut. 2006;55(12):1754-1759. doi.org/10.1136/gut.2006.097287
  6. 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.org/10.1136/gutjnl-2021-324598
  7. Klem F, Wadhwa A, Prokop LJ, et al. Prevalence, risk factors, and outcomes of irritable bowel syndrome after infectious enteritis: a systematic review and meta-analysis. Gastroenterology. 2017;152(5):1042-1054.e1. doi.org/10.1053/j.gastro.2016.12.039
  8. Lacy BE, Pimentel M, Brenner DM, et al. ACG clinical guideline: management of irritable bowel syndrome. Am J Gastroenterol. 2021;116(1):17-44. doi.org/10.14309/ajg.0000000000001036
  9. Gwee KA, Gonlachanvit S, Ghoshal UC, et al. Second Asian consensus on irritable bowel syndrome. J Neurogastroenterol Motil. 2019;25(3):343-362. doi.org/10.5056/jnm19041

This page is for general information and isn’t medical advice. IBS shares symptoms with other conditions, so see a doctor for a diagnosis — and promptly for warning signs such as blood in your stool, unexplained weight loss or symptoms that wake you at night.