For a straightforward, uncomplicated UTI in women, 5 days of Bactrim is more than enough. Current guidelines from the Infectious Diseases Society of America recommend just 3 days for uncomplicated bladder infections. If your provider prescribed 5 days, that still falls within an effective treatment window, and you should complete the full course as directed.
That said, the “right” number of days depends entirely on the type of UTI you have and your individual risk factors. A complicated UTI can require 10 to 14 days or longer. Here’s how to make sense of what your prescription length means.
The Standard Course for Uncomplicated UTIs
For a simple bladder infection in an otherwise healthy woman, the evidence-backed recommendation is one double-strength Bactrim tablet twice daily for 3 days. Each DS tablet contains 160 mg of trimethoprim and 800 mg of sulfamethoxazole. These two ingredients work together by blocking two consecutive steps bacteria need to build DNA and proteins, which makes the combination highly effective at clearing infections quickly.
A 5-day prescription is slightly longer than this guideline but not unusual. Some providers prescribe a few extra days as a buffer, particularly if you’ve had recurring infections or if your symptoms were severe when you came in. Five days will not cause harm and gives the antibiotic additional time to eliminate any remaining bacteria. The important thing is to finish every pill, even if you feel better after a day or two. Symptom improvement does not always mean the infection is fully cleared.
When 5 Days Is Not Enough
Certain UTIs are classified as “complicated,” meaning they carry a higher risk of treatment failure and typically require 10 to 14 days of antibiotics. You may have a complicated UTI if any of the following apply:
- You’re male. UTIs in men are automatically considered complicated because of the longer urinary tract and the possibility that the prostate is involved.
- You’re pregnant. Even infections without symptoms need treatment during pregnancy, and longer courses are standard.
- You have diabetes, HIV, or a weakened immune system. These conditions make it harder for your body to help fight the infection alongside the antibiotic.
- You have a catheter, kidney stones, or structural abnormalities in your urinary tract.
- The infection keeps coming back despite adequate treatment, which may signal a resistant organism.
For complicated infections, the standard treatment period is 14 to 21 days, and some cases (like infected kidney cysts or bacterial prostatitis) may need 4 to 6 weeks.
Treatment Length for Men
If you’re a man searching this question, the answer is different. Men have traditionally been prescribed 14 days of antibiotics for UTIs, but a randomized clinical trial published in JAMA Internal Medicine found that 7 days of Bactrim worked just as well as 14 days in men without fever. Symptoms resolved in 93.1% of men in the 7-day group compared to 90.2% in the 14-day group, and recurrence rates were nearly identical (9.9% vs. 12.9%). The shorter course also caused fewer side effects.
So for men, 5 days would generally be too short. Seven days appears to be the minimum effective duration for afebrile male UTIs, while men with fever, prostate involvement, or other complications will likely need the full 14 days or more.
Bactrim Resistance Is Worth Knowing About
One reason your UTI might not respond to any length of Bactrim has nothing to do with the number of days. E. coli, the bacterium behind most UTIs, has developed significant resistance to this antibiotic. Hospital data tracking resistance patterns from 2019 to 2023 show that 23% to 34% of E. coli strains were resistant to Bactrim in any given year, with the rate hitting 30% in 2023.
Guidelines state that Bactrim is appropriate for empirical treatment only when local resistance rates stay below 20%. In many regions, rates now exceed that threshold. This means roughly 1 in 4 to 1 in 3 UTIs caused by E. coli may not respond to Bactrim regardless of how many days you take it. If your symptoms haven’t improved after 2 to 3 days on the medication, that’s a signal to contact your provider. A urine culture can identify whether your specific bacteria are resistant, and your provider can switch you to an antibiotic that will work.
What Happens If You Stop Early
If you’re feeling better after 2 or 3 days and wondering whether you can skip the remaining pills, the short answer is: take them. Feeling better means the antibiotic is working, not that every bacterium has been eliminated. Stopping early leaves surviving bacteria in your urinary tract, which can regrow and cause the infection to return.
There is a broader scientific conversation about whether shorter antibiotic courses can be just as effective as longer ones for certain infections, and for uncomplicated UTIs, the evidence already supports short courses (3 days of Bactrim is the standard for a reason). But “short” and “incomplete” are different things. If your provider prescribed 5 days, that is the course. Cutting it to 2 or 3 days on your own is not the same as a clinician choosing a 3-day regimen based on your specific situation.
What Your Prescription Length Tells You
The number of days your provider chose carries information. A 3-day prescription means they’re treating a textbook uncomplicated bladder infection. A 5-day course suggests they may be adding a small safety margin, perhaps because of previous infections, slightly atypical symptoms, or local prescribing patterns. A 7-day course in a man reflects newer evidence supporting shorter treatment. And anything at 10 to 14 days signals they’re treating a complicated infection.
If you received 5 days and you’re an otherwise healthy woman with a simple bladder infection, you have plenty of antibiotic coverage. Complete the course, stay hydrated, and expect noticeable symptom relief within the first 1 to 3 days of treatment.

