The invention discloses Omarigliptin and a preparation method of an intermediate of the Omarigliptin, and provides a preparation method of an Omarigliptin intermediate I. The preparation method comprises the following step: enabling a compound II and a compound III to undergo a condensation reaction in a polar aprotic organic solvent in the presence of lewis acid and sodium borohydride acetate to obtain the Omarigliptin intermediate I. The preparation method disclosed by the invention has the advantages of simple and safe operation, no need of special purification equipment, short reaction time, fewer by products, high yield and simple post treatment operation; column chromatography separating operation in a post treatment process is avoided; a prepared product is high in purity, the optical purity is greater than or equal to 99,9 percent, the purity of a related substance is greater than or equal to 98.5 percent, and the purities of all impurities are smaller than or equal to 0.5 percent separately; the preparation method is low in production cost and is suitable for industrial production. In addition, according to the Omarigliptin prepared from the Omarigliptin intermediate I obtained by adopting the preparation method disclosed by the invention, the purity is greater than or equal to 99.5 percent, the purities of all the impurities are smaller than or equal to 0.1 percent separately, and the standards of crude drugs are reached. (The formula is shown in the description).