metformin Metformin: The First-Line Diabetes Medication Metformin is the most commonly prescribed medication for type 2 diabetes. It works by lowering blood sugar and improving how your body uses insulin.