Biodegradable metals (BM) and additive manufacturing (AM) are regarded revolutionary biomaterials and biofabrication technologies for bone repairing metal implants, the combination of both, namely AM of BM, is thus expected to solve the dual technical difficulties including "conventional medical metals are biologically inert and exist in the human body permanently" and "conventional manufacturing processes are inadequate to fabricate personalized implants of complicated structure”. This work additively manufactured biodegradable Zn-Mg alloy porous scaffolds by laser powder bed fusion (L-PBF). By using the pre-alloyed Zn-xMg (x = 1, 2 and 5 wt.%) powder and the optimized processing conditions, high fusion quality with the relative density greater than 99.5% was confirmed for the L-PBF parts. The influence of Mg content on microstructure, mechanical properties, in vitro corrosion, cytocompatibility, in vivo degradation, biocompatibility and osteogenic effect was investigated. Fine α-Zn grains and precipitation phases including Mg2Zn11 and MgZn2 were observed in the Zn-xMg L-PBF parts. The hardness increased, and the strength increases firstly and then decreased with increasing the Mg content. The compressive strength and elastic modulus of Zn-1Mg porous scaffolds reached the highest as 40.9 ± 0.4 MPa and 1.17 ± 0.11 GPa, respectively, equivalent to those of cancellous bone. The corrosion rate and cell viability slightly rose with increasing the Mg content. Histological analysis after 6-week and 12-week implantation in rabbit femurs showed enhanced bone formation around the Zn-1Mg porous scaffolds compared with pure Zn counterparts. In summary, Zn-1Mg porous scaffolds produced by L-PBF presented promising results to fulfill customized requirements of biodegradable bone implants. Statement of significanceAdditive manufacturing of biodegradable metal porous scaffolds is expected to solve the dual challenges from customized structures and bioactive function required for bone implants. It was the first to present a systematic in vitro and in vivo investigation into the compositions, microstructure, mechanical properties, biodegradation, biocompatibility and osteogenic effect of additively manufactured Zn-Mg alloy porous scaffolds. Reliable formation quality and performance evaluation was achieved by using the pre-alloyed Zn-xMg (x = 1, 2 and 5 wt.%) powder and the optimized laser powder bed fusion process. Although the Zn-1Mg scaffolds exhibited promising mechanical strength, biocompatibility, and osteogenic effect, their degradation rate needs to be further accelerated compared with the term of bone reconstruction.