Installing a 240-Volt Tankless Water Heater: A DIY Guide to Wiring and Breaker Sizing
You’re looking at that tankless unit and wondering if you’ll blow a circuit or flood your laundry room. Get that out of your head right now.
This article gives you the straight talk on a safe install. We will cover mounting the unit, connecting the water lines, running the correct 240-volt cable, and sizing the circuit breaker.
I’ve installed these in tight basements and my own garage. The one thing you cannot skip is matching the breaker to the heater’s amp draw.
The First Rule: Know What Your Heater Demands
Before you touch a single wire, you need to know exactly what you’re plugging in. Ignoring this step is the fastest way to waste money or start an electrical fire.
Find the Nameplate
Look for a metal or sticker label on the side of your new tankless unit. This is its nameplate. It lists the hard electrical facts. You will see numbers for voltage, wattage, and amperage. Write these down. This label is your project’s bible.
Treat the nameplate data as absolute law; your entire wiring plan depends on it.
It’s 240 Volts, Not 120
A standard household outlet provides 120 volts. Your tankless electric water heater requires 240 volts. This is non-negotiable. Understanding how electric water heaters work helps explain why the higher voltage matters. They heat water on demand by passing electrical current through heating elements.
Why the difference? The heating elements inside need that higher voltage to generate enough heat, instantly. Trying to run a 240-volt heater on 120 volts is like putting regular gas in a diesel truck. It simply will not work. At best, nothing happens. At worst, you damage the unit’s internal electronics.
The Neutral Wire Question
Many homeowners see four wires (black, red, white, green) and get confused. For a standard 240-volt tankless heater, you typically only need the two hot wires (black and red) and the ground wire (green or bare copper).
The white neutral wire is often not used because the heater’s internal circuits run on the 240-volts between the two hot legs.
Check your unit’s manual. Some advanced digital models with displays or smart controls might require a neutral. If the manual or nameplate calls for it, you must connect it.
A Note on Heat Pump Heaters
If you’re installing a hybrid heat pump water heater (which has a compressor and fan), the rule is the same. The heating element and the compressor almost always require a 240-volt circuit. Always, always verify this on its specific nameplate, especially when considering the electrical requirements for your water heater.
Planning Your Power: Breaker and Wire Sizing
Now you know what the heater wants. Your job is to give it a safe highway to get that power. This means the right breaker and the right wire.
Calculating the Correct Breaker Size
Your nameplate gives you the heater’s amperage. Let’s say it says “40 amps.” You cannot just put in a 40-amp breaker. Electrical code requires a safety margin to prevent the breaker from tripping during normal operation.
Use this formula: Heater Amps x 1.25 = Minimum Breaker Size.
- Example: A 40-amp heater. 40 x 1.25 = 50. You need at least a 50-amp breaker.
- Example: A 32-amp heater. 32 x 1.25 = 40. You need at least a 40-amp breaker.
You then round up to the nearest standard breaker size (15, 20, 30, 40, 50, 60 amps).
Common Breaker Sizes
For small, single-point-of-use heaters, you might see 20-amp or 30-amp breakers. For whole-home electric tankless units, 40-amp, 50-amp, 60-amp, or even larger double-pole breakers are common. The breaker must match or exceed your calculated minimum size, and it must be a double-pole breaker.
Choosing the Right Wire
The wire gauge (thickness) is determined by the breaker size, not the heater’s amp rating. Thinner wire overheats. It’s a major fire hazard.
Follow this basic guide for copper wire (the most common type):
- A 40-amp breaker requires 8-gauge wire.
- A 50-amp breaker requires 6-gauge wire.
- A 60-amp breaker requires 4-gauge wire.
Your local electrical code is final. Some areas, or for very long wire runs, may require a thicker gauge. When in doubt, use the thicker wire.
Using wire that is too thin for the breaker is the single most dangerous mistake you can make in this installation.
The Dedicated Circuit Mandate
This heater cannot share an outlet or circuit with anything else. No lights. No garage door opener. No other appliances. You are running new wire from your main electrical panel directly to the heater’s location for this one purpose.
This is an absolute rule. Sharing a circuit will cause the breaker to trip constantly when the heater kicks on, and it creates an unsafe overload condition.
Gather Your Tools and Materials for the Job

