Residential Plumbing 100%

2021 IRC plumbing review

Lesson 14: Review and Practice Exam

Course review · 20 practice questions

0:00 / --:--

Reading

Thirteen lessons have covered the plumbing provisions of the 2021 IRC from the permit and the first water test through rehab and lead-free requirements. This lesson does not introduce anything new. It walks the numbers back through in roughly the order an inspector actually meets them on site: testing and protection first, then fixtures and heaters, then the water side, then the drain side, then vents and the special cases, then how the code treats older houses. Every figure below was covered and verified in an earlier lesson; none of it is restated from memory, and none of it should be cited without checking the adopted code edition the way each earlier lesson said to. Read through the sections once, work the practice questions, and then use the practice exam that follows this lesson to see where the gaps still are.

Rough-in and final inspection sequence for a plumbing system A flow diagram of five inspection stages in order: under-slab and underground piping, rough-in piping including DWV and water supply tests, protection and venting checks, concealment (drywall), and the final inspection of set fixtures. An arrow connects each stage to the next. 1. Underground Under-slab and trench piping Bedding, backfill, before the pour 2. Rough-in DWV water test Water supply test 10 ft head, 15 min; working pressure, 15 min 3. Protect and vent Shield plates, freeze protection, traps, vent terminals 4. Concealment Drywall, insulation, or backfill only after approval 5. Final Fixtures set, traps filled, system working Water heater, backflow devices, temperatures Work may not be concealed at any stage until it has been inspected and approved
The same five-stage sequence recurs on every job: piping is tested and protected before it disappears behind drywall, backfill, or a slab, and the final inspection checks the system operating rather than testing it again.

Administration, testing, and protection (Lesson 1)

A permit is required before plumbing work begins (R105.2), with narrow maintenance exemptions: stopping a leak, clearing a stoppage, and removing and reinstalling a water closet without replacing or rearranging any pipe, valve, or fixture. Nothing may be concealed, by drywall, insulation, fireproofing, or backfill, until it has been tested, inspected, and approved (P2503.2). The 2021 IRC requires a DWV water test filled to at least 10 feet above the highest fitting connection in the section under test, or to the highest point of the completed system, held 15 minutes with no leakage (P2503.5.1); handouts written for other editions or other codes may quote a different head, so use the 2021 figure. The air-test alternative for piping other than plastic is 5 psi, or a 10-inch mercury column, held 15 minutes, and plastic DWV piping is tested by vacuum instead. The water supply system is tested and proved tight at not less than working pressure, held 15 minutes (P2503.7). A shield plate is required in concealed locations wherever a pipe other than cast iron or galvanized steel sits less than 1-1/4 inches from the edge of a stud, joist, or plate, minimum thickness 0.0575 inch (No. 16 gage), extending at least 2 inches above sole plates and below top plates (P2603.2.1). Water service piping is buried at least 12 inches deep and at least 6 inches below the frost line (P2603.5). Horizontal support spacing tracks pipe stiffness (Table P2605.1): PEX of 1 inch and smaller at 32 inches, CPVC 1 inch and smaller at 3 feet, PVC and ABS at 4 feet, cast iron at 5 feet, copper tubing 1-1/4 inches and smaller at 6 feet, and steel pipe at 12 feet.

Fixtures, fittings, and water heaters (Lessons 2 and 3)

Water closet clearance is 15 inches from the fixture centerline to a side wall, with at least 21 inches of clear space in front, and 30 inches between adjacent fixture centerlines (P2705.1). A shower compartment needs at least 900 square inches of area with no dimension less than 30 inches, or a 25-inch minimum dimension where the compartment has at least 1,300 square inches of area (P2708.1). Shower and tub or shower valves must be able to be limited to a maximum outlet temperature of 120 degrees Fahrenheit (P2708.4). Table P2903.2 sets maximum flow rates of 2.5 gpm at 80 psi for showerheads, 2.2 gpm at 60 psi for lavatory and kitchen faucets, and 1.6 gallons per flush for water closets. On the water heater side, a temperature relief valve is set to open at not more than 210 degrees Fahrenheit and a pressure relief valve at not more than 150 psi (P2804), and the discharge pipe runs full size, without threads, valves, or traps, terminating not more than 6 inches above the floor or waste receptor (P2804.6.1). A water heater pan, where a leak would damage the building, is not less than 1-1/2 inches deep with an indirect drain not less than 3/4 inch (P2801.6). Thermal expansion control is required where a check valve, backflow preventer, or pressure-reducing valve on a system with storage water heating lets expansion raise the pressure (P2903.4).

