The invention provides a preparation method of
sildenafil, which comprises the following steps: carrying out
condensation reaction on initial raw materials 2-ethoxybenzoic acid and N-hydroxysuccinimide to obtain a compound II, and reacting with 1-methyl-3-propyl-4-aminopyrazolyl-5-
formamide hydrochloride to obtain a compound III; after cyclizing and chlorinating the compound III, carrying out
nucleophilic substitution reaction with
alcohol to obtain a compound IV; reacting the compound IV with
chlorosulfonic acid to obtain a compound V; reacting the compound V with N-methylpiperazine to obtain a compound VI; and carrying out
hydrolysis reaction to obtain the target compound
sildenafil. The invention has the advantages of accessible
raw material, stable intermediate, high product yield, low production cost and mild
reaction conditions, is simple to operate, and can easily control the
reaction conditions of the intermediate; compared with the existing method, the invention has fewer side reactions, and enhances the yield and purity of the product; and the product contains fewer impurities, the purification treatment process is simple and convenient, and thus, the invention has high industrial applicability. The reaction
route is as follows.