Peritonitis is inflammation of the peritoneum, the thin lining that wraps the organs in your belly and lines the abdominal wall. Most of the time it happens because bacteria reach that lining, and it is a medical emergency. The bacteria can come from very different places: a burst bowel, a scarred liver, or a dialysis tube. That source decides whether treatment means an operation or mainly antibiotics.
How the Belly Lining Normally Fights Infection
The belly lining is a thin, slippery membrane that coats the inside of the abdomen and covers the organs. It makes a small amount of fluid that lets the organs slide past each other as you move and digest. Because it covers so much territory, inflammation that starts in one spot can spread across the whole belly.
The lining also defends itself. Fast-acting defences clear fluid out of the cavity and send white blood cells to destroy bacteria.1PubMed. Peritoneal defences and peritoneum-associated lymphoid tissue The lining can absorb bacteria and their toxins, and it can wall off an infection so it doesn’t spread.2PubMed. Defense mechanisms in the peritoneum Its cells also release chemical signals that call in immune cells and help repair damage.3Peritoneal Dialysis International: Journal of the International Society for Peritoneal Dialysis. Intrinsic Cells: Mesothelial Cells — Central Players in Regulating Inflammation and Resolution The swelling, pain and fever of peritonitis are largely this defence response working at full strength.4PubMed. Peritoneal mesothelial cells produce inflammatory related cytokines
Walling off can turn a spreading infection into a contained pocket called an abscess. An abscess often still needs drainage, but it is less immediately dangerous than widespread infection.
Inflammation starts when these defences are overwhelmed or weakened. The lining clears fluid and bacteria through tiny drainage channels on its underside, and that drainage only works so fast. A burst bowel releases far more bacteria, plus digestive fluid and stool, than the lining can clear, so the germs multiply faster than they are removed. Digestive fluid and bile also irritate the lining directly, so inflammation can begin before the bacteria have multiplied much. In conditions like cirrhosis, on the other hand, weakened defences let much smaller numbers of bacteria take hold.5PubMed Central. Spontaneous bacterial peritonitis
A Burst or Torn Gut Is the Most Common Cause
Peritonitis from a hole in the gut is the type most people hear about. Common sources include a burst appendix, a perforated stomach ulcer, diverticulitis and bowel injury. In one large hospital series of perforations, the colon was the most common site, at about 4 in 10 cases.6PubMed. Epidemiology and Microbiology of Secondary Peritonitis Caused by Viscus Perforation: A Single-Center Retrospective Study
The pain is often sudden and severe, then spreads across the belly. The belly can become hard and very tender, and moving or coughing hurts. Fever, a fast heartbeat, nausea and feeling faint are common. Sudden severe belly pain with these signs needs emergency care.
A leak is more than a local problem. Gut contents are full of bacteria, and the rest of the belly is normally almost germ-free, so a hole sends them into a place with few defences against that load. As inflammation spreads, the lining leaks fluid into the belly, and the body can lose fluid from the bloodstream. That is why blood pressure can fall and the heart can race in a serious case, and why such cases can turn dangerous within hours.
The leak carries many kinds of gut bacteria at once, such as E. coli and Enterococcus.6PubMed. Epidemiology and Microbiology of Secondary Peritonitis Caused by Viscus Perforation: A Single-Center Retrospective Study So doctors treat it with antibiotic combinations that cover several types of bacteria together.7PubMed. Basis for selecting optimum antibiotic regimens for secondary peritonitis In that hospital series about 1 in 9 patients with a perforation died.6PubMed. Epidemiology and Microbiology of Secondary Peritonitis Caused by Viscus Perforation: A Single-Center Retrospective Study
Timing matters. The longer the spill continues, the more of the belly is contaminated and the harder it is to clean up. Delay in reaching hospital is one reason an appendix that has burst is more dangerous than one removed while still inflamed.
No single finding on examination settles the diagnosis. The classic test of pain when a pressing hand is released did not reliably predict peritonitis in emergency patients.8PubMed. Rebound tenderness test Doctors combine the exam with blood tests and usually a CT scan, which shows thickening of the lining and helps point to the cause.9PubMed Central. CT findings in acute peritonitis: a pattern-based approach
Some people don’t look as sick as they are. Older people and people on steroids may have milder pain or a softer belly than expected, even with a serious leak. In those groups, confusion or simply feeling very unwell can be the main sign, so a mild exam does not rule out a serious problem.
Infection of Belly Fluid in Liver Cirrhosis
Spontaneous bacterial peritonitis, or SBP, is infection of the fluid that collects in the belly in advanced cirrhosis, with no hole in the gut.10PubMed. Spontaneous bacterial peritonitis: from pathophysiology to prevention It is the most common infection in people with advanced cirrhosis.10PubMed. Spontaneous bacterial peritonitis: from pathophysiology to prevention Gut bacteria cross the bowel wall into lymph nodes and the belly fluid.10PubMed. Spontaneous bacterial peritonitis: from pathophysiology to prevention High pressure in the liver’s blood vessels, altered gut bacteria and weakened immune defences make this crossing possible.10PubMed. Spontaneous bacterial peritonitis: from pathophysiology to prevention
The fluid itself comes from the scarring. Scarring of the liver raises pressure in the blood vessels that drain the gut, and fluid leaks out of them into the belly. It is a pool with weak immune protection, so bacteria that reach it multiply more easily than in a healthy belly. Not everyone with cirrhosis has ascites, so SBP is a concern mainly for those who do.
SBP is usually caused by bacteria from the gut, though hospital-acquired cases can involve other germs.10PubMed. Spontaneous bacterial peritonitis: from pathophysiology to prevention To confirm it, doctors pass a thin needle through the belly wall under local numbing and draw off a small sample of fluid. The lab counts white blood cells in it, and a high count of a certain type points to infection even before bacteria grow in culture. Doctors often start antibiotics on that count without waiting, because treatment should not be delayed. Samples may also go into culture bottles to identify the germ and guide any later change of antibiotic. Researchers are testing blood markers that may one day help spot SBP sooner, but these are not yet standard.11Egyptian Liver Journal. A novel serum index for accurate diagnosis of spontaneous bacterial peritonitis in cirrhotic patients without other infections
SBP can be easy to miss. Symptoms can be mild: a low fever, vague belly discomfort, or new confusion. Some people have no belly pain at all. Anyone with cirrhosis and belly fluid who feels worse should get the fluid tested promptly.
It also differs from a gut leak. It usually involves one type of bacteria, not a mixture, and it is usually treated with antibiotics alone, without surgery. Finding a mixed infection makes doctors look for a hidden hole instead.
Peritonitis During Peritoneal Dialysis
Peritoneal dialysis, or PD, cleans the blood by filling the belly with fluid through a permanent catheter. That catheter creates a channel from the skin surface into a space that is normally sterile. Bacteria can enter at the exit site on the skin, along the tunnel under the skin, or through the tubing when it is connected for an exchange. The belly is filled many times a day, so each connection is another chance for contamination, and technique matters.
Skin bacteria can also settle on the catheter in a slimy layer, known as a biofilm.12PubMed. Biofilms in peritoneal dialysis In one group of patients whose catheters were removed because of peritonitis, almost 9 in 10 catheters carried a biofilm.13PubMed Central. Bacterial biofilm formation of peritoneal dialysis catheter in patients with peritonitis-associated catheter removal Antibiotics in the fluid have trouble reaching bacteria deep in it, and the immune system struggles to clear it too. Mature biofilms resist antibiotics strongly, so they can cause repeated peritonitis and loss of the catheter.12PubMed. Biofilms in peritoneal dialysis Infection can seem to clear and then return from the catheter itself, so removal is sometimes the only cure.
Cloudy drained fluid is the classic first sign. Belly pain and fever may follow. Report cloudy fluid to your dialysis unit the same day and bring the bag.
Day to day, prevention comes down to habits. Wash hands carefully before every exchange. Keep the catheter exit site clean and watch for redness or discharge. If the tubing becomes disconnected or contaminated, call the unit, because preventive antibiotics are suggested then.
Long-term PD can also wear the lining. Years of exposure to dialysis fluid can strip away its protective cell layer.3Peritoneal Dialysis International: Journal of the International Society for Peritoneal Dialysis. Intrinsic Cells: Mesothelial Cells — Central Players in Regulating Inflammation and Resolution3Peritoneal Dialysis International: Journal of the International Society for Peritoneal Dialysis. Intrinsic Cells: Mesothelial Cells — Central Players in Regulating Inflammation and Resolution
Less Common Causes Without Ordinary Gut Bacteria
Pelvic inflammatory disease from gonorrhea or chlamydia can spread upward to the lining around the liver, a condition called Fitz-Hugh-Curtis syndrome.14PubMed. A case report with Fitz-Hugh-Curtis syndrome, what does it mean? It causes pain under the right ribs and can be mistaken for gallbladder trouble.15PubMed Central. Fitz-Hugh-Curtis Syndrome: A Diagnosis to Consider in a Woman with Right Upper Quadrant Abdominal Pain without Gallstones Sometimes it is the only sign of the pelvic infection.15PubMed Central. Fitz-Hugh-Curtis Syndrome: A Diagnosis to Consider in a Woman with Right Upper Quadrant Abdominal Pain without Gallstones When gallbladder tests are normal, doctors may need to think of pelvic infection and test for gonorrhea and chlamydia. Antibiotics treat it, and sexual partners need testing and treatment too, otherwise the infection can pass back and forth.
Familial Mediterranean fever is an inherited condition causing repeated attacks of fever and belly-lining inflammation without infection.16PubMed Central. Familial Mediterranean Fever: A Diagnostic and Therapeutic Challenge It is the most common inherited inflammatory disease of this kind.17PubMed. Familial Mediterranean fever Attacks settle on their own but keep returning.17PubMed. Familial Mediterranean fever An attack can look like a surgical emergency, so some people have had operations they did not need. Attacks usually last a day or a few days, leaving the person well between episodes. The condition is most often found in people with ancestry around the Mediterranean and Middle East, though it can occur elsewhere. A daily medicine, usually colchicine, is the standard treatment to prevent attacks.
How Peritonitis Is Treated
A gut leak must be closed or drained, usually by surgery, because antibiotics alone cannot clear a continuing spill. Surgeons may wash out the belly, repair or remove the damaged section of gut, or place a drain for a contained pocket. If the bowel is too inflamed to rejoin safely, the surgeon may bring the end out through the skin as a stoma, which is sometimes temporary. Broad antibiotics given through a vein cover the mixed bacteria, chosen to fit local resistance patterns.7PubMed. Basis for selecting optimum antibiotic regimens for secondary peritonitis
After the first operation, surgeons may operate again only if the patient fails to improve, rather than on a fixed schedule.18PubMed Central. Surgical treatment of secondary peritonitis In a study, this approach meant fewer repeat operations, and over half of these patients never needed another.18PubMed Central. Surgical treatment of secondary peritonitis The team watches for signs of not improving, such as continued fever, rising blood tests or worsening organ function. If those appear, a scan or a return to theatre follows.
SBP is treated with antibiotics, and giving albumin, a blood protein, through a drip as well lowers the risk of kidney failure and death.19PubMed. Effect of intravenous albumin on renal impairment and mortality in patients with cirrhosis and spontaneous bacterial peritonitis Albumin helps keep fluid in the bloodstream and protects blood flow to the kidneys. The benefit is clearest in people at higher risk, such as those with already strained kidneys or high bilirubin.20PubMed. Role of albumin treatment in patients with spontaneous bacterial peritonitis Doctors weigh kidney tests and bilirubin levels, so a person at lower risk may not get it. You can ask whether your own results make it advisable.
In PD peritonitis, speed matters: every hour of delay in starting antibiotics raises the risk of PD failing by about 5.5%.21PubMed Central. Peritoneal Dialysis–Associated Peritonitis: Suggestions for Management and Mistakes to Avoid Antibiotics added directly to the dialysis fluid are generally preferred over giving them through a vein.22PubMed. Treatment of peritoneal dialysis-associated peritonitis: a systematic review of randomized controlled trials If infection keeps returning, removing and replacing the catheter works better than trying to dissolve the biofilm.22PubMed. Treatment of peritoneal dialysis-associated peritonitis: a systematic review of randomized controlled trials
Tertiary peritonitis is infection that returns after the first infection seemed controlled.23PubMed Central. Tertiary peritonitis: A disease that should not be ignored It often involves drug-resistant germs and is treated with more antibiotics and drainage.23PubMed Central. Tertiary peritonitis: A disease that should not be ignored In one intensive care group, 6 in 10 people who developed it died, versus about 1 in 10 who did not.24PubMed. Identification of patients at risk for development of tertiary peritonitis on a surgical intensive care unit
A hospital stay usually starts with IV fluids, pain relief and antibiotics. Fluid samples are sent to identify the germ, and antibiotics may be changed once results arrive. Some patients need intensive care if blood pressure drops or organs struggle.
Useful questions for the care team: Which type of peritonitis is this, and what caused it? Is surgery or drainage needed, or antibiotics alone? How long will antibiotics last, and what signs mean they are not working?
Recovery and Long-Term Effects
People who survive severe peritonitis without cancer generally end up with an acceptable quality of life.25PubMed. Short- and long-term outcome and health-related quality of life after severe peritonitis Even after the most intensive treatment with repeated operations, about three-quarters regain a good quality of life.26PubMed. Quality of life after severe bacterial peritonitis and infected necrotizing pancreatitis treated with open management of the abdomen and planned re-operations Some live with hernias of the belly wall, lasting nerve damage or mental health problems needing support.26PubMed. Quality of life after severe bacterial peritonitis and infected necrotizing pancreatitis treated with open management of the abdomen and planned re-operations
Recovery is gradual. Fatigue and weakness can last weeks after a long hospital stay. Wound care matters, and lifting should be limited to protect the belly wall. Appetite and strength return slowly with walking and good nutrition.
Infection or surgery can leave adhesions, bands of scar tissue joining organs inside the belly.27PubMed Central. Pathophysiology and prevention of postoperative peritoneal adhesions They can form silently, so many people never know they have them. A band can kink or pinch a loop of bowel, causing a blockage, sometimes months or many years after the illness. That is why vomiting with a swollen belly after peritonitis deserves attention even long after discharge.
A hernia appears as a bulge near the surgical scar, often more noticeable when coughing or standing. It occurs because the healing wall of the belly is weaker where it was opened, especially after repeated operations or infection. One that becomes hard, painful or cannot be pushed back needs urgent attention, while a painless one can be reviewed with the surgeon.
After long PD, a rare complication is encapsulating peritoneal sclerosis, a thickening of the lining that can trap the bowel.28PubMed Central. Encapsulating peritoneal sclerosis Treatment includes stopping PD, nutrition support, steroids or tamoxifen, and surgery only when these fail.28PubMed Central. Encapsulating peritoneal sclerosis
After going home, return of fever or worsening belly pain needs prompt medical review. So does vomiting with a swollen belly and no stool or wind, a sign of blockage, and so does redness or discharge from the wound.
Some recurrences can be prevented. People with cirrhosis who have had SBP are often kept on preventive antibiotics. PD patients should review exchange technique with their nurse. Treating ulcers and diverticular disease reduces the risk of a leak.

