- Limit alcohol on metformin — it raises the rare but serious risk of lactic acidosis and can cause low blood sugar; never drink on an empty stomach and discuss limits with your clinician.
- Watch refined carbs, sugary foods, and sweetened drinks — they spike blood glucose and work against the medicine; diet is an ADJUNCT to metformin, not a replacement.
- Long-term metformin can lower vitamin B12 — ask your clinician about periodic B12 checks and adequate intake.
- Take metformin with food to reduce nausea, bloating, and diarrhea, which usually ease over the first few weeks.
- Know the lactic-acidosis warning signs — unusual weakness or tiredness, muscle pain, trouble breathing, unusual sleepiness, stomach pain, or feeling cold — and get urgent care if they appear.
- Do not change or stop metformin on your own, and tell your clinician before surgery or contrast (dye) imaging, when it may need to be paused.
- High-Sugar and Refined Carbohydrate Foods
- High-Fat and Fried Foods
- Alcohol: The Most Important Caution
- Recognize Lactic-Acidosis Warning Signs
- Around Contrast Imaging and Surgery
- High-Fiber Foods in Excessive Amounts
- Vitamin B12 and Metformin
- Tips for Taking Metformin With Food
- Frequently Asked Questions
- Can I eat fruit while taking metformin?
- Does metformin cause weight gain or weight loss?
- How long do metformin stomach side effects last?
- Can I drink coffee while taking metformin?
- Is it safe to drink any alcohol on metformin?
- Final Thoughts on Foods to Avoid When Taking Metformin
- Related guides
- Sources
Knowing which foods to avoid when taking metformin can make a real difference in how well you tolerate this widely prescribed diabetes medication and how steadily it controls your blood sugar. Metformin is generally safe and effective, but certain foods to avoid when taking metformin can worsen gastrointestinal side effects or work against the medicine’s job of keeping glucose in range. Just as important as any food list are a few safety points — around alcohol, vitamin B12, and when the medicine may need to be paused — that every person on metformin should understand.
Metformin is one of the most commonly prescribed medications for type 2 diabetes worldwide. It works by reducing glucose production in the liver, improving insulin sensitivity, and decreasing glucose absorption in the intestines. It is effective for blood-sugar management, but a substantial share of people experience gastrointestinal side effects — nausea, bloating, and diarrhea — especially in the first few weeks. Sensible dietary adjustments can ease these issues. Think of diet as an adjunct to your prescribed treatment, not a substitute for it; coordinate any significant changes with your prescriber or a registered dietitian. For more nutrition guidance, visit our wellness guide.
High-Sugar and Refined Carbohydrate Foods
While metformin helps lower blood sugar, eating foods that cause rapid glucose spikes works against it. High-sugar and refined-carbohydrate foods force your body to manage larger glucose loads, which can overwhelm the steadier control metformin is meant to support.
Foods to limit:
- White bread, white rice, and white pasta
- Sugary cereals and pastries
- Candy, cookies, cakes, and other sweets
- Soda, fruit juice, and other sweetened beverages
- Sweetened yogurt and flavored milk
- White potatoes in large quantities (especially fried)
The American Diabetes Association (ADA) encourages emphasizing complex carbohydrates with a lower glycemic impact — whole grains, legumes, and non-starchy vegetables — which are digested more slowly and produce a gentler rise in blood sugar that complements how metformin works. Sugary drinks in particular are worth cutting first, since liquid sugar hits the bloodstream quickly.
High-Fat and Fried Foods
High-fat meals are among the most common triggers for metformin-related stomach distress. Fat slows gastric emptying, which can prolong the time metformin spends in the stomach and intestines and intensify nausea, bloating, and diarrhea.
Foods to limit:
- Deep-fried foods (french fries, fried chicken, onion rings)
- Fast-food meals, typically high in both fat and refined carbohydrates
- Fatty cuts of red meat and processed meats (bacon, sausage, hot dogs)
- Full-fat cheese in large amounts
- Heavy cream-based sauces and soups
- Butter and margarine in excessive quantities
This does not mean eliminating all dietary fat. Healthy fats from avocados, olive oil, nuts, and fatty fish are important for overall health and are generally better tolerated than saturated and trans fats. The key is moderation and choosing better fat sources.
Alcohol: The Most Important Caution
Of everything on this page, alcohol deserves the most attention, because it interacts with metformin in two potentially serious ways.
1. Lactic acidosis. Metformin carries an FDA boxed warning for lactic acidosis — a rare but potentially life-threatening buildup of lactic acid in the blood. As the FDA prescribing information and MedlinePlus both note, drinking alcohol increases this risk because alcohol affects how the body handles lactate. Binge drinking and heavy, regular drinking are especially dangerous and should be avoided.
2. Low blood sugar (hypoglycemia). Alcohol can lower blood glucose on its own, compounding metformin’s glucose-lowering effect. MedlinePlus specifically warns that drinking alcohol while on metformin can cause a decrease in blood sugar. Never drink on an empty stomach while taking metformin, and be aware that the signs of low blood sugar can be mistaken for intoxication.
Other concerns: heavy drinking stresses the liver (where metformin does much of its work), alcohol can worsen the nausea metformin may already cause, and sugary mixers add rapid glucose spikes. Guidance such as the ADA’s frames moderate drinking (up to one drink per day for women and up to two for men) as potentially acceptable for some people with diabetes, but whether any alcohol is safe for you — and how much — is a conversation to have with your clinician, who knows your kidney and liver function and your other medicines.
Recognize Lactic-Acidosis Warning Signs
Lactic acidosis is rare, but it is a medical emergency, so it is worth knowing the signs. Per MedlinePlus and the FDA labeling, stop taking metformin and seek urgent medical care if you develop:
- Unusual or extreme tiredness, weakness, or general discomfort
- Unusual sleepiness
- Muscle pain
- Trouble breathing, or deep and rapid breathing / shortness of breath
- Nausea, vomiting, stomach pain, or decreased appetite
- Dizziness or lightheadedness; a fast or slow heartbeat
- Feeling cold, especially in the hands or feet
These symptoms can be vague, so err on the side of caution and get evaluated promptly rather than waiting to see if they pass.
Around Contrast Imaging and Surgery
Metformin may need to be paused around certain medical procedures — this is a safety point, not a dietary one, but it belongs in any thorough metformin guide. MedlinePlus advises telling your doctor before any surgery or an imaging test that uses injected contrast dye (such as some CT scans), because you may need to stop metformin before the procedure and wait at least 48 hours before restarting. This helps protect against lactic acidosis if kidney function is temporarily affected. Always follow your own clinician’s specific instructions on when to hold and restart.
High-Fiber Foods in Excessive Amounts
Fiber is generally beneficial for blood-sugar management and overall health. However, dramatically increasing fiber while starting metformin can compound gastrointestinal side effects, since both metformin and a sudden fiber surge can cause bloating, gas, and diarrhea.
Approach fiber wisely:
- Increase fiber gradually rather than making sudden changes
- Start with gentler soluble-fiber sources (oats, beans, apples, flaxseed)
- Space high-fiber meals away from your metformin dose if GI symptoms are a problem
- Drink plenty of water when increasing fiber
- Build up toward the commonly recommended 25–30 grams of fiber per day over several weeks
Once your body adjusts (often within a few weeks), most people tolerate normal amounts of fiber, and a higher-fiber diet is beneficial long-term for diabetes management.
Vitamin B12 and Metformin
Long-term metformin use is associated with reduced vitamin B12 absorption, and a meaningful minority of long-term users develop low B12 over time. This is primarily a medication effect rather than a food interaction, but diet and monitoring both matter.
Considerations for B12:
- Ensure adequate intake of B12-rich foods such as meat, fish, eggs, and dairy
- Vegetarians and vegans on metformin should discuss B12 supplementation with their clinician
- Heavy alcohol use can further impair B12 status
- Ask your clinician about periodic B12 testing, especially after several years on metformin
- Symptoms of low B12 can include fatigue, numbness or tingling in the hands and feet, memory problems, and balance difficulties
If you are experiencing side effects, our guide on metformin side effects offers more detail.
Tips for Taking Metformin With Food
How and when you take metformin relative to meals has a big impact on tolerability:
- Take metformin with food: Taking it with or right after a meal reduces gastrointestinal side effects. MedlinePlus notes metformin is taken with meals for this reason.
- Ask about the extended-release version: If immediate-release metformin causes persistent GI issues, ask your clinician whether an extended-release (ER) formulation might suit you better — it is often associated with fewer stomach-related effects.
- Eat balanced meals: A meal with protein, healthy fat, and complex carbohydrates provides a buffer and slows absorption.
- Stay hydrated: Adequate water helps with nausea and supports kidney function, which matters because metformin is cleared by the kidneys.
- Consider smaller, more frequent meals: Large meals high in fat and sugar are more likely to trigger symptoms.
Do not change your dose, skip doses, or stop metformin on your own to manage side effects. As MedlinePlus emphasizes, continue taking metformin even if you feel well, and do not stop without talking to your clinician — abrupt changes can send your blood sugar out of range.
Frequently Asked Questions
Can I eat fruit while taking metformin?
Yes. Fruit is part of a healthy diet and does not need to be eliminated. Choose whole fruits over juice, since the fiber in whole fruit slows sugar absorption. Berries, apples, pears, and citrus have relatively lower glycemic impact; enjoy higher-sugar fruits like grapes, bananas, and dried fruit in moderate portions, ideally paired with protein or a healthy fat.
Does metformin cause weight gain or weight loss?
Metformin is generally weight-neutral and may be associated with modest weight loss for some people, which is one reason it is a common first-line option. A balanced diet supports this and helps avoid blood-sugar swings that can increase appetite. Individual results vary — discuss expectations with your clinician.
How long do metformin stomach side effects last?
For most people, gastrointestinal side effects improve within a few weeks as the body adjusts. Clinicians often start low and increase gradually to limit these effects. If symptoms persist beyond a month, talk with your clinician — options may include the extended-release formulation. Do not adjust the dose yourself.
Can I drink coffee while taking metformin?
Moderate coffee is generally fine, and some research suggests possible modest blood-sugar benefits. Avoid loading it with sugar or flavored syrups, which can spike glucose. If coffee worsens stomach symptoms, try drinking it after a meal rather than on an empty stomach.
Is it safe to drink any alcohol on metformin?
It depends on your health and is a decision for your clinician. Alcohol raises the rare risk of lactic acidosis and can cause low blood sugar, so if you do drink, keep it within limits your clinician approves, never drink on an empty stomach, and avoid binge drinking entirely.
Final Thoughts on Foods to Avoid When Taking Metformin
Knowing which foods to avoid when taking metformin helps you get the most from your medication while minimizing uncomfortable side effects. The core strategies are straightforward: limit refined sugars and simple carbohydrates, moderate high-fat and fried foods, be very cautious with alcohol, increase fiber gradually, and always take metformin with meals. Pair these with awareness of the lactic-acidosis warning signs, the long-term B12 issue, and the need to pause the medicine around contrast imaging or surgery when your clinician directs. Diet is a powerful adjunct — but it works alongside your prescribed treatment, not instead of it. If side effects persist despite dietary changes, talk with your prescriber or a registered dietitian rather than adjusting the medication yourself.
Medical disclaimer: This article is general education, not medical advice, and it intentionally contains no drug dosing. Metformin is a prescription-only medicine — do not start, change, or stop it, or alter your dose, on your own. Limit alcohol (it raises the rare risk of lactic acidosis and can cause low blood sugar), and seek urgent care for possible lactic-acidosis signs such as unusual weakness or sleepiness, muscle pain, trouble breathing, stomach pain, or feeling cold. Tell your clinician before surgery or contrast (dye) imaging, when metformin may need to be paused. Coordinate diet changes with your prescriber or a registered dietitian.
Sources
- MedlinePlus (U.S. National Library of Medicine) — “Metformin”: take with meals; alcohol increases the risk of lactic acidosis and low blood sugar; lactic-acidosis warning signs; vitamin B12; tell your doctor before surgery or contrast dye (may stop for at least 48 hours); do not stop on your own.
- FDA prescribing information (DailyMed / Drugs@FDA) — metformin boxed warning for lactic acidosis; alcohol potentiates metformin’s effect on lactate metabolism; contrast-imaging and surgery precautions.
- American Diabetes Association (ADA) — nutrition guidance emphasizing non-starchy vegetables, whole grains, and legumes, and limiting refined carbohydrates and sugary drinks; alcohol and hypoglycemia caution.
