| Type | Description |
|---|---|
| Primary (spontaneous bacterial peritonitis) | Infection of ascitic fluid without a breach of the gut, usually in cirrhosis; diagnosed by an ascitic neutrophil count over 250 cells/mm³; treated with antibiotics and albumin, not surgery |
| Secondary | From perforation, anastomotic leak or spreading infection from an organ (appendix, diverticulum); needs source control |
| Tertiary | Persistent or recurrent peritoneal infection after treatment of secondary peritonitis, often with resistant organisms or fungi, in critically ill patients |
Chemical peritonitis from bile or gastric acid becomes infected within hours.