Electric tankless water heaters are becoming popular in homes and businesses across the United States. Many people like these heaters because they save space, give hot water on demand, and are energy efficient. But before you buy or install one, it’s important to understand that electric tankless water heater code requirements are strict.
These codes exist to keep people safe, prevent fires, and make sure the system works as expected.
If you skip or misunderstand these rules, you could run into big problems. For example, you might fail an inspection, have an unsafe installation, or even void your warranty. Some people think installing a tankless water heater is simple, but the codes and standards are detailed.
Understanding them is not just for electricians or plumbers—homeowners and property managers should also know what’s required. This article will explain all the main code requirements for electric tankless water heaters in the US, including national and local codes, electrical and plumbing rules, ventilation, clearances, and more.
By the end, you’ll know exactly what to check and what to ask your installer.
Why Codes And Standards Matter
Building codes are not just paperwork or obstacles. These rules protect lives, property, and investments. For electric tankless water heaters, codes help prevent electrical fires, water leaks, and other hazards. They also ensure the heater works efficiently, which can save money and energy.
National codes like the National Electrical Code (NEC) and Uniform Plumbing Code (UPC) are updated regularly with new safety information. Local authorities may have extra rules as well. Always remember: a legal, code-compliant installation is required for passing inspections, getting insurance coverage, and keeping your warranty valid.
Key National Codes For Electric Tankless Water Heaters
Several main codes apply to the installation and use of electric tankless water heaters in the US. Here are the ones you must know:
- National Electrical Code (NEC)
- Uniform Plumbing Code (UPC)
- International Residential Code (IRC)
- Manufacturer Instructions
- Local Building Codes
Let’s look at each code and what it requires.
National Electrical Code (nec)
The NEC is the primary code for any electrical work in the US. It covers everything from wiring, breakers, and grounding to clearances and labeling.
Key NEC rules for tankless water heaters:
- Proper wire size and type
- Correct breaker size (ampacity)
- Dedicated circuit requirement
- Grounding and bonding
- GFCI/AFCI protection in some cases
Uniform Plumbing Code (upc)
The UPC covers how water heaters connect to the plumbing system. It ensures safe water flow, backflow prevention, and proper drainage.
UPC requirements include:
- Approved shut-off valves
- Pressure relief valve (if required)
- Approved materials for water lines
- Correct installation height and location
International Residential Code (irc)
The IRC brings together electrical, plumbing, and mechanical codes for homes. Local building departments often use the IRC as a base and add their own amendments.
IRC rules address:
- Appliance location and accessibility
- Structural requirements for mounting heaters
- Protection from freezing temperatures
Manufacturer Instructions
Most people forget this, but following the manufacturer’s instructions is not optional. These instructions are part of the code. If you don’t follow them, your installation will fail inspection—even if you follow every other rule.
Local Building Codes
Every city and state can add their own requirements on top of the national codes. For example, some areas need earthquake straps, special seismic supports, or stricter electrical standards. Always check with your local authority having jurisdiction (AHJ) before starting work.
Electrical Code Requirements
Electric tankless water heaters use a lot of power. That’s why the electrical code requirements are very detailed. Here are the critical areas you need to understand.
Correct Wire Sizing
One of the most important details is using the right wire size. If the wire is too small, it can overheat and cause a fire.
- For heaters rated 18-27 kW, you usually need 6 or 8-gauge copper wire (but always check the label).
- NEC Article 310.16 gives tables for ampacity.
- The wire must be rated for 75°C or higher.
Breaker Sizing
Each electric tankless unit needs a dedicated circuit breaker. The breaker size depends on the heater’s power rating.
- Common sizes: 40A, 50A, or even 60A breakers.
- Some units need two or three separate breakers.
- Never use a breaker with a lower rating than required.
Dedicated Circuit
Tankless water heaters must have their own circuit. You cannot share this circuit with outlets, lights, or other appliances.
- NEC 422.12 requires a dedicated branch circuit.
- Sharing could trip breakers or overheat wires.
Grounding And Bonding
The heater’s metal parts must be grounded. This protects you in case of a short circuit.
- NEC 250 covers grounding rules.
- Use the proper ground wire size (often 10-gauge or larger).
- Bonding clamps and ground rods may be required.
Gfci And Afci Protection
Some local codes require Ground Fault Circuit Interrupter (GFCI) or Arc Fault Circuit Interrupter (AFCI) breakers for added safety, especially in bathrooms or garages. This is to prevent electric shock.
Disconnect Switch
Many codes require a disconnect switch near the heater, especially for larger commercial units.
- NEC 422.31(B) covers this rule.
- The switch must be within sight or lockable.
Labeling
Panels and disconnects must be clearly labeled. This helps electricians and inspectors identify the correct circuit quickly.
Non-obvious insight: Many failures in inspections happen because the labeling is missing or unclear—not just because of wiring errors.
Common Electrical Mistakes
- Using aluminum wire (copper is preferred)
- Underestimating total amp load (especially with multiple units)
- Forgetting to check panel capacity before installing
Plumbing Code Requirements
Connecting an electric tankless water heater to your water system is not as simple as just “hooking it up. ” Here’s what the plumbing code says.
Approved Shut-off Valves
You must install manual shut-off valves on both the cold and hot water lines near the heater. This allows you to isolate the unit for repairs or emergencies.
Pressure Relief Valve
Not all electric tankless heaters need a temperature and pressure relief valve (T&P valve). But if the manufacturer requires it, the valve must be installed and piped to a safe drain location.
- Check local code and instructions carefully.
- In some areas, inspectors will require a T&P valve even if the manual does not.
Backflow Prevention
Some codes require a backflow prevention device. This stops contaminated water from flowing backward into the drinking supply.
- Air gaps or check valves may be needed.
- This is especially important in multi-unit buildings.
Approved Pipe Materials
The supply lines to and from the heater must be made from approved materials:
- Copper, PEX, or CPVC are common.
- Galvanized steel is usually not allowed for new installs.
Minimum And Maximum Water Pressure
Most electric tankless units work best with water pressure between 30 and 80 psi. If your supply is outside this range, add a pressure regulator or booster pump as needed.
Non-obvious insight: High water pressure can cause leaks and void the heater’s warranty. Always test before installing.
Drainage And Discharge
If your unit has a T&P valve or a condensate drain, the discharge pipe must be routed to a safe location. Never drain hot water onto walkways or into crawlspaces.
Mounting, Location, And Clearance Requirements
Where and how you install your electric tankless water heater is a major safety issue.
Mounting Methods
Heaters must be mounted securely to a wall or other solid surface. Do not hang from pipes or use makeshift supports.
- Use the brackets and anchors provided by the manufacturer.
- Wall material must support the unit’s weight.
Clearances
Codes and manufacturer instructions specify minimum clearances around the heater for safety and maintenance access.
- Typical clearances: 12-24 inches in front, 6 inches above and below, 3 inches on sides.
- Never block the unit with shelves or storage.
Accessibility
The heater must be accessible for repair and inspection. Do not install above ceilings, behind walls, or in crawlspaces unless allowed by code and instructions.
Protection From Freezing
Do not install electric tankless heaters in areas where temperatures can fall below freezing, unless the unit is rated for it.
- Frozen water can crack the heat exchanger.
- Some codes require insulation or heat tape for pipes.
Ventilation And Airflow
Electric tankless water heaters do not need venting for combustion gases (unlike gas units), but they still need proper airflow.
- Do not install in a completely sealed closet.
- Some units require a minimum room volume for cooling.
- Follow the manufacturer’s airflow requirements.
Sizing And Electrical Load Calculations
Many people underestimate how much power an electric tankless heater uses. Sizing the unit and the wiring correctly is critical.
Power Rating
- Most whole-house electric tankless heaters use 18-36 kW.
- This can equal 75-150 amps at 240 volts.
Main Service Panel Capacity
Before installing, check your main electrical panel capacity. Many older homes have 100-amp service, which may not be enough for a large tankless unit.
Pro Tip: If your panel is already full, you may need a costly upgrade to 200 amps.
Multiple Unit Installations
If you install more than one heater (for example, one for each bathroom), add up the total amp load. The wiring and panel must handle the combined load.
Local Permits And Inspections
You can’t just install an electric tankless water heater without getting the proper permits.
Permit Requirements
- Electrical permit: Required for any new wiring or breaker installation.
- Plumbing permit: Usually required for water line changes.
Inspection Process
After installation, you must pass inspections before the system can be used.
- Inspector will check wiring, breakers, grounding, clearances, and more.
- If you fail, corrections must be made before approval.
Homeowner Vs. Licensed Installer
Some areas allow homeowners to do their own work, but others require a licensed electrician and plumber. Check your local rules.
Common Local Code Variations
Local codes often add extra requirements. Here are a few examples:
- Seismic Straps: Required in earthquake zones (California, Pacific Northwest).
- Snow Load Protection: In cold states, pipes and units must be protected from ice.
- Anti-Scald Devices: Some regions require mixing valves to prevent hot water burns.
- Accessibility for Disabled: Public buildings may need special mounting heights.
- Energy Efficiency Requirements: States like California may require only units that meet certain efficiency ratings.
Example: Comparing Electric Tankless Water Heater Requirements
Here’s a look at how requirements can differ for three common US cities:
| City | Electrical Panel Minimum | Permit Required? | Special Local Rule |
|---|---|---|---|
| Los Angeles, CA | 200 amps | Yes, both electrical & plumbing | Seismic straps, low-lead plumbing |
| Houston, TX | 150 amps | Yes, electrical only | Backflow prevention device |
| Chicago, IL | 200 amps | Yes, both electrical & plumbing | Insulated pipes required |

