The present invention relates to a preparation method of vildagliptin, comprising using L-prolineamide as a raw material, dehydrating with cyanuric chloride to generate (S)-2-cyanopyrrolidine; (S)-2-pyrrolidine The reaction of cyanopyrrolidine and hydrogen chloride to form a salt gives Intermediate ‑1; Intermediate ‑1 reacts with chloroacetic acid under the conditions that EDCI is the condensation agent, HOBt is the catalyst, and DIEA is the acid-binding agent to obtain Intermediate ‑2; Intermediate ‑ 2 react with 3-amino-1-adamantanol to obtain vildagliptin, which is filtered, concentrated, crystallized, and then filtered to obtain the crude product of vildagliptin; after refining with acetone, the finished product of vildagliptin is obtained, and the present invention creates A new route, which can reduce the generation of by-products in each step, reduce the content of by-product vildagliptin disubstituted and 3-amino-1-adamantanol in the product to less than 0.1%, effectively improve the vildagliptin The yield and purity of Tin are high, the raw materials are easy to obtain, and the conditions are mild, so it is suitable for large-scale industrial production.