The invention discloses a two-dimensional ground penetrating radar three-dimensional imaging method based on MATLAB. The method comprises the following steps: S1, assembling and debugging a two-dimensional ground penetrating radar; S2, performing data acquisition on each lane in an acquisition route; S3, establishing a three-dimensional imaging model; S4, performing appearance optimization and size adjustment on the three-dimensional imaging model; S5, exporting three-dimensional data; S6, performing data format conversion; S7, simulating three-dimensional reflection voltage data; S8, settingthe colors of the maximum value and the minimum value; S9, importing the three-dimensional data into a three-dimensional imaging model to obtain a three-dimensional image; S10, performing slicing display on the abnormal position, and visually displaying the road deep layer diseases. Through the establishment and optimization of the three-dimensional model, the imaging model capable of accommodating the three-dimensional radar data is formed; after the simulated three-dimensional data is imported, three-dimensional radar imaging is realized, and an image cutting function is achieved, so an abnormal image in a road is observed.