PCB Traceability Marking: Codes That Survive the Process
Traceability on a printed circuit board is usually treated as a labelling problem, but the marking is only the visible end of a chain that begins with the material batch and ends with the shipping carton. Where that chain is broken, a field failure cannot be tied to the process that produced it, and the investigation has to start again from the top.
What Has to Be Traceable
Four things have to be recoverable from a finished board: the fabrication panel it came from, the material batch used for that panel, the process date, and the assembly lot if the board was populated. Everything else, including the customer’s part number and the revision of the artwork, is normally carried by the same mark.
The depth of the chain is set by the application. A consumer product may need only a date code, while a medical or automotive product usually needs a panel-level identifier that survives every subsequent process, including washing, coating and reflow.
Marking Methods and Where They Survive
Silkscreen printing is the cheapest method and the least durable, because the ink sits on the solder mask and can be removed by solvent or by abrasion. Etching the mark into copper makes it a permanent feature of the board, but the mark must then be placed where copper exists and where the etched area does not affect impedance or appearance.
Laser marking on the solder mask sits between the two. It is permanent enough for most applications, it can be applied to a finished panel without artwork changes, and it can produce a two-dimensional code at a size that silk cannot achieve. Where the code has to be read automatically during assembly, laser marking is usually the method chosen.
<img src="https://www.gopcba.com/wp-content/uploads/2024/09/PCB-3-1-jpg.webp" alt="Laser marked data matrix code on a PCB” />
Two-Dimensional Codes on Small Boards
A data matrix code carries far more information per unit area than a printed part number, and it can be read even when partially damaged. The constraints are the size of the cell, which has to be large enough for the reader at the working distance, and the quiet zone around the code, which is a clear margin that is often forgotten in the layout.
On a small board the code may be the only marking that fits, and it should be placed where it will not be covered by a component or by a connector body. Placing the code on the bottom side is common because the bottom is usually less congested, but the bottom is also the side that contacts the conveyor in some machines.
Marking Before or After Assembly
Marking the bare board is cheaper per unit because the panel can be marked in one operation, but the mark then carries no information about the assembly lot. Marking after assembly allows the board to carry a code that identifies the populated unit, at the cost of a separate machine operation or a label.
Where both are needed, the usual arrangement is a panel-level mark applied at fabrication and a unit-level mark applied at assembly. The two must be linked in a database rather than on the board, because there is rarely room for both. Our fabrication notes guidance describes how the panel identifier is defined.

The Data Behind the Mark
A mark is only useful if it resolves to a record. The panel identifier should map to the material batches, the process parameters, the inspection results and the test data for that panel, and the mapping should be stored for at least as long as the product may be in service.
That database is the part of traceability that costs the most and is the least visible. Boards can be marked perfectly and still be untraceable, because the shop recorded the mark but not what happened to the panel that carried it.
Reading the Mark in the Field
The reading side is as important as the writing side. A service technician who cannot decode the mark without a proprietary system will not use it, so the encoding should follow a published standard and the reader should be a general-purpose device.
Where the mark is small, a photograph is often the practical route: the technician photographs the board, and the code is decoded from the image. That requires the contrast between the mark and the background to be sufficient, which is a reason to prefer a laser mark over a printed one on a dark solder mask.
Traceability Inside the Factory
Within the fabrication shop, traceability is what makes a process change controllable. When a plating bath is changed, the panels that pass through it afterwards can be identified, and if a defect appears the affected shipments can be recalled rather than the whole production of a week.
The same applies to incoming material. A laminate batch that behaves differently from its predecessor can be isolated if the panels made from it are known, and the investigation can begin with the material rather than with the process. Our laminate material notes describe the properties that are most likely to vary.
Common Failures of a Traceability System
The failures are predictable: a mark that is unreadable after coating, a database that is not backed up, a code that is duplicated across two panels, and a manual step where an operator transcribes a number instead of scanning it. Each of these has been seen often enough to be worth designing out.
The most expensive failure is the duplicate code, because it destroys the link silently. Two panels with the same identifier are indistinguishable afterwards, and the data from both is merged. Serialising the mark from a central source rather than deriving it from a date and a machine number removes the risk. Our board quality notes describe how the mark is verified on receipt.
Process Control and Verification
Reviewing the design before the data is released is far cheaper than correcting it after the panel is in the tank, because every step downstream inherits the decision made at the front end. Where a value sits close to a process limit, the drawing should say so, since the shop can then open the process window rather than working to a nominal figure that carries no tolerance.
The measurements that matter are the repeatable ones: conductor width and spacing, annular ring, finished hole size, plating thickness and surface finish are all verifiable on a coupon that travels with the panel. Documenting the assumption is part of the design work, and a short note on the drawing prevents a question that would otherwise arrive a day later and cost a day of schedule.
Where a value sits close to a process limit, the drawing should say so, since the shop can then open the process window rather than working to a nominal figure that carries no tolerance. Running a first article through the same checks as the production panel confirms that the two agree, and that comparison is the cheapest form of process control available at prototype stage.
FAQ
Is a date code enough for traceability? For a simple product it may be, because the date code narrows the material batches to a small set. It is not enough where several panels are produced on the same day from different material, because the date code cannot separate them.
Can a laser mark damage the solder mask? A correctly set laser removes or carbonises a thin layer of mask without penetrating to the copper, and the result is a durable contrast. A laser set too high will cut through the mask and expose copper, which is both a cosmetic defect and a corrosion risk.
What does gopcb record for each panel? We record the panel identifier, the material batches for the cores and the prepreg, the date and shift, the plating and etching parameters, the test results and the shipping destination. The record is kept for the period agreed with the customer and can be retrieved from the panel mark alone.



