How Kidney Stones Form and What Raises Your Risk

Kidney stones form when minerals dissolved in your urine become too concentrated, clump together into crystals, and gradually grow into solid masses inside your kidney. The process unfolds over months or even years, starting at a microscopic level long before you feel anything. A typical 5 mm stone, the size that often causes symptoms, takes roughly 559 days to form.

Understanding the steps behind stone formation helps explain why certain habits, diets, and health conditions make some people far more prone to stones than others.

Where Stones Begin Inside the Kidney

Most calcium-based kidney stones don’t just float freely in urine and stick together. They anchor to a specific spot inside the kidney called a Randall’s plaque, a tiny deposit of calcium phosphate that forms at the very tip of the kidney’s inner tissue (the renal papilla). These plaques were first described more than 80 years ago by Alexander Randall, and modern imaging has confirmed their role as the launchpad for the majority of common stones.

Randall’s plaques start in the walls of the smallest structures deep inside the kidney: the thin loops where urine gets concentrated and the tiny blood vessels surrounding them. As calcium phosphate accumulates in these tissues, the plaque eventually breaks through the inner surface of the kidney, exposing it to flowing urine. Once exposed, the plaque acts like a sticky surface where additional crystals can latch on and grow.

From Dissolved Minerals to Solid Crystals

Your urine naturally contains calcium, oxalate, phosphate, and uric acid. Normally these stay dissolved, the way sugar dissolves in water. But when concentrations climb too high, the urine becomes “supersaturated,” meaning it holds more of these minerals than it can keep in solution. At that point, crystals start to precipitate out, much like sugar crystallizing at the bottom of an overly sweet drink.

Researchers at the University of Chicago Kidney Stone Program have mapped the risk thresholds. For calcium oxalate, the most common stone mineral, risk begins rising when the supersaturation level exceeds 3.3 on a standard scale. Values between 6.6 and 9.9 represent medium risk, and anything above 13.1 is very high risk. For calcium phosphate stones, the threshold is much lower: risk starts above a supersaturation of just 1. Uric acid crystallization depends heavily on how acidic the urine is rather than on a simple concentration number, with crystals forming rapidly as pH drops.

The crystallization process itself happens in stages. First, calcium phosphate and calcium oxalate form tiny, disorganized (amorphous) clusters. Calcium oxalate clusters gather around a calcium phosphate sphere, driven by electrical attraction between the particles. These clusters then self-assemble into larger particles on the surface of the phosphate core. Once the particles reach a critical size, stable crystal nuclei form, and from there, true crystal growth takes off. Multiple crystals grow on the phosphate surface and eventually encapsulate it entirely, producing the layered internal structure doctors see when they analyze removed stones.

How Fast Stones Grow

Stone growth is slow enough that most people have no idea one is developing. A 3 mm stone takes an estimated 210 days to form. A 5 mm stone, roughly the upper limit of what can pass on its own, averages about 559 days. A 7 mm stone needs around 930 days. These are averages; rapid stone formers can build a significant stone in under two years, while slow formers may take five years or more.

Not all stone types grow at the same speed. Calcium oxalate stones tend to grow more slowly, while uric acid stones can develop faster under the right conditions. The rate depends on how supersaturated your urine stays over time, which is why persistent dietary habits and chronic health conditions matter more than a single meal or a single day of poor hydration.

The Four Main Stone Types and Their Causes

Calcium Oxalate Stones

These account for the majority of kidney stones. Oxalate is a natural byproduct of liver metabolism and is also absorbed from food. High-oxalate foods include spinach, rhubarb, nuts, peanuts, wheat bran, and chocolate. When oxalate levels in the urine rise and combine with calcium, crystals form. High doses of vitamin D, intestinal bypass surgery, and various metabolic conditions can push calcium or oxalate concentrations higher.

Calcium Phosphate Stones

Less common than oxalate stones, these are associated with conditions that make urine more alkaline, particularly a kidney disorder called renal tubular acidosis. Certain medications used for migraines or seizures can also promote their formation.

Uric Acid Stones

These form when urine is persistently too acidic. People with diabetes, metabolic syndrome, or chronic diarrhea are at elevated risk. A diet heavy in animal protein, particularly organ meats and shellfish, raises uric acid levels. Insulin resistance, common in type 2 diabetes, makes the kidneys produce more acidic urine, which is the single most frequent urine abnormality in diabetic stone formers and a major reason uric acid stones are becoming more common.

Struvite Stones

These develop in response to urinary tract infections. Certain bacteria produce an enzyme that makes urine more alkaline, creating conditions for a mineral called struvite to crystallize. These stones can grow quickly and become quite large.

Your Body’s Built-In Defenses

Urine isn’t defenseless against crystal formation. It contains natural inhibitors that slow or prevent stones from developing, which is why not everyone with concentrated urine gets stones.

Citrate is the most important of these inhibitors. It works in two ways: it binds to calcium in the urine, forming a soluble complex that keeps calcium from pairing with oxalate, and it directly reduces the tendency of calcium oxalate crystals to form, grow, and clump together. Citrate also helps correct excess urine acidity, which protects against uric acid stones. Magnesium plays a supporting role by slowing the rate of calcium oxalate crystal growth.

When citrate or magnesium levels drop too low, the balance tips in favor of stone formation even if mineral concentrations aren’t dramatically high. Low citrate is one of the most common findings on urine tests in people who form recurrent stones.

Dietary Factors That Shift the Balance

Sodium is one of the most underappreciated stone drivers. When you eat more salt, your kidneys excrete more calcium into the urine, directly raising supersaturation. Guidelines recommend staying below 2,300 mg of sodium per day (roughly one teaspoon of table salt) if you’ve had calcium oxalate or calcium phosphate stones.

High-oxalate foods deserve attention if you’re a calcium oxalate stone former, but the strategy isn’t simply to avoid all oxalate. Eating calcium-rich foods alongside oxalate-rich foods helps, because calcium binds oxalate in the gut before it ever reaches the kidneys. Cutting calcium intake, counterintuitively, can make stones worse by leaving more free oxalate to be absorbed.

Animal protein raises uric acid production and makes urine more acidic, promoting both uric acid and calcium stones. The effect is strongest with red meat, organ meats, and shellfish.

Why Hydration Matters So Much

Every step of stone formation depends on concentration. The more water flowing through your kidneys, the more dilute your urine stays, and the harder it is for any mineral to reach the supersaturation threshold. The University of Chicago Kidney Stone Program recommends producing 2.5 to 3 liters of urine per day, which typically requires drinking 3 to 4 liters of fluid daily under normal conditions.

That volume sounds like a lot, and it is more than most people drink. But it’s the single most effective way to prevent stones regardless of type. Chronic mild dehydration, the kind most people don’t notice, keeps urine concentrated for hours at a time and gives crystals a steady window to form and grow.

Health Conditions That Raise Risk

Kidney stones aren’t purely a dietary problem. Metabolic syndrome, the cluster of conditions including obesity, high blood sugar, and high blood pressure, fundamentally changes urine chemistry. Insulin resistance makes the kidneys less able to excrete acid, producing persistently acidic urine that favors uric acid crystallization. People with type 2 diabetes form uric acid stones at significantly higher rates than the general population.

Globally, about 106 million new cases of kidney stones were recorded in 2021, with men accounting for more than two-thirds. The condition is not rare, and the link to metabolic disease means that as obesity and diabetes rates climb, stone rates tend to follow.