The invention provides a preparation method of a 5,6-dihydropyridine-2 (1H)-one derivative, and particularly relates to a 1-(piperidine-2-keto-1-yl)-4-(5,6-dihydro-3-R substituent pyridine-2 (1H)-keto-1-yl) benzene preparation method, wherein the R substituent is chlorine or morpholine-4-yl. According to the invention, p-acetamido aniline is used as a raw material, and amidation with delta-valerolactone, halogenation with a halogenation reagent or sulfonylation with sulfonyl chloride, condensation, deacetylation, amidation with 2,2-dichloro-delta-valerolactone, halogenation with a halogenationreagent or sulfonylation with sulfonyl chloride, condensation elimination or condensation elimination substitution in the presence of morpholine are performed to obtain the target product. Accordingto the invention, the raw materials used in the preparation method are cheap, easy to obtain and low in cost; the process operation is simple, reaction conditions are easy to realize, the wastewater yield is low, and safety and greenness are realized; and the reaction selectivity of each step is high, the product yield and purity are high, and industrial production is facilitated.