Skip to main content
GoodRx Guide

Irritable Bowel Syndrome (IBS): Symptoms, Causes, and Treatment

Comprehensive information for you or a loved one — including treatment options and discounts on popular medications.
Karla Robinson, MDKaren Hovav, MD, FAAP
Written by Karla Robinson, MD | Reviewed by Karen Hovav, MD, FAAP
Updated on June 2, 2025

Irritable bowel syndrome (IBS) is a functional disorder. This means you have real symptoms, but there are no physical changes or significant inflammation in your bowels (gut). The bowels may work differently in people with IBS, but the inside of the intestines is often normal. 

It’s not entirely clear what causes IBS. But it may have to do with how the intestines move.

IBS is a very common condition, but many people don’t know they have it. In the U.S., 15% of adults have symptoms of IBS. Only half of these people have an actual diagnosis of IBS.

Reviewed by Karen Hovav, MD, FAAP | December 5, 2025

What causes irritable bowel syndrome (IBS)?

Experts don’t know the exact cause of IBS. But there are some theories about why people may develop symptoms of IBS. These include:

  • The brain-gut connection: There’s evidence of two-way communication between your brain and your gut. In people with IBS, signals from the brain — like stress — can have a big effect on how the gut works. At the same time, signals from the gut can also trigger changes in mood and how the brain functions. 

  • The gut microbiome: Normally, your gut has a balance between healthy and harmful bacteria. When the balance of bacteria in your gut is off, it can lead to IBS symptoms. This can happen after an infection like food poisoning.

  • Stress: Stressful or traumatic events may play a role in the development of IBS. These experiences could lead to chemical changes in your brain. This may affect how your gut moves and how you feel pain.


Risk factors for IBS

Experts don’t know exactly what causes IBS, but they have identified who is more likely to get it. Risk factors for IBS include:

  • Female sex

  • Having anxiety or depression

  • Eating a lot of ultra-processed or fatty food

  • Having a bacterial infection in your gut, like Clostridioides difficile (C. difficile) or Escherichia coli (E.coli)

  • Drinking alcohol

  • Having food allergies or food sensitivities

  • Going through stressful or difficult childhood events


Irritable Bowel Syndrome Medications

Compare prices and information on the most popular Irritable Bowel Syndrome medications.

  • Bentyl
    $91.93
    $11.32
  • Hyosyne
    $10.78
  • Levsin
    $27.35
    $12.22

IBS symptoms

Most people with IBS have abdominal pain and changes in their bowel movements, like diarrhea, constipation, or both.

If you have IBS, you may also have other symptoms, like: 

  • Bloating

  • Gas

  • Nausea

  • Mucus in your stool

  • Stomach cramps

  • Feeling of fullness after eating

Every person with IBS experiences their symptoms in a different way. Your symptoms might not be the same as someone else’s. And your symptoms might be different with each IBS flare. The severity of the symptoms may also vary from person to person and with each IBS flare.


Quiz: Do I Have IBS?

How is IBS diagnosed?

To diagnose IBS, a healthcare professional will start by asking you questions about your symptoms and medical history. They’ll also do a physical exam to rule out physical changes.

Featuring Benjamin Cohen, MDReviewed by Karen Hovav, MD, FAAP | December 5, 2025

There isn’t one single test to diagnose IBS. But your healthcare professional might order other tests to make sure you don’t have other medical conditions — like inflammatory bowel disease (IBD), food intolerance, or colon cancer. 

You may need tests like: 

Types of IBS

There are several different types of IBS. Your treatment plan will depend on which subtype of IBS you have. After you’re diagnosed, your healthcare team may ask you to complete expert-designed questionnaires to help figure out your IBS subtype. 

The subtypes of IBS include:

  • IBS-C (constipation): People with this subtype have a lot of constipation

  • IBS-D (diarrhea): People with this subtype have a lot of diarrhea or loose stools.

  • IBS-M (mixed): People with this subtype can have a mix of hard stools and loose, watery stools.

  • IBS-U (unclassified): People with this subtype don’t have a consistent pattern to their stool changes. 


