Metformin: interactions, side effects, and warnings

Mike Bohl, MD, MPH, ALM - Contributor Avatar

Written by Rachel Honeyman 

Mike Bohl, MD, MPH, ALM - Contributor Avatar

Written by Rachel Honeyman 

last updated: Nov 20, 2020

6 min read

Have you ever wondered why you have to answer so many questions about the medications you take when you go to a new healthcare provider? 

One important reason is that drug interactions—the way different medications interact with one another in your body—can change the way your body responds to those medications. In some cases, drug interactions can be extremely dangerous.

Metformin, a medication used to treat type 2 diabetes mellitus, is generally a safe drug that most people tolerate well, but there are certain drug interactions you should know about. Before starting on metformin, be sure to tell your healthcare provider about any current or recent medications.


Improve and support your health from the comfort of home

Most common metformin interactions

Metformin has almost no serious drug interactions, though there are certain medications or substances that can cause unwanted responses in your body (Maideen, 2017). If you're taking any of these, your healthcare provider may want to monitor you closely or may recommend an alternative treatment option. 

Some possible drug interactions include (Song, 2016): 

  • Iodinated contrast (used in imaging tests)

  • Certain anticancer drugs (specifically vandetanib and drugs that fall under the class called tyrosine kinase inhibitors)

  • Some antimicrobial drugs (such as cephalexin and rifampin)

  • Alcohol (but only in excessive amounts)

  • Certain HIV medications (such as dolutegravir)

Most of these substances or medications have one thing in common: When taken with metformin, they can raise the body's levels of lactic acid. That raises some concerns since the most serious (though exceedingly rare) adverse effect associated with metformin is a life-threatening condition called lactic acidosis, in which the body's lactic acid levels become dangerously high (Foucher, 2020). 

Metformin and alcohol

You may notice that alcohol is included in the list of drug interactions above, but only in excessive amounts. It's fine to drink moderate amounts of alcohol while taking metformin (generally defined as one drink for women or two drinks for men per day), but you'll want to avoid drinking more heavily than that while on this medication (U.S. Department of Health and Human Services, 2015). 

Heavy drinking isn't a good idea while taking metformin because excessive alcohol drinking is a known risk factor for lactic acidosis (Fulop, 1989). Since taking metformin may increase the risk of lactic acidosis on its own, it's important to avoid behaviors that put you at even higher risk while taking this drug. 

Metformin and other foods 

While excessive alcohol isn't a good idea while taking metformin, it's fine to eat or drink any other foods while taking this medication. 

Unlike fast-acting insulins and some other diabetes drugs, metformin primarily works to lower blood sugar between meals, along with lowering a compound called hemoglobin a1c (which is a marker that gives a good estimate of blood sugar levels over a longer period of time). Since it works this way, it doesn't have much impact on blood sugar levels immediately following a meal (also called postprandial glucose). 

There's no problem with eating sugar or any other type of food while taking metformin. (Of course, eating excessive amounts of sugar, especially if you have type 2 diabetes, can raise your blood sugar even if you are taking metformin). 

It's generally a good idea to take metformin with meals since that may cut down on any gastrointestinal (GI) side effects. If you don't have any GI symptoms, though, you can take metformin without food, too—whatever you prefer.

What is metformin and how does it work?

Metformin is known by several different brand names, including Glucophage, Glumetza, Riomet, and Fortamet (US. National Library of Medicine, 2018). It's part of a class of drugs called biguanides and has been used as a successful treatment for type 2 diabetes for decades (Markowicz-Piasecka, 2017). It's also effective at preventing diabetes in patients with prediabetes or moderate insulin resistance (Lilly, 2009).

Many healthcare providers also use metformin off-label to treat polycystic ovary syndrome (PCOS), which is associated with hormonal symptoms like infertility, acne, early pregnancy loss, and diabetes in pregnant women (Markowicz-Piasecka, 2017). Metformin use can improve these symptoms, though it is not FDA-approved to treat PCOS. 

