A urinary tract infection (UTI) is an infection caused by bacteria in part of the urinary tract. In the lower urinary tract, it is simple cystitis (a bladder infection). In the upper urinary tract, it is a kidney infection. Symptoms from a lower urinary tract infection include painful peeing and frequent peeing or wanting to pee (or both). Symptoms of a kidney infection include fever and side and back pain. In old people and young children, the symptoms are not always so clear. The main cause for both types is the bacteria Escherichia coli. Other bacteria, viruses, or fungus may be the cause in rare cases.

Women get urinary tract infections more often than men. Half of women have an infection at some point in their lives. It is common to have repeated infections. Risk factors include sexual intercourse as well as family history. Sometimes a person who had a bladder infection will get a kidney infection. Kidney infection may also, but rarely, be caused by bacteria in the blood. Diagnosis in young healthy women can be based on symptoms alone. Sometimes, the urine needs to be tested. A person with frequent infections can take low-dose antibiotics to prevent future infections.

Antibiotics are used to treat simple cases of urinary tract infections. Resistance to antibiotics is increasing. People who have complicated urinary tract infections sometimes have to take antibiotics for a longer time, or might take antibiotics intravenously (through a vein). If symptoms have not improved in two or three days, the person will need further tests. In women, urinary tract infections are the most common form of bacterial infection. Ten percent of women develop urinary tract infections each year.

Signs and symptoms

Lower urinary tract infection is also known as a bladder infection. The most common symptoms are burning with peeing and having to pee frequently (or wanting to pee) without vaginal discharge or significant pain. These symptoms can vary from mild to severe. In healthy women, the symptoms last an average of six days. Some people will have pain above the pubic bone (lower abdomen) or in the lower back. People who have an upper urinary tract infection, or pyelonephritis (a kidney infection), can have flank pain, fever (a high temperature), or nausea and vomiting. Those symptoms are in addition to the normal symptoms of a lower urinary tract infection. In rare cases the urine looks bloody or contains visible pyuria (pus in the urine).

In children
In young children, fever can be the only symptom of a urinary tract infection (UTI).  Many medical associations recommend a urine culture for females younger than two year old or uncircumcised males who are younger than a year  and have a fever. Infants with UTI sometimes eat poorly, vomit, sleep more, or show signs of jaundice ( a yellow coloring of the skin). Older children can have new urinary incontinence (loss of bladder control).

In the elderly
Urinary tract symptoms are frequently not seen in those who are old. Sometimes, the only symptoms are incontinence (loss of bladder control), a change in mental status (ability to think), or feeling tired. The first symptom for some old people is sepsis, an infection of the blood. Diagnosis can be difficult because many old people are incontinent (cannot hold their pee) or have dementia (poor thinking abilities).

Cause
E. coli is the cause of 80–85% of urinary tract infections. Staphylococcus saprophyticus is the cause in 5–10% of cases. In rare cases, viral or fungal infections cause urinary tract infections Other bacterial causes of UTI include:
Klebsiella
Proteus
Pseudomonas, 
Enterobacter
These bacterial causes are not common and usually happen when the person has an abnormal urinary system or the person has a urinary catheterization (tube inserted into the bladder. Urinary tract infections due toStaphylococcus aureus usually happens after the person has had a blood infection.

Gender
Sexual intercourse is the cause of 75–90% of bladder infections in young, sexually active women. The risk of infection is related to how often they have sex. With UTIs so frequent when women first get married, the term "honeymoon cystitis" is often used. In post-menopausal women (women who have stopped menstruating), sexual activity does not affect the risk of developing a UTI. Using spermicide (a gel or cream to kill sperm) increases the risk of UTIs.

Women get more  UTIs than men because women have a urethra that is much shorter and closer to the anus. As a woman's estrogen (a hormone) levels decrease with menopause, the risk of urinary tract infections increases due to the loss of protective vaginal flora (good bacterial that live in the vagina).

Urinary catheters
A urinary catheter is a tube that is put into the bladder to drain the urine. Using a catheter increases the risk for urinary tract infections. The risk of bacteriuria (bacteria in the urine) is 3% - 6% every day the catheter is used. Antibiotics do not stop these infections. The risk of an infection can be decreased by:
  using a catheter only when necessary
 making sure everything is very clean (sterile) when putting the catheter in
 making sure that nothing blocks the catheter.

Others
Bladder infections are more common in some families. Other risk factors include diabetes, being circumcised,  and having a large prostate (a gland around the urethra in males). Complicating factors are not completely clear. These factors may include some anatomic problems (relating to physical narrowing), functional, or metabolic problems. A complicated UTI is more difficult to treat and usually needs more aggressive evaluation, treatment, and follow-up. In children, UTIs are linked to vesicoureteral reflux (an abnormal movement of urine from the bladder into ureters or kidneys) and constipation.

Mechanism
The bacteria that cause urinary tract infections usually go into the bladder from the uretha. It is believed these bacteria come from the bowel. Females are at greater risk because they have a short urethra that is close to their anus). After entering the bladder, E. Coli are able to stick to the bladder wall. They form a biofilm, which is a coating of microorganisms, that resists the body's immune response. However, infections can also come through the blood or lymph.

