What to Eat With a UTI and What to Avoid?

Believe it or not, the food and drink you ingest can have an impact on your urinary tract infections (UTIs). Some foods may help alleviate the symptoms of a UTI, while others can make them worse.

It’s recommended to consume foods and drinks that reduce the acidity of your urine, as this can alleviate UTI symptoms. Some examples include yogurts and probiotic drinks, leafy greens, and fruits.

On the other hand, you should avoid foods known to irritate the bladder and those that can increase urine acidity as they can potentially worsen UTI symptoms. This includes spicy foods, caffeinated drinks, and alcohol.

Key takeaways:

  • Your diet can affect UTI symptoms.
  • You should eat foods that reduce urine acidity, such as yogurt and leafy greens.
  • Avoid foods and drinks that can irritate the bladder and increase urine acidity, such as spicy foods, caffeine, and alcohol.

Continue reading to learn more about what to eat with a UTI and what to avoid.

Table of Contents

What Is a UTI?

A urinary tract infection is an infection formed by bacteria entering the urinary passageway. As the infection develops, it can pass up through the urethra and bladder, making its way to the kidneys. This is a highly common infection with 40% of women in the US expected to develop at least one during their lifespan. 

According to one study, 70-95% of all UTIs are caused by the E. coli bacteria. This bacteria forms naturally in your gut and is usually no cause for concern. The problem is when it finds its way through your digestive system and out of your rectum. Here, if it comes into contact with your urethral passageway, an infection can form. 

When you suffer from a UTI, you are likely to experience pain and discomfort, particularly in your lower abdomen, bladder, and genital area. If the infection gets worse, the symptoms can become more severe, possibly leading to a full-blown kidney infection. Thankfully, like most bacterial infections, this is treatable and easy to prevent. 

How Can Food Affect Your UTI?

There are often many arguments and debates surrounding the effect of food on urinary tract infections. A study from 2017 claimed that the foods you eat or drink should not be considered independent risk factors for UTIs.

However, there has also been a lot more research that indicates your diet and eating habits can have a significant impact on your likelihood of getting a urinary tract infection. Similarly, there’s evidence to suggest that eating certain foods and drinking specific beverages can calm the symptoms of a UTI. 

One example is a study from 2020 that looked at how vegetarian diets affected urinary tract infections over a 9-year period. It was discovered that participants saw a 16% decline in the risk of developing UTIs during this study. Experts suggest that part of this is down to the lack of acidity in vegetarian diets – but more on that in the next sections. 

Foods That Are Good for a UTI

Generally speaking, you should eat foods that are known to lower the acidity of your urine. When urine is too acidic, it creates the perfect conditions for bacteria to form and cause an infection. So, the theory is that lowering the acidity and adding more alkaline to your urine can reduce the chances of bacteria growing that lead to UTIs. 

There is research to back this up, with a 2015 study proving that urine with a more neutral pH prevents the growth of bacteria associated with UTIs. 

Foods that can typically help you lower urine acidity levels include: 

As you can see, the link between vegetarian diets and a reduced risk of UTIs is clear. Naturally, diets that revolve around fruit and veg will help to keep your urine at a more balanced pH level. 

Foods to Avoid With a UTI

It is a smart idea to avoid foods that cause your urine to be overly acidic. This includes the following: 

  • Corn
  • Lentils
  • Blueberries
  • Bacon
  • Fish
  • Sausages
  • Most types of beans

Of course, you don’t have to cut these foods out of your diet completely, just be aware that they should be consumed in moderation and alongside the other foods listed above.

Furthermore, avoid any spicy foods as this can irritate your bladder and urethra when you urinate. Thus, you exacerbate the painful symptoms associated with your UTI. 

What to Drink With a UTI?

Water is the most important thing to drink with a UTI. The more water you drink, the more you will urinate, which helps to flush bacteria out of your body. Moreover, there is evidence that a lack of water – or dehydration – may lead to a UTI. It’s not so much that dehydration is causing your infection, it’s that the lack of water in your system allows more bacteria to grow. If you drink enough to avoid being hydrated, you have a lower risk of developing a UTI while also being able to handle the key symptoms of a UTI. 

Alongside this, there’s research out there that suggests cranberry juice can be good for UTIs. There was a study in 2016 that saw the number of urinary tract infection episodes in women with a recent history of UTIs decrease after drinking cranberry juice daily. 

What shouldn’t you drink with a UTI?

Avoid any drinks that are overly acidic and can irritate your bladder and urinary tract. A common beverage includes coffee – lay off it until your infection clears up. 

Similarly, stay clear of alcohol while you are fighting your infection. It can worsen the symptoms by irritating the bladder and also causing dehydration. 

Primarily, you should focus on drinking as much water as possible, with some cranberry juice thrown in there now and then as well. 

How Is a UTI Treated?

