Are Peanuts Bad for Kidney Stones?

Peanuts are not especially bad for kidney stones, and the common advice to avoid them is more cautious than the evidence warrants. They do contain oxalate, the compound most associated with the formation of calcium oxalate stones, but peanuts sit in the moderate range compared to other nuts and high-oxalate foods, and your body absorbs a surprisingly small fraction of the oxalate they contain. The real picture is more interesting than a simple thumbs-up or thumbs-down, because peanuts also carry compounds that actively work against stone formation.

Why Peanuts Get Blamed

Most kidney stones, roughly four out of five, are made of calcium oxalate. Oxalate is a naturally occurring compound found in many plant foods, and when it reaches your kidneys and meets calcium in your urine, it can crystallize into stones. Human urine is often already supersaturated with calcium oxalate under normal conditions, which is why even modest shifts in oxalate excretion can tip the balance toward stone formation.1Journal of the American Dietetic Association. Effect of dietary oxalate and calcium on urinary oxalate and risk of formation of calcium oxalate kidney stones Because peanuts contain oxalate, they end up on many “avoid” lists handed to stone-formers. But that blanket advice ignores how much oxalate peanuts actually deliver to the body and what else they bring along.

How Much Oxalate Peanuts Actually Contain

A detailed analysis of oxalate in various nuts found that peanuts, Spanish peanuts, and peanut butter all fell into the “relatively low” category for both gastric and intestinal soluble oxalate. Gastric soluble oxalate in peanuts ranged from about 147 to 250 milligrams per 100 grams, and intestinal soluble oxalate (the fraction more relevant to absorption) ranged from 129 to 173 milligrams per 100 grams.2Journal of Food Composition and Analysis. Soluble and insoluble oxalate content of nuts For context, that same study found that some tree nuts like almonds contained far higher levels. Spinach, rhubarb, and beets are often cited as the highest-oxalate common foods, and peanuts do not come close to those.

That said, “relatively low for a nut” does not mean oxalate-free. If you ate a very large quantity of peanuts daily, the oxalate load would add up. A typical serving of peanuts is about 28 grams (roughly a small handful), which translates to somewhere around 40 to 70 milligrams of gastric soluble oxalate depending on the variety. That is a meaningful but not alarming amount for most people.

The Bioavailability Gap

Here is where the story shifts. Not all the oxalate in a food ends up in your urine. Some of it stays bound to other compounds in the gut and passes through without being absorbed. A study that directly measured how much oxalate from various foods actually reached the urine found that peanuts caused only a moderate increase in urinary oxalate excretion, around 3 to 5 milligrams per serving load, despite containing about 116 milligrams of oxalate in that portion. The bioavailability worked out to roughly 3.8 percent.3PubMed. A further study of oxalate bioavailability in foods In other words, your body absorbs less than one-twentieth of the oxalate in peanuts. Compare that to some leafy greens where oxalate bioavailability can be several times higher, and peanuts start to look like a modest contributor at best.

Why is peanut oxalate so poorly absorbed? Part of the answer lies in the other compounds present in the food. Peanuts contain fiber, phytate, and calcium-binding agents that can trap oxalate in the gut before it ever reaches the bloodstream. The calcium-to-oxalate ratio in a food matters because calcium binds oxalate in the intestine, forming insoluble calcium oxalate that gets excreted in stool rather than absorbed into the blood and filtered through the kidneys.1Journal of the American Dietetic Association. Effect of dietary oxalate and calcium on urinary oxalate and risk of formation of calcium oxalate kidney stones Eating peanuts alongside calcium-containing foods may further reduce the already-small fraction of oxalate that gets absorbed.

Peanuts Also Contain Stone Inhibitors

This is the part most “avoid peanuts” advice leaves out. Peanuts are a good source of both magnesium and phytate, two compounds that have been shown to actively inhibit calcium oxalate crystal formation. Research examining how these compounds interact with stone formation found that magnesium, citrate, and phytate all slow or prevent the crystallization of calcium oxalate. Phytate was identified as a particularly powerful crystal growth inhibitor, completely preventing the formation of certain calcium oxalate crystal types in laboratory conditions. Significant synergistic effects between magnesium and phytate were observed, meaning the two work better together than either does alone.4PubMed. Efficacy of Mixtures of Magnesium, Citrate and Phytate as Calcium Oxalate Crystallization Inhibitors in Urine