There's been some research showing that metformin might be useful in other medical conditions, but we don't have any conclusive evidence at this point. Cancer, aging, and heart disease are just a few of the diseases being studied. As of now, metformin is only FDA-approved to treat type 2 diabetes, not type 1 diabetes

Metformin is effective at treating type 2 diabetes because it lowers the body's blood glucose levels and improves glycemic control (blood sugar control) by reducing glucose production in the liver. In type 2 diabetes, the body doesn't process sugar properly, which leads to high blood sugar. Along with lifestyle changes, metformin can be an integral part of type 2 diabetes care. 

Side effects of metformin

While most patients tolerate metformin well, GI side effects are quite common (Bonnet, 2016). Up to 25% of people can experience symptoms like nausea, diarrhea, vomiting, heartburn, and other side effects related to the gut, but only about 5% of those people have such severe symptoms that they need to stop taking metformin altogether (McCreight, 2016). Let's look at these and other side effects more closely. 

Metformin's effects on the GI tract

Why are there so many GI side effects of metformin? The body absorbs metformin primarily in the small intestine and has several key interactions with the gut. It increases a hormone in the gut called GLP-1, changes the gut microbiome, and boosts bile acid production in the intestine (McCreight, 2016). All of these actions lead to higher rates of GI side effects. 

To decrease these uncomfortable side effects, it's sometimes recommended that people start out on a lower dose of metformin and gradually work their way up to their prescribed dose. Taking metformin with meals can help, too, as can switching to the extended-release tablets instead of the immediate-release formula (Blonde, 2004).

Metformin diarrhea

The most common side effect you might experience on metformin is diarrhea—more than 60% of patients who complain of GI symptoms on metformin have diarrhea (Fatima, 2018). While we don't know the exact reason taking metformin can cause diarrhea, we do know that:

  • Metformin increases the gut's serotonin signaling levels.

  • Taking metformin lowers the level of bile salts that get absorbed into the gut. 

When serotonin signaling is raised and bile salt absorption is lowered, the body responds by contracting the muscles in the gut while pulling more fluids into it. What do you get when you combine muscular contractions and fluids in the gut? Diarrhea. 

It's also important to note that patients with type 2 diabetes experience higher rates of diarrhea (about 20% of patients with type 2 diabetes), even without taking metformin (Gould, 2009). Taking metformin bumps up diarrhea rates in this population to as high as 50%.

Other metformin side effects

Vitamin B12 deficiency is another common side effect, showing up in about one-fifth of all patients taking metformin (de Jager, 2010). This side effect is easy to manage with a vitamin B12 supplement. 

The most serious adverse effect associated with metformin is lactic acidosis, a life-threatening condition that occurs when the levels of lactic acid in the blood become dangerously high (Foucher, 2020). While lactic acidosis is an exceedingly rare complication of metformin, there is concern about anything that may increase your risk while on this medication (Stang, 1999). That's the primary reason you may need additional monitoring if you are taking certain other drugs.

Can metformin cause weight loss?

If the high rates of diarrhea scare you, here's a possible positive side effect associated with metformin: weight loss—or, at the very least, weight maintenance. Metformin can contribute to modest weight loss, but weight maintenance is where it really shines (Apolzan, 2019). This is a welcome contrast to other commonly prescribed diabetes medications, which are associated with dramatic weight gain (Provilus, 2011). The antidiabetic drugs that tend to cause weight gain are: 

  • Insulin

  • Sulfonylureas (examples include glimepiride, glipizide, and glyburide)

  • Thiazolidinediones (also called TZDs—the two drugs in this class are rosiglitazone and pioglitazone) 

Many patients with type 2 diabetes are concerned about obesity and weight gain, so metformin can be a good option. Metformin is no miracle weight loss drug, but even helping patients avoid weight gain is valuable.

Is metformin safe?

When discussing drug interactions and side effects, safety is probably top of mind. How safe is metformin? For the vast majority of people, it's very safe and has been associated with virtually no safety issues (Diabetes Prevention Program Research Group, 2012). Beyond being generally safe, research shows that taking metformin can lower death rates in patients from all causes, including diabetes-related deaths (Markowicz-Piasecka, 2017). 

