Pneumocystis jirovecii pneumonia (PCP) can affect various types of immunocompromised patients. We sought to evaluate the diagnostic accuracy of (1→3)-β-d-glucan (BDG) for the diagnosis of PCP. We carried out a meta-analysis of relevant studies, identified through PubMed and Scopus. Eligible studies were those that reported BDG diagnostic data in cases with documented PCP and controls with other conditions. Cases of invasive fungal infections and healthy controls were excluded. We performed a bivariate meta-analysis of sensitivity and specificity and constructed a hierarchical summary receiver operating characteristics (HSROC) curve. Fourteen studies were included in the meta-analysis. BDG data were analysed for 357 PCP cases and 1723 controls. The average (95% confidence interval) sensitivity and specificity of BDG were 94.8% (90.8–97.1%) and 86.3% (81.7–89.9%), respectively. The positive and negative likelihood ratios were 6.9 (5.1–9.3) and 0.06 (0.03–0.11), respectively. The area under the HSROC curve was 0.965 (0.945–0.978). Serum BDG shows excellent sensitivity and very good specificity in the diagnosis of PCP. Still, in clinical practice the test results should be interpreted in the context of the underlying clinical characteristics of the individual patient.