Installing this heater is a two-part job: electrical and plumbing. You need the right gear for both sides. Do not start a store run halfway through.
Your essential tool list is short but specific.
- Wire strippers for 8 or 6-gauge wire.
- A torque screwdriver. Manufacturers specify exact torque for terminal screws, and overtightening can crack them.
- A non-contact voltage tester. This is your lifeline.
- Two pipe wrenches or channel locks for the plumbing connections.
- A drill, level, and tape measure for mounting the unit.
Materials are where mistakes get expensive and dangerous. Get this right.
- Correct wire. For a 50-amp circuit, you need 6-gauge copper wire. For 40-amp, 8-gauge. This is not a suggestion.
- The right double-pole breaker that matches your heater’s amperage and fits your panel brand.
- Conduit (metal or PVC) if required by code to protect the wire run.
- SharkBite or threaded pipe fittings, pipe dope, and a shut-off valve for the water lines.
The most important material isn’t in your toolbox. You must get a permit from your local building department. This is a high-power, permanent appliance. Skipping this can void your homeowner’s insurance and create a serious safety hazard.
Call the inspector’s office before you buy anything. Ask about their specific rules for exterior disconnect requirements, conduit type, and bonding. My local inspector once caught that I needed a longer service loop in the conduit. That five-minute call saved me a failed inspection.
Safety First: The Only Way to Start Electrical Work
This is non-negotiable. If you skip these steps, you risk severe injury or death.
The number one step is to shut off the main power breaker at the service panel. This kills all power to the house. You cannot safely install a new double-pole breaker with the panel live.
Your voltage tester is your best friend. After shutting off the main, open the panel cover and test the bus bars where the breakers connect. Test it on a known live circuit first to confirm it works. Then test the area where you’ll be working. Do this every time you walk away and come back.
Wear safety glasses. Every single time you open the electrical panel or drill into a wall. Debris and a stray spark can cause permanent eye damage in a split second.
Keep your work area completely dry and well-lit. Water and electricity are a deadly mix. Use a work light, not just the basement bulb. You need to see every wire color and terminal label clearly.
The Installation Process: Step by Step
Get the unit on the wall first. Everything else flows from there. Find the wall studs with a stud finder and use the mounting bracket that came with the heater. Lag bolts into the studs are non-negotiable for something this heavy. Your manual will list required clearances from walls and combustibles. Follow them. That space is for airflow and future service.
With the heater mounted, move to the water lines. Go to your main house shut-off valve and turn the water off. Open a faucet downstream to drain the pressure and verify the water is off. Use the isolation valves on your installation kit to connect the hot and cold lines. Apply pipe tape or thread sealant made for water lines. Hand-tighten first, then give it another half turn with a wrench. Do a quick pressure check by opening the isolation valves before you touch the electrical side; a leak now is a simple fix, a leak later is a disaster.
Running the wire is the big job. You already know your required amperage and wire gauge from your load calculation. For a 40-amp circuit, that’s 8-gauge copper wire. For 50 amps, you need 6-gauge. Run this cable in conduit if your local code requires it. I keep a fish tape and glow rods in my basement workshop for this exact job. Measure the distance from your panel to the heater location, then add several extra feet for slack and connections. You do not want to come up short.
Now for the panel. This is where you stop if you are not 100% comfortable. The main breaker at the top of the panel must be OFF. Confirm it with a non-contact voltage tester on a known live circuit inside the panel to be sure. Installing the new double-pole breaker is straightforward: hook the clip end onto the rail, push it firmly onto the bus bar until it snaps into place. Do not force it. Connect your new circuit’s wires to the breaker terminals and the ground wire to the ground bus bar. Keep the neutral bus bar free for this dedicated appliance circuit.
Making the Electrical Connections at the Heater
Strip the wire sheathing back and prepare the individual conductors. Your heater’s manual will give you the exact strip length, usually about 3/4 of an inch. Use a proper wire stripper, not a knife. A clean strip prevents stray strands that can cause a short.
Inside the heater’s junction box, you’ll see a terminal block with labels: L1, L2, and Ground (or a green screw). It does not matter which hot wire (black or red) goes to L1 or L2. Connect one to each terminal. The bare copper or green ground wire connects to the ground terminal.
This is the most critical part of the wiring. You must torque these terminal screws to the specification in the manual, often printed right on the unit or terminal block itself. This isn’t about getting it “tight.” An under-torqued connection will heat up and fail. An over-torqued one can strip or crack the terminal. I use a simple adjustable torque screwdriver set to the correct inch-pounds, just like tightening the lug nuts on a car wheel.
The ground wire is not part of the operational circuit. It sits idle until something goes wrong, then it carries fault current to trip the breaker and save you. That is your safety net. Connect it firmly to its dedicated terminal. Tug on every wire after connection to ensure it is locked in place and won’t pull free.
Testing and First Startup: Don’t Rush This Part
You’ve connected the pipes and wires. The hard work is done. Now, don’t ruin it by rushing the final checks. This is where patience pays off. I’ve seen more callbacks from skipped steps here than almost anywhere else.
Before restoring power, do a final visual check of all connections.
With the breaker still OFF, get your flashlight. Look at every single connection you made.
- Are the wire connections inside the heater’s electrical compartment tight and secure?
- Is the conduit or cable clamp snug? No copper wire should be visible outside the terminal.
- Check the water inlet and outlet connections. Are they hand-tight plus a quarter turn with a wrench? Don’t over-tighten.
A loose wire can arc and burn up your new unit before it ever heats a drop of water. This two-minute look can save you hundreds of dollars.
Turn the water supply back on and check for leaks at all fittings.
Now, slowly open the main cold water shut-off valve you closed earlier. Listen for the water rushing into the unit. Go straight to the heater to check the water heater shut-off valve.
Look at every joint: the inlet, outlet, any unions, and the pressure relief valve line if you installed one. Run your finger along the bottom of each fitting. Look for a single drip. Check it for at least five full minutes. A tiny seep might not show up instantly.
A leak you find now with the power off is a simple fix. A leak you find later can short out electrical components or ruin drywall. If you see a drip, tighten the fitting slightly. If it persists, you may need to re-do the Teflon tape or dope.
Open a few hot water faucets in the house to purge air from the lines.
Go to the bathroom furthest from the heater. Turn the hot water tap on full. You’ll hear sputtering and spurting. That’s normal. It’s trapped air escaping the pipes and the heater’s internal heat exchanger.
Let it run until the stream is completely smooth and steady. Do this at two or three faucets. This step is non-negotiable. Air trapped inside a tankless heater can cause loud banging, trigger error codes for “no flow,” and potentially damage the internal components when it heats. It takes three to five minutes per faucet. Be patient.
Finally, restore power at the main panel and then turn on the heater.
Go to your main electrical panel. Make sure the dedicated double-pole breaker for the heater is still in the OFF position. Flip the main breaker to ON, restoring power to the house. Then, and only then, flip the heater’s 240-volt breaker to ON.
Walk back to the heater. You should see a standby light or digital display light up. Always follow this sequence: Main panel ON first, then appliance breaker. It’s a basic safety habit that protects your equipment.
Check for error codes on the unit’s display and verify it heats water.
Look at the heater’s control panel. Most units will show a standby temperature or a simple “00” code. Now, go back to a faucet and turn on the hot water. If you don’t feel hot water, the next step is to check if the water heater is functioning. This quick check helps confirm whether the unit is receiving power and heating properly.
Listen. You should hear a click from the heater, then the hum of the heating elements engaging. Within 10-15 seconds, the water should begin to feel warm and then hot. Check the display again. It should now show a live output temperature (e.g., 120°F). If it doesn’t, troubleshoot the water heater.
If you see an error code like E1, E3, or FL, don’t panic. Common ones mean low water flow or ignition failure (which for electric means the elements didn’t turn on). First, check that you fully purged the air and that your faucet is open enough. These units need a minimum flow rate, usually around 0.5 gallons per minute, to activate. Turn the faucet to a stronger flow and see if the code clears.
Let it run for two minutes. Feel the outlet pipe on the heater. It should be warm. You’ve just confirmed a successful install.
Recommended Products Category Checklist
Buying the right parts before you start saves a second trip to the store. Here is exactly what you need to look for.
Whole-House Tankless Electric Heaters: Look for models with good low-amp draw if your panel is tight.
A whole-house unit must heat water for every tap at once. That takes serious power, often 100 to 150 amps total. When you choose water heater size capacity, you’re aligning hot-water demand with what your panel can safely supply. Your home’s main electrical panel might not have that much spare capacity.
You need to find a heater with a lower amperage requirement, which often means selecting a model with smart staging or modular internal elements.
For example, a good 27 kW heater might draw 112.5 amps. But a premium model with advanced staging might only draw 60 amps at peak by not firing all elements simultaneously. Check the specs for “max amp draw” and compare it to the space left in your panel.
My own choice for a retrofit was a Stiebel Eltron Tempra series. Its adaptive power technology let me install it without upgrading my older 150-amp service, a huge cost saver.
Point-of-Use Electric Heaters: Smaller 240v or 120v units for a single sink far from the main heater.
These are for solving one problem: a sink, shower, or workshop faucet that’s too far from your main hot water source.
Choose a 240-volt point-of-use heater if you need consistent, unlimited hot water for a single application like a kitchen sink or a workshop wash station. A small 240v unit, like a 3.5 kW model, only needs a 20-amp double-pole breaker and can provide steady hot water.
Go with a 120-volt plug-in model only for very low-flow uses, like a remote bathroom sink where you only need a quick hand-wash of warm water. Their output is limited.
Installation is simple. You mount it under the sink, splice into the existing cold water line, and connect to a dedicated electrical circuit. It eliminates the long wait for hot water.
Essential Tools: A non-contact voltage tester and a torque-setting screwdriver.
This work involves high voltage and precise connections. The right tools keep you safe and prevent callbacks.
- Non-Contact Voltage Tester: This is your first line of defense. Check every wire in the box before you touch it. Then check it again after you flip the breaker off. I test known live wires first to confirm my tester is working.
- Torque-Setting Screwdriver: The terminal screws on the heater and the breaker have a specific torque rating (like 25 in-lbs). Overtightening can strip the terminal or warp the connection, leading to heat buildup and a potential fire hazard. A torque screwdriver ensures a perfect, code-compliant connection every time.
- Other must-haves: Quality wire strippers, insulated screwdrivers, two adjustable wrenches for the water connections, and pipe thread sealant (not tape) for the fittings.
Wire and Conduit: Type NM-B (Romex) for inside walls, THHN in conduit for exposed areas.
The wire type is dictated by your local electrical code and the installation path.
Use NM-B cable (commonly called Romex) for runs inside finished walls, ceilings, or floors where the cable will be protected and hidden. It’s a bundle of insulated wires inside a plastic jacket. It’s the standard for most in-wall residential wiring.
For any exposed run-like across a basement ceiling, in a garage, or outdoors-you must use individual THHN/THWN wires inside a protective metal or plastic conduit (EMT or PVC). Conduit protects the wires from physical damage.
Here is a simple guide for a typical 28 kW heater requiring two 60-amp breakers:
| Location | Wire Type | Conduit Needed? | Wire Gauge |
|---|---|---|---|
| Inside wall to appliance | NM-B Cable | No | 6/3 AWG (for each circuit) |
| Exposed run in basement | Individual THHN Wires | Yes (3/4″ EMT) | 6 AWG (three wires per circuit) |
Always size the wire gauge based on the breaker amperage, not the heater’s wattage. Your heater’s manual will specify the required breaker and minimum wire size. Never downsize the wire.
The DIY vs. Pro Verdict
Difficulty Rating: 8/10. This is serious electrical and plumbing work.
Think of it like replacing your home’s main water line while also rewiring your furnace. Both systems are critical and mistakes are expensive or dangerous. A standard water heater swap is a 3/10. Running a new faucet line is a 4/10. This job combines high-stakes elements from both trades.
The stakes are different for plumbing versus electrical. A plumbing leak damages property. An electrical mistake can injure or kill someone, or cause a fire.
What a Skilled Homeowner Can Do
Mount the unit, run the water lines (with proper skills), maybe run the wire (if you understand panels).
If you’ve successfully sweated copper pipes or installed PEX runs, you can handle the water side. The connections are straightforward: a cold water in, a hot water out, and sometimes a pressure relief valve.
- Mount the heater securely to wall studs. These units are light but the vibrations from water flow require a solid mount.
- Install the included water line isolation valves. This lets you service the heater without shutting off your home’s main water.
- Run the correct wire from your main panel to a location near the heater. This means pulling the right gauge (like 8/2 or 6/2 NM-B Romex) through studs and securing it to code. You must know how to calculate wire size for the amperage and distance.
In my own garage install, I mounted the unit and ran the PEX lines. I then hired an electrician to make the final connections at both ends. This split saved me money but kept the high-risk work professional.
When to Call a Licensed Electrician
Any work inside the main electrical panel, final breaker installation, and the final wiring hookup at the heater. Many locales require this by law.
Your main service panel is not a DIY playground. Here is exactly what an electrician does that you should not:
- Verify your home’s electrical service can handle the new load. A 40-amp heater needs a 40-amp breaker, but your panel must have the capacity for it.
- Safely install a double-pole breaker into the panel. This involves working next to live, unforgiving bus bars.
- Properly terminate the large-gauge wires at the breaker and at the heater’s terminal block with correct torque. Loose connections here create heat and melt things.
- Pull the required electrical permit and arrange for the final inspection. This is your legal and insurance safety net.
I’ve seen melted terminal blocks from amateur wiring. The repair cost was more than the electrician’s original fee would have been.
When to Call a Licensed Plumber
If you’re not confident sweating copper or threading pipe, or if your local code requires a licensed professional for the permit.
While the plumbing is simpler than the electrical, it’s not foolproof. Call a pro if:
- You’ve never soldered a pipe joint. A leak inside a wall is a disaster.
- Your home uses rigid pipe or requires complex routing you can’t handle.
- Your local building department mandates a licensed plumber to sign off on the permit. This is common. You can’t fight city hall.
A plumber also ensures the installation won’t restrict flow or create other issues in your system. They check for proper pipe sizing and can integrate expansion tanks or other required components.
Quick Answers
Is a dedicated circuit really mandatory, or can I share an existing one?
Yes, it’s an absolute mandate. A tankless heater’s sudden, high power draw will instantly overload a shared circuit, causing constant breaker trips. You must run a new cable from your main panel solely for the heater to ensure safe and reliable operation.
How do I know if I need conduit for the wire run?
This is dictated by your local electrical code. Typically, cable inside finished walls (Romex) is fine, but any exposed run-in a garage, basement, or outdoors-requires individual wires inside metal or PVC conduit for physical protection. Always check with your local inspector before you run cable.
Why is a torque screwdriver specified for the connections?
Terminal screws have a precise tightness specification. Under-torquing causes heat buildup and failure; over-torquing can crack the terminal. Using a torque screwdriver ensures a perfect, code-compliant connection that won’t become a fire hazard, which guessing with a regular driver often does.
What’s the most common mistake during the final electrical hookup?
Forgetting to strip the wire to the exact length stated in the manual. Leaving it too long can cause stray strands to short between terminals; too short creates a weak connection. Use your wire stripper, not a knife, for a clean strip.
My unit has an error code after startup. What should I check first?
First, ensure you fully purged air from the lines by running hot water at multiple faucets until the flow is smooth. Then, verify your faucet is open enough to meet the heater’s minimum flow rate (often 0.5 GPM). Low flow is the most common trigger for initial error codes.
Get Your Installation Right the First Time
Always match your circuit breaker’s amp rating to the water heater’s specifications to prevent electrical hazards. Before flipping the switch, physically check every wire connection for security to avoid costly repairs or safety issues. If the breaker trips, consult our electric water heater tripping breaker guide for safe troubleshooting. It helps identify whether the issue is wiring, a faulty thermostat, or a faulty element.
Bob McArthur
Bob is a an HVAC and plumbing industry veteran. He has professionally helped homeowners resolve issues around water softeners, heaters and all things related to water systems and plumbing around their homes. His trusted advice has helped countless of his clients save time, money and effort in home water systems maintenance and he now here to help you and give you first hand actionable advice. In his spare time, Bob also reviews home water systems such as tankless heaters, water softeners etc and helps home owners make the best choice for their dwelling. He lives around the Detroit area and occasionally consults on residential and commercial projects. Feel free to reach out to him via the contact us form.



