Successful application of magnesium-based alloys as biodegradable biomaterials is critically dependent on controlling the degradation rate of the alloy. The present study suggests that electrochemical deposition of calcium phosphate on magnesium alloy at an optimal voltage enhances the degradation resistance of the alloy significantly.