In this research developed the technique for the metal foam based on the Al-carbon nanotubes composite material. The optimal regimes for the samples foaming are proposed. The pilot samples were received. The behavior of the pores distribution in the samples volume is presented.