Phytate, sometimes called inositol hexaphosphate, is abundant in legumes, nuts, and seeds. Peanuts are technically legumes and are rich in it. Studies on orally administered phytate suggest it may reduce urinary calcium stone formation.5PubMed Central. The Relevance of Phytate for the Treatment of Chronic Kidney Disease This creates an interesting tension: the same food delivers a small amount of absorbable oxalate while also delivering compounds that fight the very crystallization process oxalate promotes. The net effect, for most people, tilts toward neutral or even mildly protective.

The Problem with Salted Peanuts

If there is a genuine concern about peanuts and kidney stones, it is probably less about the peanut itself and more about the salt coating. Sodium is a well-established risk factor for calcium-based kidney stones because it directly increases how much calcium your kidneys excrete. In normal adults, urinary calcium excretion goes up by about 40 milligrams for every 2,300 milligrams of extra dietary sodium. People who already form calcium stones tend to be even more sensitive, with roughly double that calcium increase per unit of sodium.6PubMed. Dietary salt, urinary calcium, and kidney stone risk

A single-serving bag of salted peanuts from a vending machine can contain 200 milligrams of sodium or more. Heavily salted varieties or honey-roasted peanuts with added salt push that number higher. If you snack on salted peanuts throughout the day, the sodium load can become significant. Unsalted or lightly salted peanuts sidestep this issue entirely. For stone-formers, the choice between salted and unsalted peanuts is probably a bigger deal than the choice between peanuts and no peanuts.

What About Uric Acid Stones?

Not all kidney stones are calcium oxalate. About 5 to 10 percent are made of uric acid, which forms when purine compounds are broken down. Foods high in purines (organ meats, certain seafoods, beer) are well-known triggers for uric acid stones and gout. Peanuts do not pose this risk. They contain roughly 49 milligrams of purines per 100-gram serving, which falls under the 50-milligram threshold that classifies a food as low-purine. Other nuts are even lower: walnuts sit around 20 milligrams and almonds around 31 milligrams per 100-gram serving. If your stones are uric acid rather than calcium oxalate, peanuts are not a dietary concern on the purine front.

Nut-Based Milks and Oxalate Surprises

People who avoid dairy sometimes switch to nut-based milk alternatives, and this is where some unexpected oxalate exposure can happen. An analysis of plant-based milks found that almond milk had the highest oxalate concentration among the options tested, followed by cashew, hazelnut, and soy milk. Coconut and flax milk had undetectable oxalate levels. Oat milk turned out to have the most similar overall mineral and oxalate profile to dairy milk, making it a reasonable swap for stone-formers who need to limit oxalate.7PubMed Central. Plant-Based Milk Alternatives and Risk Factors for Kidney Stones and Chronic Kidney Disease

Peanut milk was not a focus of that particular analysis, but given that peanuts have lower oxalate than almonds and cashews, peanut-based beverages are likely to be lower in oxalate than almond milk. The broader point is worth noting: if you are managing stone risk, paying attention to your milk alternative can matter more than you might expect, especially if you drink large volumes daily. A glass or two of almond milk adds meaningful oxalate in a way that a handful of peanuts does not.

The DASH Diet Finding

Perhaps the strongest evidence that nuts (peanuts included) are not the enemy comes from large-scale dietary studies. A study analyzing data from three major cohorts found that people who followed a DASH-style diet had a substantially lower risk of developing kidney stones. The DASH score was built on eight dietary components, and “nuts and legumes” was one of the high-intake components scored positively. People in the highest quintile of the DASH score had a 40 to 45 percent lower risk of kidney stones compared to those in the lowest quintile, with relative risks of 0.55 for men, 0.58 for older women, and 0.60 for younger women.8PubMed Central. DASH-style diet associates with reduced risk for kidney stones

The DASH diet is high in fruits, vegetables, nuts, legumes, low-fat dairy, and whole grains, and low in sodium, sweetened beverages, and red or processed meats. Nut and legume consumption was part of the protective pattern, not something participants had to avoid. This does not prove that peanuts specifically prevent stones, because the DASH pattern involves many dietary changes working together. But it does suggest that moderate nut intake fits comfortably within a stone-preventing eating pattern rather than undermining it.

Why Individual Variation Matters

The research on oxalate transport makes clear that not everyone handles dietary oxalate the same way. Over 80 percent of kidney stones are calcium oxalate, and even small changes in urinary oxalate concentration can shift someone’s risk.9Karger Publishers. The Handling of Oxalate in the Body and the Origin of Oxalate in Calcium Oxalate Stones Urinary oxalate excretion behaves as a continuous risk variable, meaning there is no sharp cutoff below which oxalate is “safe” and above which it is “dangerous.” Every increment matters, and where you start on that spectrum depends on your genetics, gut microbiome, and overall diet.10PubMed Central. Dietary oxalate and kidney stone formation

