Diabetes and IBS often overlap, and they can be hard to tell apart. Irritable bowel syndrome causes repeated belly pain with diarrhea, constipation or both. Diabetes can cause very similar symptoms through nerve damage, slow stomach emptying and common medicines like metformin and GLP-1 drugs. Sorting out the cause matters, because the right fix for each one is different.
See a clinician promptly, as these are not IBS until checked: bleeding from the rectum, bloody or black, tarry stools, weight loss without trying, anemia, diarrhea or pain that wakes you at night, new bowel symptoms starting after about age 45, or a family history of colon cancer, celiac disease or inflammatory bowel disease. If you have severe belly pain, are vomiting and cannot keep fluids down, or have very high or very low glucose readings with vomiting, get same-day care.
IBS Is Not IBD
The names sound alike, but these are different conditions. According to the NIDDK, IBS is a group of symptoms, repeated abdominal pain plus changes in bowel movements, that happens without any visible damage or disease in the digestive tract. It is a disorder of gut-brain interaction. The gut becomes more sensitive and bowel muscle contractions change. NIDDK estimates that about 12 percent of people in the United States have IBS.
Inflammatory bowel disease (Crohn’s disease and ulcerative colitis) is different. It causes real inflammation and tissue damage, and it is often treated with steroids or immune-targeting medicines that can affect glucose. If you have IBD, our guide to IBD and diabetes covers it.
| Feature | IBS | IBD |
|---|---|---|
| Visible damage to the bowel | No | Yes, inflammation and ulcers |
| Bleeding, weight loss, anemia | Not typical; these are red flags | Can occur |
| How it is diagnosed | Mainly by symptom pattern, with limited tests | Colonoscopy, biopsies, imaging and lab tests |
| Main treatments | Diet, fiber, symptom medicines, gut-directed therapy | Anti-inflammatory and immune-targeting medicines, sometimes surgery |
How IBS is diagnosed
Doctors use a symptom-based approach that follows the Rome IV criteria (Mearin et al., Gastroenterology 2016). NIDDK describes it as abdominal pain at least once a week over the last 3 months, with symptoms that began at least 6 months ago, plus at least two of these:
- Pain related to bowel movements (better or worse after one)
- A change in how often you have bowel movements
- A change in how your stools look
IBS is grouped by stool pattern: IBS with constipation (IBS-C), IBS with diarrhea (IBS-D) and mixed IBS (IBS-M). Most people do not need many tests. The American College of Gastroenterology 2021 guideline suggests a blood test for celiac disease in people with IBS-like diarrhea, and a stool test (fecal calprotectin) to help rule out IBD.
Diabetes Problems That Can Mimic IBS
When you have diabetes, belly pain, diarrhea or constipation may not be IBS at all. These are the common look-alikes to rule out with your clinician:
| Cause | Typical clues | Learn more |
|---|---|---|
| Autonomic neuropathy (diabetic nerve damage) | Constipation, diarrhea that is often worse at night, fecal incontinence; often years of high glucose | Diabetic diarrhea |
| Gastroparesis | Early fullness, nausea, vomiting, bloating, unpredictable glucose after meals | Gastroparesis symptoms |
| Metformin | Diarrhea, nausea, gas, indigestion, often after starting or raising the dose | Metformin stomach pain relief |
| GLP-1 medicines | Nausea, abdominal pain, diarrhea, vomiting or constipation, often during dose increases | Talk to your prescriber |
| Sugar alcohols | Gas, bloating and loose stools after sugar-free sweets or gum | Sugar alcohols and diabetes |
| Celiac disease | Diarrhea, bloating, weight loss, anemia; checked with a blood test while still eating gluten | Celiac and diabetes |
| Exocrine pancreatic insufficiency | Greasy or pale stools and weight loss; linked with pancreas damage | Type 3c diabetes |
| Small intestinal bacterial overgrowth (SIBO) | Bloating, gas and diarrhea | Your clinician may order a breath test |
Nerve damage and gastroparesis
The NIDDK explains that diabetic autonomic neuropathy can cause constipation, diarrhea (especially at night) and fecal incontinence, and it can lead to gastroparesis, where food moves too slowly from the stomach to the small intestine. Because nighttime diarrhea is unusual in IBS, it is a reason to look for another cause. Gastroparesis also makes meal-time insulin harder to time. See our guides to diabetic gastroparesis and gastroparesis and constipation.
Medicines
The current metformin label on DailyMed lists diarrhea, nausea or vomiting, flatulence, indigestion and abdominal discomfort among its most common side effects. GLP-1 labels, such as semaglutide’s, list nausea, abdominal pain, diarrhea, decreased appetite, vomiting and constipation as most common. If symptoms began after a new medicine or dose change, tell your prescriber. Options may exist, as covered in our page on alternatives to metformin due to diarrhea. Never stop a diabetes medicine on your own.
Eating for IBS When You Have Diabetes
The low FODMAP diet, with carb counting
FODMAPs are carbohydrates that are hard to digest. In a controlled crossover trial from Monash University, people with IBS had lower overall symptom scores on a diet low in FODMAPs than on a typical Australian diet (Halmos et al., Gastroenterology 2014). The ACG guideline recommends a limited trial of the diet to improve overall IBS symptoms.
According to the NIDDK, you limit high FODMAP foods for a few weeks, and if symptoms improve, you add them back slowly to find which ones you tolerate. It is not meant to be a forever diet. A dietitian helps you avoid cutting too much and keeps the diet balanced.
NIDDK lists these as high FODMAP examples:
- Some fruits, such as apples, cherries, mango, pears and watermelon, and juices made from them
- Some vegetables, such as artichokes, asparagus, cabbage, garlic, onions, and lentils
- Milk, soft cheeses, yogurt and ice cream
- Wheat and rye products
- Honey and foods with high-fructose corn syrup
- Sweeteners ending in “-ol”, such as sorbitol, mannitol, xylitol and maltitol, found in sugar-free candy and gum
The diabetes catch: many low FODMAP swaps are starches, such as rice, potatoes, oats and gluten-free breads. They can raise blood sugar as much as, or more than, the foods they replace. Keep counting carbs, pair starches with protein and non-starchy vegetables, and check your glucose more often during the trial. Lentils and beans are high FODMAP for many people, so you may lose a good source of fiber for a while. A dietitian can help replace it.
Sugar-free sweets are a double problem. The sugar alcohols in them are high FODMAP and can cause gas and diarrhea, and they still contain some carbohydrate.
Fiber, including psyllium
NIDDK says soluble fiber, found in beans, fruit and oat products, seems more helpful for IBS than insoluble fiber, and it advises adding fiber slowly, by 2 to 3 grams a day, to limit gas and bloating. Psyllium is a soluble fiber supplement. A 2015 meta-analysis in the American Journal of Clinical Nutrition found that psyllium taken before meals was associated with lower fasting glucose and A1C in people with type 2 diabetes, with smaller or no effects in people with prediabetes or normal glucose. The analysis was funded by a psyllium manufacturer. Drink enough water with any fiber supplement, and ask your pharmacist whether to space it from other medicines.
Gluten
Some people with IBS feel better avoiding gluten. Because celiac disease is more likely in type 1 diabetes, get tested for celiac first. NIDDK warns that going gluten-free before testing can affect the results.
IBS Medicines and Diabetes
NIDDK lists these IBS treatments. Label details come from current FDA prescribing information on DailyMed, checked in November 2026.
| Medicine | Used for | Notes for people with diabetes |
|---|---|---|
| Loperamide | IBS-D | Over the counter. Ask your pharmacist or clinician before regular use. |
| Rifaximin, eluxadoline, alosetron | IBS-D | Prescription only. Alosetron is limited to women and carries special warnings. |
| Linaclotide | IBS-C | Label: for adults and children 7 and older; must not be used under age 2 or with a bowel blockage. Diarrhea is the main side effect, which can affect fluids and glucose. |
| Lubiprostone | IBS-C | Label: approved for IBS-C in women 18 and older. Most common side effects are nausea, diarrhea and abdominal pain. |
| Antispasmodics, peppermint oil capsules | Pain and cramping | Ask whether a choice fits if you also have gastroparesis or constipation. |
| Low-dose tricyclic antidepressants | Pain | The amitriptyline label reports both rises and drops in blood sugar, and these drugs can cause constipation. Check glucose after starting. |
If diarrhea or vomiting keeps you from eating normally while you use insulin or a sulfonylurea, check your glucose more often and follow your sick-day plan, since lows are more likely.
When to See Whom
- Your primary care clinician: new or changing bowel symptoms, symptoms after a medicine change, or any red flag above.
- A gastroenterologist: red flags, suspected IBD, celiac disease, gastroparesis or symptoms that do not improve. Colon cancer screening also matters. See colonoscopy and diabetes and diabetes cancer screening.
- A registered dietitian: a low FODMAP trial, a gastroparesis diet or help balancing fiber and carbs.
- A mental health professional: NIDDK lists cognitive behavioral therapy, gut-directed hypnotherapy and relaxation training as IBS therapies.
Ask your care team: Bring a full list of your medicines, including over-the-counter remedies, fiber products, probiotics and supplements. Ask whether any diabetes medicine could be causing your symptoms. Never stop or change a prescribed medicine on your own.
The Bottom Line
IBS is common and does not damage the bowel, but in diabetes several other problems can look just like it, including nerve damage, gastroparesis, metformin, GLP-1 medicines, sugar alcohols and celiac disease. Red flags such as bleeding, weight loss, anemia or nighttime symptoms need a check before anyone calls it IBS. A short, dietitian-guided low FODMAP trial and slowly added soluble fiber can help, as long as you keep counting carbs and checking glucose. For more on related conditions, see our complications and related conditions hub and our diet and nutrition guides.