Here is a look at the different types of kidney stones, and steps you can take to help prevent or pass them.

There are things you do at home to help prevent and treat kidney stones. These include drinking plenty of water and focusing on your diet.
Drinking plenty of water can help prevent as well as flush out a kidney stone. According to the National Institute for Diabetes and Digestive and Kidney Diseases, you can drink up to 64 ounces of water a day to help pass a stone, unless you have kidney failure. Talk to your doctor about how much water is advisable for you to drink if you have kidney disease.
There is some evidence that drinking apple cider vinegar, dandelion root juice, or banana stem juice may potentially help dissolve or prevent kidney stones.
In many parts of the world, herbs are used in traditional medicine to treat kidney stones, but most have not been scientifically studied.
A kidney stone is a mass of crystals that forms in the kidney. They may pass through your urinary tract without symptoms, but if they get stuck, they can be very painful. Kidney stones tend to recur in many people.
There are several types of kidney stones categorized by the substance that form them:
- Calcium oxalate: This is the most common type of kidney stone. It develops when you have high levels of oxalate, a substance found in many plants and animals that keeps your body from absorbing calcium.
- Calcium phosphate: This less common type of large, calcium-based kidney stone forms when urine is too alkaline. This type may damage the kidneys.
- Uric acid: This common type develops from high purine levels, due to several factors including diet and alcohol intake.
- Cystine: This rare type represents 1%–2% of kidney stones. It develops when a substance called cystine leaks into the urine.
- Struvite: This type contains magnesium ammonium phosphate and is often connected to UTIs (urinary tract infections). This type may grow rapidly. If untreated, struvite stones can lead to kidney damage and infection.
You may be able to prevent kidney stones by eating certain foods and avoiding others. The foods you should avoid depend on the type of kidney stones you have.
The DASH diet (Dietary Approaches to Stop Hypertension) is a good place to start. The DASH diet stresses eating:
- vegetables and whole grains
- fat-free or low-fat dairy products
- fish, poultry, and beans
- vegetable oils rather than tropical oils like coconut oil
Fruit choices depend on whether your urine is acidic or alkaline. Talk with your doctor for guidance on which fruits are appropriate for you. It is also important to avoid a high salt intake and limit foods high in saturated fat and sugar.
A key to avoiding kidney stones is drinking plenty of clear fluid. This dilutes urine so that it is less likely to form a stone. One guidance is to drink enough so that your urine is light yellow. However, if you have kidney disease, talk to your doctor about how much water is advisable.
If you live in a warm climate or go through a heat wave, pay attention to your water intake. Experts have documented spikes in kidney stones after heat waves. While water is preferred, you can also drink ginger ale, lemon-lime soda, or fruit juice. Limit caffeinated and sugary drinks.
Up to 94% of kidney stones are calcium-based. Three quarters of those are calcium oxalate. Despite their name, calcium stones do not develop due to excess calcium; in fact, calcium can block substances that cause stones.
Do not restrict your calcium intake, and follow your doctor’s recommendation about how much calcium should be in your diet.
Avoid foods that are particularly high in oxalate, including:
- nuts
- peanuts (which are legumes)
- rhubarb
- spinach
- wheat bran
Sodium (salt) contributes to many types of kidney stones, and phosphate is a salt. Processed foods often contain phosphate as a preservative or additive, so check the ingredient label. Avoid excess salt in your diet and talk to your doctor about your daily intake.
Avoid foods that can contribute to calcium phosphate stones, including:
- organ meats like liver, sweetbreads, and tongue
- dairy products, especially full fat
- eggs
- seafood
- cranberry and nectarine juice
Uric acid is a waste product in the blood that comes from substances called purines, so avoid high purine foods including:
- red meat
- organ meats
- alcoholic beverages
- sardines, anchovies, and shellfish
While calcium stones are associated with alkaline urine, cystine stones are linked to acidic urine. To help avoid developing cystine stones, focus on vegetables and low-acid fruits like bananas and berries. Avoid:
- meat
- citrus fruits like lemons and oranges
- salt
Struvite stones make up about 15% of all kidney stones and are more common in women than men. They are usually linked to urinary tract infections.
Acidic fluids like fruit juices or coffee may help prevent them. Talk to your doctor about your diet or supplements if you have had a struvite stone.
If necessary, your doctor may be able to prescribe medication to help you pass your kidney stone. They include:
- Alpha blockers: These relax and reduce spasms in part of the urinary tract so the stone can pass without pain.
- Allopurinol or certain salts: These may help dissolve uric acid stones.
Other medications can help kidney stones from recurring. These include:
- Potassium citrate makes urine more alkaline, used for uric acid and cystine stones.
- Thiazide diuretics help control calcium levels to prevent calcium-based stones.
- Allopurinol reduces uric acid to help prevent uric acid stones.
- Penicillamine helps prevent cystine stones.
- Acetohydroxamic acid (AHA) can stop struvite stones from growing by preventing bacteria from making ammonia.
If you feel severe, sharp pain below your ribs in your side and back, you may have a kidney stone. Your doctor can provide or recommend pain medication, but you should also get in touch with them if:
- the stone has not passed within a month
- pain is extremely severe
- you have a fever
- there is blood in the urine
Most kidney stones pass uneventfully, but they can cause infection, dehydration, or kidney damage.
If a kidney stone is large or lodged in a way that it cannot pass, doctors can break them up using ultrasound shock waves or remove them in a simple surgical procedure.
Home remedies for kidney stones focus on drinking plenty of water, modifying your diet, and avoiding certain foods depending on the type of kidney stone. Talk with your doctor about any dietary changes and how much fluid you should drink.
Kidney stone treatment may also include medications your doctor prescribes to treat or prevent kidney stones. Contact your doctor if you are still in pain after a month, have a fever, or see blood in your urine.