The invention relates to a synthetic method of an aza-seven-membered ring
nitrosamine impurity, which comprises the following steps: S1, condensing a compound I and a compound II in a
solvent 1 to obtain a solution A containing a compound III; s2, a
reducing agent is added into the solution A containing the compound III obtained in the S1 for a reduction reaction, after the reaction is completed, aftertreatment is conducted, and a compound IV is obtained; s3, hydrolyzing the compound IV obtained in S2 in an
aqueous solution of strong acid, filtering after
hydrolysis is completed, adjusting the pH value to 6.5-7.2, adding a compound V, heating, refluxing, condensing, dehydrating and cyclizing, and obtaining a solution B containing a compound VI after reaction is completed; and S4, concentrating the
solvent in the solution B containing the compound VI obtained in the step S3 under reduced pressure, adding a
solvent 2, filtering, adding a
nitrosation reagent, and after the reaction is finished, performing
column chromatography purification to obtain the target
impurity. At present, no report related to synthesis of the
nitrosamine impurity exists in the prior art, and the
nitrosamine impurity synthesis method lays a foundation for
quality control of
azelastine.