Chapter II

Water Heater Installation

MasterPlumberPractice study guide with diagrams.

Water Heater Installation

Learning Objectives

Upon mastering this chapter, you will be able to:

4.Identify the applicable code sections for water heater installation across the IPC, UPC, NFPA-54, and Texas-specific regulations.
5.Distinguish between code requirements for storage, tankless, and indirect water heaters.
6.Apply correct sizing calculations for temperature and pressure (T&P) relief valves and expansion tanks.
7.Specify proper combustion air, venting, and clearance requirements for gas-fired units.
8.Recognize the licensed plumber’s responsibility for permits, inspections, and safety compliance under Texas law.
9.Avoid common exam traps related to valve placement, drip pans, seismic bracing, and electrical disconnects.

1.1 Scope and Authority

Water heater installation is governed by multiple overlapping codes. In Texas, the primary plumbing code is the 2018 International Plumbing Code (IPC) or the 2018 Uniform Plumbing Code (UPC), depending on local jurisdiction adoption. However, gas-fired water heaters also fall under the 2018 International Fuel Gas Code (IFGC) or NFPA 54 (National Fuel Gas Code). The Texas State Board of Plumbing Examiners (TSBPE) administers the license, but local municipalities enforce the adopted codes.

As a Master Plumber, you are responsible for ensuring the installation meets the most restrictive applicable requirement. When codes conflict, the stricter provision governs. The exam will test your ability to navigate between plumbing and fuel gas requirements without referencing the actual text.


1.2 Location and Clearances

1.2.1 General Placement

Water heaters must be located so they are accessible for service, repair, or replacement without removing permanent construction. The IPC requires a minimum working space of 30 inches front clearance and 24 inches side clearance for appliances requiring service. The UPC similarly requires access. For attic installations, a permanent walkway and lighting are required if the unit is more than 6 feet from the access opening.

1.2.2 Clearance from Combustibles

For gas-fired water heaters, clearance from combustible construction is specified by the manufacturer’s label. In the absence of labeling, NFPA 54 requires a minimum of 6 inches from the vent connector and 18 inches from the draft hood to combustible material. The exam often tests the “zero clearance” rating of direct-vent units versus the 6-inch rule for standard atmospheric units.

1.2.3 Elevation in Garages

Garage Water Heater 18-Inch Elevation Rule Garage Water Heater 18-Inch Elevation Rule TX-MST Ch.2 — Water Heater Installation · IPC/UPC 2018 · OSHA 1926 · NFPA 54 · TAS GARAGE — SECTION VIEW CONCRETE FLOOR GASOLINE VAPORS (heavier than air) RAISED PLATFORM BURNER IGNITION SOURCE C H 18″ MIN ⚠ Measure to IGNITION SOURCE — not tank bottom (gas vapors settle at floor) CONCRETE FLOOR 240V C H ✓ NO ELEVATION REQUIRED No ignition source No flammable vapor risk ELECTRIC WATER HEATER IPC/UPC 2018 §508.2 NFPA 54 §9.1.10 OSHA 1926.152 TAS — TX-specific Ignition source ≥ 18″ above floor MasterPlumberPractice

Both IPC and UPC require that water heaters installed in garages be elevated so the ignition source is at least 18 inches above the garage floor. This is to prevent ignition of gasoline vapors, which are heavier than air. The measurement is taken from the burner or ignition source, not the bottom of the tank. A common trap: the 18-inch rule applies to gas-fired units only; electric water heaters do not require elevation for this reason, though local amendments may differ.


1.3 Temperature and Pressure Relief Valves

1.3.1 Valve Requirements

Every storage water heater must be equipped with a temperature and pressure (T&P) relief valve. The valve must comply with ANSI Z21.22 (for gas) or ASME (for electric). The set point must not exceed 210°F and 150 psi (or the tank’s rated working pressure, whichever is lower). The valve must be installed in the designated tapping on the tank, with no shutoff valve between the tank and the relief valve.

1.3.2 Discharge Piping

