Al-Mg alloy foam used in this study was prepared, and Al-Mg alloy was melted by using a high-frequency induction furnace. Thickening and foaming agent were added to the molten Al-Mg alloy at a specific temperature, which was stirred. For uniform distribution of thickening and foaming agent, the impeller was rotated with high-speed about 400-1000rpm. When left in a furnace for a specific period after uniform dispersion of the foaming agent, gas was generated from the foaming agent and the cell size and distribution inside. We determined the structure of Al-Mg alloy foam using CT(Computed Tomography). The structure of Al-Mg alloy foam has homogeneous cell size at the bottom, larger cell size in the middle, and oalescence cell in the top part. To prevent this phenomenon, the viscosity and surface tension of the melt of Al-Mg alloy were controlled.