Irritable bowel syndrome is treated with a combination of dietary changes, stress management, and sometimes medication, tailored to whether your primary symptoms are constipation, diarrhea, or a mix of both. There’s no single cure, but most people can significantly reduce their symptoms once they find the right combination of approaches. Treatment typically starts with lifestyle and dietary adjustments before moving to prescription options.
Start With What You Eat
Diet is the first and most impactful lever for most people with IBS. The low FODMAP diet, which temporarily removes certain fermentable carbohydrates that pull water into the gut and feed bacteria that produce gas, has a high predicted success rate for IBS, though up to 25% of people may not benefit. It works in three phases: an elimination phase lasting two to six weeks, a reintroduction phase averaging about eight weeks where you test one food group at a time, and a long-term personalization phase where you eat as broadly as possible while avoiding only your specific triggers.
The elimination phase is intentionally strict, cutting out foods like garlic, onions, wheat, certain fruits, lactose, and some legumes. It’s not meant to be permanent. The whole point is to systematically reintroduce foods so you learn exactly which ones cause your symptoms and which ones you tolerate fine. Working with a dietitian during this process makes a real difference, both for accuracy and for avoiding unnecessary restriction.
Beyond FODMAPs, soluble fiber supplementation helps many people regardless of their IBS subtype. Psyllium husk is the best-studied option. It’s nonirritating to the colon and doesn’t ferment the way wheat bran does, which means it’s far less likely to make bloating worse. Psyllium also has a unique stool-normalizing effect: it softens hard stools in constipation, firms up loose stools in diarrhea, and generally improves stool consistency across the board. Most studies use 7 to 14 grams per day, though evidence suggests benefits increase at higher doses (20 to 25 grams) taken with plenty of water. Start low and increase gradually to avoid initial bloating.
Exercise as Treatment
Regular aerobic exercise directly reduces IBS symptom severity. A pilot study of women with mild to moderate IBS found that 30 minutes of moderate-intensity treadmill walking, three times per week for six weeks, produced significant improvement in both symptom severity and quality of life compared to a control group. You don’t need to train hard. Moderate-intensity activity like brisk walking, cycling, swimming, or yoga appears to improve gut motility, reduce stress hormones, and calm the kind of nervous system overactivation that drives IBS flares. The key is consistency rather than intensity.
Managing the Gut-Brain Connection
IBS is fundamentally a disorder of gut-brain communication. Your digestive system has its own nervous system, and in IBS, the signals between your gut and brain become amplified. Stress, anxiety, and even unconscious tension can trigger or worsen cramping, urgency, and bloating. This doesn’t mean IBS is “in your head.” It means treating the brain side of the connection is just as legitimate as treating the gut side.
Gut-directed hypnotherapy is one of the most effective psychological treatments available. Practitioners report roughly 80% efficacy, and the therapy works by reducing the heightened sensitivity of the gut’s nerve endings, calming autonomic nervous system arousal, and interrupting the anxiety-symptom cycle. Sessions typically involve deep relaxation combined with suggestions and imagery targeted specifically at digestive function. It’s available in person and increasingly through structured digital programs.
Cognitive behavioral therapy adapted for IBS also has strong evidence. It helps you identify the thought patterns and behaviors that amplify symptoms, like catastrophizing about pain, avoiding foods unnecessarily, or hypervigilance about bodily sensations. Both approaches produce improvements that tend to last well beyond the treatment period, making them some of the best long-term investments for managing IBS.
Medications for Cramping and Pain
Antispasmodic medications target the smooth muscle contractions that cause abdominal cramping. These are often used on an as-needed basis, taken before meals when you expect symptoms. They work by relaxing the gut wall and reducing the intensity of spasms. Side effects can include dry mouth and occasionally dizziness. Your doctor will typically start at a lower dose and adjust based on your response over the first couple of weeks.
Some people also find relief with peppermint oil capsules, which act as a natural smooth-muscle relaxant in the gut. Enteric-coated versions are designed to dissolve in the intestine rather than the stomach, reducing the chance of heartburn.
Prescription Options for Constipation-Predominant IBS
When dietary changes and fiber aren’t enough for IBS with constipation (IBS-C), prescription medications can increase fluid secretion into the intestine, making stools softer and easier to pass. The most commonly prescribed option in this category is taken once daily on an empty stomach, at least 30 minutes before your first meal of the day. The most common side effect is diarrhea, which can sometimes be severe in the first few days. Stomach pain, gas, and bloating are also reported, though these often improve over time.
These medications don’t work overnight. It typically takes a few days to a couple of weeks to see the full effect, and your doctor may adjust the dose depending on how you respond.
Prescription Options for Diarrhea-Predominant IBS
IBS with diarrhea (IBS-D) has its own set of prescription treatments. One approach uses a short course of a targeted antibiotic that stays mostly in the gut and doesn’t get absorbed into the bloodstream the way typical antibiotics do. It’s thought to work by reshaping the bacterial environment in the small intestine. Some people need repeat courses.
Another class of medication slows gut motility and reduces pain signaling, but these come with important restrictions. One commonly prescribed option is contraindicated in people who’ve had their gallbladder removed or who drink more than three alcoholic beverages daily, due to risk of serious pancreatic side effects. Over-the-counter options like loperamide can help manage acute diarrhea episodes but don’t address the underlying pain or bloating.
Probiotics: Strain Matters
Not all probiotics are the same, and most of the products on store shelves haven’t been tested specifically for IBS. A systematic review and meta-analysis published in The Lancet’s eClinicalMedicine found that out of 14 different probiotic types analyzed, only nine showed significant benefit for at least one IBS outcome. Four specific probiotics demonstrated meaningful reductions in abdominal pain: Bifidobacterium infantis 35624, Lactobacillus plantarum 299v, Saccharomyces boulardii CNCM I-745, and Saccharomyces cerevisiae CNCM I-3856.
The strain designation (the numbers after the species name) matters. A generic “Bifidobacterium” supplement is not the same as one containing B. infantis 35624, which is the specific strain with clinical evidence behind it. If you want to try probiotics, look for products that list the full strain name on the label and give them at least four weeks before deciding whether they’re helping.
Building Your Treatment Plan
Most gastroenterologists recommend a layered approach. Start with the low FODMAP diet, regular exercise, and soluble fiber. Add stress management techniques or formal gut-brain therapy. If symptoms persist, layer in targeted medications based on your predominant symptom pattern. What works varies enormously from person to person, and many people go through several combinations before landing on the right one.
Keeping a symptom diary that tracks food, stress, sleep, exercise, and bowel habits gives you and your provider real data to work with instead of guesswork. Patterns often emerge within a few weeks that point clearly toward your biggest triggers. IBS tends to wax and wane over time, so treatments that work during a flare may not all be necessary during calmer stretches.

