The effect of Zn/Ca ratio on the corrosion behavior of Mg–3Zn-0.2Ca-1.0MgO (3ZX) and Mg–1Zn-0.2Ca-1.0MgO (ZX) was investigated on the as-extruded specimens. Microstructure observations revealed that the low Zn/Ca ratio led to the grain growth from 1.6 µm in 3ZX to 8.1 µm in ZX. At the same time, the low Zn/Ca ratio changed the nature of second phase from the existence of Mg-Zn and Ca2Mg6Zn3phases in 3ZX to the dominated Ca2Mg6Zn3phase in ZX. The local galvanic corrosion caused by the excessive potential difference was alleviated obviously due to the missing of MgZn phase in ZX. Besides, thein vivoexperiment also showed that ZX composite exhibited a good corrosion performance and the bone tissue around the implant grew well.