Book a demo
Positive Material Identification (PMI) in Welding: When It's Required

Positive Material Identification (PMI) in Welding: When It's Required

Positive material identification (PMI) in welding: what it verifies, which codes require it (ASME B31.3, API 570), methods, and how to build a program.

Author: Luca Santoro Published: Reading time: 10 min
  • welding quality control
  • positive material identification
  • ASME B31.3
  • API 570
  • material traceability
  • pressure piping

Positive material identification (PMI) answers a question that a mill certificate cannot: is the specific piece of metal in front of you actually the alloy the drawing calls for? For welded pressure piping and vessels, the question extends to the joint itself — base metal, heat-affected zone, and filler all have to check out, because a single grade mix-up hidden inside a weld can turn into a leak, a fire, or a fatality years after the piping is commissioned.

This is not a theoretical risk. Refinery and petrochemical incident investigations have repeatedly traced catastrophic pipe failures back to carbon-steel components installed where a chrome-moly or stainless alloy was specified, with the mix-up invisible until corrosion or creep rupture made it obvious. PMI is the control that exists specifically to catch that failure mode before the plant starts up, not after.

Key takeaways

  • PMI verifies alloy chemistry on the physical component — base metal, weld metal, and heat-affected zone — not just on the paperwork.
  • ASME B31.3, API 570, and API RP 578 are the codes and recommended practices that most commonly trigger a mandatory PMI program in piping and refinery work.
  • XRF and OES are the two dominant field methods; each has blind spots the other covers, which is why mature programs specify both rather than picking one.
  • Post-weld PMI on the finished joint is as important as incoming PMI on raw material — filler-metal mix-ups only show up after welding.
  • Sampling rate has to be a documented, risk-based decision (up to 100% for Category M / sour service), not an inspector’s judgment call on the day.
  • A wrong-material finding is a nonconformance and root-cause investigation, not a repair — the joint gets cut out and rewelded with verified material.
  • PMI records belong in the same traceability system as WPS/PQR and weld monitoring data, so a single audit trail proves both “the right material” and “the right process.”

Table of contents

  1. What Positive Material Identification actually verifies
  2. Why welded joints are the highest-risk PMI point
  3. Which codes require PMI, and when
  4. Building a PMI program: step-by-step
  5. Common failure modes and how to fix them
  6. Validating and verifying PMI results
  7. Where PMI and weld quality monitoring intersect

What Positive Material Identification actually verifies

PMI is a non-destructive analytical check that reads the elemental composition of a metal and compares it against the specified alloy grade. It does not measure mechanical properties (yield, tensile, hardness) — it measures chemistry, and infers grade from chemistry.

ASTM E1476, the Standard Guide for Metals Identification, Grade Verification, and Sorting, is the reference document most PMI procedures are written against. It catalogs the qualitative and quantitative methods available and where each is appropriate:

MethodWhat it readsStrengthBlind spot
X-ray fluorescence (XRF)Elemental spectrum, non-markingFast, portable, safe on thin wall, no consumablesCannot detect carbon — misses some carbon/low-alloy distinctions
Optical emission spectrometry (OES)Full spectrum including carbonDistinguishes carbon and low-alloy grades that XRF cannotLeaves a visible spark burn, needs shielding gas, slower per reading
Chemical spot testPresence/absence of key alloying elements (Mo, Ni, Cr)Very fast screening, minimal equipmentQualitative only — confirms an element is present, not the exact grade
Spark testSpark stream color and patternNo equipment needed, works in the fieldOperator-skill-dependent, unreliable for close-grade sorting
Eddy current / electrical conductivityAlloy-dependent conductivityFast sorting of large batchesCannot resolve alloys with overlapping conductivity ranges

In practice, mature programs use XRF as the primary screening tool and escalate to OES whenever carbon content is the distinguishing factor between two candidate grades — a P1 carbon steel and a P4 chrome-moly can look identical to XRF alone.

Why welded joints are the highest-risk PMI point

Base metal grade mix-ups happen in the mill, the warehouse, or the pipe spool shop, before anyone strikes an arc. Welding adds a second, independent failure mode: the wrong filler metal.