Still, metformin is not the best drug for all patients, particularly patients at higher risk for lactic acidosis, which happens when lactic acid levels become dangerously high. One of the potential outcomes of lactic acidosis is liver or kidney failure, so patients with advanced liver disease or severely diminished kidney function are at increased risk of developing this condition and shouldn't take metformin. 

Patients with mild to moderate chronic kidney disease, though, can probably take metformin safely (MacCallum, 2019). They may just need to be closely monitored. 

There was some concern about metformin being unsafe for patients with congestive heart failure (CHF) or a history of heart attack, but we now know that heart failure is not a contraindication for taking metformin and might even improve symptoms of CHF (Tahrani, 2007). 

Metformin warnings

While metformin is safe for most patients and can even be taken alongside most drugs, there is a boxed warning on the drug information label about the risk of lactic acidosis (Crowley, 2016). The FDA strongly discourages anyone with advanced kidney disease from taking metformin since those patients are at a higher risk for developing lactic acidosis.

Can you just stop taking metformin?

One of the safety concerns with any medication is how to stop taking it if you need to. With metformin, it's fine to stop taking it without tapering off the medication, but it's important to do so under the medical advice and guidance of your healthcare provider. Of course, when you stop taking metformin, you'll lose any positive effects you might have had while taking it. 

Managing drug interactions on metformin

If you're taking any of the medications that interact with metformin, don't be discouraged. Speak with your healthcare provider about any medications you are taking so he or she can address any possible drug interactions and adjust your medications as needed.


