An N-alkyl tryptanthrin derivative, a preparation method for same, and an application thereof. The structure of the derivative is as represented by formula I. The N-alkyl tryptanthrin derivative can serve as a highly active IDO inhibitor, for use in preparing a medicament for prevention and/or treatment of a disease having a pathological characteristic of an IDO-mediated tryptophan metabolic pathway.La présente invention concerne un dérivé N-alkyle tryptanthrine, un procédé de préparation de celui-ci, et une application de ce dernier La structure du dérivé est telle que représentée par la formule I le dérivé N-alkyle tryptanthrine peut servir en tant quinhibiteur IDO hautement actif, pour être utilisé dans la préparation dun médicament pour la prévention et/ou le traitement dune maladie présentant une caractéristique pathologique dune voie métabolique du tryptophane médiée par IDO.