The invention belongs to the technical field of radar signal processing, and specifically relates to a surface target imaging method based on a Terahertz aperture coding imaging system. The method comprises the following main steps: based on wavelet sparse base structure of a wavelet transformation, under the Terahertz aperture coding imaging system, grid division is performed on a target plane, and the number of grids is determined; a wavelet mother function is selected, a maximum decomposition level is determined through utilization of matlab, and, according to the wavelet mother function, the number of the grids and the maximum decomposition level, a wavelet sparse base matrix is solved through adoption of the matlab; and surface target imaging is performed based on a sparse reconstruction algorithm, a reference signal matrix is multiplied by the wavelet sparse base matrix to form a dictionary matrix, a new mathematical model aiming at a surface target is constructed, effective solution is performed through the sparse reconstruction algorithm, and a surface target imaging result can be obtained through a wavelet inverse transformation. The surface target imaging problem under the Terahertz frequency band aperture coding system is solved, consistency of the imaging model is high, an imaging effect is good, and the imaging speed is fast.