The mechanical integrity of resorbable implants during service, especially in load bearing orthopaedic applications, is critical. The high degradation rate of resorbable magnesium and magnesium-based implants in body fluid may potentially cause premature in-service failure. In this study, a magnesium alloy (AZ91) was potentiostatically coated with hydroxyapatite at different cathodic voltages in an attempt to enhance the mechanical integrity. The mechanical integrity of the uncoated and hydroxyapatite coated alloys was evaluated after in vitro testing of the coated samples in simulated body fluid (SBF). The uncoated alloy showed 40% loss in the mechanical strength after five days exposure to SBF. However, the hydroxyapatite coated alloy exposed to SBF showed 20% improvement in the mechanical strength as compared to that of the uncoated alloy. The alloy coated potentiostatically at -2 V performed better than the -3 V coated alloy. The cross-sectional analysis of the coatings revealed relatively uniform coating thickness for the -2 V coated alloy, whereas the -3 V coated alloy exhibited areas of uneven coating. This can be attributed to the increase in hydrogen evolution on the alloy during -3 V coating as compared to -2 V coating. The scanning electron micrographs of the in vitro tested alloy revealed that hydroxyapatite coating significantly reduced the localized corrosion of the alloy, which is critical for better in-service mechanical integrity. Thus, the study suggests that the in vitro mechanical integrity of resorbable magnesium-based alloy can be improved by potentiostatic hydroxyapatite coating.