Credit: diy.stackexchange.com
Example: Electrical Load Comparison
Choosing the right wire and breaker size depends on the unit. Here’s a comparison of three popular models:
| Model | kW Rating | Required Breaker(s) | Wire Size (Copper) |
|---|---|---|---|
| EcoSmart ECO 27 | 27 kW | 3 x 40A | 3 x 8 AWG |
| Stiebel Eltron Tempra 24 | 24 kW | 2 x 50A | 2 x 6 AWG |
| Rheem RTEX-18 | 18 kW | 2 x 40A | 2 x 8 AWG |
Note: Always check the actual manufacturer’s instructions for your model, as requirements may change.
Important Documentation And Records
Keeping good records is often overlooked but is very important.
- Save all permits and inspection reports.
- Keep a copy of the manufacturer’s installation manual.
- Write down the model, serial number, breaker size, and wire size for future repairs or inspections.
If you ever sell your home, these records can help avoid legal or insurance issues.
Warranties And Insurance
Electric tankless water heater warranties are usually void if you don’t follow code and use a licensed installer. Insurance claims may also be denied if the heater was not installed to code. Always read the fine print and keep proof of professional installation.
Maintenance And Code Compliance
Code compliance doesn’t end with installation. Regular maintenance is needed to keep the system safe and efficient.
- Check for leaks, corrosion, or electrical issues yearly.
- Flush unit if required by the manufacturer.
- Test breakers and GFCI/AFCI devices.
Tip: Some areas require an annual inspection of commercial units.

