The invention discloses a preparation method for a hybrid composite coating used for magnesium-based biological material surface medication. The preparation method mainly comprises the following steps: A, grinding and polishing a magnesium-based biological material, cleaning the magnesium-based biological material, and vacuum-drying the magnesium-based biological material; B, soaking the magnesium-based biological material into a NaOH solution for 6-12 hours to obtain an alkaline-activated magnesium-based biological material; C, mixing a (NH4)2TiF6 solution with a H3BO3 solution to prepare an inorganic mixed solution with a pH being 2.7-2.9; preparing an organic solution with concentration being 2-10g/L, and regulating the pH value of the organic solution to 5-6, wherein the organic solution is a solution of phosphonic substances; D, soaking the magnesium-based biological material into the organic solution, and preserving the heat for 10-20 minutes at a temperature being 30-40 DEG C; E, soaking the magnesium-based biological material into the inorganic mixed solution, and preserving the heat for 30-40 minutes at a temperature being 45-55 DEG C; and F, repeating steps D and E for 1-10 times, thereby obtaining the hybrid composite coating. The coating prepared by the preparation method is good in binding force with the magnesium-based biological material, so that corrosion resistance and mechanical property of the magnesium-based biological material are improved, and therefore, the coating has very good biocompatibility; and the preparation method is gentle in preparation condition and is simple and controllable in process.