Prevention
The following activities do not cause a UTI or make them happen less frequently:  
 using birth-control pills or condoms
 peeing immediately after sex
 the type of underwear worn
 personal cleaning methods used after peeing or defecating
 whether a person usually bathes or showers.
 holding onto urine and not peeing
 tampon use
 douching

People who often get UTIs and who use spermicide or a diaphragm for birth control should use a different type of birth control. Cranberry (juice or capsules) may decrease the number of infections, but some people cannot use cranberries for long periods of time.  Gastrointestinal (stomach) upset occurs in more than 30% of people who regularly drink cranberry juice or take capsules. As of 2011, probiotics used intravaginally (in the vagina) require further study to determine if they are helpful.

Medications
For people who keep getting infections, taking antibiotics for a long time is helpful. Drugs frequently used include nitrofurantoin and trimethoprim/sulfamethoxazole. If infections are related to sexual intercourse, some women find it useful to taking antibiotics after sex. In post-menopausal women, using topical vaginal estrogen (a hormone applied to the skin of the vaginal) has been found to reduce getting a UTI. Unlike topical creams, the use of vaginal estrogen from pessaries (medical devices put in the vagina is not as useful as low-dose antibiotics. A number of vaccines are being developed (as of 2011).

In children
There is little evidence that using preventative antibiotics decreases urinary tract infections in children. It is rare for people who have no problems with their kidneys to develop kidney problems from frequent UTIs. Having frequent urinary tract infections as a child causes less than a third of a percent (0.33%) of chronic kidney disease in adults.

Diagnosis

In most cases, UTIs can be diagnosed just from the symptoms and there is no need for laboratory testing.  Urinalysis (testing the urine) can be used to confirm the diagnosis in complicated cases. The urine is tested for urinary nitrites, white blood cells (leukocytes), or leukocyte esterase.  Another test, urine microscopy, looks for red blood cells, white blood cells, or bacteria. Urine culture is considered positive if it shows a bacterial colony count of greater than or equal to 103 colony-forming units per mL of a typical bacteria that causes infections of the urinary tract.  Cultures can also be used to test which antibiotic will work. However, women with negative cultures can still improve with antibiotic treatment. UTI symptoms in old people can be vague, and diagnosis can be difficult as there is no really reliable test.

Classification
A urinary tract infection in the lower urinary tract is known as a bladder infection. A UTI in the upper urinary tract is known as pyelonephritis or kidney infection. If the urine has significant bacteria, but there are no symptoms, the condition is known as asymptomatic bacteriuria.

A urinary tract infection is said to be complicated if:
 it is in the upper tract
 the person has diabetes mellitus
 the person is pregnant
 the person is male
 the person has a weakened immune system (immunocompromised) because of another illness.

Otherwise if a women is a healthy and before menopause, the infection is said to be uncomplicated. When children also have a fever, the urinary tract infection is considered to be an upper urinary tract infection.

In children
To diagnose a urinary tract infection in children, a positive urinary culture is required. Contamination poses a frequent challenge so a cutoff of 105 CFU/mL is used for a "clean-catch" mid-stream sample, 104 CFU/mL is used for catheter-obtained specimens, and 102 CFU/mL is used for suprapubic aspirations (a sample drawn directly from the bladder through the stomach wall with a needle). The World Health Organization does not like the use of “urine bags” to collect samples because there is a high rate of contamination when that urine is cultured. Catheterization is preferred if an individual is unable to use a toilet. Some medical groups, such as the American Academy of Pediatrics, recommend renal ultrasound and voiding cystourethrogram (watching a person's urethra and urinary bladder with real time X-rays while they urinate) in all children who are younger than 2 years old and have had a urinary tract infection.Other medical groups such as the National Institute for Clinical Excellence recommend routine imaging only in babies younger than 6 months old or who have unusual findings.

Differential diagnosis
In women with cervicitis (inflammation of the cervix) or vaginitis (inflammation of the vagina) and in young men with UTI symptoms, a Chlamydia trachomatis or Neisseria gonorrheae infection may be the cause. Vaginitis may also be due to a yeast infection. Interstitial cystitis (chronic pain in the bladder) can be the cause for people who have UTI symptoms many times, but whose urine cultures remain negative and do not improved with antibiotics. Prostatitis (inflammation of the prostate) may also be considered in the differential diagnosis.

Treatment
Phenazopyridine can be used in addition to antibiotics to help ease the burning pain of a bladder infection. However, phenazopyridine is no longer commonly recommended due to safety concerns. It can cause methemoglobinemia, which means there is higher than normal level of methemoglobin in the blood. Acetaminophen can be used for fevers.

Women who keep getting simple UTIs can benefit from self-treatment; these women should get medical treatment medical only if the initial treatment fails. Health care providers may also prescribe the antibiotics by phone.

Uncomplicated
Simple infections can be diagnosed and treated based on symptoms alone. Oral antibiotics such as trimethoprim/sulfamethoxazole (TMP/SMX), cephalosporins, nitrofurantoin, or a fluoroquinolone will shorten the time to recovery. All these drugs are equally effective. A three-day treatment with trimethoprim, TMP/SMX, or a fluoroquinolone is usually enough. Nitrofurantoin needs 5–7 days. With treatment, symptoms should improve within 36 hours. About 50% of people will get better without treatment within a few days or weeks. The Infectious Diseases Society of America does not recommend fluoroquinolones as first treatment because of concerns that overuse will lead to resistance to this class of drugs, making these drugs less effective for more serious infections. Despite this precaution, some resistance has developed to all of these drugs because to their widespread use. In some countries, trimethoprim alone is deemed to be equivalent to TMP/SMX. Children with simple UTIs are often helped by a three-day course of antibiotics.

Pyelonephritis
Pyelonephritis (kidney infection) is treated more aggressively than a simple bladder infection using either a longer course of oral antibiotics or intravenous antibiotics. Seven days of the oral fluoroquinolone ciprofloxacin is typically used in geographic areas where the resistance rate is less than 10%. If the local resistance rates are greater than 10%, a dose of intravenous ceftriaxone often is prescribed. People with more severe symptoms are sometimes admitted a hospital for ongoing antibiotics. If symptoms do not improve following two or three days of treatment, it can mean that the urinary tract is blocked by a kidney stone.

Likelihood
Urinary tract infections are the most frequent bacterial infection in women. They occur most frequently between the ages of 16 and 35 years. Ten percent of women get an infection yearly; 60% have an infection at some point in their lives. Nearly half of people get a second infection within a year. Urinary tract infections occur four times more frequently in females than males. Pyelonephritis (a kidney infection) occurs between 20–30 times less frequently than bladder infections. Pyelonephritis is the most common cause of hospital acquired infections, accounting for approximately 40% of hospital-acquired infections. Rates of asymptomatic bacteria in the urine increase with age from 2% to 7% in women of childbearing age to as high as 50% in elderly women in care homes. Rates of aysmtomatic bacteria in the urine among men over 75 are 7-10%.

Urinary tract infections can affect 10% of people during childhood. Urinary tract infections in children are the most common in uncircumcised males younger than 3 months of age, followed by females younger than one year. Estimates of frequency among children, however, vary widely. In a group of children with a fever, ranging in age between birth and 2 years, 2- 20% were diagnosed with a UTI.

Society and culture
In the United States, urinary tract infections lead to nearly seven million office visits, a million emergency department visits, and 100,000 hospitalizations every year. The cost of these infections is high due to both lost time at work and costs of medical care. The direct cost of treatment is estimated at 1.6 billion USD yearly in the United States.

History
Urinary tract infections have been described since ancient times. The first written description, found in the Ebers Papyrus, dates to around 1550 BC. The Egyptians described a urinary tract infection as "sending forth heat from the bladder." Herbs, bloodletting, and rest were the common treatments until the 1930s, when antibiotics became available. Sulphonamides became available around 1935.

In pregnancy
Pregnant women with UTIs have a higher risk of kidney infections.During pregnancy, high progesterone (a hormone) levels decreased muscle tone of the ureters and bladder. Decreased muscle tone leads to a greater likelihood of reflux, where urine flows back up the ureters and toward the kidneys. If bacteria are present, pregnant women have a 25-40% risk of a kidney infection. Thus treatment is recommended if urine testing shows signs of an infection—even in the absence of symptoms. Cephalexin or nitrofurantoin are typically used because those medications are generally considered safe in pregnancy. A kidney infection during pregnancy may result in premature birth or pre-eclampsia (a state of high blood pressure, kidney dysfunction, or seizures).

References

Diseases caused by bacteria
Urinary system
Diseases and disorders of the female reproductive system