Peritonitis
Peritonitis is inflammation of the thin lining inside the belly, usually caused by infection, and is a medical emergency that needs prompt hospital treatment.
Clinician view: includes diagnostic criteria, management and safety detail.

Overview
Peritonitis (say "per-ih-toe-NY-tis") is inflammation of the peritoneum. The peritoneum is a thin, smooth layer of tissue that lines the inside of your belly (abdomen) and covers most of the organs inside it, such as the bowel, stomach and liver. When this lining becomes irritated or infected, it causes strong belly pain and can make you very sick quickly.
Most peritonitis is caused by infection. Doctors group it into two main types:
- Secondary peritonitis is the most common type. It happens when something inside the belly leaks, bursts or becomes badly infected, such as a burst appendix, a hole in a stomach ulcer or a torn bowel. Germs and digestive fluids spill into the belly and inflame the lining.
- Primary peritonitis happens without an obvious hole or injury. Germs reach fluid in the belly through the blood or lymph system. The most common form is spontaneous bacterial peritonitis, which mostly affects people with liver scarring (cirrhosis) who have fluid in the belly (ascites).
A third group is linked to medical treatment. People who use peritoneal dialysis for kidney failure can get peritonitis when germs enter through the dialysis tube (catheter). Less often, peritonitis is caused by chemicals such as bile or stomach acid, or by tuberculosis.
Peritonitis is a medical emergency. Without fast treatment, the infection can spread to the blood and lead to sepsis, a life-threatening reaction to infection. With early treatment, many people recover well.
Symptoms
Symptoms often come on over hours, especially when an organ has burst. Common symptoms include:
- Belly pain or tenderness that gets worse when you move, cough or someone presses on your belly
- A belly that feels hard, swollen or bloated
- Fever and chills
- Feeling sick to your stomach (nausea) or throwing up
- Not wanting to eat
- Not being able to pass gas or stool, or sometimes diarrhea
- Passing less urine than usual
- Feeling very thirsty, weak or tired
- A fast heartbeat or fast breathing
People with peritonitis often lie very still, because moving makes the pain worse.
Symptoms can be mild in some people
In people with cirrhosis, spontaneous bacterial peritonitis may cause only mild belly discomfort, a low fever or new confusion. Sometimes there are no belly symptoms at all, and the only sign is that the person feels worse or their liver or kidney tests get worse. Older adults and people with weak immune systems may also have fewer or milder symptoms.
If you use peritoneal dialysis
A key warning sign is cloudy dialysis fluid when it drains out. You may also have belly pain, fever, or redness, pain or discharge where the catheter leaves your skin.
Causes
Causes of secondary peritonitis include:
- A burst (ruptured) appendix
- A hole (perforation) in the stomach or first part of the small bowel, often from an ulcer
- Diverticulitis, when small pouches in the bowel wall become infected and burst
- A blocked or twisted bowel, or a bowel that loses its blood supply
- A badly infected or burst gallbladder
- Severe inflammation of the pancreas (pancreatitis)
- Pelvic infections in women, such as pelvic inflammatory disease
- Injury to the belly, such as a stab wound or a car crash
- Leaks after belly surgery
Primary peritonitis is usually caused by bacteria that move from the gut or blood into fluid already in the belly. Peritoneal dialysis peritonitis is usually caused by germs from the skin or the environment getting into the catheter. Rarely, fungi such as candida cause peritonitis, most often after surgery or in people who are very ill.
Risk factors
You are more likely to get peritonitis if you have:
- Cirrhosis with fluid in the belly, especially if you have had spontaneous bacterial peritonitis before
- Peritoneal dialysis
- Appendicitis, diverticulitis, a stomach ulcer or inflammatory bowel disease
- Recent belly surgery
- A weak immune system
- An injury to the belly
Taking pain relievers called NSAIDs (such as ibuprofen) for a long time can raise the risk of stomach ulcers, which can lead to a hole in the stomach.
Diagnosis
Doctors start by asking about your symptoms and health history and gently examining your belly. Tests can help find the cause and see how serious it is:
- Blood tests to look for signs of infection, check your kidneys and liver, and grow germs from the blood (blood cultures)
- CT scan of the belly, which is often the most useful test for finding a hole, abscess (a pocket of pus) or other cause
- Ultrasound or X-ray in some cases
- Paracentesis, where a thin needle is used to take a small sample of fluid from the belly. This is the main test for spontaneous bacterial peritonitis. The fluid is checked for white blood cells and germs.
- For people on peritoneal dialysis, a sample of the drained dialysis fluid is tested
Sometimes, if a person is very ill and the cause is clear, surgeons go straight to an operation, which both confirms the diagnosis and treats it.
Treatment
Peritonitis is treated in hospital. Treatment depends on the type and cause.
Antibiotics and supportive care
Almost everyone needs antibiotics, usually given through a vein (IV) at first. Common choices include ceftriaxone or cefotaxime (cephalosporin antibiotics), often combined with metronidazole, or broader antibiotics such as piperacillin-tazobactam or meropenem for more serious infections. Your care team may change the antibiotic once tests show which germ is causing the infection. If a fungus is the cause, antifungal medicines such as anidulafungin or amphotericin B may be used.
You will usually also get IV fluids, pain relief, and medicine for nausea. You may not be able to eat or drink for a while. Some people need a tube through the nose into the stomach to remove fluid and air. People who are very sick may need care in an intensive care unit.
Fixing the source
In secondary peritonitis, antibiotics alone are not enough. The source of the leak or infection needs to be dealt with, which doctors call source control. This may mean:
- Surgery to remove a burst appendix, repair a hole or remove a damaged part of the bowel
- Draining an abscess with a thin tube placed through the skin using a scan for guidance
- Washing out the belly to remove pus and fluid
Spontaneous bacterial peritonitis
This is treated with antibiotics, usually without surgery. Many people are also given albumin, a protein given through a vein, which helps protect the kidneys. After an episode, most people are advised to take a daily antibiotic long term to lower the chance of it coming back.
Peritoneal dialysis peritonitis
This is often treated with antibiotics added to the dialysis fluid. If the infection does not clear, the catheter may need to be removed, and you may need to switch to another type of dialysis for a time.
Recovery and self-care
Recovery can take several weeks, especially after surgery. To help yourself heal:
- Finish all the antibiotics you are given, even if you feel better
- Follow your surgeon's advice about wound care, lifting and driving
- Start eating slowly as advised, with small, simple meals
- Walk a little each day as you are able, to help prevent blood clots and lung infections
- Keep follow-up appointments
Some people have a temporary or permanent stoma (an opening on the belly where stool collects in a bag) after bowel surgery. A stoma nurse can help you learn to manage it. If you have cirrhosis, keep taking any preventive antibiotic your team prescribes. If you do peritoneal dialysis, ask your dialysis nurse to review your hand washing and exchange technique.
Complications
Possible complications include:
- Sepsis and septic shock, where blood pressure drops and organs stop working well
- Abscesses, including a pocket of pus under the diaphragm (subphrenic abscess)
- Kidney problems, especially in people with cirrhosis
- Scar tissue in the belly (adhesions), which can later cause bowel blockage
- Wound infection or a hernia at the surgery site
Outlook
The outlook depends on the cause, how quickly treatment starts, your age and your general health. Many people who are treated early make a full recovery. Peritonitis can be fatal, especially when it leads to septic shock or affects people who are older or have other serious illnesses. In people with cirrhosis, spontaneous bacterial peritonitis is a sign of advanced liver disease, and your team may talk with you about liver transplant assessment.
Prevention
Not every case can be prevented, but you can lower your risk:
- Get urgent care for severe belly pain rather than waiting, so problems like appendicitis are treated before they burst
- If you have cirrhosis, take preventive antibiotics if prescribed and keep regular check-ups
- If you use peritoneal dialysis, wash your hands well, wear a mask if advised, and follow your exchange and catheter care steps exactly
- Use NSAID pain relievers only as directed, and ask your clinician about stomach protection if you need them often
In the United States
In the United States, dialysis and most care for kidney failure are covered by Medicare for eligible people regardless of age. Liver transplant listing is coordinated nationally through the Organ Procurement and Transplantation Network.
Classification and diagnosis
Primary (spontaneous bacterial) peritonitis occurs without a surgically treatable source, mainly in cirrhosis with ascites. Secondary peritonitis follows perforation, anastomotic leak or transmural infection of a hollow viscus. Tertiary peritonitis is persistent or recurrent infection after adequate source control, often with resistant organisms or candida. Peritoneal dialysis (PD) peritonitis is a distinct entity.
- SBP: diagnostic paracentesis in all patients with cirrhosis and ascites admitted to hospital, or with GI bleeding, fever, abdominal pain, encephalopathy or worsening renal function. Ascitic neutrophil count of 250 cells/mm3 or more confirms SBP. Inoculate blood culture bottles at the bedside. Polymicrobial growth, very high protein or low glucose suggests secondary peritonitis.
- Secondary peritonitis: contrast-enhanced CT is the imaging test of choice in stable patients. Unstable patients with diffuse peritonitis should not have surgery delayed for imaging.
- PD peritonitis: two of abdominal pain or cloudy effluent, effluent white cell count above 100/microlitre with over 50% neutrophils (after a dwell of at least 2 hours), and positive effluent culture (ISPD definitions).
Management
- Sepsis care: early resuscitation and blood cultures, with antibiotics within 1 hour when septic shock is present (Surviving Sepsis Campaign).
- Secondary peritonitis: prompt source control (surgery or percutaneous drainage) is essential. Community-acquired, lower-severity infection: e.g. ceftriaxone or cefotaxime plus metronidazole. High severity or healthcare-associated: broader cover such as piperacillin-tazobactam or meropenem, guided by local resistance. Add an echinocandin (e.g. anidulafungin) when candida is likely, such as recurrent upper GI perforation or critical illness. With adequate source control, about 4 days of antibiotics is usually sufficient (STOP-IT trial; SIS/IDSA guidance).
- SBP: empirical third-generation cephalosporin (e.g. cefotaxime or ceftriaxone) for community-acquired cases; broader agents such as meropenem for nosocomial infection or prior resistant organisms. IV albumin 1.5 g/kg on day 1 and 1 g/kg on day 3 reduces renal failure and mortality, particularly with raised creatinine or bilirubin. Repeat paracentesis at 48 hours if response is uncertain; a fall in neutrophil count of less than 25% suggests failure. Secondary prophylaxis after an episode (e.g. norfloxacin, ciprofloxacin or trimethoprim-sulfamethoxazole) and referral for transplant assessment.
- PD peritonitis: intraperitoneal antibiotics covering gram-positive and gram-negative organisms per ISPD guidance; remove the catheter for refractory or fungal peritonitis, and consider removal for relapsing or repeat episodes.
Cautions and prognosis
Avoid NSAIDs, aminoglycosides and other nephrotoxic agents in cirrhosis. Adjust beta-lactam dosing for renal function; long-term fluoroquinolone prophylaxis carries risks of resistance, C. difficile infection and tendon injury. Red flags include hypotension, rising lactate, new organ dysfunction and failure to improve within 48 to 72 hours, which should prompt reimaging for undrained collections. Mortality is highest with septic shock, delayed source control, tertiary peritonitis and advanced cirrhosis; SBP signals poor long-term prognosis without transplantation.
When to get medical help
Peritonitis can become life-threatening within hours. Contact your doctor or dialysis team the same day if:
- Your peritoneal dialysis fluid looks cloudy
- You have cirrhosis and develop a fever, new belly pain or new confusion
- You have a fever or growing belly pain after recent belly surgery
Go to the emergency department or call emergency services if you have:
- Sudden or severe belly pain, especially if your belly is hard or very tender to touch
- Belly pain with fever, vomiting or not being able to pass gas or stool
- Signs of sepsis, such as confusion, very fast breathing, a racing heart, cold or blotchy skin, or feeling faint
In an emergency, call 911.
References
- U.S. National Library of Medicine. MeSH: Peritonitis. meshb.nlm.nih.gov
- MedlinePlus: Peritonitis. medlineplus.gov/ency/article/001335.htm
- NHS: Peritonitis. nhs.uk/conditions/peritonitis/
- AASLD: Diagnosis, evaluation, and management of ascites, spontaneous bacterial peritonitis and hepatorenal syndrome (2021 practice guidance). doi.org/10.1002/hep.31884
- SIS/IDSA: Diagnosis and management of complicated intra-abdominal infection in adults and children (2010 guideline). doi.org/10.1086/649554