provider image
Welcome! You’re in GoodRx for healthcare professionals. Now, you’ll enjoy a streamlined experience created specifically for healthcare professionals.
Skip to main content
HomeDrugsMetformin

Can Metformin Cause Diarrhea? How to Manage This Gut-Related Side Effect

Mandeep Sohal, PharmDAustin Ulrich, PharmD, BCACP
Updated on June 2, 2025

Key takeaways:

  • Metformin is an oral medication that treats Type 2 diabetes. Diarrhea is the most common side effect of metformin, but it typically gets better in a few weeks.

  • The reason metformin causes diarrhea isn’t exactly clear. But it’s well-known that the immediate-release version of metformin causes diarrhea more frequently than the extended-release form.

  • To prevent and manage diarrhea, it’s recommended to take metformin with a meal. You can also work with a healthcare professional to slowly adjust your dose when needed.

Access savings on related medications

A person with a stomachache looking at a blister pack.
Deagreez/iStock via Getty Images Plus

Metformin lowers blood glucose (blood sugar) in different ways, and it does its job well. This commonly prescribed medication for Type 2 diabetes lowers how much sugar your liver makes, how much sugar is absorbed from food you eat, and it helps your body use its own sugar supply better — all within a few weeks of starting it. What’s more, low blood sugar (hypoglycemia) and weight gain are very rare with metformin. But, these benefits do come with some potential downsides.

Although it's mostly well tolerated, gut-related side effects like diarrhea, nausea and vomiting, and gassiness can occur. Of these, diarrhea is the most common. Fortunately, diarrhea from metformin is often short-lived. And there are ways you can successfully manage it or prevent it altogether.

Why does metformin cause diarrhea?

The exact reason why metformin can cause diarrhea isn’t fully clear. But we do know that it works in the gut to lower blood sugar. 

Search and compare options

Search is powered by a third party. By clicking a topic in the advertisement above, you agree that you will visit a landing page with search results generated by a third party, and that your personal identifiers and engagement on this page and the landing page may be shared with such third party. GoodRx may receive compensation in relation to your search.

One possible explanation is that metformin can alter the bacteria and viruses that live in your gut (also called the microbiome). This disrupts the normal activity inside your gut. It could possibly lead to more frequent and loose stools as your body tries to readjust. 

Another possible explanation is that metformin alters the movement of certain gut chemicals, such as serotonin or histamine. This can lead to diarrhea.

How common is metformin-related diarrhea?

Diarrhea is common with metformin. In clinical trials, diarrhea occurred in more than half of people who took it. 

Promotion disclosure
Avg retail price
$9.00(Save Free%)
GoodRx discount
$9.00
How it works
drug-savings-illustration-1Use GoodRx to find medications, pharmacies, and discounts.
drug-savings-illustration-2GoodRx discounts can help you pay less for your prescription.
drug-savings-illustration-3Bring your free coupon or savings card to the pharmacy.

Unfortunately, some people find this to be an inconvenient and limiting side effect that disrupts their daily routine. The good news is that gut-related side effects from metformin tend to improve over time.

How long does diarrhea from metformin last?

Diarrhea is most common during the first few weeks of taking the medication. But these initial weeks can be tough. Generally, about 5% of people reported that gut-related side effects were the reason why they stopped taking metformin. However, know that it tends to get better in later weeks.

If diarrhea from metformin becomes especially bothersome, it’s important to talk to your prescriber. They can talk to you about ways to prevent and manage diarrhea, including possible dose adjustments.

Is it possible to prevent metformin diarrhea?

Possibly. The golden rule is to take metformin with a meal or right after a meal. You’re more likely to have gut-related side effects, such as nausea and diarrhea, from metformin if you take it on an empty stomach.

It’s a good idea to take metformin with food from your very first dose and on. Pairing it with a meal, or even storing it in a secure location near your kitchen or dining table, is a good way to build this habit.

If you miss a dose of metformin with your usual meal, take the missed dose as soon as you remember. You may need to eat a snack depending on when your last meal was to avoid taking it on an empty stomach. But if it’s almost time for your next dose, skip the one you missed and take your next dose as normal. No need to double up on doses.

GoodRx icon

How can you manage diarrhea from metformin?

If you’re taking metformin with food and still experiencing diarrhea, there are other management tips to try.

Switching formulations from the traditional immediate-release (IR) formulation to an extended-release (ER) formulation is one option. You might also see the ER formulation written as XR — they’re the same thing. Compared to metformin IR, the ER version releases medication more slowly and is less likely to cause gut-related side effects. Making the switch to metformin ER may be one way to tolerate metformin better.

Another way to manage diarrhea from metformin is to work closely with your prescriber when starting and adjusting your dosage. For both IR and ER formulations, there is a lower risk of having gut-related side effects with slow and careful dosage changes. This is because your body is given more time to adjust to a new dose.

A typical metformin starting dosage is 500 mg once or twice daily with a meal. If a higher dose is needed, it’s a good idea to raise it by no more than 500 mg every 1 to 2 weeks until you reach your target dose. This gives time for your body to adjust. Raising the dose too quickly or by too much worsens the risk of diarrhea.

