Save big on your prescriptions
with the free SingleCare app.
4.8 average rating

UTI Treatments and Medications

Medically reviewed by Gerardo SisonPharm.D.
Licensed Pharmacist
Updated Aug 3, 2026
Fact Checked

Key takeaways

  • The first-line treatment for a urinary tract infection (UTI) is a short course of antibiotics, mainly Macrobid (nitrofurantoin), Bactrim (trimethoprim-sulfamethoxazole), or Monurol (fosfomycin).

  • There are no over-the-counter medicines that can cure a UTI, but AZO (phenazopyridine) can help relieve pain and burning symptoms while antibiotics work against the bacteria.

  • No natural remedies cure a UTI, although drinking enough fluids and urinating regularly may help flush bacteria and reduce the risk of a UTI.

A UTI is an infection of the urinary tract, which includes the bladder, urethra, ureters, and kidneys. Most UTIs can be cleared up with first-line antibiotics, especially if they’re uncomplicated and haven’t spread to the kidneys. To prevent UTIs, lifestyle habits such as drinking plenty of water and wiping from front to back are recommended. It’s important to see a healthcare provider for symptoms like burning while urinating, pain in the lower abdominal area, and cloudy or bloody urine. 

How is a UTI diagnosed?

A healthcare provider can diagnose a UTI through a medical history and a quick urine test. With a urinalysis, they can check for potential markers of infection and obtain a urine culture to identify the bacteria causing it. 

A healthcare provider may ask questions about the following:

  • When symptoms started

  • Whether you are sexually active

  • Whether urinating helps or worsens symptoms

  • Whether you have recurring UTIs

  • What medications are currently being taken

With this information, a healthcare provider can prescribe the best antibiotic for the infection. Keep in mind that women tend to get more UTIs than men due to their urethra being shorter and closer to the rectum.

UTI treatment options

Most uncomplicated UTIs can be cured with a short course of antibiotics. However, the type of antibiotic and the duration of treatment depend on factors such as overall symptoms, drug allergies, and whether drug-resistant bacteria are present. For those with a more serious case, like a kidney infection, a healthcare provider may prescribe a different antibiotic or a longer treatment course. Low-dose antibiotics may be recommended for recurring UTIs. 

Types of UTI medication

Antibiotics are the cornerstone of UTI treatment. They come in different types and dosage forms, including tablets, capsules, liquids, and IV solutions (for severe cases).

Nitrofurantoin

Nitrofurantoin, known by the brand names Macrobid and Macrodantin, is a first-line antibiotic for uncomplicated bladder infections. It builds up in the urine, where it kills the bacteria causing the infection. Treatment usually lasts for up to a week. Since blood levels of the drug don’t get high enough, it’s not used for kidney infections. 

Trimethoprim-sulfamethoxazole

Also known by the brand name Bactrim, trimethoprim-sulfamethoxazole is a combination antibiotic used as a first-line option. It’s generally used for a few days, although treatment courses can last up to 14 days for more severe cases. Since resistance to this antibiotic is relatively common, a healthcare provider may want to check E. coli resistance before prescribing it. 

Fosfomycin

Fosfomycin is another first-line antibiotic administered as a single dose. It is known by the brand name Monurol and comes as a packet of granules that are dissolved in water. While it can be convenient to take, it may cost more than other generics.

Beta-lactams

Beta-lactam antibiotics such as Keflex (cephalexin) and Augmentin (amoxicillin-clavulanate) are potential alternative options, especially for pregnant women or people with allergies to first-line antibiotics. Amoxicillin is generally not taken alone without clavulanate since many strains of E. coli are now resistant to it.

Fluoroquinolones

A fluoroquinolone such as Cipro (ciprofloxacin) or Levaquin (levofloxacin) may be used for uncomplicated UTIs, but it's not usually a first-line option due to high rates of resistance. Since they carry a risk of serious side effects, including tendon rupture and nerve damage, they’re typically reserved for cases where other antibiotics can’t be used.

Other antibiotics 

Newer options are now available, including Pivya (pivmecillinam) and Blujepa (gepotidacin) for uncomplicated UTIs in women. These options may be helpful for bacteria that is hard to eliminate with other antibiotics. In any case, it’s important to finish the full course of antibiotics even if you feel better, since stopping treatment early could lead to antibiotic resistance.

Over-the-counter UTI medicine

No over-the-counter medicines can cure a UTI. However, phenazopyridine, sold under brand names such as AZO and Pyridium, can be bought over the counter and can help relieve symptoms like burning and pain. Pain relievers like ibuprofen and acetaminophen can also help manage pain. Still, none of these options are substitutes for antibiotics, which treat the root cause of the symptoms.