Key numbers
  • DWV water test (2021 IRC): 10 ft head above the highest fitting connection, held 15 min, no leakage; water supply test at working pressure, held 15 min
  • Shield plate: required within 1-1/4 in. of a framing edge for pipe other than cast iron or galvanized steel; min. 0.0575 in. (No. 16 gage), 2 in. above sole plates and below top plates
  • Shower compartment: 900 sq in. minimum, no dimension under 30 in. (25 in. allowed only with 1,300 sq in. total area)
  • Shower and tub/shower valve maximum outlet temperature: 120°F
  • T&P relief valve: opens at not more than 210°F or 150 psi; discharge pipe terminates not more than 6 in. above the floor or receptor

Water supply pressure, sizing, and materials (Lessons 4 and 5)

Maximum static water pressure is 80 psi; above that, an approved pressure-reducing valve is required at the connection to the water service pipe (P2903.3.2). A water hammer arrestor is required where quick-closing valves are used, such as at clothes washers, dishwashers, and ice makers (P2903.5). Water service pipe is not less than 3/4 inch in diameter, and shutoff valves are required on each fixture supply except bathtubs and showers (P2903.9.3). Water supply fixture units at typical private, residential values (combined hot and cold) run about 2.2 for a tank water closet, 0.7 for a lavatory, and 1.4 each for a bathtub, shower, kitchen sink, or clothes washer (Table P2903.6), used to size a branch or main from a table rather than by simple addition of flow rates. On materials, PVC pipe is listed for water service (Table P2906.4) but does not appear in the water distribution pipe table (Table P2906.5), while CPVC, PEX, and copper are listed in both. Solder and flux in potable systems are capped at 0.2 percent lead (P2906.15), and pipe, fittings, valves, faucets, and fixture fittings supplying drinking or cooking water are capped at a 0.25 percent weighted average (P2906.2.1). Support spacing on the water side follows the same logic as the drain side: PEX of 1 inch and smaller at 32 inches horizontal, copper tubing 1-1/4 inches and smaller at 6 feet horizontal, and CPVC 1 inch and smaller at 3 feet horizontal.

Backflow prevention and cross-connection control (Lesson 6)

An air gap is sized as twice the diameter of the outlet's effective opening, never less than the table minimum (P2902.3.1): 1 inch for an outlet 1/2 inch or less in diameter, 1.5 inches for an outlet 3/4 inch or less, and 2 inches for an outlet 1 inch or less, when the outlet is away from a wall, with larger minimums where the outlet sits close to a wall. Reduced pressure principle assemblies, double check assemblies, atmospheric and pressure vacuum breakers, and hose connection vacuum breakers each fit a different level of hazard, and reduced pressure, double check, double check detector, and pressure vacuum breaker assemblies must be tested at installation, after repair or relocation, and every year (P2503.8.2), a burden a simple air gap does not carry.

In the field

Walking a rough-in from start to final, a GCHS inspector checks the same items in roughly the same order every time. Before concealment: the DWV system holds its 10-foot water test for the full 15 minutes with no leakage, the water supply system holds at working pressure for 15 minutes, every pipe within 1-1/4 inches of a framing edge has a shield plate, piping in an exterior wall or unheated space has freeze protection, traps are the right size and not double-trapped or configured as an S-trap, and vent terminals clear the roof by at least 6 inches and any nearby opening by the required distance. At final: fixtures are set and operating with traps filled, shower and tub valves are limited to 120 degrees Fahrenheit, backflow devices are the correct type for the hazard and installed where required, and the water heater has its pan, its relief valve discharge routed correctly, and thermal expansion control if the system is closed. A gap at either stage means a return trip, and the rough-in stage is the one where a missed item is still cheap to fix.

Sanitary drainage, sizing, and cleanouts (Lessons 7 and 8)

