Code
CSA Z662: Canada's oil and gas pipeline code.
The code every oil and gas pipeline in Canada is built, welded, inspected, and run to, from the gathering line to the transmission main.
What it covers
CSA Z662 in plain terms.
CSA Z662 is a whole-life pipeline code. It covers design, materials, construction, pressure testing, corrosion control, operation, maintenance, and abandonment, and it applies to the pipeline, not only to the welds.
Welding and its inspection sit in Clause 7, on joining. That clause sets how welding procedures and welders are qualified, which welds get nondestructive examination, which methods may be used, and the standards each weld is accepted or rejected against.
Unlike API 1104 in the US, Z662 is the one document for both the pipeline and its welds. A Canadian report doesn't point to a separate welding standard.
Because Canadian regulators adopt Z662 into their rules, the report is regulatory evidence. The operator keeps it for the life of the line, and an incident investigation can ask for it decades later.
Where it’s used: Oil, gas, and petrochemical
In the glossary: Girth weld
Regulation
The Canada Energy Regulator's onshore pipeline rules and the provincial regulators, such as the Alberta Energy Regulator, adopt CSA Z662 by reference. The edition in force is set by each regulator, so check which one a job's jurisdiction names.
- Full title
- Oil and gas pipeline systems
- Issued by
- CSA Group
- Current edition
- Z662:23 (2023)
- Applies to
- Oil, gas, and other hydrocarbon pipelines in Canada, onshore and offshore, from design to abandonment
- Required by
- The Canada Energy Regulator for federal lines and the provincial regulators for the rest, which adopt it in their pipeline rules
- Welding and inspection
- Clause 7, joining: welding procedures, welder qualification, inspection, and acceptance
- Certification
- CAN/CGSB-48.9712, through Natural Resources Canada
- Related codes
- API 1104 is the US counterpart · CSA W59 for structural steel in Canada
Who it's for
One record. Both sides of the job.
How inspection works
Methods under CSA Z662.
Who sets the procedure, who sets acceptance, and who may do the work, method by method.
| Method | Procedure | Acceptance | Certification |
|---|---|---|---|
| Radiographic (RT) | Z662 Clause 7 radiographic requirements; film or digital | Z662 Clause 7 radiographic acceptance standards | CAN/CGSB-48.9712, plus Canadian Nuclear Safety Commission certification to operate the source |
| Ultrasonic (UT), incl. automated and phased array | Z662 Clause 7 ultrasonic requirements | Z662 Clause 7 ultrasonic acceptance standards | CAN/CGSB-48.9712, UT |
| Magnetic particle (MT) | Z662 Clause 7 requirements | Z662 Clause 7 | CAN/CGSB-48.9712, MT |
| Penetrant (PT) | Z662 Clause 7 requirements | Z662 Clause 7 | CAN/CGSB-48.9712, PT |
| Visual (VT) | Visual inspection of every weld | Z662 Clause 7 visual requirements | Qualified welding inspector |
Acceptance criteria
How a weld passes or fails.
Z662 judges imperfections by type, then by size and how they add up along the weld, in the same way as other pipeline codes. Its limits are its own, so a weld can't be called against API 1104 numbers on a Canadian line.
- Cracks reject the weld.
- Lack of penetration and lack of fusion are limited by individual length and by total length in a set length of weld.
- Slag and porosity have their own limits for size, length, and how closely they're grouped.
- Ultrasonic indications are judged by length and height. Automated and phased array UT can size flaws through the wall, which radiography can't.
- Welds that won't see the hydrostatic test, such as tie-ins and closure welds, carry stricter inspection requirements, because the inspection has to stand in for the test.
Z662 also allows acceptance criteria based on an engineering critical assessment, through an annex, for girth welds where the operator has qualified it. The report has to say which acceptance standard was used.
A summary, not the code. Limits and exceptions are in the edition your job works to.
The report
What CSA Z662 reports have to carry.
The fields a Level III checks before signing. Miss one and the report comes back.
- Job, operator, line, and location, including the kilometre post or dig number
- Weld ID, welder ID and the welding procedure used
- Pipe diameter, wall thickness, grade, and material
- Z662 edition and the acceptance standard applied
- Method, technique, and equipment; for radiography, the IQI and sensitivity achieved
- Each indication: type, location, size, and the accept or reject call
- Final disposition per weld, and repair and re-inspection
- Technician name, CGSB certification and level, signature, and the reviewer's sign-off
Where reports go wrong
The CSA Z662 mistakes that send a report back.
How the job's procedures come from your plan
The NDT reporting checklist: eight ways to get reports right the first time
US criteria on a Canadian line.
A crew that works both sides of the border carries API 1104 habits onto a Z662 job. The limits differ, so the calls don't hold.
A tie-in treated like a mainline weld.
Closure and tie-in welds that skip the pressure test need more inspection than the rest of the spread. Reported like any other weld, they come back.
The wrong certification on the report.
In Canada the technician's CGSB certification is what counts. An employer-based US certificate on its own doesn't.
No dig or kilometre-post reference.
Without it the operator can't tie the report to the asset, and an integrity engineer can't find it later.
Related codes
The codes around it.
From the blog: The API 1104 edition on the report
Edition referenced: Z662:23. All codes and standards
FAQ
Questions.
Every other answer is on the FAQ page.
What are the CSA Z662 NDT requirements?
Clause 7 sets which welds get nondestructive examination, which methods may be used, who may do it, and the acceptance standards for each method. Welds that won't be pressure tested, such as tie-ins, carry stricter requirements.
Does CSA Z662 cover radiography?
Yes. Radiography is one of the methods Clause 7 allows for pipeline welds, with its own acceptance standards. In Canada the radiographer needs CGSB certification and Canadian Nuclear Safety Commission certification to operate the source.
Is CSA Z662 the same as API 1104?
No. Both cover pipeline welding and inspection, but Z662 is the Canadian code for the whole pipeline, and its acceptance limits are its own. A Canadian report is evaluated to Z662.
Which edition of CSA Z662 applies?
The one the regulator for the line's jurisdiction has adopted, and the operator's specification names. The report should state the edition it was evaluated to.

See your own report rebuilt.
Book a 30-minute demo on one of your real reports.
Not ready to talk? The calculator works out hours and costs back from your own numbers.

