The deployment of permanent biomaterials has significantly modified in the last few decades. Magnesium (Mg) and its alloys' inherent ability to break down without producing harmful products has opened up a wide range of biomedical applications, including musculoskeletal, orthopedic, and cardiovascular stent applications. This work investigated the control of the degradation rate and also improved the corrosion resistance of novel magnesium biodegradable alloy via fluoride chemical conversion coating. However, the surface roughness, corrosion resistance, and degradation rate of the chemical conversion film (MgF2) with various physiological solutions have been investigated in this study. We established the rules that the MgF2 film with a greater thickness of 14.21μm and better corrosion resistance were produced under longer preparation times through in vitro hydrogen evolution volume 0.037 ml/cm 2 change P.H. of solutions, composition and structure analysis, and roughness of surface 27.8 nm. Comparing the variations of various classification techniques, addition of the MgF2 film can have high bonding strength with substrate greater than 50 MPa as the corrosion rate with PDP reduced from 3.37 mm/y to 0.62mm/y for Alloy with coating MgF2 in simulated blood plasma, respectively while decreasing the corrosion rate in phosphate buffer saline from 17.07 mm/y to 1.55 mm/y. At the same time, we showed that the MgF2 film was highly cytocompatible and that osteoblasts attached to and formed satisfactorily on its surface. These findings significantly affect how the MgF2 film is used in cardiac stents.