Introduction: Pneumocystis pneumonia (PCP) is an opportunistic life-threatening infection, especially for immunocompromised individuals. A trimethoprim-sulfamethoxazole (TMP-SMX) combination is commonly used for the treatment of PCP, targeting both dihydrofolate reductase (DHFR) and dihydropteroate synthase (DHPS) enzymes. Several studies have already shown that polymorphisms in the DHPS gene are associated with drug resistance. The present study analyzed DHFR gene polymorphisms in Pneumocystis jirovecii recovered from clinical samples from patients admitted to a tertiary care health center in New Delhi, India. Methodology: Detection of P. jirovecii was performed using Gomori methenamine silver staining (GMS) and nested polymerase chain reaction (PCR) assay targeting the mitochondrial large subunit ribosomal RNA (mt LSU rRNA) gene. The DHFR gene was amplified using nested PCR protocol and was sequenced for detection of polymorphisms. Results: Of 180 clinical samples, only 4% (7/180) were positive by GMS staining, and 10% (18/180) were positive by mt LSU rRNA PCR assay. Of these 18 positive samples, only 77% (14/18) were amplified by the DHFR gene PCR assay. A total of 16 nucleotide substitutions were observed in 42% (6/14) samples targeted for the DHFR gene, of which 8 nucleotide substitutions were synonymous and the rest were non-synonymous. Conclusions: The DHFR gene mutations found in this study may possibly indicate an association of process likely to contribute to therapeutic failure or an evolutionary process, and warrant continuous monitoring.