All articles

Marking machined parts: laser marking, dot peen, engraving, stamping and traceability

By PartRelay team · Published 26 November 2026 · 8 min read

A steel marking stamp with a row of raised, mirror-image digits, lying on a rusty round block in a dark workshop
Photo: HONG SON, Pexels

“Mark part number” is easy to write on a drawing. On the part, the mark has to survive machining, finishing and handling, stay readable to a person or a scanner for years, and not harm the surface it sits on. The method decides most of that, so a drawing with only that note leaves the important choices to the shop.

This guide covers the reasons, the methods and their effect on the surface, materials, Data Matrix grades, and what to write on the drawing.

Why mark a machined part

Identification. A part number and revision stop one part being mistaken for a similar one at goods-in, in stores or on the assembly line.

Traceability. A batch, date or serial number ties the part to its records. Gravotech, a marking equipment maker, describes direct part marking as putting serial numbers, manufacturing dates, bar codes, Data Matrix codes and logos on parts to keep them traceable through the supply chain and their life cycle. For the material, LRQA explains that the cast, heat or test number is normally read from indelible markings on the bar, such as hard stamping, etching or stencilling, and that the identity is transferred when material is cut for testing. By our reading, the same logic applies when a bar becomes parts: if the parts must stay traceable to the certificate, the number has to move onto them.

Assembly. Orientation marks, position numbers and matched-pair numbers tell the fitter how parts go together.

Laser marking: one tool, several effects

TRUMPF calls laser marking a collective term for annealing, engraving, black marking, colour change and foaming, and says the right one depends on the material and the quality the product needs.

Annealing and black marking

Annealing heats the surface until an oxide film forms; the film gives the colour. Trotec, a laser maker, limits it to alloys of iron with at least a little carbon, at typically 220°C to 500°C, below melting. Nothing is removed, so the part keeps its mechanical integrity and, to a large extent, its rust resistance. KEYENCE notes that the mark has no texture, unlike an engraving, and recommends annealed black marks on stainless steel for sanitary or fatigue-critical parts because the surface stays smooth.

Annealing is not automatically harmless. A 2016 study in Applied Optics found that laser marking can reduce the corrosion resistance of stainless steel, and that heat input is the most important parameter, with pulse length and frequency also relevant. KEYENCE recommends short pulses and fast scanning to limit the heat-affected zone, and passivation after marking to ASTM A967 or AMS 2700, especially where material was removed. ASTM A967/A967M-25 is the current edition.

Engraving and coating removal

Engraving vaporises material and leaves a depression. Trotec gives depths from a few microns to about one millimetre, growing with each pass, and notes that an engraving can only be removed by grinding or milling. A variant removes only a top layer, such as paint or an anodic coating, to expose the colour beneath. Gravotech notes that laser marks are generally shallower than dot peen or scribed marks.

Plastics: colour change and foaming

On plastics, Trotec describes two effects. Colour change drives off volatile elements and leaves carbon, so the mark is dark and almost nothing is removed. Foaming melts and boils the surface; trapped bubbles make a raised mark that is always light.

Mechanical and applied methods

Dot peen

A hard stylus strikes the surface in a pattern of dots. Gravotech says it deforms the material without heat or chips, at 150 to 300 strikes per second on pneumatic heads, and marks up to 0.5 mm deep in steel. The trade-offs are no colour contrast, noise and a less delicate result than laser. GS1 adds that the dot depth can be controlled and that the method suits hard, flat metal surfaces.

Scribing and engraving on the machine

Scribing drags a carbide or diamond tip across metal to scratch a continuous line. Gravotech recommends it for parts that resonate, such as hollow parts, and notes the part must be held firmly. A machining centre can also mill characters: Harvey Tool sells solid carbide marking cutters designed for milling legible part numbers in difficult materials. By our reading, this puts the mark in the same program and set-up as the part.

Stamping

Steel character stamps are struck into the part. Pryor, a stamp maker, sells low-stress stamps for work that demands lower stress in the marked part, usually aerospace, nuclear and oil and gas: round-faced characters, or characters made of dots for even lower stress. Stamps come in fixed character heights, from 3 to 8 mm in Pryor’s low-stress range.

Inkjet and labels

By our reading, ink and labels add material rather than changing the part, so they suit bags, boxes and temporary identification. GS1 warns that a printed label may carry a perfect symbol and still be unsuitable for products that are heat-sterilised.

