The invention discloses a preparation method of di-methyl-heptyl methyl phosphonate. The method comprises the steps of (1) adding diphenyl methyl phosphonate and 2-octanol to a reactor according to the molar ratio of 1:(2 to 2.5), then adding catalysts to the reactor, and uniformly stirring, so that reaction liquid is obtained; (2) leading inert gas to the reactor, vacuumizing after the reactor is filled with the inert gas, heating the reaction liquid to 50 DEG C to 200 DEG C for reaction for 4 h to 6 h at the same time, and continuously vacuumizing during reaction so as to remove phenol which is generated during reaction; (3) cooling products to room temperature after the reaction is finished, then washing with water to be neutral, then reducing pressure and distilling, so that the di-methyl-heptyl methyl phosphonate is obtained. The preparation method has the advantages of simple synthetic route, mild reaction conditions, short reaction time, less side reaction, high reaction yield and no discharge of etchant gas and is suitable for industrial production.