In the present study, a series of lattice structures with Gyroid minimal surfaces were meticulously designed to incorporate linear density gradients and two distinct trigonometric function-based density gradients. These advanced architectures were subsequently compared and contrasted with a uniform lattice sandwich structure. The mechanical behavior and energy absorption characteristics of the four lattice sandwich structures were rigorously investigated through a combination of experimental testing and finite element analysis (FEA). The results of this comprehensive analysis revealed that during compression, all four gradient lattice structures exhibited varying degrees of shear slip, which manifested as discernible discrepancies in their respective stress–strain curves. Relative to the uniform lattice structure, the linear gradient lattice sandwich structure exhibited an enhancement in elastic modulus by 1.69%, while the square sine function gradient lattice sandwich structure showed a significant increase of 14.45% in elastic modulus. Conversely, the square cosine function gradient lattice sandwich structure experienced a reduction in elastic modulus by 9.61%. Employing either a linear gradient or a square sine function density gradient design was found to augment the load-bearing capacity of the uniform lattice structure. Notably, when the strain in the uniform structure reached densification strain, it absorbed energy exceeding 5.842 MJ/m3, indicating superior energy absorption capabilities among the four structures examined, thus rendering it particularly suitable for applications where high energy absorption is imperative. Furthermore, finite element simulations were conducted to validate the experimental findings, and the simulation results demonstrated a high degree of correlation with the experimental data, with discrepancies less than 6%, thereby confirming the reliability of the FEA model in predicting the performance of these intricate lattice structures.