Background and Aim: Spontaneous bacterial peritonitis (SBP) is a common infection in liver cirrhosis. This systematic review and meta-analysis provide detailed information on the prevalence of SBP among hepatitis B virus (HBV) and hepatitis C virus (HCV)-related liver cirrhosis globally. Methods: A systematic search for articles describing the prevalence of SBP in HBV and HCV-related cirrhosis was conducted following the Preferred Reporting Items for Systematic Reviews and Meta-analysis (PRISMA) guidelines. Our search returned ten (10) eligible articles involving 1713 viral cirrhosis cases representing eight (8) countries. A meta-analysis was performed on our eligible studies using the random effect model. A protocol was registered with PROSPERO (CRD42022321790). Results: The pooled prevalence of SBP in HBV-associated cirrhosis had the highest estimate [8.0% (95% CI, 2.7−21.0%; I2 = 96.13%; p < 0.001)], followed by SBP in HCV-associated liver cirrhosis [4.0% (95% CI, 1.3%−11.5%; I2 = 88.99%; p < 0.001)]. China (61.8%, CI: 57.1−66.3%), the USA (50.0%, CI: 34.6−65.4%), and Holland (31.1%, CI: 21.6−42.5%) had the highest estimate for SBP in HBV associated liver cirrhosis, SBP in HCV associated liver cirrhosis and SBP in HBV + HCV associated liver cirrhosis respectively. There was a significant difference in the prevalence of SBP in viral hepatitis-associated liver cirrhosis with the year of sampling and method of SBP detection at P < 0.001. There was an increase in SBP incidence at the beginning of 2016 across the liver cirrhosis in this study. Conclusion: The findings of this review revealed a rise in the incidence of SBP in viral hepatitis over the last decade. The latter indicates a possible future rise in the global prevalence of SBP among HBV and HCV-related liver cirrhosis.