A powder metallurgy (PM) approach was developed to fabricate Mg-(15–50)at.% Al foams with closed-cells, where CaCO3 is selected as the blowing agent. The key point of successful foaming is Al addition and the proper sintering treatment, which lead to the formation of intermetallic compounds and can make the gas release reaction between Mg melt and CaCO3 happen during the foaming process. Besides, the high precursor compact degree, proper foaming temperature (∼620°C) and foaming time (∼150s) are required to fabricate Mg-Al alloy foam with good cellular structure. The compressive stress–strain curves of Mg-Al alloy foams are serrated during the plateau region due to the intermetallics in the cell walls, and the less Al addition, the less intermetallics formed in the cell walls, the higher yield strength of the Mg-Al alloy foams.