When should you contact your healthcare professional about diarrhea from metformin?

If you’re still having stomach-related side effects after taking metformin for a few weeks, talk to a healthcare professional. They may recommend lowering your dose, switching to the ER formulation, or taking metformin right after a meal. They may also recommend ways to treat medication-induced diarrhea, such as with anti-diarrheal medications, while your body adjusts to metformin.

If none of these changes work, your prescriber may suggest stopping metformin altogether and trying a different diabetes medication. But it’s important that you don’t stop taking metformin on your own. Your prescriber can walk you through the next steps.

Frequently asked questions

Can you take metformin on an empty stomach? 

Taking metformin on an empty stomach isn’t generally recommended. Doing so increases the risk of gut-related side effects. It’s best to take metformin with a meal or snack. This helps your body slow down how quickly metformin is absorbed, making it easier on your digestive system.

What food shouldn’t be eaten with metformin?

There are several foods to consider avoiding while taking metformin. This includes high-fat and spicy foods, as they can make side effects such as nausea worse. Sugary drinks, snacks, and other sugary food items should also be minimized. They can make it harder for your body to stay on top of your blood sugar levels. Mixing alcohol and metformin could cause issues such as lactic acidosis, a potentially serious health condition.

Do you lose weight with metformin because of diarrhea?

Metformin can help you lose some weight. But this typically doesn’t happen because of diarrhea. Metformin weight loss is more likely linked to weight loss by reducing feelings of hunger and altering the natural bacteria in your digestive system.

Can high blood sugar cause diarrhea?

Yes, high blood sugar can contribute to diarrhea. This is because elevated blood sugar levels over time can damage nerves in your digestive system. These nerves help your gut absorb water and nutrients, and you may experience diarrhea when they don’t work properly.

The bottom line

The most common metformin side effect is diarrhea. You may be able to prevent or manage this side effect by taking it with a meal, switching to an extended-release (ER) formulation, or working with your healthcare professional to slowly adjust your dose. Always talk to your healthcare professional before adjusting or stopping metformin on your own.

why trust our exports reliability shield

Why trust our experts?

Mandeep Sohal, PharmD
Mandeep Sohal, PharmD, has more than 7 years of experience in the pharmaceutical industry and is licensed in California. In his career, he’s had experience with specialty pharmacy, community pharmacy, pharmacy benefit management, and pharmaceutical manufacturers.
Joshua Murdock, PharmD, BCBBS
Joshua Murdock, PharmD, BCBBS, is a licensed pharmacist in Arizona, Colorado, and Rhode Island. He has worked in the pharmacy industry for more than 10 years and currently serves as a pharmacy editor for GoodRx.
Austin Ulrich, PharmD, BCACP
Austin Ulrich, PharmD, BCACP, is a board-certified ambulatory care clinical pharmacist. In his early career, he provided direct patient care in a variety of settings, including hospital and community pharmacies, and in a primary care clinic as a clinical pharmacist.

References

Boland, B. S., et al. (2013). Gastrointestinal complications of Diabetes. Endocrinology and Metabolism Clinics of North America.

Brody, H., et al. (2020). The gut microbiome. Nature.

View All References (8)

Corcoran, C., et al. (2023). Metformin. StatPearls.

Hameed, M., et al. (2017). Dose comparison and side effect profile of metformin extended release versus metformin immediate release. Journal of Ayub Medical College Abbottabad.

McCreight, L. J., et al. (2016). Metformin and the gastrointestinal tract. Diabetologia.

MedlinePlus. (2024). Metformin.

RemedyRepack. (2025). Metformin hydrochloride- metformin hydrochloride tablet, film coated [package insert].

Siavash, M., et al. (2017). Severity of gastrointestinal side effects of metformin tablet compared to metformin capsule in type 2 Diabetes Mellitus patients. Journal of Research in Pharmacy Practice.

Time Cap Laboratories. (2025). Metformin hydrochloride extended release- metformin hydrochloride tablet, extended release [package insert].

Yerevanian, A., et al. (2019). Metformin: Mechanisms in human obesity and weight loss. Current Obesity Reports.

GoodRx Health has strict sourcing policies and relies on primary sources such as medical organizations, governmental agencies, academic institutions, and peer-reviewed scientific journals. Learn more about how we ensure our content is accurate, thorough, and unbiased by reading our editorial guidelines.

Was this page helpful?

Learn How to Lower Your A1C

Join our 12-week newsletter series that has the lifestyle, diet, and medication information you need to help lower your A1C.

By providing your email, you consent to receive marketing communications from GoodRx, which may include content and/or data related to men’s health, women's health, reproductive care, or sexual health. You agree to the GoodRx Terms of Use and acknowledge the Privacy Policy. You can unsubscribe at any time.

Related Articles

Browse medications

View All

Research prescriptions and over-the-counter medications from A to Z, compare drug prices, and start saving.