Metformin doesn’t appear to raise the risk of kidney stones, and stone-forming patients with diabetes who take it show the same urine pattern as those who don’t.1PubMed Central. Is metformin use associated with changes in urinary parameters in stone formers? People with diabetes do get stones more often, though, so the pill is easy to blame for something the condition itself is doing. The more interesting possibility runs the other way: early research suggests metformin might even lean slightly toward protection.2PubMed Central. Metabolic changes in kidney stone disease
What Urine Tests Show Before and After Starting Metformin
Doctors judge stone risk with a 24-hour urine test. You collect all of your urine for a full day, and the lab measures calcium, oxalate, citrate, acidity, and total volume. When people with diabetes and past stones took this test before and after starting metformin, the numbers barely moved. Calcium stayed near 209 vs 204 mg a day.3PubMed Central. Comparison of 24-Hour urine parameters before and after initiation of Metformin in patients with diabetes and urolithiasis: A retrospective analysis Oxalate, a main ingredient of the most common stones, stayed at about 42 mg a day.3PubMed Central. Comparison of 24-Hour urine parameters before and after initiation of Metformin in patients with diabetes and urolithiasis: A retrospective analysis Citrate, a natural stone blocker, stayed about 716 vs 718 mg a day.3PubMed Central. Comparison of 24-Hour urine parameters before and after initiation of Metformin in patients with diabetes and urolithiasis: A retrospective analysis Eat and drink normally during the collection so the results reflect real life. List metformin and all your other medicines on the form. The results guide specific changes, such as more fluid or less salt. Testing the same people before and after starting the drug is a strong design because each person acts as their own control, so differences in age, diet, and body size can’t explain a change.
Comparing people on and off metformin gives the same answer. Stone-forming patients with diabetes on metformin had no meaningful differences on any 24-hour urine measure compared with those with diabetes not taking it.1PubMed Central. Is metformin use associated with changes in urinary parameters in stone formers?
One smaller study did find slightly higher urine oxalate in metformin users. In a subgroup with very well-controlled sugar, it also found higher calcium and more acidic urine.4Journal of Urology. MP43-12 DOES METFORMIN AMELIORATE KIDNEY STONE RISK IN DIABETICS? A single subgroup result can appear by chance when many measures are compared, and the larger before-and-after and side-by-side comparisons didn’t repeat it. No study shows people on metformin actually forming more stones. It’s reasonable to treat metformin as stone-neutral while doctors keep watching.
Urine volume matters as much as the minerals, because the same amount of calcium is far more likely to crystallize in a small volume of urine. If your own results come back abnormal, the cause is more likely diet, fluid intake, or your underlying condition than the metformin.
Why Diabetes Itself Raises Kidney Stone Risk
People with diabetes have urine chemistry that puts them at higher risk of both calcium oxalate and uric acid stones than people without diabetes.4Journal of Urology. MP43-12 DOES METFORMIN AMELIORATE KIDNEY STONE RISK IN DIABETICS? Even after accounting for blood sugar control and other conditions, people with diabetes on metformin still had more acidic urine than people without diabetes.1PubMed Central. Is metformin use associated with changes in urinary parameters in stone formers?
The link runs through insulin resistance, which means the body’s cells respond weakly to insulin. It is the core problem in type 2 diabetes and prediabetes. One effect on the kidneys is less ammonium in the urine, which leaves urine more acidic.5PubMed. The metabolic syndrome and uric acid nephrolithiasis: novel features of renal manifestation of insulin resistance Persistently acidic urine can also raise the odds of other stone types, which is why diabetes is linked to more than one kind.
Insulin resistance often develops years before blood sugar rises enough for a diagnosis, so urine can already be riskier in prediabetes. That explains why some people form their first stone before they ever take a diabetes medicine. The same pattern can appear in people with PCOS or excess weight who don’t have diabetes. Metformin is also often used for PCOS, where stone risk depends on the condition and other factors rather than the drug.6PubMed Central. Nephrolithiasis and Polycystic Ovary Syndrome: A Case-Control Study Evaluating Testosterone and Urinary Stone Metabolic Panels
Stones often show up around the time diabetes is diagnosed and metformin started, which makes the drug look guilty when the condition was already building risk. Weight, diet, and dehydration from high blood sugar also play a part.
Stone type helps pinpoint the cause, and passed or removed stones can be sent for analysis. A uric acid stone points toward acidic urine and the metabolic picture of insulin resistance. A calcium oxalate stone points more toward low fluid intake, high salt, or high oxalate intake, though diabetes can contribute. Neither points to metformin. The two types also respond differently: uric acid stones respond well to making urine less acidic, while calcium oxalate stones respond more to changes in fluid, salt, and oxalate. Once the type is known, your doctor can tailor advice to things you can change.
Could Metformin Help Protect Against Stones
In rats given a chemical that causes stones, metformin cut the amount of oxalate in urine compared with untreated rats.7PubMed Central. Metformin Prevents Renal Stone Formation through an Antioxidant Mechanism In Vitro and In Vivo It also appears to shield kidney cells from the damage oxalate crystals cause.8PubMed Central. Metformin: the updated protective property in kidney disease And it may reduce crystal buildup and kidney injury by calming inflammation in the kidney.2PubMed Central. Metabolic changes in kidney stone disease Oxalate crystals injure kidney tissue and trigger inflammation, which in turn encourages more crystals to stick, so calming that cycle could matter. Still, each finding is a mechanism, a possible way protection could work, and not proof that fewer stones form. These effects still need testing in human studies.8PubMed Central. Metformin: the updated protective property in kidney disease
Rat findings don’t translate directly: the rats got a chemical that forces stones far faster than real life. The human urine studies above showed no clear drop in oxalate.
Metformin’s effects on uric acid in people look more concrete. Among nearly 19,000 people with type 2 diabetes, metformin users had slightly lower blood uric acid and a 13% lower chance of high uric acid.9PubMed. The effect of metformin on urate metabolism: Findings from observational and Mendelian randomization analyses By easing insulin resistance, metformin may help the kidneys clear uric acid.10PubMed Central. Effects of antidiabetic drugs on the level of serum uric acid in patients who have type 2 diabetes But the change was small and wasn’t linked to fewer gout attacks.9PubMed. The effect of metformin on urate metabolism: Findings from observational and Mendelian randomization analyses
Blood uric acid is a lab-level measure, and it doesn’t directly equal uric acid in urine, where stones form. The finding also came from people who took metformin for sugar control, so it says nothing about starting it to prevent stones. Any stone benefit is a possibility, not a reason to take metformin for stones.
A firm answer would need a large study following people on and off metformin to see who actually forms stones over the years. It would have to account for blood sugar, weight, diet, and fluid intake, because these also change stone risk.
Should You Stop Metformin After a Kidney Stone
Since metformin leaves stone-related urine measures unchanged, stopping it isn’t expected to prevent the next stone. Poorer sugar control after stopping may worsen insulin resistance, the condition linked to acidic urine.5PubMed. The metabolic syndrome and uric acid nephrolithiasis: novel features of renal manifestation of insulin resistance Don’t stop or change metformin without talking to your prescriber.
If you stop on your own, blood sugar can drift up within days to weeks. Higher sugar makes you urinate more and risk dehydration, which is itself a stone risk. If a side effect or worry is driving the urge to stop, your prescriber can adjust the dose, change the formulation, or switch drugs more safely than stopping alone.
Kidney function is a separate question. Metformin leaves the body through the kidneys, so doctors check kidney function before and during treatment. Inherited differences in kidney transporters can change how fast a person clears metformin.11PubMed Central. Association between Polymorphisms of OCT1 and Metabolic Response to Metformin in Women with Polycystic Ovary Syndrome If a stone caused a blockage or kidney injury, ask whether your dose needs review. A blocked stone can temporarily lower kidney function, and lower function means metformin clears more slowly. A routine blood test of kidney function tells your doctor whether your dose is still appropriate. Dehydration from vomiting or illness can also strain the kidneys, so ask your prescriber how to handle metformin on sick days.
At your follow-up visit, it helps to ask:
- Was the stone analyzed, and what type was it?
- Does a 24-hour urine test make sense for me?
- Is my kidney function blood test still fine for my metformin dose?
- Does any other medicine I take raise stone risk?
Some symptoms need prompt care: severe side or back pain that comes in waves, fever or chills with flank pain (which can mean infection), blood in urine or being unable to pass urine, and vomiting that stops you keeping fluids or metformin down.
Lowering Stone Risk While Managing Diabetes
Drinking enough to pass about 2 to 2.5 liters of urine a day is the most effective general stone prevention. Plain water works best, and coffee and tea count too. If you have heart or kidney failure and a fluid limit, follow your doctor’s target instead. Choosing water over sugary drinks also helps blood sugar.
Pale yellow urine is a simple daily check. Drink more in hot weather or after exercise, spread fluids across the day and before bed, and keep a water bottle nearby as a reminder.
Cutting salt and animal protein helps lower calcium and uric acid in urine. Most dietary salt comes from packaged and restaurant food rather than the shaker, so reading labels does more than skipping the shaker. Limiting animal protein means smaller portions of red meat, poultry, and fish, not eliminating protein.
Citrus fruits and vegetables add citrate, which helps block stones. Whole fruit adds sugar and carbohydrate, so people with diabetes should count portions, and lemon squeezed into water is a low-sugar option. More produce also tends to make urine less acidic, which helps with uric acid stones.
Easing insulin resistance targets the acidic urine behind many stones in diabetes.5PubMed. The metabolic syndrome and uric acid nephrolithiasis: novel features of renal manifestation of insulin resistance Modest weight loss improves insulin resistance, and fewer sugary drinks helps sugar and urine chemistry together. Avoid crash or very high-protein diets, which can raise uric acid. A dietitian can balance diabetes and stone advice.
Other Diabetes and Common Medicines and Stones
Across trials of nearly 48,000 people with type 2 diabetes, SGLT2 inhibitor pills such as empagliflozin and dapagliflozin showed no higher stone risk than placebo or other diabetes drugs including metformin.12PubMed Central. SGLT2 Inhibitors and Their Effect on Urolithiasis: Current Evidence and Future Directions Adding one to metformin isn’t expected to raise stone risk. These drugs work by making the kidneys pass extra sugar into urine, which raised early concern about stones, but the trials didn’t show higher risk. If you’ve had stones, mention that when starting one so your doctor can weigh it with your kidney and heart health. These drugs can increase urination, so drinking enough fluid matters more while taking one.
Some other medicines do matter. The migraine and seizure drug topiramate is known to raise kidney stone risk by lowering citrate in urine. It can also make urine less acidic in a way that favors calcium phosphate stones, a different calcium-based type. If you take it, don’t stop on your own, since stopping can bring back seizures or migraines. Your doctor may suggest more fluids, citrate, or a different medicine if stones keep returning.
Supplements count too. High-dose vitamin C can raise urine oxalate. Calcium supplements are better taken with meals, while food calcium generally doesn’t raise stone risk. Tell your doctor about all supplements.
Bring a full medicine and supplement list to any stone workup. Include prescriptions, over-the-counter products, vitamins, and herbal products, since people often forget the last two. Note doses and how long you’ve taken each, because that helps identify what changed around the time stones appeared. Bring the list to your diabetes visits as well.