A welder can have correctly verified P91 pipe on both sides of a joint and still lay in a standard E7018 carbon-steel electrode by mistake, because the wrong rod was in the wrong bin, or a WPS revision wasn’t communicated to the shop floor. The base metal PMI record would show “pass” — the weld itself is the defect, and only PMI performed on the deposited weld metal after welding will catch it. This is why ASME B31.3 process piping welding programs that take alloy control seriously specify PMI at three points, not one: incoming raw material, filler metal issued to the job, and the finished weld deposit itself.

The heat-affected zone (HAZ) adds a third wrinkle. On dissimilar-metal welds — carbon steel to stainless, or a clad transition joint — PMI has to sample far enough from the fusion line to read base metal chemistry, and close enough to the joint to catch dilution effects, without conflating the two. A PMI procedure that only specifies “test the weld” without defining sample locations relative to the fusion boundary will produce ambiguous, non-repeatable readings on exactly the joints where the answer matters most.

Which codes require PMI, and when

There is no single global PMI mandate. Instead, several codes and recommended practices trigger a documented program depending on service, alloy, and jurisdiction:

Code / RPTriggerTypical requirement
ASME B31.3Category M fluid service, or owner-specified alloy pipingPMI on components before installation; owner defines sampling extent
API 570In-service piping inspection at refineries and chemical plantsPMI program required as part of the piping inspection and alloy-verification plan
API RP 578New construction and MOC (management of change) alloy pipingDocumented material verification program; up to 100% examination for critical alloys
NACE MR0175 / ISO 15156 (sour service)H₂S partial pressure above the sour-service thresholdAlloy chemistry qualification as a precondition for material acceptance, independent of mechanical test results

The common thread across all four: PMI is triggered by consequence of error, not by a blanket rule that every weld gets tested. A carbon-steel utility line and a chrome-moly hydrocracker line get very different PMI intensity even on the same job site, because the cost of a mix-up is not the same.

A passing mill certificate is not a substitute for PMI on the installed component. Certificates document the heat the material came from — they do not prove the specific plate or pipe joint in the field is from that heat. Grade mix-ups happen at the warehouse and fabrication-shop level, after the certificate was issued.

Building a PMI program: step-by-step

  1. Define trigger criteria first. Map every piping class and vessel service against B31.3 Category M thresholds, API 570 alloy inventory, and any sour-service (NACE MR0175/ISO 15156) exposure. This produces the list of systems that require PMI at all — don’t test everything by default, or the program becomes too expensive to sustain and inspectors start cutting corners.
  2. Write the sampling plan before fabrication starts. For Category M and sour service, this is 100% of joints and components under API RP 578. For everything else, define the percentage, the lot basis, and the escalation rule if any sample fails (typically: 100% re-inspection of the lot).
  3. Verify incoming material at receiving inspection, before release to the shop — base metal and consumables (filler wire, electrodes, backing rings) both.
  4. Verify filler metal issued to the job, matching lot number against the WPS-specified consumable, not just the grade stamped on the box.
  5. Verify the completed weld deposit, sampling both weld metal and HAZ per a defined location protocol, after final NDE and before the joint is released for service.
  6. Record every reading with instrument ID, calibration date, operator ID, and component/joint identifier, feeding the same traceability record set as WPS and PQR documentation — a PMI record that can’t be tied to a specific joint number is not auditable.
  7. Close the loop on failures with a documented nonconformance, root-cause investigation back through the material chain, and a corrective action — not a quiet re-test until it passes.

Common failure modes and how to fix them

Coatings, paint, and scale block the reading. XRF and OES both read the surface; a painted or heavily scaled component gives a false or unreliable result. Fix: grind a clean test spot to bare metal before every reading, and specify minimum spot size and surface prep in the procedure — not left to operator discretion.

Carbon-blind XRF misreads low-alloy grades. Because XRF cannot detect carbon, two grades that differ mainly in carbon content (some P-number pairs) can return an identical XRF spectrum. Fix: define in the procedure which grade pairs require OES escalation, and don’t let XRF-only results close out those specific comparisons.

Sampling location on dissimilar-metal welds is ambiguous. “Test the weld” without a defined distance from the fusion line produces inconsistent results between operators. Fix: specify exact sample locations (for example, weld centerline, 2 mm from fusion line on each side) in the written procedure and train to it.

