PLB-230 · Lesson 11 of 12 · 21 min
Pressure testing, leak checks and purging
When the new 1-1/4 inch café main and the rooftop piping were complete, every joint visible and nothing yet covered, it was time for the pressure test. Maya, now signed off for testing piping under 2-1/2 inches, set up the café test with Dana close by: caps on every outlet, appliance valves isolated, a calibrated gauge on a test tee, air from the compressor through a filter. "The test proves the piping is tight before gas ever goes in," Dana said. "The tag proves to everyone who comes after us that we did it. Get both right."
This lesson covers the pressure test of new and altered gas piping, the leak check when gas is introduced and appliances are connected, how to find leaks, and how to purge air out of piping and get gas in safely. These are the steps between a finished installation and a working system, and they are where many serious incidents have happened.
Why piping is tested
A gas system has dozens or hundreds of joints, any of which could have a cross-thread, a cracked fitting, a missed CSST fitting step or a forgotten cap. A pressure test with air or inert gas at a pressure well above the operating pressure, held for a set time, finds leaks while the piping is still exposed and before any fuel is in it. The codes require every new installation, and every addition or alteration, to be tested before it is placed in service, before it is concealed, and in a manner the authority accepts.
The test is done before walls and ceilings are closed, so that any leak found can be reached. Where piping is installed in stages, each section is tested before it is covered. A test does not replace good workmanship: a joint that holds the test can still fail later if it was made badly, which is why the fitter's own check of every joint as it is made matters as much as the test.
Test medium, pressure and duration
CSA B149.1 requires the test to use air, an inert gas such as nitrogen, or carbon dioxide. Oxygen must never be used, because it can ignite oil or thread compound inside the pipe, and fuel gas is never used for the test. The test pressure and the minimum duration come from a table in the code, based on the maximum operating pressure of the system and the size and length of the piping. As a guide from that table, a typical residential natural gas system up to about 60 m long is tested at 15 psig (about 103 kPa) for 15 minutes, while a longer system at the same pressure needs a longer test, for example 60 minutes for a 70 m system. Ontario's amendments add a higher minimum test pressure, 100 psig, for wrapped or factory-coated piping other than CSST and coated copper tubing. On a real job, the fitter reads the exact row for the system in the adopted code.
Appliances, appliance valves, regulators and meters are not exposed to the test pressure unless they are rated for it. They are disconnected, or isolated by closing their shutoff valves, if the valves are rated for the test pressure, with the outlets capped. A gas valve or regulator exposed to 15 psig can be damaged internally and may leak or fail later. The meter belongs to the utility and is never part of the customer's test.
The gauge must suit the test: a dial at least 75 mm (3 in) across, a range with its maximum reading above the test pressure but not so far above it that small drops are invisible, and increments fine enough to show a meaningful change. For a 15 psig test, a 0 to 30 psig gauge with fine divisions works well. Gauges are checked against a reference or calibrated regularly, and a digital gauge or a chart recorder may be used where the authority accepts it.
Running the test and reading the result
Once the piping is pressurized to the test pressure, the supply is shut off and disconnected so that it cannot top up the pressure, the gauge reading and time are recorded, and the piping is left alone for the required duration. At the end, the reading is checked again. If the pressure has dropped, there is a leak, unless a temperature change explains the drop. If it holds, the piping passes.
Temperature matters because the air in the pipe expands and contracts as the pipe warms and cools. Piping on a sunny roof can gain pressure during a test, and piping in a cooling building can lose it, with no leak at all. A good tester notes the temperature, avoids starting a test on piping that is still changing temperature quickly, and does not explain away a real leak as a temperature effect. When in doubt, the test is extended or repeated.
# Pressure test of the cafe piping: did it pass, or did temperature fool us?
# Gauge readings are converted to absolute pressure; gas pressure is proportional
# to absolute temperature at constant volume (the ideal gas law).
ATM = 101.3 # kPa
def expected_end(p_start_kpa_g, t_start_c, t_end_c):
p_abs = (p_start_kpa_g + ATM) * (t_end_c + 273.15) / (t_start_c + 273.15)
return p_abs - ATM
start_g, t0 = 103.4, 24.0 # 15 psig at the start, pipe temperature 24 C
for t1, reading in [(24.0, 103.4), (19.0, 101.7), (24.0, 100.9)]:
exp = expected_end(start_g, t0, t1)
verdict = "pass" if reading >= exp - 0.2 else "LEAK: find it before retesting"
print(f"pipe {t1:4.1f} C: expected {exp:6.1f} kPa, gauge {reading:6.1f} kPa -> {verdict}")pipe 24.0 C: expected 103.4 kPa, gauge 103.4 kPa -> pass pipe 19.0 C: expected 100.0 kPa, gauge 101.7 kPa -> pass pipe 24.0 C: expected 103.4 kPa, gauge 100.9 kPa -> LEAK: find it before retesting
The first two readings pass: the second drop is fully explained by the pipe cooling a few degrees. The third shows a drop with no temperature change, which is a leak. The rule Dana gave Maya was never to accept a drop as temperature unless the numbers support it, and never to adjust or top up the pressure during the test.
Finding and fixing leaks
A leak is found with a leak detection solution, a listed liquid that bubbles at a leak, brushed or sprayed onto every joint, or with an electronic leak detector. Soapy water mixtures that leave corrosive residues are avoided on CSST and some fittings; listed solutions are made for the purpose. An open flame is never used to look for a leak, at any time, for any reason.
When a leak is found, the system is depressurized completely before the joint is worked on. A threaded joint is taken apart, the threads inspected, cleaned and recut if needed, sealant reapplied and the joint remade. A leaking fitting is replaced. After any repair, the whole test is repeated from the start.
When the test passes, the result is recorded. In Ontario, the test tag is attached near the meter or test point in a protected, accessible place, showing the address, the contractor's name and registration number, the date, the test pressure and duration, the total length and size of the piping, and the technician's name, certificate number and class, with the words that the tag must not be removed. The same information goes into the job file.
Introducing gas and purging
Before gas is introduced, the fitter confirms that every outlet is either connected to an appliance or capped, every appliance valve is closed, and the test has passed. Then the utility sets the meter, or the fitter opens the building valve if the meter is already in place, and the piping is purged: the air in the pipe is pushed out and replaced with gas.
Purging is one of the most dangerous moments in gas work, because a mixture of gas and air passes through the flammable range as the pipe fills. B149.1 sets out how purging is done, including when a system must be purged to the outdoors rather than into the building, based on the size and pressure of the piping. Small systems are often purged into a well-ventilated space through an appliance burner with its ignition operating, so that the gas burns as it arrives, or through a hose to the outdoors. Large-diameter or long piping is purged to the outdoors, away from ignition sources and building openings, with a combustible gas indicator confirming when gas has arrived.
The 2009 explosion at a food plant in the United States, where gas purged indoors during the commissioning of a new water heater line ignited and killed four people, led to tighter purging rules in both countries' codes and in industry practice. The lesson is simple: purged gas must go somewhere safe, and someone must be watching the whole time.
Leak checks at operating pressure
After gas is in the piping and the appliances are connected, the system is checked for leaks at operating pressure. The common method is to close all appliance valves and watch the meter's test dial or a manometer for a set time, often 10 minutes, with no movement allowed. Every joint made after the pressure test, such as the appliance connections, is checked with leak solution. Appliance gas valve trains are checked as the manufacturer and code require.
A gas system that is altered later, for example when an appliance is replaced, is leak-checked in the same way before the appliance is put back into service. A small leak at a union or connector is still a leak; it is fixed, not tolerated, because small leaks grow and because a small leak in a closed room is how explosions start.
Worked problem
A failed café test
Maya pressurizes the café piping to 103 kPa (15 psig) at 24 °C. After the 15-minute test, the gauge reads 100.9 kPa and the pipe temperature has not changed. What does she do?
Show solution
- The drop is not explained by temperature, so the piping has a leak.
- Brush listed leak solution onto every joint, starting with the joints made most recently and those under strain.
- When the leak is found, a union that was not fully tightened, depressurize the piping completely.
- Remake the joint properly, inspecting the seat and threads.
- Repeat the full test from the beginning, and record only the passing test.
Answer: Find the leak, depressurize, repair properly, and retest from the start.
Testing additions and existing systems
When new piping is added to an existing system, the new section is tested on its own before it is connected, because the existing piping and its connected appliances cannot safely take the test pressure. The connection between the new and old piping, made after the test, is then checked with leak solution at operating pressure once gas is restored. If there is any doubt about the condition of the existing piping, for example after a fire, flood or long shutdown, the authority or the code may require the existing system to be tested as well, with its appliances isolated.
Gas supply restored after any shutoff, whether for an alteration, a utility interruption or a repair, is treated carefully. Before the main valve is opened, every appliance valve and pilot valve downstream is confirmed closed, so that gas cannot flow into an open burner or an unlit pilot. Then the system is leak-checked and each appliance is relit following its instructions. On Kingsway, the shutdown checklist for the café and the house system lists every valve to close and reopen in order, and each step is initialled.
Common mistakes
MistakeTesting with oxygen or fuel gas.
InsteadUse air, nitrogen, carbon dioxide or another inert gas.
MistakeLeaving appliance valves and regulators exposed to the test pressure.
InsteadDisconnect or isolate components not rated for the test.
MistakeExplaining away a pressure drop as temperature without checking.
InsteadCalculate the effect or extend the test; otherwise find the leak.
MistakeLooking for a leak with a flame.
InsteadUse listed leak solution or an electronic detector.
MistakePurging gas indoors unattended or near ignition sources.
InsteadPurge to the outdoors where required, monitored at all times.
Summary and key terms
- New and altered gas piping is pressure tested with air or inert gas before it is concealed or placed in service.
- B149.1 Table 6.3 sets test pressure and duration; a typical small system is tested at 15 psig for 15 minutes.
- Components not rated for the test pressure are isolated, and the meter is never tested.
- Pressure changes with temperature; only a calculated temperature effect explains a drop.
- Leaks are found with listed solutions or detectors, repaired depressurized, and the test repeated.
- Purging passes through the flammable range; large or high-pressure piping is purged outdoors, monitored.
- After gas is introduced, a leak check at operating pressure confirms the system is tight.
- Test medium
- The air or inert gas used to pressurize piping for a test.
- Test duration
- The time the test pressure must hold without loss.
- Purging
- Replacing the air in piping with gas, or gas with air, in a controlled way.
- Combustible gas indicator
- An instrument that reads gas concentration, often as a percentage of the LEL.
- Leak detection solution
- A listed liquid that bubbles where gas escapes from a joint.
- Test tag
- A record of the test attached to the piping system.
Practice problems
Work each problem on paper first, then reveal the answer to check.
Which gases may be used to pressure test gas piping?
Show answer
Air, nitrogen or another inert gas, or carbon dioxide; never oxygen or fuel gas.
What is a typical test for a small residential system under B149.1?
Show answer
15 psig for 15 minutes.
What higher minimum does Ontario add for coated piping?
Show answer
100 psig, except CSST and coated copper tubing.
Why must the supply be disconnected during the test?
Show answer
So it cannot top up the pressure and hide a leak.
Where must larger piping be purged?
Show answer
To the outdoors, away from openings and ignition sources, monitored.
How long is a typical leak check at operating pressure?
Show answer
About 10 minutes with no meter or gauge movement.
Lesson quiz · 5 questions
Score 60% or more to complete this lesson.
Create a free account to save your progress, take quizzes and earn a certificate.