Using ethyl acetoacetate and thionyl chloride as raw materials, the condensation reaction is carried out in the presence of a solvent. The dosage ratio of ethyl acetoacetate, thionyl chloride, and solvent is 1:1.37~2.75:2.31~4.62 by mass, the temperature of the condensation reaction is 75~95°C, and the reaction time is 5.5-9h. After stopping the reaction, evaporate most of the solvent and unreacted thionyl chloride under normal pressure, and then distill the remaining organic phase under reduced pressure to collect the 107-108°C/1.87kPa fraction to obtain Ethyl 2-chloroacetoacetate Products. The solvents used were n-heptane or, dichloroethane or toluene.