T&P Relief Valve Discharge Piping Rules T&P Relief Valve Discharge Piping Rules IPC/UPC 2018 · TX-MST Ch.2 Water Heater Installation · Master Plumber Theory Water Heater (Tank) T&P Floor Receptor 6" min Same size or larger than valve outlet No reducing coupling No trap (no P-trap) Unthreaded end Air gap termination Never direct-connected to drainage system UPC Insets Max length: 15 ft Max elbows: 2 total No valve in discharge line IPC: discharge to floor receptor, not directly to drainage OSHA 1926.21: safety training for hot water systems TAS: scald protection at point of discharge NFPA 54: gas water heater clearance requirements ▼ Gravity flow Slope down MasterPlumberPractice IPC 504.4 UPC 608.5 TX-MST Ch.2

The discharge pipe must:

Be piped to a safe point of disposal (floor drain, outdoors, or approved receptor).
Not be threaded at the end (to prevent capping).
Be the same size as the valve outlet or larger.
Not have a reducing coupling.
Not be trapped.
Discharge in a manner that cannot cause scalding (typically 6 inches above the floor or receptor).
Be of a material rated for hot water (copper, CPVC, or approved plastic).

The maximum length of the discharge pipe is not specified in the IPC, but the UPC limits it to 15 feet with no more than two elbows. The exam frequently tests that the discharge pipe must not be directly connected to the drainage system—it must terminate with an air gap.

1.3.3 Sizing Calculation

For a typical residential water heater, the T&P valve is sized by the BTU input or wattage. The code requires that the relief valve have a discharge capacity at least equal to the input rating of the heater. For gas heaters, this is found on the nameplate in BTU/hr. For electric, use the formula:

BTU/hr = watts × 3.412

Example: A 4,500-watt electric heater has an input of 4,500 × 3.412 = 15,354 BTU/hr. A standard ¾-inch T&P valve with a rated capacity of 100,000 BTU/hr is sufficient. The exam may ask you to verify that the valve’s rated capacity exceeds the heater’s input.


1.4 Thermal Expansion Control

1.4.1 When Required

Thermal Expansion Closed-System Cause and Cure Thermal Expansion — Closed-System Cause & Cure IPC/UPC 2018 · TX-MST Ch.2 Water Heater Installation · Closed-book memorized recall THE PROBLEM — CLOSED SYSTEM Cold water supply BFP Check valve Closed system — no expansion relief WH 40–80 gal T&P PSI 150+ psi Hot out THE CURE — EXPANSION TANK Cold water supply BFP Check valve diaphragm air charge PRE-CHARGE = supply psi 60 psi supply = 60 psi air WH 40–80 gal T&P PSI ~60 psi safe Hot out CODE MEMORY HOOKS IPC 607.3 / UPC 608.3 — Thermal expansion tanks required on closed systems Tank pre-charge pressure must match incoming water pressure · Install on cold water side upstream of heater MasterPlumberPractice

Thermal expansion occurs when water is heated in a closed system. If a backflow preventer, check valve, or pressure-reducing valve (PRV) with a check valve is installed on the cold-water supply line, the system is closed. In such cases, an expansion tank or other approved device must be installed to prevent pressure buildup above the T&P valve’s set point.

1.4.2 Expansion Tank Sizing

The expansion tank must be sized based on the total system volume and the temperature rise. A simplified method:

Determine the water heater’s tank volume (e.g., 40 gallons).
Add the volume of the piping (approximate 1 gallon per 100 feet of ¾-inch pipe).
Use the acceptance volume chart provided by the tank manufacturer.

The exam rarely requires complex calculations but may test the concept that the expansion tank’s pre-charge pressure must match the incoming water pressure. If the supply pressure is 60 psi, the tank’s air charge must be set to 60 psi before installation.

1.4.3 Placement

The expansion tank must be installed on the cold-water supply line between the check valve (or backflow preventer) and the water heater. It may be installed vertically or horizontally, but if horizontal, it must be supported. The connection must be made with a tee fitting, not directly into the heater’s cold-water inlet.


1.5 Gas Piping and Combustion Air

1.5.1 Gas Supply Line

