The present invention demonstrates for the first time that alpha-methyl-tryptophan is an inhibitor of the enzyme indoleamine diooxygenase (IDO). The present invention includes the use of alpha-methyl-tryptophan in methods of modulating immune responses and treating cancer and infections.