Installing one of these units legally means meeting several overlapping sets of rules at once, and the heat pump water heater code requirements you have to satisfy come from three main sources: the International Residential Code for plumbing fixtures and relief valves, the Uniform Plumbing Code for structural and drainage specifics, and the National Electrical Code (primarily Article 422) for the circuit and disconnect. Local jurisdictions layer their own amendments on top. Federal law sets the efficiency floor through the Energy Policy and Conservation Act, but the installation itself is governed locally, and nearly every jurisdiction requires a permit and a final inspection before the work is signed off.1Federal Register. Energy Conservation Program: Energy Conservation Standards for Consumer Water Heaters
Space, Airflow, and Ambient Temperature
A heat pump water heater cools the air around it as it heats water, so it needs air volume to work with. Most manufacturers and adopting jurisdictions require roughly 1,000 cubic feet of unobstructed air space around the unit, which is about a 12-by-12-foot room with an 8-foot ceiling. Smaller rooms are workable only if the model supports ducting that pulls air from an adjacent space or the outdoors. A tight closet with no ducting will cause the unit to overcool its surroundings, lose efficiency, and potentially trip safety shut-offs.
Ambient temperature governs where the unit can actually live. Heat pump models are designed for spaces that stay between roughly 40°F and 120°F, and they perform best toward the warmer end.2ENERGY STAR. Heat Pump Water Heater Frequently Asked Questions An unheated garage that drops below 40°F in winter will force the unit onto resistance-heating backup. Basements, utility rooms, and attached garages that stay above that threshold year-round are the usual spots. Outdoor installation is generally not intended unless the manufacturer specifically rates the model for it.
Electrical Circuit and Disconnect
NEC Article 422 governs the branch circuit supplying the unit. Most models require a dedicated 240-volt circuit that serves no other appliance. Breaker size and wire gauge depend on the amperage draw listed on the nameplate: many standard residential models call for a 20- or 25-amp breaker with appropriately sized wiring, while higher-draw units need a 30-amp breaker with 10-gauge copper conductors. Always follow the manufacturer’s installation manual rather than assuming a one-size-fits-all circuit.
Newer 120-volt plug-in models are entering the market and can run on a standard household outlet, sometimes needing nothing more than a dedicated 15- or 20-amp receptacle near the unit. If you’re replacing a conventional electric resistance tank, you probably already have a 240-volt circuit in place, but the breaker and wire gauge may still need to be adjusted to match the new unit.
NEC 422.31 requires a disconnecting means for any permanently connected water heater, and the disconnect has to be within sight of the unit. If it’s more than 50 feet away, it must be lockable in the off position so a technician can shut off power and be certain no one reenergizes the circuit during service. Wiring must run through approved conduit or be properly secured within wall cavities, and the circuit needs correct grounding and bonding to the building’s grounding electrode system. These are the specific items an electrical inspector will check.
Temperature and Pressure Relief Valve
Every storage water heater, heat pump models included, must have a temperature and pressure (T&P) relief valve under IRC P2804. The discharge pipe connected to the valve has to match the valve’s outlet diameter, use approved materials such as CPVC or copper, and terminate no more than six inches above the floor, or run to an exterior location where the discharge is visible. The visibility rule is deliberate: a weeping valve usually signals excessive pressure or a failing valve, and you need to see it quickly.
Never cap, plug, or redirect a T&P discharge pipe to a concealed location. Inspectors fail this immediately. A blocked T&P valve on a pressurized tank is a genuine explosion hazard.
Thermal Expansion Tank
If your water supply has a check valve, pressure-reducing valve, or backflow preventer, the plumbing code treats the system as closed and requires a thermal expansion tank when a storage water heater is installed. Heated water expands, and in a closed system that expanded volume has nowhere to go, which drives pressure up to dangerous levels. The expansion tank absorbs it. It connects to the cold water supply pipe downstream of the check valve or backflow preventer and must be sized per the manufacturer’s instructions to keep system pressure within code limits.
This one catches many homeowners off guard because an older water heater may have operated for years without an expansion tank, often because an aging check valve was leaking slightly and unintentionally relieving pressure. A new installation triggers a code review of the entire water supply configuration, and the inspector will verify the expansion tank is present if the system is closed.
Structural Support and Seismic Bracing
A full tank is heavy. An 80-gallon unit can exceed 800 pounds when full, since water alone weighs about 8.3 pounds per gallon and the compressor hardware adds to the dry weight. The Uniform Plumbing Code requires the floor assembly to support the combined weight at full capacity. For an upper floor or attic installation, confirm the framing can handle the load; reinforcing joists may be necessary.
In earthquake-prone regions, seismic bracing is required. The typical code approach calls for heavy-duty metal straps securing the tank at the upper and lower thirds, bolted into wall studs with lag screws, which prevents the tank from tipping or rupturing during seismic activity. Some jurisdictions specify exact strap and fastener requirements, so check with your local building department rather than improvising with generic hardware.
Condensate Drainage
Because the unit dehumidifies the air as it operates, it produces condensate, sometimes several gallons per day. That water must drain to an approved destination: a floor drain, a utility sink, or the building exterior through a gravity-fed line. Discharging into a crawlspace or attic is prohibited because standing moisture causes structural rot. The drain line needs a minimum slope of one-quarter inch per foot to keep water moving and prevent stagnation.
When gravity drainage isn’t possible, say the unit sits on a slab with no nearby floor drain, an automatic condensate pump lifts the water to an approved discharge point. These pumps are inexpensive but add a maintenance item: if the pump fails and the unit lacks an overflow shutoff, water damage follows.
Permits and Final Inspection
Nearly every jurisdiction requires a permit before a water heater is installed or replaced. The application typically asks for the manufacturer’s specification sheet, including model number, storage capacity, Uniform Energy Factor rating, and physical dimensions. Some forms also require the circuit load in volt-amps and the total plumbing fixture count so the building department can determine whether your existing electrical panel can handle the new load. A simple site plan showing the unit’s location relative to walls and other appliances is usually part of the package. Permit fees generally run from about $30 to $200 depending on the municipality.
After installation, you schedule a final inspection to close out the permit. The inspector will verify:
- Seismic straps are tight and anchored correctly where required
- The condensate line drains freely to an approved destination
- The electrical disconnect is within sight, accessible, and properly wired
- The T&P discharge pipe terminates at the correct height
- A thermal expansion tank is in place if the system is closed
- The branch circuit matches the unit’s nameplate requirements
Passing produces a final sign-off that documents the work was done to code, which matters for resale, refinancing, and insurance claims. A deficiency means a correction notice and often a re-inspection fee, typically around $50. Skipping the permit entirely is worse than failing an inspection: unpermitted work can bring a notice of violation, fines, and in some jurisdictions an order to remove or redo the work. Even where enforcement is lax, unpermitted installations create problems during a home sale when a buyer’s inspector flags the work and the lender wants proof of code compliance that doesn’t exist.
Who Can Legally Do the Work
Whether you can install a heat pump water heater yourself depends on your jurisdiction. Many allow homeowners to pull their own permits and perform the work on a home they own and occupy. Others require that electrical or plumbing work be done by a licensed professional regardless of who owns the property. Even in homeowner-friendly jurisdictions, the installation touches 240-volt wiring, refrigerant-containing components, pressurized plumbing, and condensate drainage, each governed by a different section of code.
Whether you hire a contractor or do it yourself, the project still requires a permit, still requires inspection, and still has to meet every code requirement above. The permit protects you either way: if a contractor’s work fails inspection, it’s on them to correct it at no additional charge before the inspector will sign off.
The 2029 Federal Transition
One piece of context worth knowing if you’re planning a replacement now: the Department of Energy finalized new efficiency standards in 2024 requiring that all electric storage water heaters with a capacity greater than 35 gallons and up to 120 gallons use heat pump technology, effective for units manufactured on or after May 6, 2029. Traditional electric resistance water heaters in that size range will no longer be manufactured for the residential market after that date. Smaller units of 35 gallons or less and grid-enabled tanks over 75 gallons have different or unchanged requirements. Federal efficiency rules generally preempt state energy standards, though the DOE can grant waivers in limited circumstances.3Federal Register. Energy Conservation Program: Energy Conservation Standards for Consumer Water Heaters – Section: II. Introduction The code requirements for installation stay the same; what changes is the pool of units you’ll be able to buy.