The gas piping to the water heater must be sized per NFPA 54 or the IFGC. For a typical residential water heater with an input of 40,000 BTU/hr, a ½-inch black iron pipe is usually sufficient for runs under 50 feet, but the exam may require you to consult the gas sizing table (NFPA 54 Table 402.4(2)). The key is that the total pressure drop from the meter to the appliance must not exceed 0.5 inches of water column (WC) for natural gas.

1.5.2 Sediment Trap

A sediment trap (drip leg) must be installed on the gas supply line serving the water heater. It must be located within 6 feet of the appliance and consist of a tee fitting with a capped nipple extending downward at least 3 inches. The trap collects moisture and debris. The exam often tests that the sediment trap is required on the appliance supply line, not on the main line.

1.5.3 Combustion Air

For gas-fired water heaters located in a confined space (less than 50 cubic feet per 1,000 BTU/hr of combined input), combustion air must be provided. Two methods are allowed:

Indoor air: Two openings, one within 12 inches of the ceiling and one within 12 inches of the floor, each sized at 1 square inch per 1,000 BTU/hr of total input.
Outdoor air: Two openings, each sized at 1 square inch per 4,000 BTU/hr, or one opening at 1 square inch per 3,000 BTU/hr if using horizontal ducts.

The exam trap: For a water heater with 40,000 BTU/hr, the indoor opening requirement is 40 square inches each. The outdoor requirement is 10 square inches each. Candidates often confuse the two ratios.


1.6 Venting Requirements

1.6.1 Category I (Atmospheric) Venting

Standard atmospheric water heaters must be vented through a listed Type B vent or masonry chimney. The vent connector must rise at least ¼ inch per foot toward the vent. The vent must terminate at least 3 feet above the roof and at least 2 feet above any portion of the building within 10 feet horizontally (the “3-2-10 rule”).

1.6.2 Direct Vent and Power Vent

Direct-vent (sealed combustion) water heaters draw combustion air from outside and vent products of combustion through a concentric or side-wall termination. Power-vent units use a fan to force exhaust through a side-wall vent. These units must be listed and installed per the manufacturer’s instructions. The exam may test that power-vent units do not require a draft hood and can use PVC venting if rated for the temperature.

1.6.3 Vent Connector Clearance

The vent connector must maintain clearance from combustible materials. For Type B vent, the clearance is typically 1 inch. For single-wall metal pipe, the clearance is 6 inches. The exam often asks for the minimum clearance for a single-wall connector passing through a combustible wall—the answer is 6 inches, unless a listed thimble is used.


1.7 Electrical Requirements

1.7.1 Disconnect and Circuit

Electric water heaters must have a dedicated circuit. The disconnect must be within sight of the appliance or capable of being locked in the off position. The circuit must be sized at 125% of the heater’s rated amperage. For a 4,500-watt, 240-volt heater, the current is 18.75 amps (4,500 ÷ 240). The circuit must be 30 amps (18.75 × 1.25 = 23.4, rounded up to 30).

1.7.2 Bonding and Grounding

The water heater’s metal piping must be bonded to the electrical grounding system. The bonding jumper must be sized per the NEC (National Electrical Code) Table 250.66. The exam may test that the bonding wire must be connected to the cold-water pipe within 5 feet of where it enters the building, not to the water heater itself.


1.8 Seismic Bracing and Strapping

1.8.1 Requirement

In seismic zones, water heaters must be braced to prevent overturning. The IPC requires that water heaters be anchored or strapped per the manufacturer’s instructions. The UPC has specific requirements: two straps, one in the upper third and one in the lower third of the tank, each capable of withstanding a horizontal force of 400 pounds.

1.8.2 Strap Details

The straps must be secured to wall studs with lag bolts, not to the drywall alone. The lower strap must be within 4 inches of the bottom of the tank. The exam may test that the straps must not be wrapped around the tank’s jacket in a way that compresses the insulation—they must be attached to the structural frame.


1.9 Drip Pans and Drainage

1.9.1 When Required

The IPC requires a drip pan for water heaters installed in locations where leakage could cause damage (e.g., above finished ceilings, in attics with flooring, or on upper floors). The pan must be at least 2 inches deep and have a minimum diameter of 2 inches greater than the tank’s diameter.

1.9.2 Pan Drain

