How to Prevent Kidney Stones: Diet, Fluids and the 24-Hour Urine Test
To prevent kidney stones, most adults who have formed one aim to make at least about 2.5 liters of urine a day, spread evenly through the day; keep normal dietary calcium with meals rather than cutting dairy; cut back on salt; eat animal protein in moderation; and, for people at higher risk, do a 24-hour urine test to find out exactly what is driving their stones. Prevention works best when it is matched to your stone type and your own urine chemistry, not guessed.
A stone that has passed or been removed is the end of an episode, not the end of the disease. The chemistry that built it is still there unless something changes.
Fluids: the foundation of prevention
Too little water relative to the minerals in your urine makes crystals more likely to form. For many adult stone formers, the goal is at least about 2.5 liters of urine per day. The target is what comes out, not a fixed amount to drink, so you need more in heat and with exercise and sweating.
Consistency matters as much as the total. A big drink in the evening does not make up for a dry day. Teachers, nurses, drivers and others who cannot get to a bathroom easily often stop drinking during work hours. If that is you, build a realistic plan for drinking and bathroom breaks.
- Water is the best default drink. Plain sparkling water and seltzer are reasonable too.
- Lemon or lime, unsweetened, can make water easier to drink and adds some citrate, a natural stone inhibitor. A small study used about four ounces of lemon juice over a day. It is a helpful extra, not a replacement for prescribed treatment.
- Sugar-sweetened sodas have been linked to higher stone risk in large studies; diet cola was not.
- Cranberry juice worsened several urinary risk factors in stone formers in one study. A drink marketed for urinary health is not automatically right for stones.
People with heart failure, advanced kidney disease or other fluid limits, and children, need an individual plan.
Don't cut calcium: the calcium-oxalate paradox
Most stones contain calcium, so many people stop eating dairy. That usually backfires. Calcium eaten with a meal binds some of the oxalate in your food inside the gut, so less oxalate is absorbed and less reaches the kidneys. Cut calcium, and more oxalate gets through.
For many adults, a dietary calcium target of about 1,000 to 1,200 milligrams a day is reasonable, adjusted for age and health. Dairy is not required; calcium-fortified foods and drinks also count. Pair the calcium with the meal that contains oxalate, rather than eating it at another time. Calcium supplements are not the same as food calcium, so do not start or stop them only because of a stone without talking to your doctor.
If your 24-hour urine shows high oxalate, your doctor may suggest reducing, not eliminating, the highest-oxalate foods: spinach and Swiss chard, rhubarb, almonds and cashews, baked potatoes with the skin, and beets and beet greens. A daily smoothie made with several cups of raw spinach and almonds can deliver a very large oxalate load.
Salt, protein and alcohol
Salt. When you eat a lot of sodium, your kidneys push it out into the urine and pull extra calcium out with it. For many adults, keeping sodium near or below 2,300 milligrams a day is a practical starting point. Most of it hides in packaged foods, sauces and restaurant meals, not the salt shaker. Read labels and lean toward fresh, less processed food. When eating out, ask for sauces on the side.
Animal protein. Meat can fit in a healthy diet. A chronic surplus of animal protein, though, adds acid and purines that can lower urine citrate, make the urine more acidic, and raise uric acid in susceptible people. Eat enough protein to protect your muscles, without excess.
Alcohol. Some studies link moderate beer or wine with fewer stones, but that is not a reason to start drinking or to use alcohol for prevention. Keep water as the base of your fluid plan.
The 24-hour urine test
A single urine sample shows one moment. A 24-hour collection shows what your kidneys do across a whole day, and it is the most important test in long-term stone prevention. It is especially worth doing for people with repeat stones or higher-risk features.
The report usually includes urine volume, calcium, oxalate, citrate, pH, sodium and uric acid, and often supersaturation scores that combine them. Together they reveal a pattern, such as low volume with high calcium and high salt, or acidic urine favoring uric acid. That pattern becomes the treatment map.
Tips for a useful collection:
- Follow the lab's instructions for the container, preservative and storage.
- Usually you discard the first urine at the start time, collect everything after that, and include the final void at the same time the next day.
- Eat and drink as you normally do. Do not stage an extra-healthy day; the point is to see your real pattern.
- Tell your team about any missed sample or unusual day.
Blood tests complete the picture. Calcium, kidney function, bicarbonate, electrolytes and uric acid can point to problems such as an overactive parathyroid gland that urine alone may miss.
Medicines when diet is not enough
A first-time stone former with a mild abnormality usually tries water and diet first. Medicine earns its place when urine chemistry stays abnormal despite those changes, or when the risk of another stone is high.
- Potassium citrate raises urine citrate and pH. It is used for low citrate, some recurrent calcium stones, and uric acid stones. It needs blood monitoring of potassium and kidney function, and too much can tip some people toward calcium phosphate stones.
- Thiazide diuretics can lower urine calcium. Their benefit for preventing recurrence is debated, and side effects need monitoring.
- Allopurinol lowers uric acid production. It helps selected people with high urine uric acid. A new rash on allopurinol means stop and call the prescriber.
A repeat 24-hour urine about eight to twelve weeks after starting medicine is common, to confirm the chemistry actually improved.
Prevention starts with knowing your stone
Catch your stone and have it analyzed. A uric acid stone, a calcium oxalate stone and an infection stone need very different plans. See types of kidney stones and what they mean. If you are dealing with a stone now, start with how to pass a kidney stone or kidney stone treatment options.
No plan can promise you will never form another stone, but measuring and adjusting can meaningfully lower the risk. A urologist can order a 24-hour urine test and build a plan around your results.
Find a urologist near you
Search by state, county or ZIP code, see who accepts Medicare, and read verified patient reviews.
Frequently asked questions
- How much water should I drink to prevent kidney stones?
- Many adult stone formers aim to make at least about 2.5 liters of urine a day, spread through the day. Drink more in heat or with exercise; people with fluid restrictions need an individual plan.
- Should I stop eating dairy if I had a calcium stone?
- Usually not. Calcium eaten with meals binds oxalate in the gut and can lower stone risk. Many adults aim for about 1,000 to 1,200 mg of dietary calcium a day.
- What foods are high in oxalate?
- Spinach and Swiss chard, rhubarb, almonds and cashews, baked potatoes with the skin, and beets and beet greens. If your oxalate is high, reduce rather than eliminate them and pair them with calcium.
- Who needs a 24-hour urine test?
- It is most useful for people with repeat stones or higher-risk features, and it shows what is driving stone formation so prevention can be targeted. Ask your urologist whether you should have one.