Drains 2-1/2 inches and smaller slope at 1/4 inch per foot minimum, and drains 3 inches and larger slope at 1/8 inch per foot minimum (P3005.3). Cleanouts are spaced not more than 100 feet apart on a horizontal drain, plus at each change of horizontal direction greater than 45 degrees (P3005.2), and cleanout clearance is 18 inches minimum in front of a cleanout on 6-inch and smaller pipe, 36 inches on 8-inch and larger pipe (P3005.2.9). Pipe size is never reduced in the direction of flow, and drainage roughed in for future fixtures ends in an accessible permanent plug or cap (P3005.1.5). On sizing, common drainage fixture unit values are 1 DFU for a lavatory, 2 DFU each for a bathtub, a shower stall, a kitchen sink, and a clothes washer standpipe, and 3 DFU for a 1.6-gallon-per-flush water closet (Table P3004.1), and Table P3005.4.1 bars water closets from drains of 2-1/2 inches and smaller, so a water closet drain is 3 inches at minimum regardless of its DFU value.

Traps and venting (Lessons 9, 10, and 11)

Trap seal depth is not less than 2 inches and not more than 4 inches (P3201.2). Trap arm maximum developed length (Table P3105.1) runs 5 feet for 1-1/4-inch pipe, 6 feet for 1-1/2-inch pipe, 8 feet for 2-inch pipe, 12 feet for 3-inch pipe, and 16 feet for 4-inch pipe, sloped at 1/4 inch per foot for the smaller sizes and 1/8 inch per foot for 3-inch and 4-inch pipe. Every fixture gets its own trap, double trapping is prohibited, S-traps, bell traps, drum traps, and traps with moving parts are prohibited (P3201.5), and a vent may not connect within two pipe diameters of the trap weir (P3105.3). A vent terminal clears the roof by at least 6 inches (P3103.1.1) and must be at least 10 feet horizontally from a window, door, or other opening unless it extends at least 3 feet above the top of the opening (P3103.5). Where the 97.5-percent outside design temperature is 0 degrees Fahrenheit or less, frost closure requires the vent extension to be at least 3 inches in diameter, with the increase made at least 1 foot inside the thermal envelope (P3103.2). A vent is not less than 1-1/4 inches in diameter and not less than half the diameter of the drain it serves (P3113.1). A horizontal wet vent may serve any combination of fixtures within two bathroom groups (a water closet, lavatory, and bathtub or shower, with or without a bidet) on the same floor level, only those fixtures connect to the wet-vented branch, and the group needs a dry vent connection (P3108). An air admittance valve is located at least 4 inches above the horizontal branch or fixture drain it vents and at least 6 inches above insulation in an attic (P3114.4).

Key numbers
  • Slope: 1/4 in. per ft for drains 2-1/2 in. and smaller; 1/8 in. per ft for drains 3 in. and larger
  • Cleanout clearance: 18 in. minimum for pipe 6 in. and smaller; 36 in. for 8 in. and larger
  • Trap seal depth: 2 to 4 in.; trap arm max. length 5 ft (1-1/4 in.) up to 16 ft (4 in.)
  • Vent terminal: at least 6 in. above the roof; at least 10 ft horizontally from an opening, or 3 ft above it
  • Minimum individual vent: 1-1/4 in., and not less than half the served drain's diameter

Indirect waste, special systems, and rehab work (Lessons 12 and 13)

A clothes washer standpipe stands not less than 18 inches and not more than 42 inches above the trap weir, extended to not less than 30 inches where the standpipe is shared with a laundry tray (P2706.1.2). A sewage ejector's discharge piping requires a check valve and a full-open valve on its discharge side, and the sump needs a gastight cover and a vent (P3007). Under R102.7.1, new work in an addition, alteration, or repair has to meet current IRC requirements, without requiring the rest of an existing structure to comply, and without leaving that structure less compliant than before. A like-for-like water heater or fixture replacement is new work in its own right; galvanized pipe and polybutylene are documented as material conditions rather than cited as violations of a code that predates them, while a genuine defect such as an S-trap or a missing vent is corrected whenever the connected fixture falls inside the current scope of work. Lead-free for pipes, fittings, and fixtures has meant a weighted average of not more than 0.25 percent lead since January 4, 2014, and lead service line replacement runs on a separate track coordinated with the water utility, not scoped as a GCHS plumbing item.

About the practice exam