Marking methods compared, from the sources listed (figures as each source states them)
MethodWhat it does to the surfaceDepth or contrastNotes
Laser annealingOxide colour, no material removedColour mark, no texture; 220°C to 500°C at the surfaceSteel and stainless; heat input affects corrosion resistance
Laser engravingVaporises materialA few microns to about one millimetreRemovable only by grinding or milling
Laser coating removalRemoves paint or anodic coatingContrast from the layer beneathAnodised and painted parts
Colour change, foamingCarbonises or foams plasticDark, or raised and lightDepends on polymer and additives
Dot peenIndents dots, no heat, no chipsUp to 0.5 mm in steel; no colour contrastMetals and plastics; noisy
ScribingScratches a continuous lineDeep and legibleMetal only; part held firmly
StampingCharacters struck into the partFixed heights, 3 to 8 mm (Pryor)Low-stress stamps where stress matters
Inkjet, labelsAdds materialContrast from the ink or labelMay not survive heat sterilisation

Material by material

  • Bare aluminium. KEYENCE says bare aluminium can give slightly lower contrast than an anodised surface. Annealing, as Trotec describes it, is for iron alloys, so aluminium is engraved or dot peened.
  • Anodised aluminium. A laser can remove the anodic layer fully, showing bare metal, or partially, for contrast. KEYENCE notes the oxide is what adds corrosion and UV resistance, so by our reading a mark through it leaves bare aluminium. Say whether marking comes before or after anodising; our guide to anodising machined aluminium covers the layer itself.
  • Stainless 304 and 316. Black annealing keeps the surface smooth. Engraving removes material, and KEYENCE recommends passivation afterwards to restore the chromium oxide. On parts exposed to chlorides, see our 304 vs 316 comparison.
  • Carbon and free-cutting steel. Annealing, engraving, dot peen and stamping all work. If the part is plated or painted later, decide whether the mark goes on before or after.
  • POM. Ensinger, a plastics maker, says unmodified POM usually shows no colour change under an Nd:YAG laser and is often a challenge, which is why it sells a laser-markable POM grade.
  • PEEK. Ensinger lists several PEEK grades as highly recommended for laser marking. Our guide to POM and PEEK covers the materials.

Data Matrix codes and how they are graded

A Data Matrix code packs a lot of data into a small square: GS1 cites a usable area of 2.5 mm by 2.5 mm holding a product number and a serial number on small surgical instruments. The symbology is defined in ISO/IEC 16022:2024, which applies to symbols made by any printing or marking technology. KEYENCE notes that a Data Matrix plus human-readable text is typical for traceability.

Print quality is graded under ISO/IEC 15415:2024. Direct part marks are graded under ISO/IEC 29158:2025, which modifies the ISO/IEC 15415 method with alternative lighting conditions and some new parameters. It replaced the 2020 edition; the first version, the technical report ISO/IEC TR 29158:2011 known as AIM DPM, is withdrawn.

GS1’s guideline explains the grades: 4 is best and 0 worst, equivalent to A to F, and the overall grade is the lowest of the measured parameters. A grade is quoted with its aperture, light and angle, and a “DPM” prefix means it was measured by the DPM method. GS1 also notes that laser marks with connected modules and dot peen marks with separate dots have different size ranges and quality criteria, and may need different readers. Every symbol needs a quiet zone of at least one module on all four sides, and GS1 advises the largest module size that fits the marking area.

Marking and EN 10204 certificates

An EN 10204 3.1 certificate describes a heat or batch of material, not your part. Traceability can work at two levels. The British Constructional Steelwork Association notes that the UK National Structural Steelwork Specification requires all steel to be traceable to a 3.1 or 3.2 certificate, but not each fabricated element to a particular certificate; steel of one specification may be held as a batch. If you need piece-level traceability, say so, and say what the mark must carry: the heat number itself, or a batch number the supplier maps to the certificate. The same number then ties the part to its inspection report.

What to put on the drawing

  • Content: the exact text, with placeholders such as “PN 1234-B, LOT [batch]”, and any Data Matrix with its data content.
  • Location: the face and position, dimensioned or flagged in a view, away from sealing, bearing and datum surfaces.
  • Size: character height, and the code size or module size.
  • Method: required or excluded, such as “laser anneal, no engraving” or “no impact marking”; low-stress stamps if stamping is allowed.
  • Depth: a minimum for durability, or a maximum near thin walls.
  • Sequence: before or after anodising, plating, passivation or painting.
  • Verification: the minimum grade and standard, such as ISO/IEC 29158, agreed with whoever scans the parts.
  • Traceability: which certificate or batch the number refers to.

Part marking in a PartRelay request

