Nitrofurantoin is the most commonly prescribed antibiotic for uncomplicated urinary tract infections. It works specifically in the bladder, has low resistance rates, and is typically taken for five to seven days. Two other antibiotics, trimethoprim-sulfamethoxazole and fosfomycin, are also considered first-line options, but nitrofurantoin has become the default choice in most cases because bacteria are less likely to resist it.
Why Nitrofurantoin Is the Top Choice
Nitrofurantoin concentrates almost entirely in the urine rather than spreading throughout the body. This makes it highly effective at killing bacteria right where the infection lives while causing fewer problems elsewhere. It works through an unusual mechanism: once inside bacterial cells, it breaks down into reactive compounds that simultaneously disrupt protein production, energy metabolism, DNA and RNA copying, and cell wall construction. Attacking on so many fronts at once is part of why bacteria have struggled to develop widespread resistance to it.
In clinical testing of 100 E. coli isolates (the bacterium responsible for the vast majority of UTIs), only about 11 to 13 percent showed resistance to nitrofurantoin. That’s a notably low number compared to many other antibiotics, and it’s the main reason guidelines favor it as a first-line treatment.
How Long Treatment Takes
The extended-release form of nitrofurantoin is taken twice a day for seven days. Standard capsules or tablets are taken four times a day, typically for five days. Most people notice a real difference within 24 to 48 hours of starting. The burning, urgency, and pain during urination tend to decrease steadily over the first one to three days. By day three, clinical trials show high rates of bacterial clearance and substantial symptom relief.
Full relief usually comes within three to five days. Even if you feel better after two days, finishing the entire course matters. Stopping early leaves surviving bacteria behind, which can regrow and become harder to treat.
The Other First-Line Options
Trimethoprim-Sulfamethoxazole (Bactrim)
Bactrim was the go-to UTI antibiotic for decades and is still effective for many people. The catch is rising resistance. Current guidelines recommend it only when local resistance rates are below 20 percent. In many communities, E. coli resistance to Bactrim has climbed past that threshold, which is why nitrofurantoin has taken over the top spot. If your provider has access to local resistance data showing Bactrim still works well in your area, it remains a solid option, usually prescribed for three days.
Fosfomycin
Fosfomycin stands out for its simplicity: it’s a single dose, taken once. You dissolve a packet of granules in a few ounces of cold water (never hot) and drink it. That one dose treats the infection. The convenience is appealing, but fosfomycin is generally considered slightly less effective than a full course of nitrofurantoin. The most common side effects are vaginal itching or discharge, and some people experience mild stomach upset. It’s a particularly useful option when someone can’t tolerate nitrofurantoin or when adherence to a multi-day regimen is a concern.
Side Effects to Expect
Nitrofurantoin’s most common side effects are nausea, headache, and gas. Taking it with food reduces the stomach upset significantly. It can also turn your urine a dark yellow or brownish color, which is harmless. Rarely, long-term use (months, not days) can cause lung or nerve problems, but this isn’t a concern with a standard five-to-seven-day course for an acute infection.
One important limitation: nitrofurantoin doesn’t work well if your kidneys aren’t functioning properly, because the drug depends on being filtered into urine at high enough concentrations to kill bacteria. People with significant kidney disease are usually prescribed a different antibiotic.
When a Different Antibiotic Is Needed
The antibiotics above are for uncomplicated UTIs, meaning a straightforward bladder infection in someone without complicating factors. A UTI is considered complicated when it involves the kidneys (pyelonephritis), occurs in someone with an abnormal urinary tract, involves a catheter, or happens in someone with a weakened immune system. Men’s UTIs are also generally treated as complicated.
Complicated infections require broader, more powerful antibiotics. The 2025 guidelines from the Infectious Diseases Society of America recommend options like certain cephalosporins or fluoroquinolones for these cases, chosen based on four factors: how sick the person is, their risk factors for resistant bacteria, individual patient characteristics, and local resistance patterns. Fluoroquinolones like ciprofloxacin, once commonly prescribed for all UTIs, are now reserved primarily for complicated cases because of their potential for serious side effects affecting tendons, nerves, and joints.
What Happens if the First Antibiotic Doesn’t Work
If your symptoms haven’t improved after two to three days on an antibiotic, the bacteria causing your infection may be resistant to it. Your provider will likely order a urine culture, which identifies the exact bacterium and tests which antibiotics can kill it. This process takes about 48 hours. Based on those results, you may be switched to a different antibiotic that targets your specific strain.
Recurrent UTIs, defined as two or more infections in six months or three or more in a year, sometimes call for a different approach. Some people take a low dose of nitrofurantoin (50 to 100 mg at bedtime) as a preventive measure over a longer period. This strategy reduces the frequency of infections but requires monitoring for the rare side effects that can emerge with extended use.