For an uncomplicated UTI (simple bladder infection), Bactrim is typically prescribed for 3 days. This is the standard recommendation from infectious disease guidelines and is the most common course you’ll receive at urgent care or your doctor’s office. However, the duration can range from 3 to 14 days depending on the type and severity of your infection, your sex, and your kidney function.
Uncomplicated Bladder Infections: The 3-Day Course
Most women with a straightforward bladder infection will be prescribed Bactrim DS (double strength) twice a day for 3 days. Each tablet contains 800 mg of sulfamethoxazole and 160 mg of trimethoprim. You take one tablet every 12 hours, so morning and evening.
Three days is enough to clear the bacteria causing symptoms in most uncomplicated cases, meaning a simple infection in an otherwise healthy woman with no structural abnormalities in the urinary tract. This shorter course also reduces your exposure to potential side effects.
You may notice that the FDA-approved label for Bactrim lists 10 to 14 days for urinary tract infections. That labeling dates back to the drug’s original approval and hasn’t been updated to reflect decades of clinical evidence showing 3 days works just as well for uncomplicated cystitis. Your doctor is following current infectious disease guidelines, not outdated label language, when prescribing the shorter course.
When Treatment Lasts Longer
Several situations call for more than 3 days of Bactrim:
- Men with UTIs generally receive 7 days of antibiotic therapy, since UTIs in men are more likely to involve the prostate or deeper tissues.
- Kidney infections (pyelonephritis) require 14 days of Bactrim under current Infectious Diseases Society of America guidelines. Some newer research suggests 7 days may be equally effective, and the 2025 IDSA guidelines for complicated UTIs now suggest 7 days of a non-fluoroquinolone antibiotic for patients who are improving clinically. Your doctor will decide based on how severe the infection is and how quickly you respond.
- Complicated UTIs, which include infections in people with urinary catheters, structural abnormalities, kidney stones, or weakened immune systems, are treated for 7 to 14 days depending on the clinical picture.
- Recurrent infections may be treated with a longer course or a different strategy altogether.
Why You Shouldn’t Stop Early
It’s tempting to stop taking Bactrim once your symptoms improve, which often happens within 24 to 48 hours. But feeling better doesn’t mean the bacteria are fully cleared. Research in animal models of UTI has shown a meaningful difference between short and full courses: a 3-day course of Bactrim cleared bacteria from the gut (a common reservoir for UTI-causing bacteria) only temporarily, with bacteria reappearing in both the gut and urine within weeks. A 10-day course was significantly better at preventing those recurrences.
The bacteria that cause UTIs can persist in the bladder wall even after treatment. If you cut your course short, the surviving bacteria are more likely to multiply again and cause a repeat infection, sometimes one that’s harder to treat. Finish the full course your doctor prescribed, even if your symptoms resolve on day one.
Kidney Function and Dose Adjustments
If your kidneys aren’t working at full capacity, your doctor may adjust your Bactrim dose. The general thresholds are straightforward: if your kidney filtration rate is above 30 mL/min, you take the standard dose. Between 15 and 30, you take half the usual dose. Below 15, Bactrim isn’t recommended at all because the drug and its byproducts can’t be cleared efficiently, raising the risk of toxicity.
Your doctor will check your kidney function before prescribing if there’s any reason for concern, such as older age, diabetes, or a history of kidney disease.
Common Side Effects During Treatment
Most people tolerate a short course of Bactrim without major issues, but some side effects are worth knowing about. Nausea, loss of appetite, and mild stomach upset are the most frequent complaints. Skin rashes can also occur, and any rash that develops while taking Bactrim should be reported to your doctor, since it can occasionally signal a more serious allergic reaction.
Bactrim can make your skin more sensitive to sunlight, so limiting sun exposure during your course is a good idea. The drug can also interact with certain blood thinners and blood pressure medications, so make sure your prescriber knows everything you’re taking.
What to Expect After Treatment
Burning, urgency, and frequency typically start improving within the first day or two. If your symptoms haven’t improved at all after 48 hours, contact your doctor. This could mean the bacteria causing your infection are resistant to Bactrim, which is becoming more common in some regions. Your doctor may order a urine culture to identify the specific bacteria and switch you to a different antibiotic if needed.
If your symptoms return within a few weeks of finishing treatment, that’s considered a recurrent UTI and warrants another visit. Recurrences don’t necessarily mean you did anything wrong. They often reflect bacteria that persisted in the bladder despite completing the full course.

