The invention discloses a method for realizing the full-process tracing of PCB product manufacturing based on hexadecimal lattice hole codes. The method comprises the following steps that: S1, the sequence code of an inner-layer core board is generated, transcoding is performed, a lattice code is generated, and code assignment is performed; S2, the association of the inner-layer core board with anouter-layer board and the sequence code production of the outer-layer board are performed, the inner-layer core board is associated with an outer-layer board, specifically, inner-layer core board tracing codes are identified and analyzed through a photoelectric analysis module in an overlapping and pre-arranging process, inner-layer core board ID sequence numbers are associated according to a product process, and a new outer-layer board ID sequence number is automatically generated according to groups; S3, the transcoding of the outer-layer board is performed, a dot matrix code is generated,and code assignment is performed; S4, tracing code reading is performed; and S5, a tracing system is established. Therefore, the association of the IDs of the inner-layer core board and the outer-layer core board is realized, and the full-process tracing of a PCB from the inner layer to the outer layer is realized.