Metformin does not typically cause colitis on its own, but it can trigger significant inflammation and irritation in the colon that mimics colitis symptoms. It’s one of the most common causes of drug-related gastrointestinal side effects, with up to 25% of users experiencing diarrhea, cramping, or abdominal pain. In certain situations, particularly when combined with immune-based cancer therapies, metformin has been linked to higher rates of actual colitis.
How Metformin Affects the Colon
Metformin concentrates in the gut at levels far higher than in the bloodstream, which is why gastrointestinal problems are its most frequent side effect. The drug increases the amount of glucose available to bacteria in the large intestine, shifts the composition of gut bacteria, and alters how bile acids are recycled. These changes speed up the movement of food through the colon and draw extra water into the bowel, producing loose stools and cramping that can look and feel a lot like colitis.
Imaging studies confirm just how much metformin ramps up activity in the colon. When patients on metformin undergo PET/CT scans, their bowel tissue lights up with significantly more metabolic activity than normal. In one study, stopping metformin for just two days reduced that intestinal activity by 64%. This tells us the drug is actively driving inflammation-like changes in the gut wall, not just loosening stool. The activity is most pronounced in the large bowel, which is the same area affected in colitis.
Metformin and Immune-Mediated Colitis
There is one context where metformin has been directly associated with true colitis. Patients taking immune checkpoint inhibitors for cancer treatment develop colitis at noticeably higher rates if they’re also on metformin. A 2025 study found that 7.6% of metformin users on checkpoint inhibitors developed immune-mediated colitis, compared to 4.9% of those not taking metformin. That’s a meaningful jump.
Checkpoint inhibitors work by releasing the brakes on the immune system so it can fight tumors, but this also makes the immune system more likely to attack healthy tissue, including the colon lining. Metformin appears to amplify this effect, possibly by altering gut bacteria in ways that make the colon more vulnerable to immune attack. If you’re on both medications, this is worth discussing with your oncologist.
Common GI Side Effects vs. Actual Colitis
Most people who develop stomach and bowel problems on metformin are dealing with drug-related diarrhea, not colitis in the clinical sense. The distinction matters because colitis involves visible inflammation of the colon lining, while metformin-associated diarrhea can occur without structural damage. Here’s how they differ in practice:
- Metformin-related diarrhea: Usually watery, non-bloody stools. Often starts within weeks of beginning the drug or increasing the dose, though it can appear months or even years later. Cramping and bloating are common. Resolves after stopping the medication.
- Drug-induced or microscopic colitis: May include blood or mucus in stool, more severe cramping, urgency, and nighttime symptoms. Requires a colonoscopy with biopsy to confirm, since microscopic colitis looks normal on visual inspection but shows inflammation under a microscope.
One complicating factor is that metformin-associated diarrhea can develop late, sometimes after years of use without problems. The American Academy of Family Physicians notes that this late-onset diarrhea is often misattributed to irritable bowel syndrome or microscopic colitis when metformin is actually the culprit. Because the onset can be so delayed, neither patients nor doctors always connect it to a medication that was previously well tolerated.
How to Tell if Metformin Is the Cause
The simplest diagnostic step is also the most effective: stop taking metformin for two weeks and see if the diarrhea resolves. The AAFP recommends this as a first-line approach before pursuing colonoscopy or other workup for chronic diarrhea in patients with type 2 diabetes. If symptoms clear up completely, metformin was the likely cause. If they persist, further investigation is warranted.
Imaging data supports this timeline. Bowel inflammation markers drop significantly within 24 hours of stopping metformin and continue falling over 48 hours. The large bowel shows the most dramatic improvement at the 48-hour mark, while the small bowel settles down within the first day. By three days off the drug, studies show both visual and measurable decreases in colon activity. So if metformin is driving your symptoms, you should notice improvement within days, not weeks.
Reducing GI Side Effects Without Stopping
If metformin is managing your blood sugar well but your gut is unhappy, there are practical adjustments that often help. Taking the medication with food slows its absorption and reduces the concentration hitting your intestines all at once. Starting at a low dose and increasing gradually over several weeks gives gut bacteria time to adapt.
Extended-release metformin is the most effective change for persistent GI problems. It releases the drug slowly throughout the day instead of all at once, which significantly reduces diarrhea and cramping for most people. Studies consistently show that switching from immediate-release to extended-release cuts GI side effects substantially, and many doctors now start patients on extended-release from the beginning.
For the subset of patients who cannot tolerate any formulation, the two-week discontinuation trial provides a clean answer. If your symptoms resolve and then return when you restart, that confirms metformin as the cause, and your doctor can explore alternative diabetes medications that don’t concentrate in the gut.

