Magnesium and its alloys have been foreseen as promising bone-implant owing to good biocompatibility, high strength, mechanical properties, and biodegradability to replace the conventional bio-metals (Titanium, stainless-steel, Co-Cr alloys) in orthopedic applications. However, high corrosion rate and high degradation rates adversely effects like abrupt evolution of H2 gas and localized alkalization in a physiological environment limit its medical applications. To overcome these issues, phosphate-based surface coating is developed on Mg-alloy to resist the high biodegradation and corrosion rate utilizing magnesium substrate as source of magnesium ion through a single-step hydrothermal process. Controlling the fast corrosion rate and localized alkalization would reduce the antibacterial character of magnesium-based implants therefore, the simple phosphate-based coatings has been induced by doping it with zinc ions due to its physiological tolerance and excellent antibacterial efficacy. The doping of zinc ions may provide a sustained drug-free antibacterial characteristic for potential application in orthopedics. The synthesized phosphate-based coating was characterized using advanced techniques like Scanning Electron Microscopy, X-ray Diffraction, and wettability test, followed by comprehensive electrochemical testing to assess its corrosion behavior. The in vitro immersion test in simulated body fluid (SBF) indicates that deposition of phosphate and zinc doped phosphate coatings reduces the degradation rate consequently minimized the fast dissolution of Mg2+ ions and OH- in physiological environment. Additionally, cytotoxicity and biocompatibility were evaluated using Alamar Blue and live/dead assays on the MC3T3-E1 mouse osteoblast cell line. These assays demonstrated good cell viability, indicating the coatings possess favorable cytocompatibility and support cellular metabolic activity.