Pneumocystis jirovecii can cause life-threatening pneumonia following treatment for haematological malignancies or after HSCT. The mortality rate of P. jirovecii pneumonia (PCP) in these patients is 30%–60%, especially after HSCT. The clinical presentation of PCP in haematology differs from that associated with HIV infection, with the disease being acute and more often severe, having a lower fungal burden and being more frequently linked to treatment with corticosteroids. Most cases occur in patients not receiving adequate prophylaxis. The development of new therapies, including targeted treatments and monoclonal antibodies in various haematological diseases, justifies constant vigilance in order to identify new at-risk populations and give prophylaxis accordingly. The fifth and sixth European Conferences on Infections in Leukaemia (ECIL-5 and ECIL-6) aimed to review risk factors for PCP in haematology patients and to establish evidence-based recommendations for PCP diagnosis, prophylaxis and treatment. This article focuses on the magnitude of the problem, the main differences in clinical presentation between haematology patients and other immunocompromised populations, especially HIV-infected patients, and the main risk factors.