The present invention discloses pharmaceutical compositions containing 1-methyl-D-tryptophan and its utility to enhance rejection of tumor or virus-infected cells or to delay the progression of tumor growth. The present invention shows that pharmaceutical compositions containing 1-methyl-D-tryptophan enhance the efficacy of alternative antitumor or antiviral treatments such as chemotherapy, vaccination or cytokine therapy.