Most UTIs are caused by bacteria, which are treated with bacteria-fighting medications called antibiotics or antimicrobials. The choice of medication and length of treatment depend on the patients history and the type of bacteria causing the infection. Some antibiotics may be ruled out if a person has allergies to them. The sensitivity test takes 48 hours to complete and is especially useful in helping the health care provider select the antibiotic most likely to be effective in treating an infection. Longer treatment may be needed if the first antibiotic given is not effective.
                
When a UTI occurs in a healthy person with a normal, unobstructed urinary tract, the term uncomplicated is used to describe the infection. Most young women who have UTIs have uncomplicated UTIs, which can be cured with 2 or 3 days of treatment. Single-dose treatment is less effective. Longer treatment causes more side effects and is not more effective. A follow-up urinalysis helps to confirm the urinary tract is infection-free. Taking the full course of treatment is important because symptoms may disappear before the infection is fully cleared.
                
Complicated UTIs occur when a personfor example, a pregnant woman or a transplant patientis weakened by another condition. A UTI is also complicated when the person has a structural or functional abnormality of the urinary tract, such as an obstructive kidney stone or prostate enlargement that squeezes the urethra. Health care providers should assume that men and boys have a complicated UTI until proven otherwise.
                
Severely ill patients with kidney infections may be hospitalized until they can take fluids and needed medications on their own. Kidney infections may require several weeks of antibiotic treatment. Kidney infections in adults rarely lead to kidney damage or kidney failure unless they go untreated or are associated with urinary tract obstruction.
                
Bladder infections are generally self-limiting, but antibiotic treatment significantly shortens the duration of symptoms. People usually feel better within a day or two of treatment. Symptoms of kidney and prostate infections last longer. Drinking lots of fluids and urinating frequently will speed healing. If needed, various medications are available to relieve the pain of a UTI. A heating pad on the back or abdomen may also help.
                
Recurrent Infections in Women
                
Health care providers may advise women who have recurrent UTIs to try one of the following treatment options:
                
- Take low doses of the prescribed antibiotic daily for 6 months or longer. If taken at bedtime, the medication remains in the bladder longer and may be more effective. NIH-supported research has shown this therapy to be effective without causing serious side effects.  - Take a single dose of an antibiotic after sexual intercourse.  - Take a short course2 or 3 daysof an antibiotic when symptoms appear.
                
To try to prevent an infection, health care providers may suggest women
                
- drink plenty of water every day  - urinate when the need arises and avoid resisting the urge to urinate  - urinate after sexual intercourse  - switch to a different method of birth control if recurring UTIs are a problem
                
Infections during Pregnancy
                
During pregnancy, bacterial infection of the urineeven in the absence of symptomscan pose risks to both the mother and the baby. Some antibiotics are not safe to take during pregnancy. In selecting the best treatments, health care providers consider various factors such as the medications effectiveness, the stage of pregnancy, the mothers health, and potential effects on the fetus.
                
Complicated Infections
                
Curing infections that stem from a urinary obstruction or other systemic disorder depends on finding and correcting the underlying problem, sometimes with surgery. If the root cause goes untreated, this group of patients is at risk for kidney damage. Also, such infections tend to arise from a wider range of bacteria and sometimes from more than one type of bacteria at a time.
                
Infections in Men
                
Urinary tract infections in men are often the result of an obstructionfor example, a urinary stone or enlarged prostateor are from a catheter used during a medical procedure. The first step in treating such an infection is to identify the infecting organism and the medications to which it is sensitive.
                
Prostate infectionschronic bacterial prostatitisare harder to cure because antibiotics may be unable to penetrate infected prostate tissue effectively. For this reason, men with bacterial prostatitis often need long-term treatment with a carefully selected antibiotic. UTIs in men are frequently associated with acute bacterial prostatitis, which can be life threatening if not treated urgently.