← OxalateWatch   All posts

Vitamin B6 and the Oxalate Your Body Makes: Endogenous Production, Explained

2026-08-21 · By Sarah Chen, Data Editor · Dietary reference, not medical advice

Most stone talk is about the oxalate you eat. But a meaningful share of the oxalate in urine is made inside the body, and one vitamin sits at the control point: B6. Understanding that switch explains why a deficiency can quietly raise oxalate even on a clean diet.

The Switch in the Liver

In the liver, an enzyme called AGT (alanine:glyoxylate aminotransferase) uses vitamin B6 — in its active form, pyridoxal phosphate — to convert glyoxylate into glycine, a harmless amino acid. When B6 is lacking, that conversion stalls. Glyoxylate piles up and gets shunted down another path that ends in oxalate. A 2026 rat study made the point sharply: B6-deficient animals developed a "functional" mimic of a genetic stone disorder, because the enzyme was present but had lost its required cofactor.

This is the same mechanism behind type 1 primary hyperoxaluria, a rare genetic disease where the AGT enzyme itself is broken. There, pharmacologic B6 helps a subset of patients (roughly a third, in registry data) lower urine oxalate by 30 percent or more. That is a special, physician-managed situation — not the everyday stone former.

The boundary, stated clearly: the B6-oxalate link is solid for genetic hyperoxaluria and for deficiency states. For the average person with calcium oxalate stones and normal B6 status, randomized trials of B6 for stone prevention have been mixed. Correct a deficiency if you have one; do not assume high-dose B6 prevents stones.

B6-Containing Foods, Measured for Oxalate

The foods that carry B6 tend to be clean on oxalate, which makes them easy additions:

FoodOxalate (mg)ServingRating
Chicken breast, roasted0 mg4 ozSafe
Salmon, cooked0 mg4 ozSafe
Tuna, canned in water0 mg3 ozSafe
Banana6 mg1 mediumSafe
Oatmeal, cooked2 mg1 cupSafe

Poultry, fish, banana, and oats are B6 sources that sit at zero or near-zero oxalate. For someone whose urine oxalate is high and whose diet is already low in oxalate, a B6 check (via a clinician) is one of the variables worth ruling out — because the problem may be endogenous, not dietary.

What to Do With This

For most people, the lesson is indirect: keep B6 adequate through ordinary food rather than chasing supplements. The 2026 rat work matters most as a reminder that "high urine oxalate despite a low-oxalate diet" is a real pattern with a metabolic cause, and that a 24-hour urine test plus a nutrient workup is the right next step — not another round of cutting spinach. High-dose B6 has its own risk (nerve toxicity at sustained high doses), so dose decisions belong with a doctor.

Frequently Asked Questions

Will taking B6 prevent my kidney stones?
For people with normal B6 status, the trial evidence is mixed. B6 clearly matters in genetic hyperoxaluria and in deficiency, but routine high-dose B6 is not a proven prevention strategy for the average stone former.
Why is my urine oxalate high if I barely eat oxalate?
A portion of urine oxalate is made in the body. Deficiency of B6, certain genetic conditions, and high intakes of oxalate precursors (like gelatin or hydroxyproline) can raise endogenous oxalate. A clinician can sort out which applies.
Sources:
Harvard T.H. Chan School of Public Health Oxalate Database (2024); USDA FoodData Central; Metabolic origins of hyperoxaluria: the critical role of precursors and vitamin B6 status in rats. Urol Res. 2026; (Springer). Primary hyperoxalurias: disorders of glyoxylate detoxification, Clin Chim Acta review (SciDirect). All oxalate values are lab-measured via ion chromatography. This page is a dietary reference tool, not medical advice.

See how oxalate values are measured and verified on our data methodology page.

Medical Disclaimer: This site is a dietary reference tool based on published food composition data. It does not provide medical advice, diagnose, or treat any condition. Talk to your doctor or a registered dietitian before changing your diet, especially if you have kidney stones, kidney disease, or other medical conditions.