Peritonitis is inflammation of the peritoneum — a silk-like membrane that lines your inner abdominal wall and covers the organs within your abdomen — that is usually due to a bacterial or fungal infection. Peritonitis can result from any rupture (perforation) in your abdomen, or as a complication of other medical conditions.

Peritonitis requires prompt medical attention to fight the infection and, if necessary, to treat any underlying medical conditions. Treatment of peritonitis usually involves antibiotics and, in some cases, surgery. Left untreated, peritonitis can lead to severe, potentially life-threatening infection throughout your body.

If you're receiving peritoneal dialysis therapy, you can help prevent peritonitis by following good hygiene before, during and after dialysis.

Signs and symptoms of peritonitis include:

Abdominal pain or tenderness

Bloating or a feeling of fullness (distention) in your abdomen

Fever

Nausea and vomiting

Loss of appetite

Diarrhea

Low urine output

Thirst

Inability to pass stool or gas

Fatigue

If you're receiving peritoneal dialysis, peritonitis symptoms may also include:

Cloudy dialysis fluid

White flecks, strands or clumps (fibrin) in the dialysis fluid

When to see a doctor

Peritonitis can be life-threatening if it's not treated promptly. Contact your doctor immediately if you have severe pain or tenderness of your abdomen, abdominal bloating, or a feeling of fullness associated with:

Fever

Nausea and vomiting

Low urine output

Thirst

Inability to pass stool or gas

If you're receiving peritoneal dialysis, contact your health care provider immediately if your dialysis fluid is cloudy, if it contains white flecks, or strands or clumps (fibrin), or if it has an unusual odor, especially if the area around your tube (catheter) is red or painful.

Infection of the peritoneum can happen for a variety of reasons. In most cases, the cause is a rupture (perforation) within the abdominal wall. Though it’s rare, the condition can develop without an abdominal rupture. This type of peritonitis is called spontaneous peritonitis.

Common causes of ruptures that lead to peritonitis include:

Medical procedures, such as peritoneal dialysis. Peritoneal dialysis uses tubes (catheters) to remove waste products from your blood when your kidneys can no longer adequately do so. An infection may occur during peritoneal dialysis due to unclean surroundings, poor hygiene or contaminated equipment. Peritonitis also may develop as a complication of gastrointestinal surgery, the use of feeding tubes or a procedure to withdraw fluid from your abdomen (paracentesis) and rarely as a complication of colonoscopy or endoscopy.

A ruptured appendix, stomach ulcer or perforated colon. Any of these conditions can allow bacteria to get into the peritoneum through a hole in your gastrointestinal tract.

Pancreatitis. Inflammation of your pancreas (pancreatitis) complicated by infection may lead to peritonitis if the bacteria spread outside the pancreas.

Trauma. Injury or trauma may cause peritonitis by allowing bacteria or chemicals from other parts of your body to enter the peritoneum.

Peritonitis that develops without an abdominal rupture (spontaneous peritonitis) is usually a complication of liver disease, such as cirrhosis. Advanced cirrhosis causes a large amount of fluid buildup in your abdominal cavity (ascites). That fluid buildup is susceptible to bacterial infection.

Factors that increase your risk of peritonitis include:

Peritoneal dialysis. Peritonitis is common among people undergoing peritoneal dialysis therapy.

History of peritonitis. Once you've had peritonitis, your risk of developing it again is higher than it is for someone who has never had peritonitis.

Left untreated, peritonitis can extend beyond your peritoneum, where it may cause:

A bloodstream infection (bacteremia).

An infection throughout your body (sepsis). Sepsis is a rapidly progressing, life-threatening condition that can cause shock and organ failure.

To diagnose peritonitis, your doctor will talk with you about your medical history and perform a physical exam. When peritonitis is associated with peritoneal dialysis, your signs and symptoms, particularly cloudy dialysis fluid, may be enough for your doctor to diagnose the condition.

In cases of peritonitis in which the infection may be a result of other medical conditions (secondary peritonitis) or in which the infection arises from fluid buildup in your abdominal cavity (spontaneous peritonitis), your doctor may recommend the following tests to confirm a diagnosis:

Blood tests. A sample of your blood may be drawn and sent to a lab to check for a high white blood cell count. A blood culture also may be performed to determine if there are bacteria in your blood.

Imaging tests. Your doctor may want to use an X-ray to check for holes or other perforations in your gastrointestinal tract. Ultrasound may also be used. In some cases, your doctor may use a computerized tomography (CT) scan instead of an X-ray.

Peritoneal fluid analysis. Using a thin needle, your doctor may take a sample of the fluid in your peritoneum (paracentesis), especially if you receive peritoneal dialysis or have fluid in your abdomen from liver disease. If you have peritonitis, examination of this fluid may show an increased white blood cell count, which typically indicates an infection or inflammation. A culture of the fluid may also reveal the presence of bacteria.

The above tests may also be necessary if you're receiving peritoneal dialysis and a diagnosis of peritonitis is uncertain after a physical exam and an examination of the dialysis fluid.

You may need to be hospitalized for peritonitis that's caused by infection from other medical conditions (secondary peritonitis). Treatment may include:

Antibiotics. You'll likely be given a course of antibiotic medication to fight the infection and prevent it from spreading. The type and duration of your antibiotic therapy depend on the severity of your condition and the kind of peritonitis you have.

Surgery. Surgical treatment is often necessary to remove infected tissue, treat the underlying cause of the infection, and prevent the infection from spreading, especially if peritonitis is due to a ruptured appendix, stomach or colon.

Other treatments. Depending on your signs and symptoms, your treatment while in the hospital may include pain medications, intravenous (IV) fluids, supplemental oxygen and, in some cases, a blood transfusion.

If you're undergoing peritoneal dialysis

If you have peritonitis, your doctor may recommend that you receive dialysis in another way for several days while your body heals from the infection. If peritonitis persists or recurs, you may need to stop having peritoneal dialysis entirely and switch to a different form of dialysis.

Often, peritonitis associated with peritoneal dialysis is caused by germs around the catheter. If you're receiving peritoneal dialysis, take the following steps to prevent peritonitis:

Wash your hands, including underneath your fingernails and between your fingers, before touching the catheter.

If you've had spontaneous peritonitis before or if you have peritoneal fluid buildup due to a medical condition such as cirrhosis, your doctor may prescribe antibiotics to prevent peritonitis. If you’re taking a proton pump inhibitor, your doctor may ask you to stop taking it.

If you develop new abdominal pain or have a new injury

Peritonitis may result from a burst appendix or trauma-related abdominal injury.

Seek immediate medical attention if you develop abdominal pain so severe that you're unable to sit still or find a comfortable position.

Call 911 or emergency medical assistance if you have severe abdominal pain following an accident or injury.

Reprint Permissions

A single copy of these materials may be reprinted for noncommercial personal use only. "Mayo," "Mayo Clinic," "MayoClinic.org," "Mayo Clinic Healthy Living," and the triple-shield Mayo Clinic logo are trademarks of Mayo Foundation for Medical Education and Research.