The drip pan must be drained by a pipe of at least ¾-inch diameter to a safe location. The drain must not be connected to the sanitary drainage system—it must discharge by gravity to an approved receptor or outdoors. The exam may test that the pan drain must not have a trap, as it is not a sanitary fixture.


1.10 Texas-Specific Regulations and Business Responsibility

1.10.1 Permits and Inspections

Under the Texas Plumbing License Law (Texas Occupations Code, Chapter 1301), a permit is required for water heater installation. The Master Plumber is responsible for obtaining the permit and scheduling inspections. Working without a permit is a violation that can result in fines and license suspension.

1.10.2 Insurance and Liability

The Master Plumber must carry workers’ compensation insurance if they have employees. Additionally, general liability insurance is required by most municipalities. The exam may test that a Master Plumber cannot delegate the responsibility for code compliance to an unlicensed helper.

1.10.3 TAS and Accessibility

While water heaters are not typically subject to the Texas Accessibility Standards (TAS) in single-family homes, commercial installations must ensure that controls and valves are within accessible reach ranges (between 15 and 48 inches above the floor). The exam may present a scenario where a water heater is in a public restroom—the T&P valve discharge must not create a tripping hazard in an accessible route.


1.11 Common Exam Traps

102.The 18-inch garage elevation is measured to the ignition source, not the tank bottom.
103.T&P discharge pipe must not be threaded at the end, must not have a shutoff valve, and must not connect directly to the drain.
104.Expansion tank is required only when a check valve or backflow preventer is present.
105.Sediment trap is required on the appliance supply line, not the main line.
106.Combustion air ratios: 1 sq in per 1,000 BTU/hr (indoor) vs. 1 sq in per 4,000 BTU/hr (outdoor).
107.Vent termination: 3 feet above roof, 2 feet above anything within 10 feet.
108.Electric circuit sizing at 125% of continuous load.
109.Seismic straps must be in the upper and lower thirds, not the middle.
110.Drip pan drain must not be trapped or connected to the sanitary system.
111.The T&P valve’s rated capacity must equal or exceed the heater’s input.

1.12 Code Navigation

ConceptIPC (2018)UPC (2018)IFGC/NFPA 54
Water heater location/clearanceChapter 5, Section 504Chapter 5, Section 508NFPA 54 Chapter 9
T&P relief valveSection 504.4Section 508.4
Discharge pipingSection 504.6Section 508.5
Expansion tanksSection 607.3Section 608.3
Gas piping sizingNFPA 54 Table 402.4(2)
Combustion airNFPA 54 Chapter 3
VentingChapter 8 (if referenced)Chapter 5, Section 510NFPA 54 Chapter 13
Seismic bracingSection 504.9Section 508.2
Drip pansSection 504.7Section 508.6
Sediment trapNFPA 54 Section 408.4
Garage elevationSection 504.3Section 508.1

1.13 Field Practice for the Master Plumber

On site, the Master Plumber must:

Verify the water heater’s nameplate ratings (BTU, wattage, pressure) before installation.
Confirm the T&P valve’s rated capacity exceeds the heater’s input.
Test the T&P valve after installation by lifting the lever to ensure free movement.
Set the expansion tank’s pre-charge pressure to match the incoming water pressure.
Check that all gas connections are leak-tested with a manometer or soap solution, not an open flame.
Ensure the vent connector is properly supported and sloped.
Document the installation with photos and a signed certificate of compliance for the homeowner and the local authority.

1.14 Summary

Water heater installation is a high-liability task that requires mastery of plumbing, fuel gas, and electrical codes. The Master Plumber must ensure safety, code compliance, and proper documentation. The exam will test not only recall of specific numbers but also the ability to apply them in real-world scenarios. Focus on the relationships between the heater’s input, relief valve capacity, expansion control, and combustion air. Remember that the code is minimum—good practice often exceeds it.


This chapter is original study material prepared for the Texas Master Plumber exam. It is not a substitute for the official code texts, which are copyrighted by ICC, IAPMO, and NFPA. Candidates are advised to obtain the current editions for reference during preparation.

Ready to test this chapter?

Practice with exam-aligned questions and timed simulations.

Start Practicing Free