In this cross-sectional study of HIV-infected Ugandans admitted to a tertiary care hospital with pneumonia who underwent bronchoscopy, the prevalence of Pneumocystis pneumonia was low, but all P. jirovecii isolates harbored mutations in the dhps gene. Here, DHPS is linked to pneumocystosis.