The rule
When a section or the whole hot and cold water system is complete, it gets tested with water or air. A water test pressure has to be at least the working pressure the system will see. An air test is at least 50 psi.
Either way, the system has to hold the test pressure with no sign of leakage for not less than 15 minutes.
Plastic pipe isn't tested with air. The exception is PEX, PP or PE-RT tube, which can be air tested where the manufacturer's instructions permit it.
On the job
- Put a gauge on the system and leave it visible for the inspector. A test that nobody can read doesn't count for much.
- Test before the walls are closed. The test is there to find leaks you can still reach.
- Look up the tubing manufacturer's instructions before air testing PEX, PP or PE-RT. Without that permission the test is with water.
The inspector and your city's adopted edition have the final word.