Yes, metformin can cause constipation, though it’s one of the less common gastrointestinal side effects. A large meta-analysis of observational studies found constipation in about 1.1% of metformin users, making it far less frequent than diarrhea (6.9%) or bloating (6.2%). Still, if you’re the one experiencing it, that low percentage doesn’t make it any less real.
How Common Is Constipation vs. Other Side Effects
Metformin is well known for causing digestive issues, but most of the attention goes to diarrhea and nausea. Here’s how the side effects actually break down in large studies:
- Diarrhea: 6.9%
- Bloating: 6.2%
- Abdominal pain: 5.3%
- Nausea: 5.0%
- Vomiting: 2.4%
- Constipation: 1.1%
Those numbers tell one story, but a closer look at symptom severity tells another. A two-center study that tracked patients for four weeks after starting metformin found something surprising: constipation severity scores were actually higher than diarrhea scores. At the four-week mark, constipation severity averaged 5.9 on a standardized symptom scale, compared to just 3.3 for diarrhea. Fewer people may report constipation, but those who experience it can find it quite bothersome.
Why Metformin Affects Your Gut
Metformin doesn’t just work in the liver. A significant portion of its action happens directly in the intestines, which explains why digestive side effects are so common. The drug increases glucose uptake in the intestinal wall, raises levels of certain gut hormones (particularly GLP-1), and changes the composition of bile acids pooling in the intestine. It also reshapes the community of bacteria living in your gut.
These changes generally speed up gut motility, which is why diarrhea is the most reported complaint. But the gut microbiome shift doesn’t affect everyone the same way. For some people, the altered bacterial balance or changes in fluid absorption can slow things down instead. Metformin also appears to influence histamine signaling in the gut wall by inhibiting an enzyme that breaks histamine down. Histamine normally promotes gut motility, so depending on your individual biology, these overlapping effects can tip the balance in either direction.
There’s also an indirect pathway worth knowing about. Metformin is well documented to reduce vitamin B12 absorption over time. While B12 deficiency is primarily associated with nerve-related symptoms, long-term nutritional changes from the drug could contribute to shifts in overall digestive function.
Immediate-Release vs. Extended-Release
The formulation of metformin you take matters. A prospective study comparing immediate-release (IR) and extended-release (XR) metformin found that 4.8% of people on the immediate-release version reported constipation, while zero patients in the extended-release group did. The difference wasn’t statistically significant due to the small sample size, but the pattern is consistent with what doctors generally observe: extended-release metformin causes fewer gastrointestinal problems across the board, including less diarrhea, less bloating, and less constipation.
If you’re taking immediate-release metformin and constipation is a persistent issue, asking about switching to the extended-release version is a reasonable conversation to have with your prescriber.
When It Starts and How Long It Lasts
Most gastrointestinal side effects from metformin appear within the first few days to weeks of starting the medication or increasing the dose. Constipation typically follows the same pattern. For many people, it gets better on its own as the body adjusts, usually within a few weeks.
That said, not everyone’s symptoms resolve. Some people experience ongoing constipation that persists well beyond the initial adjustment period. If your constipation is still present after several weeks, that’s worth bringing up, because there are options for managing it without stopping the medication.
What Can Help
One of the more interesting findings in recent research involves probiotics. A meta-analysis found that adding probiotics to metformin therapy reduced the risk of several gastrointestinal side effects, including constipation, diarrhea, and bloating. The exact strains and doses varied across the studies included, but the overall trend was clear: probiotics helped the gut tolerate metformin better.
Beyond probiotics, the standard strategies for managing constipation apply. Increasing fiber intake gradually (fruits, vegetables, whole grains), staying well hydrated, and maintaining regular physical activity all support healthy bowel function. Hydration is especially important if you’re also experiencing episodes of diarrhea from metformin, since fluid loss from loose stools can paradoxically contribute to constipation later on.
Taking metformin with food is another simple step. This slows the drug’s absorption and reduces the intensity of its effects on the gut lining, which can ease digestive symptoms in both directions. If you’re on a high dose, splitting it across meals rather than taking it all at once can also help.

