A method for establishing a comprehensive pipe rack information database comprises steps as follows: S1, point cloud data of an underground pipeline network are acquired through a laser scanning instrument; S2, data registration and transferring are performed; S3, noise data are rejected; S4, the point cloud data without the noise data are subjected to data thinning processing; S5, a pipeline surface model is established; S6, a pipeline model is drawn; S7, pipeline information is extracted; S8, system configuration parameters are read, extracted pipe point and pipeline data are checked, and checked results are listed on a table according to the mistake type; S9, a two-dimensional planar graph of a pipeline is drawn, the type and the material of the pipeline and the pipe diameter information are marked, and finally, a pipeline result map is obtained; S10, the pipeline result map, a three-dimensional diagram of the pipeline model and the two-dimensional planar graph of the pipeline are stored in the database. According to the method, base establishing for underground pipelines can be rapidly completed, and the pipe rack data are vectorized.