Abstract Three-periodic minimal surface (TPMS) metal porous structure is a new lightweight structure with wide applications in multifunctional structures. In order to study the deformation behavior and energy absorption of different structures, three TPMS samples with Diamond, Gyroid, and Primitive structures were prepared using the selective laser melting technique. Then the compression tests were carried out on the specimens and the obtained results show that the deformation of TPMS is dominated by bending deformation. Among the studied structures, the highest ultimate strength and energy absorption capacity was 186.44 MPa and 54MJ/m3, respectively, which was achieved in the Gyroid structure. The Gyroid porous structure deforms uniformly along the loading direction in a lamellar collapse pattern. The performed analyses show that when the strain reaches 30%, a shear band of 45° relative to the compression direction appears. Failures in the Diamond and Primitive structures first occurred at the cell junction, and the shear band appeared at a strain of 20%. Comprehensive analyses showed that different types of TPMS structures have different deformation behaviors and mechanical responses during compression. The results of this article can be used to design impact-resistant parts in vehicles or implants.