Résumé : BACKGROUND: Using data from the COHERE collaboration, we investigated whether primary prophylaxis for pneumocystis pneumonia (PcP) might be withheld in all patients on antiretroviral therapy (ART) with suppressed plasma human immunodeficiency virus (HIV) RNA (≤400 copies/mL), irrespective of CD4 count. METHODS: We implemented an established causal inference approach whereby observational data are used to emulate a randomized trial. Patients taking PcP prophylaxis were eligible for the emulated trial if their CD4 count was ≤200 cells/µL in line with existing recommendations. We compared the following 2 strategies for stopping prophylaxis: (1) when CD4 count was >200 cells/µL for >3 months or (2) when the patient was virologically suppressed (2 consecutive HIV RNA ≤400 copies/mL). Patients were artificially censored if they did not comply with these stopping rules. We estimated the risk of primary PcP in patients on ART, using the hazard ratio (HR) to compare the stopping strategies by fitting a pooled logistic model, including inverse probability weights to adjust for the selection bias introduced by the artificial censoring. RESULTS: A total of 4813 patients (10 324 person-years) complied with eligibility conditions for the emulated trial. With primary PcP diagnosis as an endpoint, the adjusted HR (aHR) indicated a slightly lower, but not statistically significant, different risk for the strategy based on viral suppression alone compared with the existing guidelines (aHR, .8; 95% confidence interval, .6-1.1; P = .2). CONCLUSIONS: This study suggests that primary PcP prophylaxis might be safely withheld in confirmed virologically suppressed patients on ART, regardless of their CD4 count.