Skip to content
ppharmaranks
Menu

Best treatment for a UTI

By the pharmaranks editorial teamReviewed against FDA, NHS & MedlinePlus sourcesUpdated Jun 30, 2026How we research

A urinary tract infection (UTI) is a bacterial infection, so the actual cure is almost always a short course of prescription antibiotics from a clinician — over-the-counter products only ease symptoms while you arrange treatment. Simple bladder infections are very treatable, but a UTI is not a self-cure condition: see a pharmacist or doctor rather than relying on OTC products alone.

What a urinary tract infection (UTI) is, how it is treated, and every drug we rate for it →

For options we rate, we show our independent FDA recall-safety rating(0–100) — a signal GoodRx and Drugs.com don’t provide. Higher is safer.

Get treated for a urinary tract infection (UTI) online

Licensed online providers — consult & get prescribed if eligible.

Advertising disclosure: We may earn a commission, at no extra cost to you. This never affects our ratings. Details

Over-the-counter options

Available without a prescription — follow each label.

phenazopyridine
AZO Urinary Pain Relief
Urinary analgesic (OTC)
Best for the burning, urgency and frequent need to urinate of a lower UTI. It numbs the bladder/urethra lining and works fast, but it is NOT an antibiotic and does not cure the infection. The label says to stop and see a doctor if symptoms last more than 2 days; it turns urine reddish-orange (harmless), and should not be used in children under 12 or with G6PD deficiency without a doctor.
Tylenol
Analgesic / antipyretic
Our rating 70/100
For general pain and to bring down a mild fever while you wait to be seen. NHS advises a painkiller such as paracetamol (acetaminophen) up to 4 times a day for UTI pain and high temperature.
Advil, Motrin
NSAID
Our rating 72/100
An alternative pain/fever reliever for lower-abdomen and bladder discomfort. Take with food; avoid if you have kidney problems, stomach ulcers, or are in late pregnancy, and don't use it to delay getting antibiotics if symptoms persist.

Prescription options

A doctor may prescribe these — not for self-treatment.

Macrobid, Macrodantin
Antibiotic
Our rating 70/100
A doctor may prescribe this as a common first-line antibiotic for an uncomplicated bladder UTI. It is avoided in significant kidney impairment. Take the full course exactly as directed.
Bactrim, Septra
Antibiotic (sulfonamide combination)
A doctor may prescribe this short course where local resistance is low. Not for everyone (e.g. sulfa allergy, certain pregnancy situations) — the choice is the clinician's.
Monurol
Antibiotic
A doctor may prescribe this as a single-dose option for some uncomplicated bladder infections.
Keflex
Antibiotic (cephalosporin)
A doctor may prescribe a cephalosporin such as this when first-line drugs aren't suitable, including in some pregnancies. Kidney infections may need different or intravenous antibiotics and sometimes hospital care.

How to choose

Choose by what you need right now. If you have classic bladder symptoms (burning when you pee, urgency, going often, lower-belly ache), an OTC urinary analgesic like phenazopyridine plus acetaminophen or ibuprofen can take the edge off — but treat this as a bridge, not a fix. Because a UTI is a bacterial infection, you still need a clinician (a pharmacist can help in many cases) to confirm it and prescribe the right antibiotic; the antibiotic choice depends on your symptoms, sex, pregnancy status, kidney function, allergies and local resistance, which is why it's prescription-only. Drink enough fluids to pass pale urine, finish every antibiotic dose even once you feel better, and don't lean on OTC products if symptoms aren't clearly improving within about 2 days. Men, pregnant people, children, older adults, people with diabetes, catheters, a weakened immune system, or recurrent UTIs should go straight to a clinician rather than self-treating.

When should I see a doctor?

A UTI normally needs a clinician to prescribe antibiotics — see a pharmacist or doctor if you have urinary symptoms, and seek prompt/urgent care if any of these red flags appear, as they can signal a kidney infection (pyelonephritis) or something serious: fever or chills; pain in your back or side (flank); nausea or vomiting; blood in your urine; symptoms that get worse, or that don't improve after about 2 days of OTC relief or after starting antibiotics. Get urgent help if you are pregnant, are male, are a child or older adult (65+), have diabetes, a urinary catheter, or a weakened immune system. Go to the ER or call emergency services for confusion, drowsiness, difficulty speaking, severe weakness, or signs of sepsis. Also follow up if a UTI keeps coming back.

Before you combine anything

Sources

General reference, not medical advice, and not a substitute for your doctor or pharmacist. The right choice depends on your symptoms, health conditions, age, and other medicines — always read each label and confirm before taking anything.

More treatment guides