Most urinary tract infections clear up within a few days of starting antibiotics, and the right one can begin relieving symptoms within hours. UTIs are bacterial infections, so an antibiotic prescription is the standard and most reliable treatment. But the specific antibiotic, how long you take it, and what you can do at home to feel better in the meantime all depend on your situation.
First-Line Antibiotics for Uncomplicated UTIs
An uncomplicated UTI means a bladder infection in an otherwise healthy person, typically a woman who isn’t pregnant. Three antibiotics are considered first-line treatments:
- Nitrofurantoin: taken twice a day for five days. This is often the top choice because bacterial resistance to it remains consistently low.
- Trimethoprim/sulfamethoxazole (Bactrim): taken twice a day for three days. This one works well, but only in areas where local resistance rates are below 20%. Hospital data from 2019 to 2023 show E. coli resistance to Bactrim hovering between 23% and 34%, which means it’s not always a reliable pick depending on where you live.
- Fosfomycin: a single one-time dose. It’s convenient, though slightly less effective overall than the other two options.
Your provider may choose based on local resistance patterns, your allergy history, or a urine culture. If you’ve had a UTI recently and the first antibiotic didn’t work, mention that so they can pick a different one.
Relief While You Wait for Antibiotics to Work
The burning, urgency, and pressure of a UTI can be miserable while you’re waiting for antibiotics to kick in. An over-the-counter urinary pain reliever containing phenazopyridine (sold as AZO Urinary Pain Relief) can help. The standard dose is two tablets three times a day with food, but you shouldn’t use it for more than two days. It numbs the lining of the urinary tract and turns your urine bright orange, which is harmless but can stain clothing.
Phenazopyridine treats pain only. It does not treat the infection itself, so it’s a bridge to get you through until the antibiotic starts working, not a substitute for one.
What You Can Do at Home
Drinking more water is the simplest and most evidence-backed home strategy. For women prone to recurrent UTIs who don’t already drink much fluid, increasing water intake by about 1.5 liters per day (roughly six extra glasses) has been shown to reduce the frequency of infections. During an active UTI, staying well-hydrated helps flush bacteria from the bladder more frequently, which supports what the antibiotic is already doing.
A heating pad on your lower abdomen can ease pelvic pressure and cramping. Avoiding caffeine, alcohol, and spicy foods during the infection may also help, since these can irritate the bladder and make urgency feel worse.
Cranberry and D-Mannose: What the Evidence Shows
Cranberry products get a lot of attention for UTI prevention, and there is some support for them, with a catch. The active compounds in cranberries (proanthocyanidins, or PACs) can prevent bacteria from sticking to the bladder wall. But the dose matters: you need at least 36 mg of PACs per day for any measurable benefit, and at that threshold, studies show about an 18% reduction in UTI risk. Below 36 mg, there’s no significant effect. Many cranberry juices and supplements on the shelf don’t contain enough, so if you go this route, look for products that list their PAC content and are measured using the DMAC method.
D-mannose, a sugar found in some fruits, is another popular supplement. Clinical trials have tested doses ranging from 500 mg to 3 grams daily, with some small studies suggesting it may reduce recurrence. However, a Cochrane review found there is currently little to no high-quality evidence to support or refute its use. It’s not harmful for most people, but it’s not a proven replacement for antibiotics during an active infection.
How Treatment Differs for Men
UTIs in men are less common and almost always considered complicated, meaning there’s a higher chance the infection involves the prostate or kidneys. Because of this, treatment courses tend to be longer. Current guidelines from the Infectious Diseases Society of America recommend 5 to 7 days of antibiotics for complicated UTIs in patients who are improving, but when a prostate infection is suspected, the course extends to 10 to 14 days. Men with a UTI generally need a urine culture to guide antibiotic choice, and imaging or further workup may follow if infections recur.
Preventing Recurrent UTIs
Some people, especially women, get UTIs repeatedly. If you’re dealing with three or more infections a year, prevention strategies go beyond just drinking water.
One option is a non-antibiotic prescription medication called methenamine hippurate. It works by converting to formaldehyde in acidic urine, which kills bacteria before they can establish an infection. It’s taken twice a day and is used as ongoing prevention rather than treatment for an active infection. It’s a useful alternative for people who want to avoid long-term low-dose antibiotics.
For recurrent UTIs clearly linked to sexual activity, some providers prescribe a single dose of an antibiotic to take after intercourse. Others may recommend a low-dose antibiotic taken daily for several months. These approaches are effective but come with the tradeoff of prolonged antibiotic use, which is why non-antibiotic options like methenamine hippurate and cranberry supplements with adequate PAC content are worth discussing with your provider first.
Signs the Infection May Be Spreading
Most UTIs stay in the bladder and resolve with treatment. But if bacteria travel to the kidneys, the situation becomes more serious. Watch for fever and chills, pain in your back or side, nausea or vomiting, and cloudy or bloody urine. These are hallmarks of a kidney infection, which can progress to a bloodstream infection (sepsis) if untreated. Sepsis symptoms include confusion, rapid breathing, rapid heart rate, and severe discomfort.
In young children under age 2, a kidney infection may show up only as a high fever, poor feeding, or slow weight gain, with none of the typical urinary symptoms adults experience. Any combination of these warning signs warrants prompt medical attention rather than a wait-and-see approach.

