What Should You Eat (and Avoid) When Taking Metformin?

No food is banned on metformin. Take it with meals, go easy on alcohol, and know which Indian foods give vitamin B12, which metformin can lower over time.

By Hash Health Editorial Team3 min read

Sources checked against NIH, FDA, USDA, ICMR-NIN, and peer-reviewed studies. See the full list.

Steel thali with roti, papad, a curry, a vegetable sabzi, rice, curd, and sliced onion with lemon
Photo: Anand Raj / Pexels

The short answer

When taking metformin, no food is banned. Take it with your meals, which eases stomach upset, and avoid heavy or binge drinking, which raises the risk of lactic acidosis, a rare but serious side effect.1 Long-term use can lower vitamin B12, so ask your doctor about testing it.2

Key takeaways

  • Take metformin with meals; stomach upset often eases over time.
  • Avoid heavy or binge drinking while you take it.
  • On it for years? Ask your doctor about a vitamin B12 test.

Why does metformin come with food advice?

Metformin's most common side effects are in the gut. In one label trial at doses up to 2,550 mg a day, 53% of people on metformin had diarrhoea, against 12% on placebo.1 Taking it with meals helps, and these effects often ease after a while.1

The label lists no food that clashes with metformin; its other diet-related points are alcohol and a possible fall in vitamin B12.1 B12 comes naturally only from animal foods or fortified foods, so vegetarians might not get enough.3

How much does metformin lower vitamin B12?

  • Within months: in 29-week trials, about 7% of people on metformin saw normal B12 levels fall below normal.1
  • Over 4 years: in 390 people with type 2 diabetes who were also on insulin, B12 was 19% lower on metformin than on placebo.4
  • With more years of use: in a long-term study of adults at high risk of diabetes, each year on metformin was linked to 13% higher odds of B12 deficiency.5

How should you eat when taking metformin?

  • Take it with a meal, such as breakfast and dinner, or as your doctor advised.1
  • Keep to your diabetes meal plan. Metformin is meant to work alongside diet and exercise, not replace them.1
  • Include B12 foods if you eat them, such as milk or curd.6 Food alone isn't proven to keep B12 up on metformin.
  • Go easy on alcohol. Metformin alone rarely causes low blood sugar, but alcohol or skipped meals can raise the chance.1
  • Ask about a B12 test. The label suggests checking it every 2 to 3 years, and the ADA suggests periodic testing.1,2

If stomach upset lasts more than a few weeks, tell your doctor.1 Extended-release tablets are timed differently, so follow your prescription. Vegetarian? See how vegetarians in India can get enough protein.

A glass of milk on a pale stone counter
A 250 ml glass of milk has about 1.2 µg of vitamin B12. Photo: Engin Akyurt / Pexels

Which everyday foods give vitamin B12?

Vitamin B12 in common foods, per realistic portion
FoodPortion% of daily needB12
Fish (carp), cooked100 g~67%~1.5 µg
Milk, whole1 glass (250 ml)~53%~1.2 µg
Mutton (goat), cooked75 g~41%~0.9 µg
Egg, boiled1 large (50 g)~25%~0.6 µg
Curd (plain, whole milk)1 katori (150 g)~25%~0.6 µg
Chai with milk1 cup (75 ml milk)~16%~0.3 µg
Chicken breast, cooked100 g~15%~0.3 µg
Dal, roti, rice, sabziAny portion0%0 µg

B12 per 100 g from USDA FoodData Central,6 scaled to each portion (the Indian Food Composition Tables 2017 don't list B12). Daily need is the ICMR-NIN adult RDA of 2.2 µg.7 These are amounts in the food, not amounts absorbed; B12 from eggs is less well absorbed.

Vitamin B12 per realistic portion (µg)

  • Fish (carp), cooked~1.5 µg
  • Milk, whole~1.2 µg
  • Mutton (goat), cooked~0.9 µg
  • Egg, boiled~0.6 µg
  • Curd (plain, whole milk)~0.6 µg
  • Chai with milk~0.3 µg
  • Chicken breast, cooked~0.3 µg
  • Dal, roti, rice, sabzi0 µg
Vitamin B12 per realistic portion (µg). Built by Hash Health from the table above.

Frequently asked questions

Are there foods you must never eat on metformin?

No. The metformin label doesn't ban any food.1 Your diabetes meal plan still applies, but that is about blood sugar, not about metformin.

Can I drink alcohol while taking metformin?

The label warns against heavy drinking and short-term binge drinking, which raise the risk of lactic acidosis.1 Ask your doctor what amount, if any, is safe for you.

Should I take a B12 supplement with metformin?

Not without checking first. Ask your doctor for a B12 blood test. The label says low levels seem to reverse quickly with B12 supplements;1 don't stop metformin on your own.

Sources

  1. U.S. FDA-approved labeling. Metformin hydrochloride tablets (Zydus Pharmaceuticals USA), prescribing information and Medication Guide. DailyMed, National Library of Medicine. dailymed.nlm.nih.gov
  2. American Diabetes Association Professional Practice Committee. 9. Pharmacologic Approaches to Glycemic Treatment: Standards of Care in Diabetes-2026. Diabetes Care. 2026;49(Suppl 1):S183-S215. PubMed 41358900
  3. NIH Office of Dietary Supplements. Vitamin B12: Fact Sheet for Consumers. ods.od.nih.gov
  4. de Jager J, et al. Long term treatment with metformin in patients with type 2 diabetes and risk of vitamin B-12 deficiency: randomised placebo controlled trial. BMJ. 2010;340:c2181. PubMed 20488910
  5. Aroda VR, et al. Long-term Metformin Use and Vitamin B12 Deficiency in the Diabetes Prevention Program Outcomes Study. J Clin Endocrinol Metab. 2016;101(4):1754-1761. PubMed 26900641
  6. U.S. Department of Agriculture. FoodData Central, SR Legacy. fdc.nal.usda.gov
  7. ICMR-NIN. Nutrient Requirements for Indians: Recommended Dietary Allowances and Estimated Average Requirements, brief note. 2020. nin.res.in (PDF)