Topamax (topiramate) begins changing your urine chemistry within days of the first dose, and kidney stones have been reported within days to weeks of starting treatment. The median time to stone detection in one study of pediatric patients was about 21 months, but the biological groundwork for stone formation starts almost immediately.
Urine Chemistry Shifts Within Days
Topiramate doesn’t need months to start affecting your kidneys. In a study tracking urinary changes after the first dose, subjects showed a 40% drop in citrate levels within just five days. Citrate is one of the body’s natural defenses against stone formation. It binds to calcium in your urine and prevents crystals from clumping together. When citrate plummets, calcium is free to combine with phosphate and begin forming stones.
Calcium levels in the urine also shifted within that same five-day window, dropping about 31% initially as the drug altered how the kidneys handle minerals. As doses increased over time, citrate continued to fall further. This means your stone risk isn’t static. It grows as your dose climbs.
When Stones Actually Appear
There’s a gap between when your urine chemistry becomes favorable for stones and when a stone grows large enough to cause symptoms or show up on imaging. The median detection time in one pediatric study was 21.2 months after starting topiramate, but stone formation has been documented within days to weeks of treatment in some patients. The wide range reflects individual biology: some people already have urine that’s closer to the threshold for crystal formation, and topiramate pushes them over the edge faster.
In clinical trials for epilepsy, 1.5% of adults taking Topamax developed kidney stones, a rate two to four times higher than what would be expected in a similar untreated population. The risk was even more pronounced in younger patients. In a one-year open-label study of 284 children aged 1 to 24 months with epilepsy, 7% developed kidney or bladder stones.
How Topiramate Creates Stones
Topiramate is a carbonic anhydrase inhibitor, which means it interferes with an enzyme your kidneys rely on to manage acid and bicarbonate levels. When this enzyme is blocked, your body develops a mild but chronic metabolic acidosis: your blood becomes slightly more acidic than normal. Your kidneys try to compensate by pulling citrate and bicarbonate back from the urine to buffer the blood, which leaves your urine depleted of citrate and shifts its pH in a direction that favors calcium phosphate crystal formation.
The specific stone type associated with topiramate is calcium phosphate (brushite). In one study, the saturation ratio for brushite more than doubled during topiramate treatment, jumping from 1.27 to 3.14. A higher saturation ratio means calcium phosphate is far more likely to crystallize out of the urine and begin forming a stone. This is driven by two simultaneous changes: the urine becomes more alkaline, and citrate, which would normally keep calcium dissolved, drops dramatically (from an average of 737 mg/day to 278 mg/day).
Factors That Increase Your Risk
Certain conditions stack on top of topiramate’s effects and accelerate stone formation. The most significant is being on a ketogenic diet at the same time. The ketogenic diet independently causes many of the same urinary changes topiramate does: chronic acidosis, low citrate, and elevated calcium in the urine. The acidosis from a keto diet promotes calcium loss from bones, essentially flushing calcium stores into the urine. When you combine that with topiramate’s own acid-base disruption, you create what one research group described as a maximally acidified, citrate-depleted, calcium-enriched urine that is highly prone to stone formation.
The FDA prescribing information explicitly warns against using Topamax alongside a ketogenic diet or any other drug that produces metabolic acidosis, stating the combination “may create a physiological environment that increases the risk of kidney stone formation.”
Dehydration is the other major accelerator. When you don’t drink enough fluid, your urine becomes more concentrated, which raises the concentration of stone-forming substances. Even temporary dehydration during an illness can tip the balance in someone whose urine chemistry is already compromised by topiramate.
Reducing Your Risk While on Topiramate
Hydration is the single most effective countermeasure. The goal is to produce at least 2.5 liters of urine per day, which for most people means drinking roughly 3 liters of fluid daily (some is lost through sweat and breathing). This dilutes the calcium and phosphate in your urine enough to lower the odds of crystal formation. The FDA labeling specifically recommends increased fluid intake for patients on Topamax.
Dietary adjustments also help. Keeping sodium intake below 2,300 mg per day reduces the amount of calcium your kidneys excrete. Eating 1,000 to 1,200 mg of dietary calcium daily (from food, not supplements) may seem counterintuitive, but adequate calcium in your diet actually binds oxalate in the gut and prevents it from reaching the kidneys. Increasing fruits and vegetables can help raise urinary citrate naturally, partially offsetting topiramate’s citrate-lowering effect. Limiting non-dairy animal protein also reduces the acid load your kidneys have to handle.
If you’ve had kidney stones before starting topiramate, or if you develop symptoms like flank pain, blood in your urine, or painful urination while taking it, that history is important context for your prescriber when weighing whether to continue the medication.

