The invention discloses a system and method for prefabricating and installing an informatization whole-lifecycle pipeline. The method comprises the following steps of outputting an ISO-IDF (International Standard Organization-Integrated Data File) interface file in a design stage, reading coordinates and data in an IDF, and forming a prefabricated pipe section package; creating a prefabricating plan according to the production ability, the productivity and the processing process of each production line, forming a work order, and generating barcode data; calculating the length of a pipe, creating CNC (Computerized Numerical Control) cutting data, length data and prefabricating data, automatically distributing the work order to each production line, and carrying out the production process tracking and the state tracking; and scanning a barcode once by using a scanner, wherein the scanning shows that a corresponding working procedure is completed and qualified, real-time stage variation exists in a database after each scanning, and thus the production process and the state of the pipe can be queried in a tracking way. According to the system and method disclosed by the invention, the organic integration of whole-lifecycle information during a designing, prefabricating and installing process of a pipeline can be reached, and the purposes of data search, resource sharing and information communication are realized.