The invention discloses a synthesis method of a 2, 3-diamino indole compound, which belongs to the technical field of chemical synthesis, and comprises the following operation steps: adding o-ethynylaniline, arylamine, lithium perchlorate, tetrabutylammonium iodide and tetramethylpiperidine oxide into a three-necked bottle, finally adding a solvent, under the condition of electrification, taking a platinum electrode as an anode, and reacting for 2-4 hours to obtain the 2, 3-diamino indole compound. The preparation method comprises the following steps: by taking an organic solvent as a cathode and a carbon electrode as a cathode, stirring and reacting for 8-12 hours under a constant-current condition, after the reaction is finished, extracting reaction liquid, carrying out rotary evaporation on the extracted reaction liquid, and carrying out silica gel column chromatography separation to obtain a target product, according to the method, metal catalysis is not needed, the reaction can be carried out at normal temperature, mild reaction can be carried out in a solvent system of water and acetonitrile, the method is particularly suitable for synthesis of some drugs, the problems of metal residues and the like are fundamentally solved, and high economic applicability is achieved; the problems that expensive transition metal is basically used and higher reaction temperature is needed in the existing method are solved.