In order to utilize solar energy more effectively and alleviate energy difficulties, this paper proposes the use of a metasurface to construct a solar absorber. The materials used include a highly reflective TiN substrate, a SiO 2 dielectric layer, and a TiN hexagonal-prism ring pattern layer. Through simulation calculations using COMSOL software, it is shown that for the wavelength range of 300—1000 nm, the average absorption is 90.8%, and the absorption rate reaches 99.985% near 925 nm. Judging from the electric field distribution, the absorbed energy likely comes from surface plasmon polaritons or cavity resonance phenomena. After examining the absorption conditions under different parameters, it is found that within the studied range, the height of the pattern layer and the width of the hollow quadrangular prism have little effect on the absorption rate, and the absorption performance is stable. The designed structure itself is uncomplicated, capable of handling visible light and part of the infrared wavelengths, and has practical prospects for solar energy conversion.