If you are investigating whether oxalate is contributing to your health issues -- whether that is kidney stones, CKD progression, post-bariatric complications, or symptoms you suspect may be oxalate-related -- there is one test that provides the most direct, objective answer: the 24-hour urine oxalate collection.
This test measures exactly how much oxalate your kidneys are excreting over a full day. It is the gold standard for diagnosing hyperoxaluria (excessively high urinary oxalate) and for monitoring whether dietary changes are actually working.
Despite its importance, many patients have never heard of it, and those who have been told to do one often find the logistics confusing. This guide covers everything: who needs this test, how to do it properly, what the numbers mean, and how often to repeat it.
Who Should Get This Test
Definite Candidates
Recurrent kidney stone formers. If you have had two or more calcium oxalate kidney stones, the American Urological Association recommends a comprehensive metabolic evaluation that includes 24-hour urine collection. This is not optional -- it is standard of care. If your urologist has not ordered this test after your second stone, request it.
CKD patients with unexplained GFR decline. If your kidney function is declining faster than expected and other causes have been addressed, oxalate nephropathy should be considered. For CKD patients, a plasma oxalate test may be more informative than urinary oxalate (since impaired kidneys may not excrete oxalate efficiently), but the 24-hour urine test still provides valuable data, especially in earlier CKD stages.
IBD patients with ileal disease or resection. Enteric hyperoxaluria affects a significant proportion of Crohn's patients, particularly those with ileal involvement. A baseline 24-hour urine test establishes whether hyperoxaluria is present, even before a kidney stone forms.
Post-Roux-en-Y gastric bypass patients. Bariatric surgery significantly increases oxalate absorption. Testing within the first year after surgery, and annually thereafter, helps catch hyperoxaluria before it leads to stones or kidney damage.
Strong Candidates
First-time kidney stone formers. While guidelines are less definitive about metabolic evaluation after a single stone, many nephrologists and urologists now recommend testing for first-time stone formers as well, particularly if the stone was calcium oxalate and the patient has risk factors (family history, dietary habits, relevant medical conditions).
Patients with suspected oxalate-related symptoms. If you are investigating whether oxalate contributes to vulvodynia, IC, or other symptoms, a 24-hour urine test provides objective data. If your urinary oxalate is normal, it is less likely (though not impossible) that oxalate is a major factor. If it is elevated, you have a clear target for intervention.
Anyone starting a low-oxalate diet for medical reasons. A baseline test before dietary changes gives you a reference point. Follow-up testing after 4-8 weeks of dietary modification shows whether your changes are actually reducing oxalate excretion.
How to Do the Collection
The 24-hour urine collection is not technically difficult, but it requires planning and consistency. Here is the step-by-step process.
Before Collection Day
Your doctor will order the test and provide a collection kit, or you will pick one up from a lab. The kit typically includes:
- A large collection container (usually a brown or orange jug, 3-4 liters)
- A preservative inside the container (usually hydrochloric acid -- do not pour it out)
- Sometimes a smaller "hat" specimen collector that fits over the toilet
- Instructions and a lab slip
Important: Some labs require refrigeration of the sample during collection. Check your specific instructions. If refrigeration is required, clear space in your refrigerator for the container.
Collection Day
Step 1: Choose a day when you will be home most of the time. Weekends work well. Trying to collect while at work or traveling makes the process much harder and increases the chance of missing specimens.
Step 2: Start the timer. When you wake up in the morning, urinate into the toilet as usual -- this urine is discarded. Note the exact time. This is your "start time." All urine from this moment forward goes into the container.
Step 3: Collect every void for 24 hours. Every time you urinate for the next 24 hours, collect it in the container. Do not miss any voids. If you forget once, the test may be inaccurate -- note it on the lab form.
Step 4: Final collection. At exactly the same time the following morning (24 hours from your start time), urinate into the container one last time. This is your final specimen.
Step 5: Deliver to the lab. Bring the container to the lab as soon as possible after completing the collection, usually within a few hours. The lab slip should specify the drop-off location and any time constraints.
Tips for Accuracy
Eat your normal diet during the collection. The point is to measure your typical oxalate excretion, not what happens on an unusually careful day. If you are already restricting oxalate, continue your current pattern. Do not eat extra spinach to "test" yourself, and do not eat an unusually clean diet to get a better number.
Stay normally hydrated. Drink your usual amount of water. Excessive hydration will dilute the sample; dehydration will concentrate it. Neither changes the total oxalate excreted, but unusual hydration can affect other urine parameters measured in the same collection.
Note any medications and supplements. Vitamin C supplements are particularly important to mention because the body converts excess vitamin C to oxalate. Some antibiotics and other medications can also affect results.
If you miss a void, note it. Do not try to fake it by adding water. Just note the miss on the lab form. Your doctor can account for it when interpreting results.
Understanding Your Results
The lab report will include several values. Here are the ones most relevant to oxalate.
Urinary Oxalate
This is the primary number you are looking for.
- Normal: Below 40 mg per 24 hours (some labs use 45 mg as the cutoff)
- Mild hyperoxaluria: 40-60 mg per 24 hours
- Moderate hyperoxaluria: 60-80 mg per 24 hours
- Severe hyperoxaluria: Above 80 mg per 24 hours
- Enteric hyperoxaluria range: Often 80-200+ mg per 24 hours (seen in IBD and post-bariatric patients)
- Primary hyperoxaluria: Can exceed 100-200 mg per 24 hours (genetic condition)
For kidney stone prevention, the goal is typically to get urinary oxalate below 25-30 mg per 24 hours, which is lower than the upper limit of "normal." Just being in the normal range does not mean you are optimally protected -- lower is generally better for stone formers.
Other Important Values in the Same Collection
A comprehensive 24-hour urine collection also measures:
Urine volume. Goal for stone prevention is above 2.5 liters per day. Low urine volume is the single most common risk factor for kidney stones.
Calcium. Urinary calcium above 250-300 mg per day (hypercalciuria) is an independent risk factor for calcium oxalate stones. Notably, this is about urinary calcium, not dietary calcium -- adequate dietary calcium actually helps by binding oxalate in the gut.
Citrate. Low urinary citrate (below 320 mg per day) increases stone risk because citrate inhibits calcium oxalate crystal formation. Citrate also complexes with calcium, reducing the amount available to bind with oxalate.
Uric acid. Elevated urinary uric acid can promote calcium oxalate stone formation by acting as a crystal seed.
Sodium. High urinary sodium (above 200 mEq per day) increases calcium excretion, which increases stone risk. Reducing sodium intake is one of the simplest interventions for stone prevention.
pH. Urine pH affects which types of crystals can form. Calcium oxalate stones can form at any pH, but uric acid stones form preferentially in acidic urine (pH below 5.5).
Supersaturation Ratios
Some labs calculate a "supersaturation ratio" for calcium oxalate using Litholink or similar proprietary formulas. This ratio combines multiple urine parameters to estimate overall crystallization risk. A ratio above 1.0 means the urine is supersaturated and crystals can form. The goal is to get below 1.0, and ideally as low as possible.
How Often to Retest
After Initial Baseline
If your first test shows hyperoxaluria and you make dietary changes, retest in 6-8 weeks to see if the changes are working. This follow-up test is critical -- it tells you whether your dietary modifications are actually reducing oxalate excretion, or whether you need to adjust your approach.
If your first test shows hyperoxaluria and you make dietary changes, retest in 6-8 weeks to see if the changes are working.
For Ongoing Monitoring
Once you have reached your target range:
- Kidney stone formers: Every 6-12 months, or sooner if you pass another stone
- CKD patients: Every 6-12 months, coordinated with other kidney function monitoring
- IBD patients: After flares (which can increase oxalate absorption), and at least annually during remission
- Post-bariatric patients: Every 6-12 months for the first 2-3 years, then annually
- Vulvodynia/IC patients: After initial baseline and dietary trial, then as symptoms guide
When to Retest Immediately
- After passing a new kidney stone
- After a significant IBD flare
- After starting or stopping vitamin C supplements
- After major dietary changes
- After antibiotic courses (which can kill oxalate-degrading gut bacteria)
Common Concerns
"The collection is inconvenient." It is. There is no way around it. But it is a one-day inconvenience that provides information no other test can give you. The data from a single 24-hour collection can guide years of dietary management.
"Can a spot urine test substitute?" A single random urine oxalate measurement does not replace a 24-hour collection. Oxalate excretion varies throughout the day depending on meals, hydration, and activity. A spot test might catch a peak or a trough, giving a misleading picture. The 24-hour collection captures the full picture. Some newer tests use oxalate-to-creatinine ratios from spot samples as a screening tool, but they are less reliable than the full collection.
"My doctor says it is not necessary." For first-time stone formers, there is some debate. For recurrent stone formers, IBD patients, and post-bariatric patients, the test is clearly indicated. If your doctor declines, consider the strategies in our guide to talking to your doctor about oxalate or seek a second opinion from a stone prevention specialist.
"What if my results are normal but I still have symptoms?" Normal urinary oxalate does not completely rule out an oxalate contribution to your symptoms. It means your kidneys are excreting a normal total amount, but it does not tell you about transient spikes after high-oxalate meals, tissue-level oxalate deposition, or how sensitive your specific tissues are to normal oxalate levels. Clinical context matters.
Key Takeaways
- The 24-hour urine oxalate test is the gold standard for measuring oxalate excretion and is indicated for recurrent stone formers, IBD patients, post-bariatric patients, and CKD patients
- Normal urinary oxalate is below 40 mg per day, but the optimal target for stone formers is below 25-30 mg per day
- Eat your normal diet during the collection to get an accurate baseline -- this is not the day to eat "perfectly"
- Retest 6-8 weeks after making dietary changes to verify that your modifications are actually reducing oxalate excretion
- The same collection measures urine volume, calcium, citrate, sodium, and pH -- all critical factors for kidney stone risk assessment
Know Your Baseline
Whether you are managing kidney stones, CKD, IBD, or post-bariatric complications, knowing your urinary oxalate level gives you a target to work toward. Use OxalateGuard's food database to identify which foods in your current diet contribute the most oxalate, and start making targeted changes. Set up your profile to track progress over time.