Some people absorb dietary oxalate more efficiently than others due to differences in intestinal transport proteins. People with inflammatory bowel disease, a history of gastric bypass surgery, or fat malabsorption conditions tend to absorb significantly more oxalate because the free fatty acids in their gut bind calcium and leave more oxalate available for absorption. For those individuals, even moderate-oxalate foods like peanuts could contribute more meaningfully to urinary oxalate than they would in someone with a healthy gut. Gut bacteria also play a role: certain bacterial species, including some strains of Lactobacillus and the well-known Oxalobacter formigenes, break down oxalate in the intestine before it can be absorbed. People whose microbiome lacks these bacteria may be more sensitive to dietary oxalate.

If you have been a recurrent stone-former and your doctor has ordered a 24-hour urine collection showing high oxalate excretion, moderating peanut intake is reasonable as part of a broader oxalate-reduction strategy. But for first-time stone-formers or people trying to prevent stones without a specific diagnosis of hyperoxaluria, cutting peanuts out of an otherwise balanced diet is unlikely to make a difference.

Practical Eating Strategies

For those who enjoy peanuts and want to keep stone risk low, a few simple habits can make a meaningful difference:

  • Choose unsalted: The sodium in salted peanuts is a bigger stone risk factor than the oxalate in the peanut itself. Unsalted or dry-roasted varieties eliminate this concern.
  • Eat them with calcium-rich foods: Pairing peanuts with yogurt, cheese, or milk allows calcium to bind oxalate in the gut, reducing absorption. This is one reason the DASH dietary pattern, which includes both dairy and nuts, works well for stone prevention.
  • Watch portion size: A single serving (about a handful, or 28 grams) delivers modest oxalate. Problems are more likely if you regularly eat several cups of peanuts in a sitting.
  • Stay hydrated: Dilute urine is the single most effective defense against all types of kidney stones. Adequate fluid intake matters far more than whether you ate peanuts today.
  • Look at the full diet: If you are eating spinach, rhubarb, beets, and large amounts of chocolate alongside your peanuts, the cumulative oxalate load from those higher-oxalate foods dwarfs the peanut contribution. Cutting peanuts while keeping those foods unchanged accomplishes little.

How Peanuts Compare to Other Nuts

If you are deciding between different nuts based on stone risk, the oxalate content varies quite a bit. The same analysis that measured peanut oxalate found that almonds contained considerably higher levels of both gastric and intestinal soluble oxalate than peanuts. Cashews fell in a similar moderate range as peanuts. Pistachios and chestnuts were among the lowest, with less than 85 milligrams of gastric soluble oxalate per 100 grams.2Journal of Food Composition and Analysis. Soluble and insoluble oxalate content of nuts The study’s authors concluded that intestinal soluble oxalate content varies widely across nut types and that people prone to stones should moderate consumption of “certain nuts,” implying the high-oxalate ones rather than all nuts indiscriminately.

Macadamia nuts, walnuts, and pecans are generally considered lower-oxalate options. If you have been specifically told to follow a low-oxalate diet and want to keep eating nuts, pistachios and macadamias are your safest bets, with peanuts sitting comfortably in the middle tier rather than the danger zone. Almonds, particularly in large quantities or as almond flour in baked goods, are the nut most likely to push oxalate intake into problematic territory.

When Restricting Calcium Backfires

One of the more counterintuitive findings in stone prevention research is that restricting dietary calcium tends to make things worse rather than better. When you eat less calcium, there is less calcium available in the gut to bind oxalate, so more oxalate gets absorbed and ends up in the urine.1Journal of the American Dietetic Association. Effect of dietary oxalate and calcium on urinary oxalate and risk of formation of calcium oxalate kidney stones This is directly relevant to peanut consumption: if someone eliminates dairy and other calcium sources in a misguided attempt to prevent calcium oxalate stones, the oxalate from peanuts (and every other food) becomes more likely to be absorbed. The solution is to eat normal amounts of calcium, ideally from food rather than supplements, and let that calcium do its job of binding oxalate before it reaches the kidneys.

This is also why pairing peanut butter with a glass of milk or spreading it on calcium-fortified bread is a reasonable habit for someone concerned about stones. The calcium in the accompanying food acts as a built-in oxalate binder, reducing the net oxalate contribution of the snack.