Operators trust color-coding over instrument readings. Paint-stripe or stencil color codes are a visual aid for sorting, not a verification method — codes get misapplied, faded, or overpainted. Fix: PMI procedures should explicitly state that color coding never substitutes for an instrument reading on any PMI-required component.

Instrument drift between calibration cycles goes unnoticed. An XRF or OES unit that is due for calibration in three weeks can already be drifting. Fix: daily verification against a certified reference standard before use, logged as a discrete record, independent of the annual calibration certificate.

PMI records live in a separate system from weld traceability. When PMI passes are filed on paper and WPS/PQR records live in a different database, nobody can answer “show me every joint on this line with both a verified material and a verified process” without a manual cross-reference exercise. Fix: converge PMI records into the same MES/ERP traceability system that tracks welding procedure and consumable data.

Validating and verifying PMI results

Instrument output is only as trustworthy as the reference it was checked against. NIST Standard Reference Materials are the accepted traceable basis for calibrating and verifying the XRF and OES instruments used in PMI programs — a certified SRM with known composition, checked at the start of a shift or lot, is what makes a “pass” reading defensible in an audit rather than just a number on a screen.

Verification should happen at three levels:

  • Daily instrument check against a certified reference standard, before production readings begin.
  • Dual-method confirmation on any close-call grade pair (for example, when XRF cannot resolve a carbon-sensitive distinction) using OES or a documented alternative from ASTM E1476.
  • Periodic requalification of both the instrument (manufacturer calibration interval) and the operator (competency verification, typically annual), since PMI is only as reliable as the person reading the display.

Programs that skip the daily check and rely solely on the annual calibration certificate are the ones that discover, after the fact, that a batch of readings taken during a period of instrument drift are not defensible — and the corrective action becomes re-testing everything from that window instead of a five-minute daily verification that would have caught it in real time.

Where PMI and weld quality monitoring intersect

PMI answers “is this the right material?” It does not answer “was this welded correctly?” — those are two independent risks that both have to close out before a joint is fit for service. A joint can pass PMI on both base metal and filler and still be defective because of parameter drift, insufficient heat input, or an out-of-spec cooling rate during welding.

This is why alloy verification and in-process weld monitoring are complementary controls rather than substitutes for each other. Real-time thermal monitoring during welding — tracking interpass temperature, heat input, and cooling rate as the weld is deposited — closes the process-control risk that sits alongside the material-control risk PMI closes. A program that verifies material chemistry rigorously but has no visibility into weld thermal history has only solved half the traceability problem; the same is true in reverse. Converging both into one nonconformance and traceability record is what lets a quality manager answer an auditor’s question about a specific joint — material and process — with one query instead of two separate paper trails.

For welder and procedure qualification records that PMI programs frequently need to cross-reference, see the ISO 15607 welding qualification routes overview and the pressure vessel quality monitoring guide under ISO 3834 and the PED.

FAQ

What is Positive Material Identification (PMI) in welding? PMI is a non-destructive test that verifies the alloy grade of a base metal, weld filler, or completed weld matches the material specification, typically by reading elemental composition with a handheld XRF or OES analyzer.

Is PMI required by code, or is it optional? It depends on service and jurisdiction. ASME B31.3 mandates PMI for Category M and owner-specified alloy services; API 570 and API RP 578 require a documented program for refinery piping; NACE MR0175/ISO 15156 sour-service work verifies alloy chemistry as a qualification precondition.

What methods are used for PMI? XRF and OES are the dominant field methods, each covering the other’s blind spots — XRF is fast and non-marking but carbon-blind; OES reads carbon but leaves a spark mark. ASTM E1476 also documents spot tests, spark testing, and eddy current sorting.

Can PMI be performed after welding, or only before? Both. Incoming PMI checks base metal and consumables before fabrication; post-weld PMI checks the finished deposit and HAZ, which is the only way to catch a wrong filler-metal mix-up.

What is a typical PMI sampling rate — 100% or partial? Category M and sour-service alloy systems typically require 100% examination under API RP 578; lower-consequence systems use a documented, risk-based sampling plan instead.