The practice exam linked at the end of this course draws 60 questions at random from a bank spanning six topic areas, in proportion to how much of the course each area covers, with 120 minutes to complete it. Aim for 70 percent as a working target. It is practice, not an official test of any kind, and it carries no certification or credential; the local adopted code, as amended by the permitting jurisdiction, always governs actual work, not this course or its exam, and many Texas cities adopt the International Plumbing Code or the Uniform Plumbing Code rather than the IRC's plumbing chapters directly, so the specific rules on a given job may differ from what this course covers. Use a missed question as a pointer back to the lesson that covers it, not as a final grade.

Practice questions

1. Under the 2021 IRC, a DWV section being water-tested must be filled to at least what level above the highest fitting connection?

  1. 5 feet
  2. 2 feet
  3. 10 feet, or to the highest point of the completed system
  4. 20 feet

2. A pipe passes through a stud less than 1-1/4 inches from the framing edge. What is required?

  1. Nothing, if the pipe is copper, because copper is corrosion resistant and needs no plate
  2. A steel shield plate, No. 16 gage, extending at least 2 in. above sole plates and below top plates
  3. A doubled stud on each side of the bored hole, fastened together with structural screws at 6 in. spacing
  4. Relocation of the pipe only, with no plate, since a plate is used only for cast iron

3. An inspector measures a shower compartment at 900 square inches with a 30-inch minimum dimension. Is this compliant?

  1. Yes, it meets the baseline minimum area and dimension
  2. No, 1,300 square inches is always required for a compartment of any dimension
  3. No, the minimum dimension must be at least 32 inches when measured at the threshold
  4. Compliance depends only on the valve type installed and the shower head flow rate

4. A tub/shower valve is installed that limits outlet temperature to 130 degrees Fahrenheit. Does this meet the code?

  1. Yes, any pressure-balance or thermostatic valve is acceptable regardless of how its temperature stop is set
  2. Yes, because 130 degrees is below the water heater's T&P relief setting of 210 degrees
  3. Only in a house without small children
  4. No, the maximum outlet temperature for a shower or tub/shower valve is 120 degrees Fahrenheit

5. A residential water heater's temperature and pressure relief valve is rated to open at not more than:

  1. 140 degrees Fahrenheit or 100 psi
  2. 180 degrees Fahrenheit or 125 psi
  3. 210 degrees Fahrenheit or 150 psi
  4. 250 degrees Fahrenheit or 200 psi

6. An inspector finds the static water pressure at a house measuring 95 psi. What does the code require?

  1. An approved pressure-reducing valve so static pressure does not exceed 80 psi
  2. Nothing, since 95 psi is within the acceptable range as long as fixtures are rated for it
  3. A backflow preventer instead of a PRV
  4. A water hammer arrestor only

7. Which pipe material appears in the 2021 IRC's water service pipe table (P2906.4) but not in its water distribution pipe table (P2906.5)?

  1. CPVC
  2. PEX
  3. Copper
  4. PVC

8. An inspector finds a hose bibb with no backflow protection connected directly to the potable water supply. What is this an example of?

  1. An approved air gap between the hose bibb outlet and the receiving surface
  2. A properly sized pressure-reducing valve installed on the exterior wall of the building
  3. An unprotected cross-connection, a hazard the code requires backflow prevention to address
  4. A code-compliant installation needing no correction, since a hose bibb is a standard exterior fitting on a dwelling

9. A horizontal drain 2 inches in diameter must slope at not less than:

  1. 1/8 inch per foot
  2. 1/2 inch per foot
  3. No slope requirement applies below 3 inches
  4. 1/4 inch per foot

10. An inspector finds a cleanout on a 4-inch building drain with only 10 inches of clear space in front of it. Is this compliant?

  1. Yes, 10 inches is sufficient for any cleanout size
  2. Yes, because clearance only applies to cleanouts smaller than 2 inches
  3. No, 24 inches of clearance is required in front of a cleanout on pipe 3 inches and larger
  4. No, cleanouts on 6-inch and smaller pipe need 18 inches of clearance in front

11. What is the minimum required drain size for a 1.6-gallon-per-flush water closet, regardless of its drainage fixture unit value?

  1. 3 inches, because smaller drains are barred for water closets
  2. 1-1/2 inches
  3. 2 inches
  4. 4 inches

