Topic 02 · General Regulations
General Regulations
Chapter 3 of the 2024 IPC lays down the universal ground rules for all plumbing installations. Think of this as the foundation before we get into the weeds of specific piping. It governs structural safety, protecting your materials from damage, trenching, backfilling, proper pipe support, and the critical pressure tests you need to pass before burying or hiding your work.
- Manufacturer vs. Code: Whenever the manufacturer's installation instructions disagree with the IPC, you must follow whichever rule is strictly harder/more restrictive.
- Protect the Structure: Plumbers aren't carpenters; do not indiscriminately cut or notch structural wood or steel. Leave everything in a safe condition.
- Protect the Pipes: Keep pipes safe from freezing, corrosive soils, and physical damage (like nails). Use sleeves through concrete and shield plates on studs.
- Support is Everything: Pipes must be fully supported in trenches (no blocks!) and hung at specific intervals inside buildings to prevent sagging and stress.
- Testing is Mandatory: Every system must be verified leak-free. You must know your testing pressures and hold times by heart (usually 15 minutes).
- No Plastic Air Testing: Never test plastic DWV piping with compressed air. It's dangerous and prohibited.
- Annular Space: The ring-shaped gap left between the outside of a pipe and the inside of the hole, wall, or sleeve it passes through.
- Tracer Wire: An insulated copper wire (minimum 14 AWG) buried right alongside plastic sewer pipes so they can be located from the surface later.
- Relieving Arch: A structural arch built into a foundation wall directly over a pipe to keep the heavy wall's weight off the plumbing.
- Plenum: A space in a building (often above a drop ceiling or under a floor) used for moving HVAC air; it has strict rules on what materials can be exposed inside it.
- Alternative Engineered Design: A custom plumbing system designed by a registered professional engineer that meets the intent of the code, even if it doesn't strictly follow standard IPC rulebooks.
Exam Prep & Tips
- Watch for Exceptions: Examiners love to test exceptions. For example, you can't put plumbing in an elevator shaft, except for floor drains and sump pumps at the base of the shaft.
- Testing is High Yield: Memorize Section 312. You will be asked about the pressures and hold times for water, air, and vacuum tests. The magic duration is almost always 15 minutes.
- Strictest Rule Wins: Always remember Section 301.7. If the code says one thing and the manufacturer says another, the strictest rule is the one that applies.
Prohibited Practices
- Plumbing systems shall not be located in an elevator shaft or elevator equipment room.
- Ashes, flammable liquids, poison, explosives, or grease shall not be deposited into the sewer system.
- Industrial/manufacturing waste shall not be introduced into the public sewer without official approval.
- Metallic piping (except cast iron, ductile iron, galvanized steel) shall not be placed in direct contact with steel framing, concrete, cinder walls, or corrosive soil.
- Pipes passing through concrete/masonry shall not be installed tightly; they must have sheathing that allows movement.
- Water/soil/waste pipes shall not be installed outside, in attics, or crawlspaces where subject to freezing unless protected by insulation or heat.
- Plumbing shall not be supported on blocks to grade in trenches.
- Pipes shall not rest on rock at any point in a trench.
- Truss members shall not be cut, drilled, or altered without written engineer approval.
- Trenching parallel to footings shall not extend into the 45-degree bearing plane of the footing.
- Thermal expansion tanks shall not be supported by the piping that connects to them.
- Plastic piping shall not be tested using air.
- Primary condensate drains shall not directly connect to any plumbing drain, waste, or vent pipe.
Most Tested Numbers
Clearances & Protection:
- Maximum strainer plate opening: 1/2 inch
- Pipe sleeve size through foundation: 2 pipe sizes larger than the pipe
- Sheathing thickness for pipe protection: 0.008 inch (8 mil)
- Shield plate thickness: 0.0575 inch (No. 16 gage)
- Shield plate extension: 2 inches above sole plates and below top plates
- Shield plate requirement distance: Holes closer than 1-1/4 inches from stud edge
- Footing protection bearing plane: 45 degrees
Trenching & Depths:
- Exterior water piping depth below frost line: 6 inches
- Exterior water piping depth below grade: 12 inches
- Rock removal depth below pipe bed: 3 inches
- Overexcavation trench backfill layer max: 6 inches
- Overexcavation for poor soil: 2 pipe diameters
- Trench backfill loose earth layer max: 6 inches
- Trench backfill cover over pipe crown: 12 inches
- Tracer wire size for plastic sewer: 14 AWG
Testing Requirements (All held for 15 minutes):
- Gauge increments (< 10 psi): 0.10 psi
- Gauge increments (10 - 100 psi): 1 psi
- Gauge increments (> 100 psi): 2 psi
- Drainage/Vent Water Test: 10-foot head of water
- Drainage/Vent Air Test: 5 psi (or 10-inch mercury column)
- Drainage/Vent Vacuum Test: -5 psi (or negative 10 inches mercury column)
- Drainage/Vent Final Smoke Test: 1-inch water column equivalent
- Water Supply Air Test: 50 psi
- Gravity Sewer Water Test: 10-foot head of water
- Forced Sewer Pressure Test: 5 psi greater than pump rating
- Shower Liner Test: 2 inches of water depth
Condensate:
- Minimum pipe slope: 1/8 inch per foot (1%)
- Minimum condensate pipe size: 3/4 inch
- Auxiliary pan depth: 1-1/2 inches
- Auxiliary pan oversize margin: 3 inches larger than coil
- Galvanized pan thickness: 0.0236-inch (No. 24 gage)
- Nonmetallic pan thickness: 0.0625 inch
Section 301.1 & 301.2: Scope and System Installation
This chapter covers the baseline, general rules for plumbing. When you run pipes and install fixtures, you must do it in a way that doesn't damage the building's structural bones (joists, studs) or ruin the surrounding walls.
Section 301.3 & 301.4: Connections
Everything that receives liquid waste (toilets, sinks) must be connected to the sanitary drainage system. Everything that needs water to work must be connected to the water supply. There are exceptions for certain fixtures (like laundry trays or showers) if they are safely draining to approved greywater systems.
Section 301.5 & 301.6: Sizes and Elevator Shafts
When the code lists pipe sizes, it means the standard nominal size (like saying "2-inch pipe"). Do not run any plumbing in elevator shafts or equipment rooms! The only exception is a floor drain or sump pump at the bottom of the shaft to keep it dry, and it must be indirectly connected to the drainage system.
Section 301.7: Conflicts
If the IPC says you need 2 inches of clearance, but the appliance manufacturer says you need 4 inches - you follow the manufacturer. Always go with the strictest rule.
Section 302: Detrimental Materials
Keep garbage out of the sewer! You cannot flush ashes, rags, flammable/explosive liquids, or heavy grease. These will clog the system or mess up the city's sewage treatment plant. Factories and industrial sites can't dump industrial waste into the public sewer unless the inspector specifically approves it.
Section 303: Materials
Every pipe, fitting, and fixture must have a manufacturer stamp or identification. You have to install materials exactly how their standards dictate. Plastic pipes and fittings specifically need to carry a third-party certification showing they meet NSF 14. Cast-iron pipes and their rubber couplings also must have third-party testing labels.
Section 304: Rodentproofing
Keep the rats out. Strainer plates on drains can't have openings larger than 1/2 inch. Meter boxes have to be sealed so rodents can't crawl through the water service pipe sleeve into the house. Any time you drill a hole for a pipe through a wall or floor, you must completely seal the "annular space" (the gap around the pipe) with proper caulking or gaskets.
Section 305.1 & 305.2: Contact and Stress
Don't let copper or other metallic pipes touch steel framing, concrete, or bad soil, because they will corrode. (Cast iron, ductile iron, and galvanized steel are exempt). If you run copper through concrete, wrap it in at least 8-mil thick plastic sheathing that allows the pipe to move as it expands and contracts. Ensure your entire system is supported so the pipes aren't under physical stress.
Section 305.3: Pipes Through Foundation Walls
When running pipe through a heavy foundation wall, build a relieving arch over it, or run it through a sleeve. The sleeve must be two pipe sizes larger than the pipe inside it to prevent crushing.
Section 305.4: Freezing & Sewer Depth
Don't leave pipes exposed to freezing temperatures in attics, outside, or in crawlspaces without insulation and heat. Outdoor water lines must be buried at least 12 inches below grade, AND at least 6 inches below the local frost line. Building sewers must also be buried to specific depths depending on local data (listed as [NUMBER] blanks to be determined by local jurisdiction).
Section 305.5 & 305.6: Waterproofing and Shield Plates
Roof penetrations for vents must be made watertight using flashings (lead, copper, plastic, etc.). If you drill holes for pipes closer than 1-1/4 inches to the edge of a wood stud, you must protect the pipe from drywall screws using a steel shield plate. It must be 16-gage steel and stick out 2 inches past the plates.
Section 305.7 & 305.8: Physical Damage & Expansive Soil
If pipes are in alleyways or garages where cars can hit them, recess them or protect them. If you build on "expansive soil" (dirt that swells a lot), the plumbing under slabs needs to be isolated. Hang the plumbing with a void space underneath so the ground can swell without snapping the pipes.
Section 306.1 & 306.2: Trenching and Bedding
Buried pipe needs continuous support underneath. You cannot just prop pipe up on blocks to get your slope! Dig out little "bell holes" where the pipe hubs sit so the barrel of the pipe rests flat on the dirt.
Section 306.2.1, 306.2.2 & 306.2.3: Overexcavating and Rock
If you dig too deep, fill it back up with sand or fine gravel in 6-inch layers, tamping it down each time. If you hit rock, you must dig at least 3 inches below where the pipe will sit and backfill with sand so the pipe never touches the rock. If the dirt is soft and mushy, dig out two pipe diameters deep and fill it with crushed stone or concrete.
Section 306.2.4 & 306.3: Tracer Wire and Backfilling
When burying plastic sewer lines, run an insulated 14 AWG copper tracer wire right next to it so it can be found with a metal detector later. When backfilling trenches, use clean dirt (no big rocks or debris). Fill it in 6-inch layers, tamping it until you get 12 inches above the top of the pipe.
Section 306.4: Tunneling
If you tunnel or jack pipe under a sidewalk, make sure you properly support the earth so it doesn't cave in and crush the pipe later.
Section 307: Structural Safety
When you fix plumbing, don't leave holes in the floor; fix it safely. Follow the Building Code for notching wood or steel studs. NEVER cut or notch a roof truss without an engineer's sign-off. When digging trenches next to footings, stay out of the 45-degree angle zone going down from the footing edge - you'll undermine the building.
Section 308: Piping Support
Pipes have to be strapped and supported to handle the weight of the pipe plus the water inside. Don't mix metals that will cause galvanic corrosion (like using a steel strap on a copper pipe). Use the spacings in Table 308.5. Large drain pipes (4 inches and bigger) need rigid sway bracing if they change direction by more than 45 degrees horizontally. Do not hang an expansion tank from the pipes; support the tank directly.
Section 309: Flood Hazard Resistance
If you're in a flood zone, seal your well covers and manholes. Elevate equipment above the design flood elevation. Never strap pipes to breakaway walls on the coast.
Section 310 & 311: Toilet Facilities
Restrooms need proper light and air per the building code. You must provide porta-potties or similar sanitary toilet facilities for the workers on your construction site.
Section 312.1: Tests and Inspections
You have to prove your work doesn't leak. Give the inspector advance notice. You provide the equipment and labor for the test. Gauge rules:
- < 10 psi: use a gauge with 0.1 psi marks.
- 10-100 psi: use a gauge with 1 psi marks.
-
100 psi: use a gauge with 2 psi marks.
Section 312.2, 312.3 & 312.4: DWV Testing
- Water Test: Cap the system, fill it to the highest point, testing with at least a 10-foot head of water. Hold for 15 minutes.
- Air Test: NO PLASTIC PIPE. Pump to 5 psi. Hold for 15 minutes.
- Vacuum Test: Suck the air out to negative 5 psi. Hold for 15 minutes.
Section 312.5 & 312.6: Final and Water Supply Tests
- Final DWV Test: Usually visual. If using a smoke test, fill traps with water, pump in smoke to a pressure equal to a 1-inch water column, hold for 15 minutes.
- Water Supply Test: Test the fresh water pipes under their normal working pressure, OR an air test of at least 50 psi. Hold for 15 minutes.
Section 312.7 to 312.11: Sewer, Shower, and Backflow Tests
- Gravity Sewer: 10-foot head of water for 15 minutes.
- Forced Sewer (Pumped): 5 psi above the pump's rating for 15 minutes.
- Shower Pan Liner: Plug the drain, fill the floor with 2 inches of water. Hold for 15 minutes. No leaks allowed.
- Backflow Preventers: Must be inspected and tested annually.
Section 313 & 314.1: Condensate Disposal
Fuel-burning appliances that sweat acidic condensate must drain to an approved spot with corrosion-resistant pipe. Must slope at 1/8 inch per foot (1%).
Section 314.2: Evaporators and Cooling Coils
AC units create water. Drain it safely to an approved spot, sloping 1/8 inch per foot. You CANNOT dump it onto the street. You CANNOT pipe it directly into a standard drain/vent pipe (must go to a floor drain, mop sink, etc.). Minimum pipe size is 3/4 inch and must never shrink as it runs.
Section 314.2.3: Auxiliary Drains (Emergency Pans)
If an AC unit is in an attic and leaks, it'll ruin the drywall. You must have backup protection. Usually, this means putting an emergency drain pan under the unit. The pan must be 1.5 inches deep, 3 inches wider/longer than the coil, and made of 24-gage galvanized steel or 0.0625-inch plastic. You can also use a float switch (water-level device) that just shuts the AC off if the primary drain clogs.
Section 314.2.4 & 314.2.5: Traps and Maintenance
Trap condensate drains if the manufacturer says so. Ductless mini-splits need an in-line check valve/trap. You must build the drain lines so they can be easily cleaned without cutting the pipe.
Section 315: Penetrations
Any hole you make for a pipe to pass through a wall or floor must have the gap (annular space) sealed with approved fire-caulk, foam, or gaskets.
Section 316: Alternative Engineered Design
Sometimes standard rules don't work for huge/complex buildings. A registered design professional (like a mechanical engineer) can invent a custom system, as long as they prove it's just as safe, durable, and effective as the code. The inspector must review and officially approve the custom design.
TABLE 308.5 - HANGER SPACING
| PIPING MATERIAL | MAXIMUM HORIZONTAL SPACING (feet) | MAXIMUM VERTICAL SPACING (feet) |
|---|---|---|
| Acrylonitrile butadiene styrene (ABS) pipe | 4 | |
| Aluminum tubing | 10 | 15 |
| Cast-iron pipe | 15 | |
| Chlorinated polyvinyl chloride (CPVC) pipe and tubing, 1 inch and smaller | 3 | |
| Chlorinated polyvinyl chloride (CPVC) pipe and tubing, 1¼ inches and larger | 4 | |
| Copper or copper-alloy pipe | 12 | 10 |
| Copper or copper-alloy tubing, 1¼-inch diameter and smaller | 6 | 10 |
| Copper or copper-alloy tubing, 1½-inch diameter and larger | 10 | 10 |
| Cross-linked polyethylene (PEX) pipe, 1 inch and smaller | 2.67 (32 inches) | |
| Cross-linked polyethylene (PEX) pipe, 1¼ inches and larger | 4 | |
| Cross-linked polyethylene/aluminum/cross-linked polyethylene (PEX-AL-PEX) pipe | 2.67 (32 inches) | 4 |
| Lead pipe | Continuous | 4 |
| Polyethylene/aluminum/polyethylene (PE-AL-PE) pipe | 2.67 (32 inches) | 4 |
| Polyethylene of raised temperature (PE-RT) pipe, 1 inch and smaller | 2.67 (32 inches) | |
| Polyethylene of raised temperature (PE-RT) pipe, 1¼ inches and larger | 4 | |
| Polypropylene (PP) pipe or tubing, 1 inch and smaller | 2.67 (32 inches) | |
| Polypropylene (PP) pipe or tubing, 1¼ inches and larger | 4 | |
| Polyvinyl chloride (PVC) pipe | 4 | |
| Stainless steel drainage systems | 10 | |
| Steel pipe | 12 | 15 |
For SI: 1 inch = 25.4 mm, 1 foot = 304.8 mm.
a. The maximum horizontal spacing of cast-iron pipe hangers shall be increased to 10 feet where 10-foot lengths of pipe are installed.
b. For sizes 2 inches and smaller, a guide shall be installed midway between required vertical supports. Such guides shall prevent pipe movement in a direction perpendicular to the axis of the pipe.
TABLE 314.2.2 - CONDENSATE DRAIN SIZING
| EQUIPMENT CAPACITY | MINIMUM CONDENSATE PIPE DIAMETER (inch) |
|---|---|
| Up to 20 tons of refrigeration | inch |
| Over 20 tons to 40 tons of refrigeration | 1 inch |
| Over 40 tons to 90 tons of refrigeration | inches |
| Over 90 tons to 125 tons of refrigeration | inches |
| Over 125 tons to 250 tons of refrigeration | 2 inches |
For SI: 1 inch = 25.4 mm, 1 ton of capacity = 3.517 kW.