Oxalates are naturally occurring compounds found in many plants, and they’re also produced inside your body. Chemically, oxalate is a simple molecule (the salt form of oxalic acid) that binds strongly to minerals like calcium. This binding tendency is exactly what makes oxalates relevant to your health: when oxalate pairs with calcium in the kidneys, it can form the crystals that become kidney stones. Most people process oxalates without any trouble, but understanding where they come from and how your body handles them matters if you’re prone to stones or have certain digestive conditions.
Where Oxalates Come From
Your body actually produces the majority of its oxalate internally. The liver is the primary source, generating roughly 60 to 80% of the total oxalate in your body from precursor molecules. The remaining 20 to 40% comes from food. This ratio surprises most people, who assume diet is the main driver.
Of the oxalate you eat, your gut absorbs only a small fraction, somewhere between 2 and 10%. The rest is either broken down by bacteria in your intestines or simply passed out in stool. So while dietary oxalate matters, it’s one piece of a larger picture that includes your liver’s output, your gut health, and how well your kidneys clear oxalate from your blood.
Foods Highest in Oxalates
Oxalate levels vary enormously across foods. Spinach is by far the highest common source, with a half cup of cooked spinach containing about 755 mg of oxalate. Even raw spinach packs roughly 656 mg per cup. Rhubarb comes in second at around 541 mg per half cup. Rice bran delivers about 281 mg per cup, and cooked wheat berries contain around 98 mg per cup.
Other well-known high-oxalate foods include beets, almonds, Swiss chard, sweet potatoes, and dark chocolate, though their levels are considerably lower than spinach and rhubarb. Most fruits, meats, dairy products, and grains are low in oxalate. If you’re tracking your intake, the gap between the highest and lowest foods is dramatic: a serving of spinach can deliver more oxalate than an entire day’s worth of low-oxalate meals combined.
How Oxalates Cause Kidney Stones
Calcium oxalate is the most common type of kidney stone. The process starts when oxalate and calcium meet in the kidneys and form tiny crystals inside the renal tubules, the small tubes where urine is filtered. In healthy people, most of these crystals simply wash out in urine, and any that do attach to the tube walls get cleaned up by the body’s immune cells or broken down inside cells.
Problems begin when oxalate levels in the urine are chronically high. Elevated oxalate injures the cells lining the renal tubules, making their surfaces stickier and more receptive to crystal attachment. Once a crystal latches on, it gets pulled into the cell wall, attracts more crystals, and the aggregate gradually grows into a stone. The process is slow, which is why stones tend to become more common with age rather than appearing suddenly.
Your Gut Bacteria Play a Surprising Role
A specific gut bacterium called Oxalobacter formigenes uses oxalate as its primary energy source, effectively breaking it down before your body can absorb it. Nearly all children between ages 6 and 8 carry this bacterium, but only 60 to 80% of adults still have it. The most likely culprit for losing it is antibiotic use. Research has shown that commonly prescribed antibiotics, including clarithromycin and doxycycline, directly inhibit the bacterium’s ability to degrade oxalate.
People who lack oxalate-degrading bacteria absorb more oxalate from food, which means more of it ends up in their urine. In a notable finding, a single oral dose of O. formigenes given to volunteers who lacked it reduced urinary oxalate after an oxalate-rich meal, restored oxalate-degrading activity in their stool, and maintained colonization over time. Patients with cystic fibrosis, who often undergo intensive antibiotic therapy, frequently lack these bacteria altogether.
Vitamin C and Oxalate Production
High-dose vitamin C supplements can increase your body’s oxalate output. When vitamin C (ascorbic acid) is metabolized, its oxidized form breaks down into an unstable molecule that can convert into oxalate. At normal dietary intake, this isn’t a concern. But the numbers shift at higher doses.
Men consuming more than 1,000 mg per day of supplemental vitamin C had a 16% higher risk of forming stones compared to those taking none. In controlled studies, 1 gram per day increased urinary oxalate excretion by 56% in healthy subjects and 61% in people who had already formed stones. At 2 grams per day, stone formers saw a 75% increase. People taking more than 1,000 mg daily excreted about 6.8 mg more oxalate per day in their urine than those taking under 90 mg. If you have a history of kidney stones, this is one of the more actionable things to know about oxalate.
Reducing Oxalate Absorption From Food
The simplest way to lower how much dietary oxalate your body absorbs is to eat calcium-rich foods at the same meal. When calcium and oxalate meet in your gut rather than your kidneys, they bind together and pass out harmlessly in stool instead of being absorbed into your bloodstream. Research shows that intestinal oxalate absorption depends more on the calcium-to-oxalate ratio in a meal than on the absolute amount of oxalate you eat. This means pairing a spinach salad with cheese or yogurt can meaningfully reduce how much oxalate reaches your kidneys.
Cooking method also makes a difference. Boiling vegetables reduces their soluble oxalate content by 30 to 87%, because oxalate leaches into the cooking water. Steaming is less effective, cutting soluble oxalate by only 5 to 53%. Baking does essentially nothing. If you’re trying to lower your oxalate load, boiling high-oxalate vegetables and discarding the water is the most effective kitchen strategy.
When Oxalate Becomes a Medical Problem
For most people, oxalates are a non-issue. Your body produces them, processes them, and excretes them without incident. But two conditions can push oxalate levels high enough to cause real damage.
Primary hyperoxaluria is a rare inherited condition where the liver either doesn’t produce enough of a specific protein that limits oxalate production, or the protein doesn’t work properly. This leads to dangerously high oxalate output starting in childhood and can cause recurrent kidney stones and eventually kidney damage.
Enteric hyperoxaluria happens when intestinal problems cause your body to absorb far more oxalate than normal from food. Crohn’s disease and short bowel syndrome (which can result from surgical removal of parts of the small intestine) are the most common triggers. In these conditions, the gut’s normal barriers to oxalate absorption are compromised, and urinary oxalate levels climb.
All young people who develop kidney stones should be tested for oxalate in their urine, and adults who form stones repeatedly should be as well. Catching high oxalate levels early helps guide dietary changes and treatment before stones become a recurring problem.