Credit: editorial.uaw.edu.ec
Upgrading From A Tank To Tankless: Special Considerations
Switching from a traditional tank heater to an electric tankless unit is not always simple. Here’s what to look for:
- Electrical Panel Upgrade: Most tank units use 30 amps; tankless units may need 100+ amps.
- Wire Runs: You may need to run new, heavier-gauge wire from the panel to the install location.
- Water Line Modifications: The old connections may not match the new heater.
- Wall Reinforcement: The tankless unit is wall-mounted, so the wall must be strong enough.
Examples Of Failed Installations
Learning from others’ mistakes can help you avoid problems. Here are a few common failure scenarios:
- Breaker trips every time the heater runs: Usually due to undersized wiring or breaker.
- Leaks at water connections: Often caused by using the wrong pipe material or skipping shut-off valves.
- Unit overheats or shuts down: May be due to blocked airflow, high water pressure, or incorrect installation location.
- Failed inspection: Missing permits, poor labeling, or not following manufacturer instructions.
What Inspectors Look For
When the building or electrical inspector comes to check your installation, here’s what they usually focus on:
- Correct breaker and wire size
- Proper grounding and bonding
- Clearly labeled panels and disconnects
- Required clearances and access
- Plumbing code compliance (valves, T&P, materials)
- Manufacturer instructions followed exactly
If you prepare for these points, your chance of passing the inspection is much higher.
Useful Resources
If you need to look up a code or want more details, these resources can help:
- National Fire Protection Association (NFPA): Publishes the NEC.
- International Association of Plumbing and Mechanical Officials (IAPMO): Publishes the UPC.
- Local building department websites.
- NFPA 70 (NEC)
Example: Permit And Inspection Process Timeline
Here’s what a typical installation timeline looks like:
| Step | Who Performs | Time Needed | Notes |
|---|---|---|---|
| Permit Application | Homeowner/Contractor | 1-3 days | May require fee |
| Installation | Licensed Electrician/Plumber | 1-2 days | Plan for possible panel upgrade |
| Inspection | Building Inspector | 1-7 days | Schedule in advance |
| Final Approval | Inspector/Building Dept. | Same day as inspection | Can use heater after approval |
The Role Of Professional Installers
While some homeowners install electric tankless water heaters themselves, using a licensed professional is usually safer and easier. Pros know the codes, have the right tools, and can handle surprises. In many areas, only licensed installers can pull permits and pass inspections.
The Future Of Electric Tankless Water Heater Codes
Codes change as technology improves. For example, some new codes may require Wi-Fi connectivity for remote monitoring, or tighter energy efficiency standards. It’s important to check for updates every few years, especially if you plan to sell your home or do renovations.
Final Thoughts
Understanding electric tankless water heater code requirements is essential for a safe, legal, and efficient installation. Codes cover everything from electrical wiring and breaker size to plumbing connections, clearances, and maintenance. The most common mistakes are underestimating the power needed, ignoring manufacturer instructions, or skipping permits and inspections.
If you’re planning to install a unit, take time to read the codes, talk to your local building department, and consider hiring a licensed professional. A code-compliant installation protects your investment, your safety, and your home’s value.
For more detailed standards and code texts, the NFPA official website is an excellent resource.

