Novel 5-substituted pyrrolo[2,3-d]pyrimidines as dual inhibitors of glycinamide ribonucleotide formyltransferase and 5-aminoimidazole-4-carboxamide ribonucleotide formyltransferase and as potential antitumor agents.