How is PMI different from a material test report or mill certificate? A mill certificate documents the chemistry the mill measured on the heat — it travels with paperwork. PMI physically verifies the specific piece in the field matches that paperwork, which certificates alone cannot guarantee.

How often should PMI instruments be calibrated? Daily verification against a certified reference standard, in addition to the manufacturer’s periodic calibration interval (commonly annual).

What happens if PMI finds a wrong material already welded into place? The joint is quarantined as a nonconformance, root-caused back through the material chain, and cut out and rewelded with verified material — not repaired in place.

Standards referenced in this article include ASTM’s standards and publications catalog, API’s standards program, AMPP (formerly NACE), ASNT, and general guidance from OSHA’s process safety management program, ISO, and CEN on material certification and traceability practice.

Close the process-control gap PMI leaves open

PMI verifies the material. Therness verifies the weld — real-time thermal monitoring that catches heat input, cooling rate, and parameter drift while the joint is being made, feeding the same traceability record as your material verification program.

Talk to Therness

Frequently Asked Questions

What is Positive Material Identification (PMI) in welding?

PMI is a non-destructive test that verifies the alloy grade of a base metal, weld filler, or completed weld matches the material specification, typically by reading elemental composition with a handheld XRF or OES analyzer. In welding it confirms that the plate, pipe, fitting, and consumable that actually got welded together are the grades the design called for.

Is PMI required by code, or is it optional?

It depends on service and jurisdiction. ASME B31.3 mandates PMI for specific fluid services (Category M, and any service where a material mix-up creates a safety risk); API 570 and API RP 578 require a documented PMI program for in-service and new piping in refineries; NACE MR0175/ISO 15156 sour-service projects verify alloy chemistry as a qualification precondition. Outside these triggers, PMI is often a purchaser or owner-imposed contract requirement rather than a blanket code mandate.

What methods are used for PMI?

The two dominant field methods are X-ray fluorescence (XRF) and optical emission spectrometry (OES). XRF is faster, non-marking, and safe on thin sections but cannot see carbon content, so it cannot distinguish some low-alloy grades. OES burns a small spark spot and reads a fuller spectrum, including carbon, but leaves a visible mark and needs a purge gas. ASTM E1476 also covers spot tests, spark testing, and eddy current sorting as supplementary or screening methods.

Can PMI be performed after welding, or only before?

Both, and a mature program does both. Incoming PMI verifies base metal and consumables before they are released to production. Post-weld PMI verifies the finished weld deposit and heat-affected zone, which is the only way to catch a wrong filler metal or an undocumented repair weld that used the wrong rod.

What is a typical PMI sampling rate — 100% or partial?

For alloy piping in Category M or sour-service duty, and for any component where a mix-up is safety-critical, 100% examination of joints and components is standard practice under API RP 578. For lower-consequence alloy systems, a documented sampling plan (for example, a percentage of joints per lot with root-cause follow-up on any failure) is acceptable, but the sampling basis has to be defined in the PMI procedure, not decided ad hoc on the shop floor.

How is PMI different from a material test report or mill certificate?

A mill certificate (EN 10204 3.1/3.2) documents the chemistry and mechanical properties the mill measured on the heat the material came from — it travels with paperwork, not with the physical piece. PMI is a physical, on-the-spot verification that the specific plate, pipe, or fitting in your hands actually matches that paperwork, or matches the drawing callout. Certificates can be right and the wrong piece can still end up on the pipe rack; PMI is the check that catches that.

How often should PMI instruments be calibrated?

Daily verification against certified reference standards before each shift or each lot is standard practice, in addition to the manufacturer's periodic calibration interval (commonly annual). NIST-traceable Standard Reference Materials are the accepted calibration and verification basis for XRF and OES instruments used in PMI programs.

What happens if PMI finds a wrong material already welded into place?

The joint is quarantined and a nonconformance is raised — the weld is not "downgraded," it is treated as a material substitution incident. Root cause has to trace back through incoming inspection and the WPS/consumable control chain, because a single caught mix-up usually means more instances went through undetected. The joint is cut out and rewelded with verified material rather than repaired in place.

Share this article

Progetto cofinanziato nell'ambito del PR Piemonte FSE+ 2021-2027,
Priorità I, Obiettivo Specifico a), Azione 4 – "Sostegno alla nascita delle start up"