12. An inspector finds a lavatory trap sealed to a depth of 1-1/2 inches. Is this within the allowed range?

  1. Yes, any seal depth of 1 inch or more is acceptable when the trap is properly vented and accessible
  2. No, trap seal depth must be not less than 2 inches and not more than 4 inches
  3. Yes, because lavatory traps have no minimum seal depth
  4. No, the minimum seal depth is 6 inches, measured from the weir to the crown

13. A 1-1/2-inch trap arm has a maximum developed length, sloped at 1/4 inch per foot, of:

  1. 6 feet
  2. 5 feet
  3. 8 feet
  4. 12 feet

14. A vent terminal is measured 8 feet horizontally from an operable window and does not extend above the top of the window opening. Is this compliant?

  1. Yes, any distance under 10 feet is fine as long as the window is closed while the vent is in use
  2. Yes, because vent terminal clearance does not apply to windows
  3. No, the vent needs 10 feet of horizontal clearance, or must rise 3 feet above the opening top
  4. No, the vent must be relocated at least 20 feet away from every opening, with no height exception allowed

15. Where the 97.5-percent outside design temperature is 0 degrees Fahrenheit or less, frost closure requires a vent extension to be not less than what diameter?

  1. 2 inches
  2. 3 inches
  3. 4 inches
  4. 1-1/4 inches

16. An inspector finds a wet-vented bathroom group that includes a kitchen sink tied into the same wet vent. Is this arrangement allowed?

  1. Yes, any fixture may join a wet vent as long as slope is maintained and the branch is not undersized
  2. Yes, provided the kitchen sink is the fixture farthest from the stack and the wet vent is sized by Table P3108.3
  3. Only in a single-story house where every fixture in the group sits on the same floor level
  4. No, a wet-vented branch takes only fixtures from bathroom groups, and a kitchen sink is not one

17. A clothes washer standpipe is installed 12 inches above the trap weir. Does this meet the code?

  1. Yes, any height above the trap weir is acceptable
  2. Yes, because 12 inches exceeds the 6-inch minimum for other fixtures
  3. No, a standpipe must be not less than 18 inches above the trap weir
  4. No, the standpipe may not exceed 12 inches

18. A homeowner is replacing a failed lavatory with a new one, same location, no wall opened. Under R102.7.1, this work must:

  1. Meet only the code edition in force when the house was built, since the location is unchanged
  2. Meet current requirements for the new fixture and its fittings, without upgrading the untouched rough-in
  3. Trigger a full-house plumbing upgrade, including the drains and vents, before the fixture can be installed
  4. Be exempt from any code requirement as ordinary maintenance of an existing fixture

19. An inspector opens a wall and finds a lavatory with an S-trap, and the lavatory is part of the current remodel scope. What does R102.7.1 require?

  1. The S-trap is corrected to a vented P-trap, since the fixture is in the scope of work
  2. The S-trap may remain since it predates the current code and has never leaked
  3. Only documentation is required, with no physical correction to the trap or its vent
  4. The entire drain stack must be replaced regardless of its condition or age

20. Since January 4, 2014, "lead free" for pipes, pipe fittings, and fixtures under the Safe Drinking Water Act means:

  1. No detectable lead by any test method, measured at each faucet after flushing the line
  2. A weighted average of not more than 0.25 percent lead across the wetted surfaces
  3. Not more than 8 percent lead content
  4. Not more than 0.20 percent lead, the same standard as solder and flux

Glossary

Rough-in
Piping installed and roughly positioned before drywall, insulation, or backfill conceals it; the stage at which tests and most inspections happen.
DWV
Drain, waste, and vent: the piping system that carries wastewater away from fixtures and admits air to keep trap seals from siphoning out.
Shield plate
A steel plate covering a pipe that runs close to the edge of a framing member, stopping a fastener from reaching the pipe.
Air gap
A physical vertical separation between a water outlet and a potential source of contamination, sized to the outlet's effective opening.
Drainage fixture unit (DFU)
A relative measure of a fixture's discharge load, used with tables to size drain branches, stacks, and building drains.
Trap arm
The horizontal drain section running from a fixture's trap to its vent connection, limited in length by pipe size and slope.
Air admittance valve (AAV)
A one-way mechanical vent fitting that admits air to relieve negative pressure without an outdoor vent terminal, limited to specific locations and clearances.
R102.7.1
The IRC provision requiring additions, alterations, and repairs to meet current code for the work performed, without requiring the rest of the existing structure to comply, and without allowing the work to leave the structure less compliant than before.