When you add a part to a PartRelay request, upload the STEP model and PDF drawing and tick “Part marking required”. The form describes this as text or a code put on the part itself, such as a part number, batch or date code, or a logo, by engraving, stamping or laser, and asks you to say what to mark and where in the comments or on the drawing. If the marking must be certified, also tick “Certified marking” among the special operations, and state on the drawing what the mark must carry and which certificate it ties to. Each part can also ask for a visual inspection, a dimensional report or both; the supplier must pass each before shipping. Vetted manufacturers in Lithuania, Latvia, Estonia and Finland make the parts. You can get a price for one part.

Sources and references

  1. ISO, ISO/IEC 16022:2024 - Information technology, Automatic identification and data capture techniques, Data Matrix bar code symbology specification (Edition 3, May 2024; catalogue page read 26 November 2026). Published, edition 3, 2024-05, replacing ISO/IEC 16022:2006 and its corrigenda; specifies the Data Matrix symbology characteristics, data character encodation, symbol formats, dimensions and print quality requirements, error correction rules and decoding algorithm; applies to all Data Matrix symbols produced by any printing or marking technology.
  2. ISO, ISO/IEC 15415:2024 - Automatic identification and data capture techniques, Bar code symbol print quality test specification, Two-dimensional symbols (Edition 3, December 2024; catalogue page read 26 November 2026). Published, edition 3, 2024-12; specifies methodologies for measuring attributes of two-dimensional symbols, methods for grading these measurements and deriving an overall assessment of symbol quality, and possible causes of deviation from optimum grades.
  3. ISO, ISO/IEC 29158:2025 - Automatic identification and data capture techniques, Bar code symbol quality test specification, Direct part mark (DPM) (Edition 2, March 2025; catalogue page read 26 November 2026). Published, edition 2, 2025-03, replacing ISO/IEC 29158:2020; describes the modifications to the ISO/IEC 15415 symbol quality methodology for direct part marks: alternative illumination conditions, new terms and parameters, modified measurement and grading of certain parameters, and reporting of the grading results; intended for verifier manufacturers and application specification developers.
  4. ISO, ISO/IEC TR 29158:2011 - Information technology, Automatic identification and data capture techniques, Direct Part Mark (DPM) Quality Guideline (Edition 1, 2011; catalogue page read 26 November 2026). The original Direct Part Mark (DPM) Quality Guideline, edition 1, 2011, is withdrawn.
  5. GS1, GS1 DataMatrix Guideline, Overview and technical introduction to the use of GS1 DataMatrix (Release 2.5.1, ratified January 2018). Dot peen uses a small head, normally of a very strong material such as tungsten, to make a series of identical punch marks whose depth can be controlled, suited to metal or other materials with hard flat surfaces; laser etch only suits "laserable" materials; symbol grades run from 4 (best) to 0 (worst), equivalent to A to F, reported as grade/aperture/light/angle, with the overall grade being the lowest grade of the parameters tested; grade 1.5 given as an example of a minimum acceptable grade; "DPM" before a grade means it was obtained under ISO/IEC TR 29158 (AIM DPM); a quiet zone of at least one module (X) is required all around the symbol, and less fails ISO/IEC 15415 verification; marks with connected modules (laser or chemical etching) and non-connected modules (dot peen) have different X-dimension ranges, quality criteria and may need different reading equipment; use the largest X-dimension that fits the marking area; a minimum X-dimension of 0.100 mm for small medical instruments is based on a target usable area of 2.5 mm x 2.5 mm holding a GTIN plus serial number; printed labels may give a perfect symbol but will not suit products that require heat sterilisation. The guideline predates the current ISO/IEC editions.
  6. TRUMPF, Laser marking | TRUMPF (undated page, read 26 November 2026). Laser marking is a collective term for annealing, engraving, black marking, colour change and foaming; the most suitable procedure depends on the material and the quality requirements; annealing heats the workpiece to create an oxide film that gives the colour; in engraving the beam removes material and creates a depression; black marking gives dark, high-contrast marks without material ablation.
  7. Trotec Laser, Types of laser marking and engraving (undated page, read 26 November 2026). Engraving vaporises material; its depth depends on laser power, marking speed and material and is a few microns to about one millimetre, increasing with each pass; an engraving can only be removed by grinding or milling; removal marking takes off a top layer such as paint or an anodic coating to expose the colour beneath; annealing is limited to alloys with iron and at least low carbon content, at typically 220°C to 500°C, below melting, with no material removal, so mechanical integrity and, to a large extent, rust-inhibiting properties are retained, and the mark lasts as long as the part does not reach those temperatures in use; colour change on plastics raises the carbon concentration and gives dark marks with virtually no material removal; foaming melts and boils the material so foamed marks are raised and always light.
  8. KEYENCE, What is Laser Annealing | KEYENCE America (undated page, read 26 November 2026). Laser annealing uses an unfocused beam, whereas etching and engraving use a focused beam; it leaves no textured surface, whereas engraving leaves carved-out marks; a non-textured mark does not collect contaminants.
  9. KEYENCE, Stainless Steel Engraving & Marking Solutions | KEYENCE America (undated page, read 26 November 2026). Annealed black marks are ideal for sanitary or fatigue-critical parts because the surface remains smooth, common on 304/316L; use short pulse widths and higher scan speeds to limit heat-affected zones and avoid temper colours outside the mark; post-mark passivation per ASTM A967 or AMS2700 helps restore chromium oxide, especially after any material removal; Data Matrix (per ISO/IEC 16022) and human-readable text are typical for traceability; DPM verification typically follows ISO/IEC 29158 (AIM DPM).
  10. KEYENCE, How Does Laser Engraving Aluminum Work? | KEYENCE America (undated page, read 26 November 2026). The anodic oxide coating increases resistance against corrosion and UV damage; lasers can either fully remove the anodised layer to show the bare metal below or partially remove it to create contrast.
  11. KEYENCE, Aluminum Laser Marking & Engraving Solutions | KEYENCE America (undated page, read 26 November 2026). Bare aluminium can produce slightly lower contrast than anodised surfaces; anodised layers yield crisp, high-contrast marks with minimal material removal.
  12. M. Švantner, M. Kučera, E. Smazalová, Š. Houdková and R. Čerstvý, Applied Optics 55(34), D35-D45, Thermal effects of laser marking on microstructure and corrosion properties of stainless steel (2016). Laser marking can reduce the corrosion resistance of stainless steel; increasing heat input is the most crucial parameter regarding the degradation of corrosion resistance, with pulse length and pulse frequency also relevant.
  13. ASTM International, A967/A967M Standard Specification for Chemical Passivation Treatments for Stainless Steel Parts (A967/A967M-25, active, page last updated 24 January 2025). A967/A967M-25 is the active edition; it covers chemical passivation treatments for stainless steel parts, with tests to confirm their effectiveness.
  14. Ensinger, Laser marking plastics | Ensinger (undated page, read 26 November 2026). The result depends on the type of plastic, additives such as colorants and the type of laser; POM (acetal) and PA without modification do not usually show a colour change with an Nd:YAG laser; lasering POM is often a challenge, so Ensinger offers a POM grade modified with a laser additive; several PEEK grades are listed as highly recommended for laser marking.
  15. Gravotech, All about direct part marking methods | Gravotech (undated page, read 26 November 2026). Direct part marking inscribes serial numbers, manufacturing dates, bar codes, Data Matrix codes and logos to guarantee traceability; laser marking is less deep than dot peen and scribing; dot peen deforms the material into an indentation with no heat and no chips, pneumatic heads striking 150 to 300 times per second, with marks up to 0.5 mm deep in steel; it is used on metals and plastics; dot peen gives no contrast, is noisy and is less delicate than laser; scribing uses a carbide or diamond tip to scratch a continuous, deep, legible mark, is for metal only, is quieter than dot peen and suits parts that resonate, and needs the part held firmly.
  16. Harvey Tool, Engraving Cutters-Marking Cutters (catalogue page, read 26 November 2026). Solid carbide marking cutters designed for milling legible part numbers in difficult-to-machine materials.
  17. Pryor, Low Stress Punch Sets - Pryor Hand Tools (product page, read 26 November 2026). Low-stress punch sets are for applications where lower stress levels must be introduced into the marked component, usually a requirement for aerospace, nuclear, oil and gas installations; Ministress is a round-faced character giving a continuous line; Dotstress impresses the character in dots for even lower stress; character heights of 3.0, 4.0, 5.0, 6.0 and 8.0 mm.
  18. LRQA, EN 10204 Type 3.2 Overview Guide (2023). The traceable reference may be the cast, heat or test number, normally deduced from indelible markings on the material such as hard stamping, etching or stencilling; when material is taken for testing, the traceable identity is transferred.
  19. British Constructional Steelwork Association, Steel Industry Guidance Notes, SN39 Inspection Documents (October 2009). The UK National Structural Steelwork Specification requires all steel on a contract to be traceable to a Type 3.1 (or 3.2) inspection certificate, but not each fabricated element to a particular certificate; steel of a common specification may be held in a common batch.