Foods to Avoid While Taking Metformin Metformin is a medication commonly used to treat type 2 diabetes. While taking metformin, it's advisable to avoid excessive alcohol consumption as it can increase the risk of lactic acidosis. Additionally, limit high-carb, sugary foods to help manage blood sugar levels. Always follow your healthcare provider's advice and dietary recommendations while taking metformin to ensure optimal diabetes management.