Urinary tract infections are treated with antibiotics. The infections are unlikely to leave of their own accord, but drinking lots of water to flush out the bacteria can help to prevent them from getting worse. Still, you should really get a prescription for antibiotics as soon as possible to kill the bacteria. 

When to See a Doctor?

See your doctor at the first signs of a UTI:

  • Pain when you pee
  • The urge to pee more often than normal
  • Pain in your bladder area
  • Pain in your lower back
  • Cloudy pee
  • Pee with a foul smell

Contact your doctor to get a diagnosis, or do it online with DrHouse. We can assess your symptoms and provide a prescription for antibiotics in just a few moments.

In Conclusion

Eating foods and drinking beverages that lower the acidity of your urine can help prevent UTIs and ease your symptoms if you suffer from an infection. 

It’s smart to steer clear of food/drinks that can aggravate your bladder and worsen the symptoms when you’re infected, such as spicy foods, coffee, and alcohol. Drinking lots of water is also essential to flush out the bacteria from your urinary tract. 


  • Bono MJ, Leslie SW, Reygaert WC. Urinary Tract Infection. [Updated 2022 Jun 15]. In: StatPearls [Internet]. Treasure Island (FL): StatPearls Publishing; 2022 Jan-. Available from: https://www.ncbi.nlm.nih.gov/books/NBK470195/
  • Kucheria R, Dasgupta P, Sacks SH, et alUrinary tract infections: new insights into a common problemPostgraduate Medical Journal 2005;81:83-86. Doi: http://dx.doi.org/10.1136/pgmj.2004.023036
  • Jhang JF, Kuo HC. Recent advances in recurrent urinary tract infection from pathogenesis and biomarkers to prevention. Ci Ji Yi Xue Za Zhi. 2017 Jul-Sep;29(3):131-137. doi: https://www.doi.org/10.4103/tcmj.tcmj_53_17 . PMID: 28974905; PMCID: PMC5615991.
  • Chen YC, Chang CC, Chiu THT, Lin MN, Lin CL. The risk of urinary tract infection in vegetarians and non-vegetarians: a prospective study. Sci Rep. 2020 Jan 30;10(1):906. doi: https://www.doi.org/10.1038/s41598-020-58006-6 . PMID: 32001729; PMCID: PMC6992707.
  • Shields-Cutler RR, Crowley JR, Hung CS, Stapleton AE, Aldrich CC, Marschall J, Henderson JP. Human Urinary Composition Controls Antibacterial Activity of Siderocalin. J Biol Chem. 2015 Jun 26;290(26):15949-60. doi: https://www.doi.org/10.1074/jbc.M115.645812 . Epub 2015 Apr 10. PMID: 25861985; PMCID: PMC4481200.
  • Lean K, Nawaz RF, Jawad S, Vincent C. Reducing urinary tract infections in care homes by improving hydration. BMJ Open Qual. 2019 Jul 10;8(3):e000563. doi: https://www.doi.org/10.1136/bmjoq-2018-000563 . PMID: 31363503; PMCID: PMC6629391.
  • Kevin C Maki, Kerrie L Kaspar, Christina Khoo, Linda H Derrig, Arianne L Schild, Kalpana Gupta, Consumption of a cranberry juice beverage lowered the number of clinical urinary tract infection episodes in women with a recent history of urinary tract infection, The American Journal of Clinical Nutrition, Volume 103, Issue 6, June 2016, Pages 1434–1442, https://doi.org/10.3945/ajcn.116.130542

Content on the DrHouse website is written by our medical content team and reviewed by qualified MDs, PhDs, NPs, and PharmDs. We follow strict content creation guidelines to ensure accurate medical information. However, this content is for informational purposes only and not a substitute for professional medical advice, diagnosis, or treatment. For more information read our medical disclaimer.

Always consult with your physician or other qualified health providers about medical concerns. Never disregard professional medical advice or delay seeking it based on what you read on this website.

If you are experiencing high fever (>103F/39.4C), shortness of breath, difficulty breathing, chest pain, heart palpitations, abnormal bruising, abnormal bleeding, extreme fatigue, dizziness, new weakness or paralysis, difficulty with speech, confusion, extreme pain in any body part, or inability to remain hydrated or keep down fluids or feel you may have any other life-threatening condition, please go to the emergency department or call 911 immediately.



on your schedule

Skip the unnecessary waiting room,
see a board-certified clinician now.

Start an Online Visit
Available in 50 states. No insurance needed.

Prescriptions as needed
Renew or get a new Rx.

On-demand virtual visits
See a physician 24/7.

24/7 care support
We are here to help you.

  • 1

    Download the DrHouse app.
    Set up your free account in a minute.

  • 2

    Start a visit with an online doctor. Wait time is less than 15 minutes.

  • 3

    Get an Rx from your preferred pharmacy. Pick up a Rx nearby or get it delivered to you.

Download our app