If you have any medical questions or concerns, please talk to your healthcare provider. The articles on Health Guide are underpinned by peer-reviewed research and information drawn from medical societies and governmental agencies. However, they are not a substitute for professional medical advice, diagnosis, or treatment.

  • Apolzan, J. W., Venditti, E. M., Edelstein, S. L., Knowler, W. C., Dabelea, D., Boyko, E. J., et al. (2019). Long-term weight loss with metformin or lifestyle intervention in the diabetes prevention program Outcomes Study [Abstract]. Annals of Internal Medicine, 170 (10), 682-690. doi:10.7326/M18-1605. Retrieved from

  • Blonde, L., Dailey, G. E., Jabbour, S. A., Reasner, C. A., & Mills, D. J. (2004). Gastrointestinal tolerability of extended-release metformin tablets compared to immediate-release metformin tablets: Results of a retrospective cohort study [Abstract]. Current Medical Research and Opinion, 20 (4), 565-572. doi:10.1185/030079904125003278. Retrieved from

  • Bonnet, F. & Scheen, A. (2016). Understanding and overcoming metformin gastrointestinal intolerance. Diabetes, Obesity and Metabolism, 19 (4). doi:10.1111/dom.12854. Retrieved from

  • Crowley, M. J., Diamantidis, C. J., & McDuffie, J. R. (2016). Metformin use in patients with historical contraindications or precautions. Washington (DC): Department of Veterans Affairs (US) . APPENDIX A, FDA SAFETY ANNOUNCEMENTS FOR METFORMIN. Available from

  • De Jager, J., Kooy, A., Lehert, P., Wulffelé, M. G., Van der Kolk, J., Verburg, J., et al. (2010). Long term treatment with metformin in patients with type 2 diabetes and risk of vitamin B-12 deficiency: Randomised placebo controlled trial [Abstract]. BMJ, 340 (C2181). doi:10.1136/bmj.c2181. Retrieved from

  • The Diabetes Prevention Program Research Group. (2012). Long-term safety, tolerability, and weight loss associated with metformin in the diabetes prevention program outcomes study. Diabetes Care, 35 (4), 731-737. doi:10.2337/dc11-1299. Retrieved from

  • Fatima, M., Sadeeqa, S., & Nazir, S. U. (2018). Metformin and its gastrointestinal problems: A review. Biomedical Research, 29 (11). doi:10.4066/biomedicalresearch.40-18-526. Retrieved from

  • Foucher, C. D. & Tubben, R. E. (2020). Lactic acidosis. StatPearls . Retrieved Nov. 9, 2020 from

  • Fulop, M. (1989). Alcoholism, ketoacidosis, and lactic acidosis [Abstract]. Diabetes/Metabolism Reviews, 5 (4), 365-378. doi:10.1002/dmr.5610050404. Retrieved from

  • Gould, M. & Sellin, J. H. (2009). Diabetic diarrhea. Current Gastroenterology Reports, 11 (5), 354-359. doi:10.1007/s11894-009-0054-y. Retrieved from

  • Jabbour, S. & Ziring, B. (2011). Advantages of extended-release metformin in patients with type 2 diabetes mellitus [Abstract]. Postgraduate Medicine, 123 (1), 15-23. doi:10.3810/pgm.2011.01.2241. Retrieved from

  • Lilly, M., & Godwin, M. (2009). Treating prediabetes with metformin: Systematic review and meta-analysis. Canadian Family Physician, 55 (4), 363-369. Retrieved Nov. 11, 2020 from

  • MacCallum, L. & Senior, P. A. (2019). Safe use of metformin in adults with type 2 diabetes and chronic kidney disease: Lower dosages and sick-day education are essential [Abstract]. Canadian Journal of Diabetes, 43 (1), 76-80. doi:10.1016/j.jcjd.2018.04.004. Retrieved from

  • Markowicz-Piasecka, M., Huttunen, K. M., Mateusiak, Ł, Mikiciuk-Olasik, E., & Sikora, J. (2017). Is metformin a perfect drug? Updates in pharmacokinetics and pharmacodynamics. Current Pharmaceutical Design, (23), 2532-2550. doi:10.2174/1381612822666161201152941. Retrieved from

  • Maideen, N. M., Jumale, A., & Balasubramaniam, R. (2017). Drug interactions of metformin involving drug transporter proteins. Advanced Pharmaceutical Bulletin, 7 (4), 501-505. doi:10.15171/apb.2017.062. Retrieved from

  • McCreight, L. J., Bailey, C. J., & Pearson, E. R. (2016). Metformin and the gastrointestinal tract. Diabetologia, (59), 426-435. doi:10.1007/s00125-015-3844-9. Retrieved from

  • National Library of Medicine. (2018). DailyMed: Glucophage - metformin hydrochloride tablet, film coated; Glucophage XR - metformin hydrochloride tablet, extended release. Retrieved Nov. 10, 2020, from

  • Provilus, A., Abdallah, M., & McFarlane, S. I. (2011). Weight gain associated with antidiabetic medications. Therapy, 8 (2), 113-120. doi:10.2217/THY.11.8. Retrieved from

  • Song, I. H., Zong, J., Borland, J., Jerva, F., Wynne, B., Zamek-Gliszczynski, M. J., et al. (2016). The effect of dolutegravir on the pharmacokinetics of metformin in healthy subjects [Abstract]. Journal of Acquired Immune Deficiency Syndromes, 72 (4), 400-407. doi:10.1097/QAI.0000000000000983. Retrieved from

  • Stang, M. (1999). Incidence of lactic acidosis in metformin users [Abstract]. Diabetes Care, 22 (6), 925-927. doi:10.2337/diacare.22.6.925. Retrieved from

  • Tahrani, A. A., Varughese, G. I., Scarpello, J. H., & Hanna, F. W. (2007). Metformin, heart failure, and lactic acidosis: Is metformin absolutely contraindicated? BMJ, 335 (7618), 508-512. doi:10.1136/bmj.39255.669444.AE. Retrieved from

  • U.S. Department of Health and Human Services and U.S. Department of Agriculture. 2015 – 2020 Dietary Guidelines for Americans . 8th Edition. 2015. Available at

How we reviewed this article

Every article on Health Guide goes through rigorous fact-checking by our team of medical reviewers. Our reviewers are trained medical professionals who ensure each article contains the most up-to-date information, and that medical details have been correctly interpreted by the writer.

Current version

November 20, 2020

Written by

Rachel Honeyman

Fact checked by

Mike Bohl, MD, MPH, ALM

About the medical reviewer

Dr. Mike is a licensed physician and a former Director, Medical Content & Education at Ro.