A practical synthesis of 3-methyl-N-substituted-1H-indole (N-substituted-skatole) starting from 2-halogen phenylamine was described, by following acetylation or sulfonylation, alkylation and the intramolecular Heck reaction. In this article, effects of the reactions temperature, solvent, time, proportion and the mount of catalyst were investigated. Target product has an application prospect.