Metformin is one of the most prescribed medicines on the planet, with more than 150 million people currently taking it for type 2 diabetes management (and, in some cases, weight loss).
While it is generally well tolerated, like all medications, it can have side effects.
In this article, we’ll look at how metformin works; its common, uncommon, and serious side effects; and how to alleviate those side effects.
How metformin works
Metformin (brand names Glucophage, Glucophage XR, Fortamet, Glumetza, and Riomet, plus various generics) works by reducing the amount of sugar the liver releases throughout the day and increasing the body’s sensitivity to insulin.
It also reduces the amount of glucose (sugar) that is absorbed from the food you eat, which in turn reduces your blood sugar levels after eating.
Common side effects of metformin
The most common side effects of metformin include:
- Diarrhea (varying from mild to severe)
- Flatulence (passing gas)
- Nausea or vomiting
- Bloating and constipation
- Stomach discomfort
- Heartburn
- Headache
- Decreased appetite and weight loss
- Muscle pain or cramping
- A metallic taste in the mouth
Another common side effect of metformin is weight loss. Although the medicine is not FDA-approved for this use, it is frequently prescribed off-label for this purpose. In the Diabetes Prevention Program (DPP) Study, average weight loss among metformin users was approximately 4.4 to 6.6 pounds over two to three years.
See more in: Metformin and Weight Loss: Can a Pill Help You Lose Weight?
Foods to avoid while taking metformin
Experts don’t specifically recommend avoiding any particular foods while taking metformin to prevent gastrointestinal side effects such as diarrhea.
That said, there are certain foods and beverages that can increase the risk of these issues in general, so you may want to reduce your consumption of them if you are experiencing gastrointestinal discomfort with metformin. These include:
- Sugar
- Artificial sweeteners
- Dairy products
- Garlic, onions, and other foods high in FODMAPs (fermentable oligosaccharides, disaccharides, monosaccharides, and polyols — certain sugars that are poorly absorbed and may cause intestinal distress)
- Fructose (a natural sugar found in fruit)
- Gluten (a protein found in wheat, rye, barley, and their hybrids)
- Fried or fatty foods
- Spicy foods
- Alcohol
- Caffeine
These changes might help manage gastrointestinal symptoms such as diarrhea while taking metformin.
Learn more in: Can Metformin Cause Diarrhea? and Foods to Avoid While Taking Metformin.
How long after taking metformin do side effects start?
Metformin’s side effects usually appear quickly after the first dose, and while they improve for some people after a few weeks, others may find they persist.
Others may not even begin to experience side effects until they’ve been taking the drug for months or a year.
Uncommon (serious) side effects of metformin
Vitamin B12 deficiency
Recent research has shown that long-term use of metformin can result in vitamin B12 deficiency in some people. Symptoms of vitamin B12 deficiency can include:
- Anemia
- Inflammation of the tongue
- Fatigue
- Palpitations
- Pale skin
- Dementia
- Weight loss
- Infertility
Left untreated, B12 deficiency can cause significant nerve damage, ultimately leading to a diagnosis of peripheral neuropathy.
If a doctor isn’t aware of this risk, they could misdiagnose the cause of a person’s neuropathy as being the result of high blood sugar levels when it may in fact be a side effect of the B12 deficiency caused by metformin.
This nerve damage is irreversible, but further damage can be prevented by supplementing with a regular dose of vitamin B12.
Everyone taking metformin should have their B12 levels tested annually. In consultation with their healthcare provider, anyone with inadequate levels should start taking a B12 supplement immediately. (Vitamin B12 injections every few months may be recommended in some cases.)
Lactic acidosis
There have been a significant number of studies on metformin’s risk of causing lactic acidosis — a potentially fatal condition in which lactic acid builds up in the body. Symptoms of lactic acidosis can include:
- Nausea
- Vomiting
- Weakness
- Fatigue
- Fast, deep breathing
- Muscle cramps and body aches
Metformin comes with a “black box” warning about this risk, the most severe warning that the U.S. Food and Drug Administration (FDA) issues.
That said, a large-scale study reported in 2022 examined 4,241 cases of suspected metformin-associated lactic acidosis and found that only a small fraction (9 percent) had sufficient data to support such a diagnosis, underscoring the rarity of this condition.
Almost all cases of lactic acidosis from metformin use are results of overdoses — not normal use of the drug.
Those most at risk of developing lactic acidosis while on metformin include people with conditions such as kidney or liver issues, a history of heart attacks or acute heart failure, and frequent alcohol consumers.
See more in: Can Metformin Cause Lactic Acidosis?
Hypoglycemia (low blood sugar)
Metformin only very rarely causes hypoglycemia in people with diabetes who are not taking insulin injections, because it doesn’t increase insulin production like many other diabetes medications.
Call your doctor if you have any symptoms of hypoglycemia, which can include:
- Weakness
- Tiredness
- Nausea
- Vomiting
- Stomach pain
- Dizziness
- Lightheadedness
- Abnormally fast or slow heartbeat
“Fake” low blood sugar
While this isn’t a negative side effect, it’s an important situation to be aware of when starting on metformin.
When you drop your blood sugars to a “normal” range after running consistently high for a while, you may experience “fake” symptoms of low blood sugar.
Because your body has become used to high blood sugars, returning to normal levels may make you feel dizzy, lightheaded, nauseous, and extremely hungry.
This should pass after a few days to weeks as your body adjusts to your new normal blood sugar levels.
If you’re feeling low, always check your blood sugar to make sure you aren’t experiencing a real low blood sugar (typically considered to be below 70 mg/dl) that requires treatment with glucose.
Allergic reactions to metformin
Allergic reactions to metformin are rare, but they do happen. Symptoms of an allergic reaction can include:
- Rash
- Hives
- Itching
- Swelling of the face, lips, or tongue
- Difficulty breathing
If you experience any of these symptoms, seek medical attention immediately.
Reducing metformin side effects
Fortunately, there are a few things you can do to alleviate, lessen, or altogether prevent the side effects caused by metformin.
Take your dose during your meal, not before
One key step is to take your metformin dose halfway through eating your meal, rather than before you start eating.
People taking the medicine report far less stomach distress if there is already food in their stomach by the time their metformin dose is being digested.
Start with a very small dose
By starting with an extremely small dose, instead of the full dose your doctor would normally prescribe for your height and weight, you may be able to drastically reduce those initially uncomfortable side effects.
If this is an approach you’d like to try, talk to your doctor about adjusting your doses in order to give your body time to acclimate to the drug.
Read more in: Metformin Dosage Guide (Min and Max Doses).
Ask for the “extended-release” version
Too often, doctors prescribe the regular (standard- or immediate-release) version without any consideration for the extended-release (ER or XR) version.
When using the ER/XR version of metformin, the medication is gradually released over several hours instead of immediately. This process effectively lessens the unwanted gastrointestinal symptoms.
Although it may be more expensive, this approach can significantly decrease the overall side effects of metformin.
However, you may need to try the regular version first. This is so your doctor can tell your insurance company that you tried it and it wasn’t the right medication for you. Then they will be more likely to cover the extended-release version.
Take your dose whole
It is important not to crush, break, or chew your metformin tablets, as doing so could cause them to be absorbed more quickly and increase the risk of side effects.
Combine it with other diabetes medications
If your healthcare provider intends to start you on a GLP-1 drug, the side effects of metformin can actually help counterbalance the constipating side effects of many of the medicines in this class.
GLP-1 medications for diabetes currently available in the United States include the following:
- Dulaglutide (brand name Trulicity)
- Exenatide (Byetta)
- Exenatide extended release (Bydureon bcise)
- Liraglutide (Victoza, Saxenda)
- Lixisenatide (Adlyxin)
- Semaglutide (Ozempic, Rybelsus)
By including both types of drugs in your diabetes management plan, the side effects may help essentially balance each other out.
Read more in: Metformin Combination Drugs for Type 2 Diabetes.
Try something else
There are some people who simply do not tolerate metformin. If you find you cannot bear the side effects, talk to your healthcare team.
If you choose to stop taking metformin, they can help you find a different type of diabetes medication to manage your blood sugar levels.
Read more in: Stopping Metformin: When and How You Can Stop Taking Metformin and The Best Alternatives to Metformin for Type 2 Diabetes Management.
Who should avoid taking metformin?
As with all medications, there are certain people who shouldn’t take metformin.
The primary concern with metformin centers on its potential to increase the risk of excessive lactic acid production. Effectively removing lactic acid from the body requires proper functioning of the organs.
If you have been diagnosed with kidney or liver issues:
Your liver and your kidneys both play a critical role in clearing metformin from your body. If you have severe kidney or liver disease, you should not take metformin.
That said, recent guidelines have become more permissive relative to kidney disease, recognizing that metformin can be safe for use in people with mild to moderate chronic kidney disease (CKD) under certain conditions.
If you have mild to moderate CKD, speak with your doctor about whether metformin use is safe in your situation.
If you have had a heart attack or acute heart failure:
Serious heart conditions can affect how much blood is pumped to your kidneys, which can reduce your overall kidney function.
Because the kidneys play a crucial role in clearing metformin from your body, people with a history of heart issues should not take metformin.
If you drink alcohol often or in large quantities:
Given that metformin’s effectiveness depends on healthy liver and kidney function, regular heavy alcohol consumption can heighten the risk of complications when taking metformin.
Read more: Metformin & Alcohol: Can You Drink While Taking Metformin?
If you will be having surgery or an imaging test:
Lack of fluid and foods prior to surgery can increase the burden on the kidneys and raise the risk of high blood pressure. And the contrast dyes used in certain imaging tests such as MRIs can interact with metformin and cause a drop in kidney function.
Speak with your doctor about how to handle your metformin regimen if you will be having one of these procedures.
Learn more in: Is Metformin Safe?
Final thoughts
While metformin is generally well tolerated, it can have side effects just like any medication.
The most common side effects are mild and gastrointestinal in nature, but more serious side effects such as vitamin B12 deficiency and lactic acidosis can occur.
If you experience any symptoms while taking metformin, talk to your doctor about adjusting your dose, switching to extended-release tablets, or trying a different medication.
If you experience any serious or life-threatening symptoms, seek medical attention immediately.
Suggested next article: Everything You Need to Know About Metformin.
Giles Foxx Jr
Im 78 year old male just started taking metformin. I have an enlarged prostate and have noticed having more trouble urinating than before. Do you know if metformin causes and trouble with BPH ?
Christel Oerum
I’m not sure so can’t be of much help. I’d suggest calling your doctor and letting him/her know, you might need a different dose or different medication
Stefan Gronewold
Hello to all!
I have Diabetes Type 2 and live in Germany. I had in March 2017 a Heart Attack and two Stent’s. Since September 2020 i used Metformin. I become it from my Diabetologist. I have no side Effects from Metformin, and no Kidney Problems, so i think i can used Metformin further! People with little Money or Older People or Pensioners must not pay Metformin in Germany, they became it from the Health insurance.
Penny
I am curious If anyone else has experienced enhanced taste when taking metformin. Shortly after my second dose everything was way more sweet/salty than normal.
Christel Oerum
That’s a fascinating question. I don’t know the answer to that, but maybe someone else can weigh in
Loretta Barfield
My taste is also distorted. In addition to what you are experiencing, nothing tastes as I was used to it tasting.
Carroll Tandetzke
This is a very interesting article. Please, share more like this!
Chadwick foster
I am always feeling sick whenever I eat something heart rate fastens and have thinking issues and upset stomach and need help 800 mg metformin prescribed and I just feel sick all the time should I quit taking it and just eat meat.?
Christel Oerum
Please don’t stop taking your meds without consulting your doctor. Instead, contact your doctor and make him/her aware of your issues. An alternative might be a slower release tablet or a different type of medication
Jenny
I was wondering if Metformin takes time to rebuild effectiveness after a period of eating higher-carb meals? For example, I’ve been on Metformin for a year and I have eaten consistently well during that time, but Christmas and New Year consisted of some pretty poor eating on my part but I was taking Metformin throughout. I’m now back to regularly scheduled eating but have found that I’m not reaping the typical benefits of proper eating while on Metformin. Does it take some time for the effectiveness of Metformin to rebuild after a period of poor eating?
Ginger Vieira
Hi Jenny!
It’s really not an issue of your metformin not working as much as it’s about your diet changing. Your metformin was dosed properly for your non-Holiday normal diet. And then you ate more calories and carbs for a couple of weeks thanks to the holiday season (and the dark cold winter, if you live where I do!)…and so your metformin dose simply wasn’t high enough to keep your blood sugars in range with that increase in your diet.
Now that you’re back to your normal routine, I suspect you’ll find your blood sugars will go back to your normal range within a week or two of eating more balanced.
Let me know if this is helpful! If your BGs continue to run high, that’s worth making a call to your doctor to discuss adjusting your medication doses.
Joan
I too have suffered from diarrhea for at least four months after having my dose of metformin doubled. As of yesterday I was taken off of it for the next three months. A colonoscopy has been scheduled just to make sure that it’s nothing else. It’s destroying my life. No energy etc.
Jackie
One suggestion I found to curb this diarrhea is I now take metformin-ER. I take my recommended doses(500mg each tablet) but I break pills in half. Example my dose is 2 daily, I take half tab in morning other half at around 5 pm.,next half before bed 10 or so, then last one at around 5am when I’m always up to head to bathroom.
Until I did that I could barely leave my house and the stomach upset was just terrible. I do hope my suggestion works, I did discuss this w provider first..
Karen
I have been on metformen for maybe 15 years. Iasked my doctor if it was safe and he said yes but I was reading some of the side effects and seem to have a few of those like shortness of breath, extreme exhaustion tired all the time. Im76 years old and always had lots of energy Until the last couple years. He added B- 12 shot once a month about a year ago Most days I want to just stay in bed. I know my age might have something to do with it but not to the extreme that I feel I’m also lightheaded and have occasional dizzy Spells I just want to feel better
Christel Oerum
Not feeling well is so frustrating. My suggestion would be to take these concerns to your doctor and have a good discussion. It might not be the Metformin but something completely different, regardless it should be looked into. If you find that your doctor doesn’t listen (unfortunately that happens sometimes) I’d recommend you look for another doctor
Robin
My 14 year old daughter was recently prescribed Metformin. She has been having terrible stomach pains. She takes the medication right after eating supper each night, but is really struggling. Are there any foods that could help with the stomach pains? I’m having her try eating yogurt with good probiotics and wonder if Sweet Acidophilus milk might help.
Ginger Vieira
Hi Robin!
Food isn’t going to help this. If you read this article thoroughly, you’ll see that upset stomach is a common side-effect, and the best solution is to ask her doctor for the “extended release” version. Your insurance will require that she tried the cheaper basic version first, but a doctor can document that she didn’t tolerate well and that she needs the “extended release” version instead.
Contact your daughter’s healthcare team ASAP!
georgina Lewis
I was told by my doctor to take Metformin half way through your meals
BE Dempsey
Yes i was taking mine either a few minutes before or after meals and occasionally running to the toilet, then i started taking them with/during meals and no problems.
Michelle
I’m 54 yr old, 5’4” and 236 lbs… I’m healthy but know that I really need to drop to at least 200lbs. I eat low carb and swim 1 hour 5 days a week and can’t loose not 1 lb! I”m thinking that Metformin could help can I take small dose before bed, I’m ok waking up to do my business then go back to sleep. What dose is good to start with?
Christel Oerum
That’s a discussion you’d have to have with your doctor. He/she should go over it with you when the prescription is written