Print DiagnosisTo diagnose peritonitis, your health care provider talks with you about your medical history and gives you a physical exam. Your symptoms alone may be enough for your provider to diagnose the condition if your peritonitis is linked to peritoneal dialysis. If more tests are needed to confirm a diagnosis, your health care provider may suggest: Blood tests. A sample of your blood may be taken to see if you have an increase in disease-fighting white blood cells. This is usually a sign of an infection or inflammation. You also might have a blood culture test to find out if bacteria are in your blood. Imaging tests. You may have an X-ray exam to check for holes or other tears in your digestive tract. You also may have a test that uses sound waves to make images inside your body, called ultrasound. In some cases, you may have a CT scan. Peritoneal fluid analysis. In this test, a thin needle is used to take a sample of the fluid in your peritoneum. You're more likely to have this test if you get peritoneal dialysis or if you have fluid in your abdomen from liver disease. An increased white blood cell count in this fluid usually points to an infection or inflammation. A culture of the fluid may be used to spot bacteria. More InformationCT scanUltrasoundX-ray TreatmentSpontaneous bacterial peritonitis can be life-threatening. You'll need to stay in the hospital. Treatment includes antibiotics. It also includes supportive care to ease your symptoms. You'll also need to stay in the hospital for secondary peritonitis. Treatment may include: Antibiotics. You'll likely take antibiotic medicine through a needle in a vein. This clears out the infection and keeps it from spreading. The type of antibiotic you'll need and how long you'll have to take it will vary. It depends on how serious your condition is and the kind of peritonitis you have. Surgery. This is often needed to remove infected tissue, treat the cause of the infection, and prevent the infection from spreading. Surgery is important if your peritonitis is due to a ruptured appendix, stomach or colon. Other treatments. Depending on your symptoms, your treatment while in the hospital will likely include: Pain medications. Fluids given through a tube, called intravenous fluids. Oxygen. In some cases, a blood transfusion. If you get peritoneal dialysisIf you have peritonitis, your health care provider may suggest that you receive dialysis in another way. You may need this other type of dialysis for several days while your body heals from the infection. If your peritonitis lingers or comes back, you may need to stop having peritoneal dialysis completely and switch to a different type of dialysis.More InformationBlood transfusion By Mayo Clinic Staff Request an appointment Symptoms & causes April 06, 2023 Print Show references Yu ASL, et al., eds. Peritoneal dialysis. In: Brenner & Rector's The Kidney. 11th ed. Elsevier; 2020. https://www.clinicalkey.com. Accessed Oct. 14, 2022. Ferri FF. Peritonitis, secondary. In: Ferri's Clinical Advisor 2023. Elsevier; 2023. https://www.clinicalkey.com. Accessed Oct. 14, 2022. Treatment methods for kidney failure: Peritoneal dialysis. National Kidney and Urologic Diseases Information Clearinghouse (NKUDIC). https://www.niddk.nih.gov/health-information/kidney-disease/kidney-failure/peritoneal-dialysis. Accessed Oct. 14, 2022. Runyon BA. Spontaneous bacterial peritonitis in adults: Treatment and prophylaxis. https://www.uptodate.com/contents/search. Accessed March 13, 2020. Acute abdominal pain. Merck Manual Professional Edition. http://www.merckmanuals.com/professional/gastrointestinal_disorders/acute_abdomen_and_surgical_gastroenterology/acute_abdominal_pain.html?qt=&sc=&alt=. Accessed March 13, 2020. Picco MF (expert opinion). Mayo Clinic. March 24, 2015. Doherty GM, ed. Peritoneal cavity. In: Current Diagnosis & Treatment: Surgery. 15th ed. McGraw Hill; 2020. https://accessmedicine.mhmedical.com. Accessed Oct. 14, 2022. AskMayoExpert. Spontaneous bacterial peritonitis (adult). Mayo Clinic; 2019. Runyon BA. Spontaneous bacterial peritonitis in adults: Diagnosis. https://www.uptodate.com/contents/search. Accessed March 13, 2020. Feehally J, et al., eds. Complications of peritoneal dialysis. In: Comprehensive Clinical Nephrology. 6th ed. Elsevier; 2019. https://www.clinicalkey.com. Accessed March 20, 2020. Salzer WL. Peritoneal dialysis-related peritonitis: Challenges and solutions. International Journal of Nephrology and Renovascular Disease. 2018; doi:10.2147/IJNRD.S123618. Spontaneous bacterial peritonitis (SBP). Merck Manual Professional Edition. https://www.merckmanuals.com/professional/hepatic-and-biliary-disorders/approach-to-the-patient-with-liver-disease/spontaneous-bacterial-peritonitis-sbp. Accessed Oct. 14, 2022. Friedman S, et al., eds. Complications of cirrhosis: Ascites & hepatic Encephalopathy. In: Greenberger's Current Diagnosis & Treatment: Gastroenterology, Hepatology, & Endoscopy. 4th ed. McGraw Hill; 2022. https://accessmedicine.mhmedical.com. Accessed Oct. 17, 2022. Burkart JM. Clinical manifestations and diagnosis of peritonitis in peritoneal dialysis. https://www.uptodate.com/contents/search. Accessed Oct. 17, 2022. Burkart JM. Risk factors and prevention of peritonitis in peritoneal dialysis. https://www.uptodate.com/contents/search. Accessed Oct. 17, 2022. Li PK, et al. ISPD peritonitis recommendations: 2022 update on prevention and treatment. Peritoneal Dialysis International. 2022; doi:10.1177/08968608221080586. Bennett JE, et al. Peritonitis and Intraperitoneal Abscesses. In: Mandell, Douglas, and Bennett's Principles and Practice of Infectious Diseases. 9th ed. Elsevier; 2020. https://www.clinicalkey.com. Accessed Oct. 18, 2022. Related Associated Procedures Blood transfusion CT scan Ultrasound X-ray Show more associated procedures Products & Services A Book: Mayo Clinic Family Health Book Newsletter: Mayo Clinic Health Letter — Digital Edition Show more products and services from Mayo Clinic PeritonitisSymptoms&causesDiagnosis&treatment Advertisement Mayo Clinic does not endorse companies or products. Advertising revenue supports our not-for-profit mission. Advertising & Sponsorship Policy Opportunities Ad Choices Mayo Clinic Press Check out these best-sellers and special offers on books and newsletters from Mayo Clinic Press. NEW: Listen to Health Matters Podcast - Mayo Clinic PressNEW: Listen to Health Matters PodcastMayo Clinic on Incontinence - Mayo Clinic PressMayo Clinic on IncontinenceThe Essential Diabetes Book - Mayo Clinic PressThe Essential Diabetes BookMayo Clinic on Hearing and Balance - Mayo Clinic PressMayo Clinic on Hearing and BalanceFREE Mayo Clinic Diet Assessment - Mayo Clinic PressFREE Mayo Clinic Diet AssessmentMayo Clinic Health Letter - FREE book - Mayo Clinic PressMayo Clinic Health Letter - FREE book CON-20376231 Patient Care & Health Information Diseases & Conditions Peritonitis