Save big on your prescriptions
with the free SingleCare app.
4.8 average rating

Best medicines for UTI

Drug nameSee SingleCare price
Macrobid
Get free coupon
Bactrim
Get free coupon
Monurol
Get free coupon
Keflex
Get free coupon
Cipro
Get free coupon
Levaquin
Get free coupon
Augmentin
Get free coupon
Blujepa
Get free coupon
Pivya
Get free coupon
Pyridium
Get free coupon

This is not an exhaustive list of UTI medications. Always ask your healthcare provider for the best treatment for a UTI based on your health condition and medical history.

Common side effects of UTI medicine

Many people don’t experience any side effects from antibiotics for UTIs. Side effects that do happen are usually mild and temporary. The most common side effects of antibiotics may include:

  • Nausea

  • Diarrhea

  • Upset stomach

  • Headache

Side effects may also differ depending on the type of antibiotic being taken. For example, fluoroquinolones can make the skin more sensitive to sunlight

This is not a complete list of side effects. Seek medical help for signs of an allergic reaction, such as hives, swelling, or trouble breathing. 

Home remedies for UTI

While there are no home remedies that cure a UTI, some may help manage symptoms and reduce the risk of getting another one. Some options include:

  • Drink enough fluids every day: Staying hydrated can help flush bacteria from the urinary tract and is a key part of recovering and preventing another infection.

  • Urinate often, including after sex: Urinating often throughout the day can help clear bacteria from the urinary tract. Urinating after sex is also recommended to flush the urethra.

  • Try cranberry products: Studies suggest cranberries may help prevent bacteria from attaching to the bladder wall. However, the evidence is mixed, and it may be more helpful for prevention rather than treatment.

  • Use a heating pad: A warm heating pad may help relieve discomfort around the abdomen. 

  • Follow hygienic bathroom habits: Wiping front to back can help prevent a UTI, while avoiding scented or harsh wash products may help manage irritation from a UTI. 

For those who experience symptoms from a UTI, antibiotics are the first course of action. A healthcare provider will determine the most appropriate antibiotic for treatment. 

Expert takeaway

AZO may help you feel better, but it’s not a substitute for antibiotics. If you experience UTI symptoms, it’s best to get a urine test and the right prescription antibiotic to treat the infection.

FAQs about UTI treatments

How long does a UTI last?

With antibiotics, UTI symptoms usually start to improve within a couple of days. Most antibiotic treatments last for a few days to a week or more, depending on the medication. Still, it’s important to finish the treatment course even if symptoms improve.

Is there a permanent cure for UTIs?

While there is no permanent cure for UTIs, there are ways to reduce the likelihood of recurrence. Drinking lots of water, urinating before and after sexual activity, and wiping front to back after urination (for women) are all good practices.

Can a UTI go away on its own?

In rare cases, a mild urinary tract infection may resolve on its own, but waiting it out is unreliable, as it could become serious and spread to the kidneys. The safest bet is to see a healthcare provider, especially if symptoms last more than a day or two.

What is the most effective antibiotic for UTIs?

There is no one single antibiotic that’s effective for all UTI cases. First-line choices for uncomplicated UTIs include nitrofurantoin, trimethoprim-sulfamethoxazole, and fosfomycin. A healthcare provider will prescribe the best option based on your medical history, allergies, and local antibiotic resistance patterns.

Is Cipro good for UTIs?

Ciprofloxacin can help treat UTIs, but it’s no longer a first-line option for uncomplicated infections. Although it’s effective, it’s linked to serious side effects, including tendon and nerve damage. It’s typically used for more severe cases or when other antibiotics aren’t appropriate. 

What can I take for UTI pain?

For symptoms like burning and a sensation of needing to urinate more often, phenazopyridine can help offer some relief. It’s available over the counter under brand names like AZO and Pyridium. In addition, pain relievers like ibuprofen and acetaminophen may help manage symptoms while the infection is being treated with antibiotics. 

Sources

Lea este artículo en español aquí.

Medically reviewed by Gerardo SisonPharm.D.
Licensed Pharmacist

Gerardo Sison, Pharm.D., graduated from the University of Florida. He has worked in both community and hospital settings, providing drug information and medication therapy management services. As a medical writer, he hopes to educate and empower patients to better manage their health and navigate their treatment plans.

... 

Subscribe to our savings newsletter

Health education, drug info, wellness & more

By clicking 'Subscribe', I agree to SingleCare's Terms & Conditions.