Pyelonephritis is an inflammation of the kidney that is usually caused by a bacterial infection ascending from the bladder. It is more common in women due to their shorter urethra. Risk factors include urinary tract abnormalities, pregnancy, diabetes, and frequent sexual intercourse. Common symptoms are fever and flank pain. Diagnosis involves urine testing and culture. Treatment is usually oral fluoroquinolone antibiotics for a week. Chronic or recurring pyelonephritis can lead to kidney damage and renal failure if not properly treated.