This composite material comprises a first metal porous body having a three-dimensional network-like framework, a second metal porous body having a three-dimensional network-like framework, and a joining part formed from entanglement between the framework of the first metal porous body and the framework of the second metal porous body. The degree of porosity of the first metal porous body may be different from the degree of porosity of the second metal porous body.