Credit: www.reddit.com
Frequently Asked Questions
What Size Breaker Do I Need For An Electric Tankless Water Heater?
The breaker size depends on the power rating of your heater. Most whole-house electric tankless units need 40-60 amp breakers, and sometimes two or three breakers for one unit. Always check the manufacturer’s instructions and the NEC for the correct size.
Is A Permit Always Required To Install An Electric Tankless Water Heater?
In most US locations, you need at least an electrical permit for new wiring and a plumbing permit for water line changes. Some small repairs may not require a permit, but installing a new unit almost always does. Check with your local building department.
Do Electric Tankless Water Heaters Need A Pressure Relief Valve?
Some models do, especially if the manufacturer or local code requires it. Even if the manual does not require a T&P valve, some inspectors may insist on it for safety. Always ask your local authority for guidance.
Can I Install An Electric Tankless Water Heater Myself?
Some homeowners install these units themselves, but many locations require a licensed electrician and plumber. If you do it yourself, you must still follow all code requirements and pass inspection. Mistakes can be costly or dangerous.
What Are The Most Common Reasons For Failing Inspection?
The most common reasons are using the wrong breaker or wire size, skipping required shut-off valves, poor grounding, missing labels, or not following the manufacturer’s instructions. Permits and inspections are there to catch these mistakes and keep your home safe.