Treatments for IBS

There are many different types of IBS treatments. Treatments may include changes in your diet and lifestyle as well as medications. 

Treatment plans aim to improve symptoms and are based on your IBS subtype. Since IBS symptoms can be different for each person, treatments will be different too.

Diet

Different foods can trigger IBS flares. You can reduce flares and improve your symptoms by avoiding triggers. Here are some dietary changes that may help:

  • Eat more soluble fiber

  • Avoid foods with gluten

  • Eat more low-FODMAP (fermentable oligosaccharides, disaccharides, monosaccharides, and polyols) foods like nuts, strawberries, spinach, and eggs

  • Eat fewer high-FODMAP foods like dairy, beans, apples, and onions

  • Avoid common food triggers like spicy or fatty foods

  • Avoid common beverage triggers like alcohol, fizzy drinks, and caffeinated drinks

Lifestyle

In addition to changes in your diet, other lifestyle changes can help to decrease IBS symptoms. Here are a few tips you can try:

Stress management

There’s a strong association between stress and IBS. High levels of stress can make your IBS symptoms worse. And IBS symptoms can lead to more stress and anxiety. Fortunately, there are ways to manage stress, including:


Medications for IBS

The medications used to treat IBS will depend on your symptoms and the subtype of IBS you have.

IBS-C

If you have IBS-C, constipation is a common problem. Over-the-counter (OTC) treatments that help soften your stool can provide some benefit. 

Prescription medications for IBS-C include:

IBS-D

With IBS-D, you tend to have loose stools more often. Treatment usually focuses on calming gut irritation and reducing diarrhea. OTC antidiarrheal medications may reduce your number of loose stools.

Common prescription medications for IBS-D include:

IBS-M

People with IBS-M have mixed symptoms. The symptoms tend to alternate between diarrhea and constipation. This can sometimes make it hard to find the right medication. In many cases, dietary and lifestyle changes may be the most helpful.

Some medications help relieve the symptoms of IBS — no matter the subtype. These include:

There are many treatment options for the symptoms of IBS. Your healthcare professional will work with you to figure out the best treatment plan based on your medical history and symptoms. 


Preventing IBS flares

During an IBS flare, your symptoms like abdominal pain, bloating, constipation, or diarrhea get worse and harder to manage. Treatments like diet changes, lifestyle changes, stress management, and medications can all help lower the frequency or intensity of IBS flares. 

The best way to prevent IBS flares is to pay close attention to what triggers your symptoms. Keeping a journal can help you track patterns. Ask yourself: 

  • Are there foods that seem to be triggering an IBS flare? If so, avoid them.

  • Does stress seem like a common trigger? Think of ways to reduce stress. This can be anything from relaxation techniques to lowering your workload. 

  • Am I sleeping well? If it’s hard to get quality sleep, work on sleep hygiene techniques.

  • Is it time to start taking medication? If you’re still having IBS flares even after avoiding triggers, talk to a healthcare professional you trust to see if a medication would be right for you. 


Frequently asked questions

IBS is a gastrointestinal (GI) disorder, not a mental health disorder. But there are some links between IBS and your mental health. People with certain mental health conditions — like anxiety, depression, post-traumatic stress disorder (PTSD), and schizophrenia — are more likely to have symptoms of IBS. 

Experts don’t know the exact reason for the association. But studies show that managing your mental health can improve symptoms of IBS and your quality of life.


References

American College of Gastroenterology. (n.d.). Irritable Bowel Syndrome (IBS).

Annaházi, A., et al. (2014). Role of antispasmodics in the treatment of irritable bowel syndrome. World Journal of Gastroenterology.

GoodRx Health has strict sourcing policies and relies on primary sources such as medical organizations, governmental agencies, academic institutions, and peer-reviewed scientific journals. Learn more about how we ensure our content is accurate, thorough, and unbiased by reading our editorial guidelines.

Newsletter Signup

Latest Articles