What Antibiotics Work for Kidney Infections?

The most commonly prescribed oral antibiotics for a kidney infection are fluoroquinolones (like ciprofloxacin and levofloxacin) and trimethoprim-sulfamethoxazole. Which one your doctor chooses depends on local resistance patterns, your urine culture results, whether you’re pregnant, and how sick you are. Mild to moderate kidney infections can usually be treated at home with oral antibiotics, while severe cases require hospitalization and IV drugs.

Oral Antibiotics for Mild to Moderate Cases

Most uncomplicated kidney infections (the medical term is pyelonephritis) are treated with one of two oral antibiotic classes. Fluoroquinolones and trimethoprim-sulfamethoxazole are the preferred initial choices when you don’t have sepsis and can keep pills down. Your doctor will typically collect a urine sample for culture before starting treatment, then adjust the antibiotic once results come back showing exactly which bacteria is causing the infection and what it’s sensitive to.

The treatment course length varies by drug. Fluoroquinolones require a shorter course of 5 to 7 days, while trimethoprim-sulfamethoxazole and oral cephalosporins typically need a full 10 days. This difference matters if side effects are a concern or if you have trouble completing longer courses. For children over 3 months and adolescents, cephalexin and amoxicillin-clavulanate are the first choices instead.

Fluoroquinolone Safety Concerns

Fluoroquinolones are effective for kidney infections, but they carry significant risks that have prompted multiple FDA warnings. In 2008, the FDA added its strongest warning (a black box label) linking these drugs to tendinitis and tendon rupture. In 2013, a second warning followed for irreversible peripheral neuropathy, a nerve condition causing weakness, numbness, and pain in the hands and feet. Additional warnings have since been issued for mental health side effects, blood sugar disturbances, and aortic aneurysm.

Because of these risks, the FDA recommends that fluoroquinolones be reserved for infections where no safer alternative exists. For an uncomplicated bladder infection, they’re considered overkill. But kidney infections are serious enough that fluoroquinolones remain a reasonable first-line option when culture results support their use. Your doctor should weigh these risks against the severity of your infection.

When Resistance Changes the Plan

Antibiotic resistance is a growing problem with kidney infections. A CDC-affiliated surveillance study found that E. coli resistance to fluoroquinolones exceeded 10% at some U.S. sites for uncomplicated kidney infections and topped 20% at several sites for complicated cases. These rates cross the threshold where treatment guidelines recommend adding or switching to a different antibiotic class.

This is why the urine culture matters so much. If your infection is caused by a resistant strain, your doctor may need to switch you to a different antibiotic after the culture results come back (usually within 48 to 72 hours). Starting the right antibiotic quickly is important because a kidney infection that doesn’t respond to treatment can progress to a bloodstream infection.

IV Antibiotics for Severe Infections

If you’re too sick to take oral medication, running a high fever, vomiting, or showing signs of sepsis, you’ll likely be admitted to the hospital for intravenous antibiotics. The 2025 guidelines from the Infectious Diseases Society of America recommend choosing IV drugs based on whether sepsis is present. For patients without sepsis, the standard IV options include third- or fourth-generation cephalosporins, piperacillin-tazobactam, or fluoroquinolones. When sepsis is involved, carbapenems (a broader-spectrum class) are added to the list of initial options.

Once your fever breaks and you’re improving, your care team will typically switch you to oral antibiotics to finish the course at home. This transition usually happens within a few days.

Kidney Infections During Pregnancy

Pregnancy changes the treatment approach significantly. All kidney infections during pregnancy are initially treated with IV antibiotics regardless of severity, because the stakes are higher for both mother and baby. The standard total treatment duration is 14 days, combining IV and oral therapy.

The safest IV option is ceftriaxone, considered safe at any trimester. Amoxicillin combined with gentamicin is another option, though gentamicin use is reviewed at 72 hours due to potential kidney and hearing toxicity with prolonged use. Piperacillin-tazobactam serves as a second-line agent when gentamicin isn’t suitable.

Several antibiotics commonly used for kidney infections in other patients are restricted during pregnancy. Fluoroquinolones are generally avoided because animal studies showed adverse effects on cartilage development, though human studies haven’t confirmed this risk. Trimethoprim is avoided in the first trimester because it interferes with folic acid and has been linked to congenital malformations. Nitrofurantoin and fosfomycin, while fine for bladder infections, don’t reach high enough concentrations outside the bladder to treat a kidney infection effectively.

What Recovery Looks Like

Symptoms typically begin to improve within a few days of starting the right antibiotic. Fever usually breaks first, followed by gradual improvement in flank pain, nausea, and the burning or urgency with urination. If you’re not feeling noticeably better after 48 to 72 hours on oral antibiotics, contact your doctor. This could mean the bacteria is resistant to your current medication or that you need IV treatment.

Finishing the full course is critical even after you feel better. Stopping early increases the chance of the infection returning or developing resistance. With the right antibiotic and a completed course, most people recover fully without lasting kidney damage.

Preventing Recurrent Kidney Infections

If you’ve had multiple urinary tract infections that progress to kidney involvement, low-dose antibiotic prophylaxis is an option. The American Urological Association guidelines support daily or several-times-weekly low-dose antibiotics for women with recurrent UTIs. Common prophylactic regimens include low-dose trimethoprim-sulfamethoxazole, nitrofurantoin, or cephalexin taken once daily. Fosfomycin taken once every 10 days is another option.

For women whose infections are linked to sexual activity, taking a single dose of an antibiotic before or after intercourse has been shown to be effective. Options for this approach include trimethoprim-sulfamethoxazole, nitrofurantoin, or cephalexin.

Prophylaxis typically lasts 3 to 12 months. One important caveat: once you stop, UTI frequency tends to return to its previous rate, so this is a management strategy rather than a cure. Fluoroquinolones, despite their effectiveness for active infections, are no longer recommended for preventive use given their side effect profile.