DHFR and bacterial infectious disease: Trimethoprim is a competitive inhibitor of dihydrofolate reductase (DHFR), an enzyme in the bacterial folate metabolism pathway, and has been used since 1960s to treat bacterial infections.