General information only. It does not replace advice from a health professional. Do not change or stop your medicines without advice. For vomiting blood, black stools, severe abdominal pain or jaundice with fever, call emergency services.

What it is
Diabetes mellitus is a whole-body disease, and the digestive system is no exception. The relationship works both ways:
- Diabetes damages the digestive system: persistently high blood sugar injures the autonomic nerves that control the movement of the stomach and gut (autonomic neuropathy), slows gastric emptying even acutely, encourages infections and is associated with fatty liver.
- Some digestive diseases cause diabetes: chronic pancreatitis, pancreatic cancer, pancreatic surgery, cystic fibrosis and haemochromatosis cause so-called pancreatogenic or type 3c diabetes. Cirrhosis also disturbs glucose metabolism ("hepatogenous diabetes").
In addition, several diabetes medicines have significant digestive effects, from the diarrhoea of metformin to the slowed gastric emptying of GLP-1 receptor agonists (semaglutide, liraglutide, dulaglutide) and the dual GIP/GLP-1 agonist tirzepatide.
In numbers
- According to the International Diabetes Federation Diabetes Atlas (IDF, 11th edition, 2025), around 589 million adults aged 20-79 have diabetes worldwide (one in nine), and the number is expected to exceed 850 million by 2050.
- In Spain, the di@bet.es study (Soriguer et al., Diabetologia, 2012) found a diabetes prevalence of 13.8% in adults, with almost half of cases undiagnosed. In the UK, more than 4 million people live with diagnosed diabetes.
- Digestive symptoms (nausea, fullness, bloating, diarrhoea, constipation) are more common in people with diabetes than in the general population.
- In a population study from Minnesota (Choung et al., 2012), the 10-year cumulative incidence of gastroparesis was around 5% in type 1 diabetes and 1% in type 2, compared with 0.2% in people without diabetes.
- About two in three people with type 2 diabetes have metabolic fatty liver disease (MASLD), and a significant proportion (around 10-15%) already have advanced fibrosis.
- Coeliac disease affects around 3-6% of people with type 1 diabetes, several times more than the general population.
Causes and risk factors
- Prolonged poor glucose control (high HbA1c for years): the main driver of autonomic neuropathy.
- Duration of diabetes: gastroparesis and diabetic diarrhoea usually appear after 10 years or more, often with other complications (retinopathy, peripheral neuropathy, nephropathy).
- Acute hyperglycaemia: a high glucose at any given moment slows gastric emptying in its own right.
- Obesity and metabolic syndrome: fatty liver, reflux, gallstones.
- Medicines: metformin, GLP-1 agonists, alpha-glucosidase inhibitors (acarbose), sweeteners such as sorbitol in "diabetic" products.
- Autoimmunity in type 1 diabetes: coeliac disease, autoimmune gastritis (with vitamin B12 deficiency).
Symptoms and problems by organ
Oesophagus
Motility disorders, reflux (more common with obesity) and oesophageal candidiasis (painful swallowing), especially with poor control.
Stomach: gastroparesis
Gastroparesis is slow gastric emptying without obstruction. It causes nausea, vomiting of food eaten hours earlier, early fullness, bloating and upper abdominal pain. A very characteristic clue is erratic glucose control: rapid-acting insulin works before the food reaches the gut, causing hypoglycaemia after meals followed by late hyperglycaemia.
Small and large bowel
- Diabetic diarrhoea: watery, often nocturnal, alternating with constipation, in people with long-standing diabetes and neuropathy. Bacterial overgrowth, bile acid diarrhoea, pancreatic insufficiency, coeliac disease and medicines may contribute.
- Constipation: the commonest digestive symptom in long-standing diabetes.
- Faecal incontinence: from neuropathy of the anal sphincter and reduced rectal sensation; often mistaken for diarrhoea.
Liver
Metabolic fatty liver is very common, and type 2 diabetes is the main factor driving progression to fibrosis, cirrhosis and liver cancer. Diabetes roughly doubles or triples the risk of hepatocellular carcinoma.
Pancreas
- Exocrine pancreatic insufficiency: more common in diabetes, especially type 1 and type 3c; it causes fatty diarrhoea and weight loss.
- Acute pancreatitis: severe hypertriglyceridaemia accompanying poorly controlled diabetes can cause it.
- Pancreatic cancer: long-standing diabetes is a moderate risk factor; and new diabetes after 50, especially with unintentional weight loss, may be the first sign of pancreatic cancer (in about 1% of late-onset diabetes cases within the following three years, according to the 2005 study by Chari et al.).
Digestive cancers
Type 2 diabetes is associated with a somewhat higher risk of bowel, liver and pancreatic cancer. This is partly due to shared factors (obesity, inactivity, diet), which makes bowel cancer screening particularly important.
Warning signs: see a doctor promptly about unexplained weight loss, anaemia, blood in the stools, difficulty swallowing, persistent vomiting or diabetes that appears or worsens abruptly after 50 without explanation. Call 112 for vomiting that prevents you drinking or taking your medicines, severe abdominal pain with rapid breathing, fruity breath or drowsiness (possible ketoacidosis, which with SGLT2 inhibitors can occur with near-normal glucose), or severe hypoglycaemia.
Diagnosis
| Suspected problem | Test | Indicative values or thresholds |
|---|---|---|
| Gastroparesis | 4-hour gastric emptying scintigraphy (see emptying studies) | Retention > 10% at 4 hours = delayed emptying; 10-15% mild, 15-35% moderate, > 35% severe |
| Requirements | Prior gastroscopy to rule out obstruction; glucose < 275 mg/dL (about 15 mmol/L) on the day; stop opioids and prokinetics beforehand, and discuss GLP-1 agonists with the doctor | |
| Carbon-13 breath test | A validated radiation-free alternative | |
| MASLD with fibrosis | FIB-4 (age, AST, ALT, platelets) | < 1.3: low risk; ≥ 1.3: do elastography |
| Liver elastography (FibroScan) | < 8 kPa: low risk; ≥ 8 kPa: risk of fibrosis, specialist assessment; ≥ 12-15 kPa: advanced fibrosis likely | |
| Coeliac disease (type 1 diabetes) | IgA anti-tissue transglutaminase with total IgA (serology) | Positive: confirm with duodenal biopsy, except under paediatric no-biopsy criteria |
| Pancreatic insufficiency | Faecal elastase (stool tests) | < 200 µg/g: insufficiency; < 100 µg/g: severe |
| Vitamin B12 deficiency (metformin, autoimmune gastritis) | Serum B12 (values) | Check periodically on long-term metformin, especially with anaemia or neuropathy |
| Chronic diarrhoea | Blood tests, calprotectin, breath test, bile acid test (SeHCAT in the UK), colonoscopy with biopsies | According to suspicion |
| Alarm symptoms | Gastroscopy, colonoscopy, CT | Without delay |
Treatment
Treatment combines diabetes control, medicine review and management of each digestive problem. What follows is based on the 2026 ADA Standards of Care, the 2022 ACG gastroparesis guideline and the 2024 EASL-EASD-EASO MASLD guideline; in the UK, NICE guidance on diabetes (NG17, NG28) also applies.
Gastroparesis
| Step | Measures | Comments |
|---|---|---|
| 1. Foundations | Better glucose control (continuous monitoring, adjusting insulin timing, sometimes after eating); stopping medicines that slow emptying (opioids; review GLP-1 agonists) | Acute hyperglycaemia worsens emptying |
| 2. Diet | Small, frequent meals, low in fat and insoluble fibre, small particle size, well chewed; more calories in liquid or puréed form if symptoms are severe | A trial of a small-particle diet improved symptoms |
| 3. Medicines | Metoclopramide (the EMA limits it to 5 days and 30 mg/day because of the risk of tardive dyskinesia); domperidone (the EMA limits it to low doses and 7 days because of cardiac risk; its use in gastroparesis is off-label); short courses of erythromycin; antiemetics | See prokinetics and antiemetics |
| 4. Refractory cases | Enteral feeding via jejunostomy; G-POEM (endoscopic pyloromyotomy) in experienced centres; gastric electrical stimulation for refractory nausea and vomiting | Careful selection; variable results |
Diarrhoea, constipation and incontinence
- Treat the identified cause: antibiotics for bacterial overgrowth, bile acid sequestrants, pancreatic enzymes, a gluten-free diet for coeliac disease.
- Review metformin (modified-release forms are better tolerated), acarbose and polyol sweeteners.
- Loperamide with caution in diabetic diarrhoea; osmotic laxatives for constipation; biofeedback for incontinence.
Fatty liver
The 2024 EASL-EASD-EASO guideline recommends looking for fibrosis in everyone with type 2 diabetes using FIB-4 and, if needed, elastography (see the MASLD treatment guide). Treatment is based on weight loss (7-10% improves inflammation and fibrosis), a Mediterranean diet, exercise and stopping or reducing alcohol. Among diabetes medicines, GLP-1 agonists, SGLT2 inhibitors and pioglitazone have favourable liver effects. In the ESSENCE trial (Sanyal et al., N Engl J Med, 2025), weekly semaglutide 2.4 mg achieved resolution of steatohepatitis without worsening fibrosis in 62.9% versus 34.3% with placebo at 72 weeks; the FDA approved it for MASH with moderate to advanced fibrosis in August 2025. See GLP-1 agonists and fatty liver; check its status in your country (in Spain, on CIMA; in the UK, with the MHRA and NICE).
Diabetes medicines: digestive effects
| Medicine | Digestive effect | What to do |
|---|---|---|
| Metformin | Diarrhoea, nausea, metallic taste (common at the start); long-term vitamin B12 deficiency | Increase the dose gradually, take it with food, use modified-release forms; check B12 |
| GLP-1 agonists and tirzepatide | Nausea, vomiting, constipation or diarrhoea, especially when increasing the dose; slowed gastric emptying; more gallstones; a possible link with pancreatitis has been investigated without a clear risk being confirmed | Slow dose escalation, small meals, stop eating when full; seek advice for severe abdominal pain |
| SGLT2 inhibitors (empagliflozin, dapagliflozin) | Euglycaemic ketoacidosis (abdominal pain, vomiting) during fasting, surgery or acute illness | Follow the "sick day rules" agreed with your team; usually stopped 3-4 days before planned surgery |
| Acarbose | Wind, bloating, diarrhoea | Start at low doses |
| Insulin and sulphonylureas | Hypoglycaemia if vomiting or not eating | Adjust doses on sick days |
Endoscopy and diabetes
- Before a colonoscopy, fasting and bowel preparation require adjustment of insulin and diabetes tablets; ask for written instructions. Preparation is somewhat less effective in people with diabetes, so it is sometimes reinforced.
- With GLP-1 agonists, food may remain in the stomach despite standard fasting. The 2024 multisociety guidance generally proposes continuing the medicine with a liquid diet for the 24 hours beforehand, and considering holding it in people with digestive symptoms or in the dose-escalation phase. Always follow your centre's instructions.
Outlook and complications
- Diabetic gastroparesis is chronic, but symptoms usually improve with good glucose control and dietary measures; severe cases cause malnutrition, dehydration and hospital admissions.
- Liver fibrosis, if undetected, can progress silently to cirrhosis and liver cancer.
- Digestive autonomic neuropathy usually accompanies other diabetes complications, which should be reviewed.
Follow-up and surveillance
- Liver fibrosis screening with FIB-4 in type 2 diabetes (and in others with risk factors), repeated every 1-3 years if low.
- Coeliac serology in type 1 diabetes at diagnosis and periodically in the first years, or sooner if there are symptoms.
- Periodic vitamin B12 on metformin.
- Bowel cancer screening according to the national programme.
- Asking about digestive symptoms at diabetes reviews: many people do not mention them unless asked.
Prevention
- Good glucose control from the start: the best prevention of autonomic neuropathy.
- Healthy weight, physical activity and a Mediterranean diet: they prevent and improve fatty liver.
- Do not smoke and avoid alcohol, which damages the liver and pancreas.
- Vaccines recommended in diabetes, including hepatitis B for unvaccinated adults where advised.
Living with diabetes and digestive symptoms
- Keep a diary of meals, symptoms and glucose readings: it helps identify patterns (for example, hypoglycaemia after meals in gastroparesis).
- Have a sick day plan (vomiting, diarrhoea): which medicines to continue or pause, how to stay hydrated, when to check ketones and when to seek help.
- "Diabetic" products containing sorbitol or mannitol can cause diarrhoea and offer no advantage.
- Talk to your team before travelling, fasting (for example, during Ramadan) or an endoscopic procedure.
Myths and facts
- "Vomiting and bloating are normal with diabetes." False: they have treatable causes and sometimes reveal poor control or a medicine side effect.
- "If I have fatty liver but my blood tests are fine, it doesn't matter." False: liver enzymes can be normal with advanced fibrosis; that is why FIB-4 and elastography are used.
- "Metformin damages the liver." False: it is safe in fatty liver and compensated cirrhosis, although it is avoided in decompensated cirrhosis.
- "On semaglutide I can eat whatever I like." False: diet and exercise remain the foundation, and eating large amounts on the medicine worsens nausea.
Questions to ask your doctor
- Could my digestive symptoms be due to diabetes or my medicines?
- Do I have autonomic neuropathy? Do I need a gastric emptying study?
- Has my FIB-4 been calculated? Do I need elastography?
- Should I have coeliac serology?
- What should I do with my medicines if I am vomiting or before a colonoscopy?
- Am I due bowel cancer screening?
Sources
- American Diabetes Association Professional Practice Committee. Standards of Care in Diabetes—2026. Diabetes Care. 2026;49(Suppl 1).
- International Diabetes Federation. IDF Diabetes Atlas, 11th edition. 2025.
- European Association for the Study of the Liver (EASL), European Association for the Study of Diabetes (EASD), European Association for the Study of Obesity (EASO). EASL-EASD-EASO Clinical Practice Guidelines on the management of metabolic dysfunction-associated steatotic liver disease (MASLD). J Hepatol. 2024;81:492-542. doi:10.1159/000539371
- Camilleri M, Kuo B, Nguyen L, et al. ACG clinical guideline: gastroparesis. Am J Gastroenterol. 2022;117:1197-220. doi:10.14309/ajg.0000000000001874
- Sanyal AJ, et al. Phase 3 trial of semaglutide in metabolic dysfunction-associated steatohepatitis (ESSENCE). N Engl J Med. 2025;392(21):2089-2099. doi:10.1056/NEJMoa2413258
- Kindel TL, et al. Multisociety clinical practice guidance for the safe use of glucagon-like peptide-1 receptor agonists in the perioperative period. 2024. doi:10.1016/j.cgh.2024.10.003
- Soriguer F, Goday A, Bosch-Comas A, et al. Prevalence of diabetes mellitus and impaired glucose regulation in Spain: the Di@bet.es Study. Diabetologia. 2012;55:88-93. doi:10.1007/s00125-011-2336-9
- Choung RS, Locke GR 3rd, Schleck CD, et al. Risk of gastroparesis in subjects with type 1 and 2 diabetes in the general population. Am J Gastroenterol. 2012;107:82-8. doi:10.1038/ajg.2011.310
- Chari ST, Leibson CL, Rabe KG, et al. Probability of pancreatic cancer following diabetes: a population-based study. Gastroenterology. 2005;129:504-11. doi:10.1016/j.gastro.2005.05.007
- European Medicines Agency. Restrictions on the use of metoclopramide (2013) and domperidone (2014).
- NICE. Type 2 diabetes in adults: management (NG28).
- MedlinePlus. Gastroparesis.
Sources reviewed and updated in November 2026.