Metformin is a prescription tablet that lowers blood sugar mainly by reducing how much glucose the liver releases and by making the body more responsive to insulin. It is FDA-approved, alongside diet and exercise, to treat type 2 diabetes, and it has been a first-line diabetes medicine for decades. It is sold as an inexpensive generic.
Metformin is also prescribed off-label for prediabetes, polycystic ovary syndrome (PCOS) and insulin resistance, and some people take it hoping to lose weight. Its weight effect is modest. This guide covers how metformin works, its approved and off-label uses, what the evidence shows, the side effects and boxed warning on its label, its link to low vitamin B12, and who should not take it. Your prescriber decides whether it fits you and sets the dose.
At a glance
- Drug class
- Biguanide
- Forms
- Oral tablet · Oral extended-release tablet · Oral solution
- FDA status
- FDA-approved for type 2 diabetes (immediate-release from age 10; extended-release in adults). Prediabetes, PCOS and weight uses are off-label.
- Prescription
- Prescription only
- Class: biguanide
- Forms: tablet, extended-release tablet and oral liquid, taken with meals
- FDA-approved only for type 2 diabetes; prediabetes, PCOS and weight uses are off-label
- Most common side effects: diarrhea, nausea, gas and stomach upset
- Boxed warning: lactic acidosis, a rare but serious risk, mostly with kidney problems or other risk factors
- Long-term use can lower vitamin B12
How does metformin work?
Between meals and overnight, the liver releases glucose into the blood. In type 2 diabetes and insulin resistance, that output runs too high. Metformin's main effect is to lower the liver's glucose production. It also reduces how much glucose the intestine absorbs and helps muscle and other tissues respond to insulin.
Unlike sulfonylureas or insulin, metformin does not push the pancreas to release more insulin, so on its own it rarely causes low blood sugar. It does not act on appetite the way GLP-1 medications do, which helps explain why its effect on body weight is small. Our article comparing metformin and semaglutide explains the difference in mechanisms.
What is metformin prescribed for?
FDA-approved use. Metformin is approved as an add-on to diet and exercise to improve blood sugar control in type 2 diabetes. Immediate-release tablets are approved for adults and children 10 and older; extended-release tablets for adults. It can be used alone or combined with other diabetes medications, including GLP-1 medications.
Common off-label uses (legal and widespread, but not part of the FDA's review):
- Prediabetes, to lower the chance of progressing to type 2 diabetes, based on the Diabetes Prevention Program.
- Polycystic ovary syndrome: the 2023 international PCOS guideline says metformin should be considered in adults with PCOS and a BMI of 25 or more for weight and metabolic outcomes, including insulin resistance, glucose and lipids.
- Insulin resistance found on blood tests, and sometimes modest weight support, usually alongside lifestyle changes.
Metformin is not FDA-approved for weight loss or for healthy aging, and claims about it slowing aging remain under study rather than established.
Does metformin help with weight loss?
Modestly. In the Diabetes Prevention Program, which randomly assigned 3,234 adults with prediabetes, metformin lowered the rate of new diabetes by 31% compared with placebo over about three years, while an intensive lifestyle program lowered it by 58%. After one year, 28.5% of people on metformin had lost at least 5% of their body weight, compared with 13.4% on placebo and 62.6% in the lifestyle group.
Among people who did lose at least 5% in that first year, those on metformin kept off an average of 6.2% of their starting weight between years 6 and 15. That durability is notable, but the overall effect is far smaller than with GLP-1 medications, which have shown average losses of about 15% or more in trials. Metformin is best understood as a metabolic medication with a small weight benefit, not a weight-loss drug.
How is metformin taken?
Metformin is swallowed with meals, which reduces stomach upset. Immediate-release tablets are usually taken more than once a day; extended-release tablets are typically taken once a day with the evening meal and must be swallowed whole, never crushed, cut or chewed. An oral liquid is also available.
Treatment starts low and increases gradually to limit digestive side effects. Your prescriber sets the dose based on your kidney function, blood sugar and tolerance. Kidney function is checked before starting and periodically afterward, and metformin may need to be paused around imaging tests that use iodinated contrast dye and around some surgeries.
What are the side effects of metformin?
Digestive effects are the most common, especially at the start. In a clinical trial of immediate-release metformin, diarrhea affected 53% of people versus 12% on placebo, and nausea or vomiting 26% versus 8%; gas, weakness, indigestion, abdominal discomfort and headache were also more common. With extended-release tablets in trials, diarrhea was reported by 10% versus 3% on placebo. These effects often settle over a few weeks.
Other label warnings:
- Low vitamin B12: in trials, about 7% of people developed subnormal B12. In the long-term Diabetes Prevention Program follow-up, low B12 was more common with metformin (4.3% vs. 2.3% at five years), and each year of use raised the odds. The label advises checking B12 every 2 to 3 years. See our vitamin B12 guide.
- Low blood sugar when combined with insulin or a sulfonylurea.
- Liver injury has been reported rarely after approval.
- Ovulation: metformin can restore ovulation in some women who were not ovulating, so unplanned pregnancy is possible.
Boxed warning: lactic acidosis. Metformin-associated lactic acidosis is rare but can be fatal. Early symptoms are vague: feeling unwell, muscle aches, trouble breathing, unusual sleepiness and stomach pain. Risk factors include kidney impairment, age 65 or older, contrast imaging, surgery, conditions that lower oxygen (such as acute heart failure), heavy alcohol use, liver impairment and some medications, including carbonic anhydrase inhibitors such as topiramate. If you have these symptoms, stop and seek emergency care.
Who should not take metformin?
Metformin is contraindicated in people with:
- Severe kidney impairment (eGFR below 30). Starting it is not recommended with an eGFR of 30 to 45.
- Acute or chronic metabolic acidosis, including diabetic ketoacidosis.
- A known allergy to metformin.
Extra caution applies with liver disease, heavy drinking, heart failure, older age, an upcoming contrast scan or surgery, and when taking topiramate or similar medications (including the combination phentermine-topiramate). The label warns against excessive alcohol because it adds to metformin's effect on lactate. Share your full medication list, including supplements, with your provider.
Generic, brand-name or compounded metformin?
Metformin has been available as an FDA-approved generic for many years, in immediate-release and extended-release forms from many manufacturers. Generics must match the original in active ingredient, strength and performance. There is rarely a reason to use a compounded version; compounded medications are not FDA-approved and are not reviewed for safety, effectiveness or quality before they are dispensed.
How much does metformin cost?
Generic metformin is among the least expensive prescription medications, and insurance almost always covers it for type 2 diabetes. Off-label prescriptions are usually affordable even without coverage. The more meaningful costs are the monitoring labs: kidney function, HbA1c or fasting glucose, and periodic vitamin B12. Our guides to insulin resistance blood tests and metabolic markers explain those numbers.
Talk with a provider
Metabolic care that starts with your numbers
We do not offer a standalone metformin plan. Our weight-management programs pair GLP-1 medications with provider follow-up, and our lab panels measure glucose, HbA1c, insulin-related markers and vitamin B12, so a licensed provider can see where you stand before deciding on any treatment.
A licensed provider decides whether any medication is appropriate for you. Not everyone who has a consultation is prescribed medication.
Frequently asked questions
What is metformin used for?
Metformin is FDA-approved to improve blood sugar control in type 2 diabetes. It is also prescribed off-label for prediabetes, polycystic ovary syndrome and insulin resistance.
Will metformin help me lose weight?
It may help a little. In the Diabetes Prevention Program, 28.5% of people on metformin lost at least 5% of their weight after a year, versus 13.4% on placebo. GLP-1 medications produce much larger average losses.
Is metformin a GLP-1?
No. Metformin is a biguanide that mainly lowers the liver's glucose output. GLP-1 medications such as semaglutide act on appetite, the stomach and insulin release. The two are often used together in type 2 diabetes.
Does metformin cause B12 deficiency?
Long-term use is linked to lower vitamin B12. The label recommends checking B12 every 2 to 3 years and blood counts yearly. Ask your provider about testing, especially if you notice numbness, tingling or fatigue.
What is lactic acidosis, and how worried should I be?
It is a rare but serious buildup of lactic acid in the blood and is metformin's boxed warning. The risk is mostly in people with kidney impairment, heavy alcohol use, severe illness or other listed risk factors. Seek emergency care for unusual muscle pain, trouble breathing, extreme sleepiness or stomach pain.
Why do I need to stop metformin before a CT scan?
Iodinated contrast dye can briefly reduce kidney function, which raises the risk of lactic acidosis. Depending on your kidney function, the label advises pausing metformin around the scan and rechecking kidney function about 48 hours later.
Is metformin used for PCOS?
Yes, off-label. The 2023 international PCOS guideline says metformin should be considered in adults with PCOS and a BMI of 25 or more for weight and metabolic outcomes. Our PCOS guide covers the broader picture.
Can I drink alcohol on metformin?
The label warns against excessive alcohol because it increases metformin's effect on lactate and raises the risk of lactic acidosis. Ask your provider what is reasonable for you.
Sources
- Metformin hydrochloride tablets and extended-release tablets: prescribing information (DailyMed). Link (opens in a new tab)
- MedlinePlus (National Library of Medicine). Metformin. Link (opens in a new tab)
- Knowler WC, Barrett-Connor E, Fowler SE, et al. Reduction in the incidence of type 2 diabetes with lifestyle intervention or metformin. N Engl J Med. 2002;346:393–403. Link (opens in a new tab)
- Apolzan JW, Venditti EM, Edelstein SL, et al. Long-term weight loss with metformin or lifestyle intervention in the Diabetes Prevention Program Outcomes Study. Ann Intern Med. 2019;170(10):682–690. Link (opens in a new tab)
- Aroda VR, Edelstein SL, Goldberg RB, et al. Long-term metformin use and vitamin B12 deficiency in the Diabetes Prevention Program Outcomes Study. J Clin Endocrinol Metab. 2016;101:1754–1761. Link (opens in a new tab)
- Teede HJ, Tay CT, Laven JJE, et al. Recommendations from the 2023 international evidence-based guideline for the assessment and management of polycystic ovary syndrome. J Clin Endocrinol Metab. 2023;108(10):2447–2469. Link (opens in a new tab)
For education only. This guide is for general education and is not medical advice. It does not replace the prescribing information for your medication or a conversation with a licensed provider, and it does not cover every use, precaution, interaction or side effect. Only a licensed provider can decide whether a medication is appropriate for you and at what dose. If you think you are having a serious reaction or an emergency, call 911.




