What the relief valve is actually for
A storage water heater is a pressure vessel full of water above ambient temperature. If the thermostat fails and the high-limit fails with it, water in a closed vessel under pressure can be driven well above 212°F while remaining liquid. If the vessel then ruptures, that superheated water flashes to steam instantaneously and the tank becomes a projectile.
The temperature and pressure relief valve, universally shortened to TPR, is what prevents that: it opens on excessive temperature or pressure and dumps water somewhere safe. The International Code Council calls it an important safety device for the water heater as well as for the water distribution system to which it is connected.
Everything else follows from one fact: the valve only works if what comes out of it can go somewhere safe and visible. That is why the code spends far more words on the discharge piping than on the valve.
Discharge piping — the rules, and the deficiencies inspectors find
The 2021 International Plumbing Code at §504.6, and the International Residential Code at §P2804.6.1, set out roughly fourteen requirements for discharge piping. Condensed: it shall not connect directly to the drainage system; shall discharge through an air gap in the same room as the heater; shall be full size and serve a single relief device; shall discharge to the floor, an indirect waste receptor, a pan, or the outdoors, causing no injury or structural damage, to a readily observable point; shall not be trapped and shall drain by gravity without sags; shall terminate not more than 6 inches above, and not less than two pipe diameters above, the floor or flood level rim; and shall have no threaded end, no valves and no tee fittings.
That reads as bureaucracy until you see what it corresponds to on site:
- Discharge terminating in the attic, into a wall cavity, or above a ceiling — nobody sees it operate, and the water goes into the structure.
- Discharge hard-piped into a drain — no air gap, and a cross-connection — or a threaded end, meaning somebody has capped it or intends to.
- A valve in the discharge line. Astonishingly common, and it converts a safety device into decoration.
- Sags and traps — a trapped line holds water, corrodes, and can freeze.
- Reduced-diameter pipe, two heaters sharing one discharge line, or no relief valve at all — the worst finding on the list, and it still turns up.
Pans and pan drains are damage limitation, not protection
The residential code requires a pan where a storage tank sits somewhere leakage would cause damage: at least 1.5 inches deep, of galvanised steel or another approved material, with a drain of at least ¾ inch nominal terminating outdoors not less than 6 inches above grade, or to an approved drain. TREC's rule is narrower: report as deficient, if applicable, the absence of a pan, or a pan drain system that does not terminate over a waste receptor or to the exterior above the ground surface.
What actually gets found: no pan at all under an attic-mounted heater, the highest-consequence water heater finding in Texas housing; a pan with no drain, which holds a few gallons and then overflows; a drain terminating in the attic, or tied into the HVAC condensate line, which TREC has addressed directly; a rusted-through pan, because pans are consumables and fail quietly; and a drain terminating below grade, where a discharge is never noticed.
Here is the design intent, which nobody explains. A pan is not leak prevention. It is damage limitation for a slow leak, and a visible warning that something is wrong. A drain terminating where a person will notice it does its job; one inside a soffit does not. And a catastrophic rupture overwhelms any pan ever made — which is the argument for a leak-detection device with automatic shutoff on an attic install.
Attic installations: the Texas special case
Attic-mounted water heaters are the North Texas norm, for the same reason attic HVAC is. The consequences are specific.
Water enters the living space from above. A slow leak tracks along ceiling framing and shows up as a stain, often at a distance from the heater. A catastrophic failure dumps the tank volume plus whatever the supply keeps delivering until somebody finds the shutoff — into finished space and contents. It is the most damaging common residential plumbing event in Texas housing, and it is why the pan and drain matter here.
Access is genuinely dangerous and frequently non-compliant. The Texas rule requires reporting the absence of an opening allowing access for inspection, service, repair or replacement without removing permanent construction, and the absence of a floored passageway and service platform where applicable. IRC §M1305 specifies an access opening not less than 20 by 30 inches and large enough to remove the largest appliance; a passageway not less than 30 inches high and 22 inches wide and not more than 20 feet long; continuous solid flooring not less than 24 inches wide; and a level service space at least 30 by 30 inches.
If the passageway or platform is missing or unsafe, the inspector may not reach the unit. A note reading "not inspected due to lack of safe access" is a finding, not an omission — it means you are buying a water heater nobody has looked at, and it is a thing to resolve before closing.
The mitigation package is cheap relative to what it prevents: a correctly sized pan draining somewhere visible; a labelled, accessible cold water shutoff, whose absence is itself reportable; and a leak-detection sensor with automatic shutoff in the pan. That last item is required by neither the code nor the inspection standard, and it is the highest-value voluntary upgrade for an attic install.
Thermal expansion, and why expansion tanks became necessary
Water expands when heated — roughly 2% by volume from about 40°F to about 120°F. In an open system that volume pushes back into the water main. In a closed system it has nowhere to go, so pressure spikes on every heating cycle.
The interesting part is why systems became closed, and it has nothing to do with water heaters. Utilities increasingly install backflow preventers or check valves at the meter for cross-connection control, and pressure reducing valves go in where street pressure is high — any one of which converts an open system into a closed one. Expansion tanks went from rare to standard not because water heaters changed, but because the way water systems are protected at the meter changed.
That cycling stresses the distribution system, causes the relief valve to weep — which then gets misdiagnosed as a failed valve and replaced, which fixes nothing — and shortens the life of the heater. TREC's rule is unusually specific: report as deficient the lack of a visible expansion tank when a pressure reducing valve, check valve, or backflow preventer is in place at the water supply line or system.
One thing homeowners are almost never told: expansion tanks are not permanent. The air charge is lost over time and the bladder eventually fails, and a waterlogged tank does nothing while looking exactly like a working one — uniformly heavy, rather than light at the top. Checking it is a maintenance item for a plumber.
What an inspector can and cannot determine
The inspector shall report energy source and capacity, and report as deficient: inoperative units; leaking or corroded fittings or tanks; damaged or missing components; the absence of a cold water shutoff valve; the absence of a pan or a correctly terminating pan drain; inappropriate locations; the absence of an access opening or service platform; and the absence of or visible deficiencies in the relief valve and discharge piping. In a garage, burners must also be at least 18 inches above the floor unless the unit is listed for floor installation.
On gas units the inspector also reports flame impingement, uplifting flame, improper flame colour or excessive scale, and deficiencies in combustion air, vent pipe, draft hood, draft and vent termination. The most valuable of those locally is the orphaned water heater: a furnace and heater share a chimney sized for both, the furnace is replaced with a condensing unit venting through the wall in PVC, and the heater is left on a flue far too large for it. Flue gases cool, condense, fail to establish draft and corrode the liner. Common in DFW retrofits, and almost never disclosed at the change-out.
The inspector is not required to verify the effectiveness of the relief valve, discharge piping or pan drain; determine the efficiency or adequacy of the unit; inspect circulating pumps or solar water heating systems; operate shutoff valves; or anticipate future events.
One provision generates more complaints than any other. The rule requires reporting a relief valve that fails when tested manually — but expressly excuses testing where the inspector reasonably judges it may cause damage to persons or property. On an older, corroded or attic-mounted unit many inspectors will decline to lift the lever and will say so. That is a rule-compliant judgement, not a shortcut: a valve that opens and will not reseat has just become an active leak in your attic, and the inspector is not permitted to repair it.
Service life, and what to do about it
The best-sourced service life figures for this equipment come from the U.S. Department of Energy's Energy Saver programme: conventional storage heaters 10 to 15 years, tankless or demand units about 20 years, heat pump units about 10 to 15 years, and tankless coil and indirect units about 10 years. DOE presents these as comparison figures rather than a formal finding, but a federal agency's numbers beat a contractor's estimate. See DOE Energy Saver.
The 1990s DFW cohort is past two DOE service lives for a storage heater, so an original unit is unheard of and a second- or third-generation unit near end of life is the norm. Get the actual age from the data plate serial number. The real determinant of tank life is the anode rod, a sacrificial consumable most homeowners have never heard of and no inspection standard covers.
- Missing relief valve, a valve in the discharge line, or discharge terminating in the attic, in a wall or hard-piped to a drain — evaluate before closing. Safety, and cheap to correct.
- Attic unit with no pan or no pan drain, or a closed system with no visible expansion tank — evaluate before closing.
- Backdrafting, an orphaned heater on an oversized flue, or improper vent termination — evaluate before closing. This is the carbon monoxide category.
- A functional unit at or past DOE's stated service life — budget for it. Not an emergency and not a reason to walk; a known number on a known timeline.
- A unit under eight years old with no deficiencies, attic-mounted with a proper pan and drain — monitor, and put a leak sensor with automatic shutoff in the pan.
Common questions
How long does a water heater last?
The Department of Energy's Energy Saver programme states 10 to 15 years for a conventional storage tank and about 20 years for a tankless unit. Those are comparison figures rather than guarantees, and real service life turns on water chemistry, on whether the tank was ever flushed, and above all on the condition of the anode rod. Get the actual age from the serial number on the data plate rather than from the seller's recollection, and treat an in-service unit past the DOE range as a budget item rather than an emergency.
Why didn't my inspector test the temperature and pressure relief valve?
Because the rule allows the inspector not to, where operating the valve could reasonably cause damage to persons or property. On an older, corroded or attic-mounted unit, a valve that is opened and then fails to reseat becomes an active leak in your attic that the inspector is not permitted to repair. A rule-compliant report will say the valve was not operated and why. What the inspector must still do is report the absence of the valve, and any visible deficiency in it or in its discharge piping.
Does an attic water heater need a pan and a drain?
Yes, in any location where a leak would cause damage — which describes every attic. But understand what the pan is for. It is damage limitation for a slow leak and a visible warning that something has gone wrong; it is not protection. A pan with no drain holds a few gallons and then overflows into your ceiling, and no pan ever made survives a tank rupture. The pan drain has to terminate somewhere a person will actually notice water coming out. On an attic unit, add a leak sensor with an automatic shutoff valve — it is the single most useful thing you can spend money on up there.
Why is my relief valve dripping?
Most often because the system is closed and there is no working thermal expansion control. A pressure reducing valve, a check valve or a backflow preventer at the meter stops heated water from expanding back into the main, so pressure spikes on every heating cycle and the relief valve does its job by weeping. Replacing the relief valve does not fix this and is the most common wasted repair on the topic. The correct answer is an expansion tank, correctly pre-charged to the static system pressure — and if there is one already, check whether it has waterlogged, because a failed tank looks identical to a working one.
Do I need an expansion tank?
If there is a pressure reducing valve, a check valve or a backflow preventer anywhere on the incoming supply, then yes — the system is closed and thermal expansion has nowhere to go. A Texas inspector is required to report the lack of a visible expansion tank in exactly that situation. If none of those devices is present, the system is open and the expansion pushes back into the main. The complication is that utilities install check valves and backflow preventers at the meter without telling anyone, so a house that did not need a tank when it was built may need one now.
My water heater is 14 years old and works fine. Should I replace it?
Not on age alone. A functioning unit at the top of the DOE range is a budget item with a knowable timeline, not a defect, and replacing working equipment early buys nothing. What changes the answer is location and consequence: a 14-year-old tank in a garage with a floor drain is a very different risk from the same tank in an attic above a finished ceiling. If it is in the attic, the sensible sequence is to verify the pan and drain, add a leak sensor with automatic shutoff, and plan the replacement on your schedule rather than on the tank's.