Oxalic acid is a natural compound found in many plant foods like spinach, rhubarb, and almonds. In the body, it can bind to minerals and form crystals, which is why it is best known for its role in kidney stones. For most people, eating foods with oxalic acid is safe and healthy, but for those prone to certain types of kidney stones or with specific health conditions, it may require some attention.
What Is Oxalic Acid Used For In The Body?
Oxalic acid does not have a useful job in your body. It is a waste product. Your liver makes some from vitamin C and other substances. The rest comes from food.
Once in your body, oxalic acid travels through your blood to your kidneys. Your kidneys filter it out into urine. For most people, this process works without any trouble. The oxalic acid leaves the body with no effect.
The problem only starts when there is too much oxalic acid in the urine. Then it can combine with calcium to form calcium oxalate crystals. These crystals can grow into kidney stones.
What Foods Contain High Levels Of Oxalic Acid?
Many common plant foods contain oxalic acid. Some have very high amounts. Here are the foods that contain the most:
- Spinach
- Rhubarb
- Beet greens
- Swiss chard
- Almonds
- Cashews
- Okra
- Sweet potatoes
- Dark chocolate
- Black tea
Cooking these foods can reduce oxalic acid content. Boiling is especially effective. One study found that boiling spinach removed up to 87% of its oxalic acid. Steaming and roasting remove less.
Do not let this list scare you. These are all healthy foods. The benefits of eating them almost always outweigh the risks for healthy people.
What Is Oxalic Acid Used For And Is It Safe For Most People?
For the vast majority of people, oxalic acid in food is completely safe. Your body handles it well. Your kidneys filter it. You pee it out.
The safety concern is real but limited to specific groups. People with a history of calcium oxalate kidney stones need to be careful. People with chronic kidney disease may also need to watch their intake. For everyone else, there is no strong evidence that eating high-oxalate foods causes harm.
Research consistently shows that the health benefits of vegetables like spinach and Swiss chard outweigh any risk from their oxalic acid content. These foods provide fiber, vitamins, minerals, and antioxidants. Avoiding them because of oxalic acid would mean missing out on real health benefits for a theoretical risk.
How Does Oxalic Acid Cause Kidney Stones?
Kidney stones form when urine becomes too concentrated with certain substances. Calcium oxalate stones are the most common type. About 80% of all kidney stones are calcium oxalate stones.
Here is how it works. When you eat high-oxalate foods, your kidneys filter the oxalic acid into your urine. If there is also calcium in your urine, the two can bind together. They form tiny crystals. Over time, these crystals can grow into stones.
But the story is not that simple. Eating calcium at the same time as high-oxalate foods can actually help prevent stones. The calcium and oxalic acid bind in your gut, not in your kidneys. They pass out through your stool instead of your urine. This is why doctors often tell stone formers to eat dairy with their spinach, not to avoid spinach entirely.
Low calcium intake is actually a bigger risk factor for kidney stones than high oxalate intake. Studies have found that people who get enough calcium from food have fewer stones than those who do not.
Can Oxalic Acid Cause Other Health Problems?
Some people claim that oxalic acid causes a long list of health problems beyond kidney stones. These claims include joint pain, fatigue, autism, and autoimmune disease. As of 2026, there is no clinical evidence that supports these claims.
This is widely claimed in some online health communities, though strong evidence is limited. The idea that oxalic acid “leaches” minerals from your body is not supported by research. Your body tightly controls mineral absorption. Eating oxalic acid does not cause mineral deficiencies in people eating a balanced diet.
There is one rare condition called primary hyperoxaluria. It is a genetic disorder where the liver produces too much oxalic acid. This can cause kidney failure and damage to other organs. But this is extremely rare. It affects about 1 in 58,000 people. It has nothing to do with diet.
Should You Avoid High-Oxalate Foods?
For most people, the answer is no. Do not avoid spinach, almonds, or dark chocolate because of oxalic acid. These foods are healthy. The evidence does not support avoiding them.
If you have had a calcium oxalate kidney stone before, talk to your doctor. They may recommend some changes. These might include:
- Drinking more water to keep urine dilute
- Getting enough calcium from food
- Reducing sodium intake
- Limiting high-oxalate foods that you eat alone on an empty stomach
Some people report feeling better when they reduce high-oxalate foods. This is worth paying attention to. Individual responses vary. If you feel better eating fewer high-oxalate foods, that is a valid reason to adjust your diet. Just know that the evidence for widespread harm is weak.
What About Oxalic Acid In Supplements And Industrial Uses?
Oxalic acid has uses outside of food. It is used in some cleaning products to remove rust and stains. It is also used in the textile industry and in some chemical processes. These are industrial uses. They are not relevant to dietary oxalic acid.
You should never consume industrial oxalic acid. It is toxic in concentrated amounts. The oxalic acid in food is diluted and bound to other compounds. They are completely different things.
Some supplements contain oxalic acid. There is no evidence that these provide any health benefit. Getting oxalic acid from food is the only relevant source for your diet.
Frequently Asked Questions
Is oxalic acid poisonous?
In very large concentrated amounts, yes. But the amount in food is safe for most people. Your body can handle the small amounts found in vegetables and nuts.
Does cooking destroy oxalic acid?
Boiling removes a significant amount of oxalic acid because it leaches into the water. Steaming and roasting remove less. Discarding the cooking water helps reduce oxalic acid content.
Can oxalic acid cause joint pain?
There is no clinical evidence that dietary oxalic acid causes joint pain. Some people report this connection, but it has not been confirmed in research studies.
Should I take calcium supplements with high-oxalate foods?
Food calcium is better than supplements for binding oxalic acid in the gut. Eating dairy, canned salmon with bones, or calcium-set tofu with high-oxalate foods can help reduce oxalate absorption.

