1H-Indazole was a novel key pharmacophore with potent IDO1 inhibitory activity. Compound 2g exhibited the highest activity with an IC50 value of 5.3 μM. The interactions with heme ion and hydrophobic Pocket A and B are important. The substituents at the both 4-position and 6-position largely affect activity.