How to Install a Tankless Water Heater Safely
Cold water sputtering mid-shower often sends a homeowner straight to the basement to stare at a giant, leaking metal tank taking up valuable floor space. Replacing it with an on-demand system means mounting a compact heater to wall studs, adding dedicated shutoff valves to the plumbing, and securing a heavy-duty power or fuel source.
The real challenge comes down to what your home can supply. A gas heater needs an airtight exhaust pipe running through an exterior wall, along with a wide gas line. An electric heater skips venting, but it often requires several high-capacity circuit breakers that can overwhelm an older electrical panel. Where you place the unit and how much spare utility capacity you have determines whether this is a manageable project or work for licensed pros. Here is how the installation comes together from start to finish.
Checking Electrical and Gas Limits First
The biggest surprise for most homeowners is that a tankless unit is not a simple one-for-one swap with an old tank. A traditional storage water heater warms a large reservoir slowly over several hours using a modest burner or a single electrical circuit. A tankless system, by contrast, must heat cold municipal water instantly as it rushes past the burner or heating coils. That instantaneous heat demands a sudden, massive surge of power that your home may not currently have.
For a gas system, a standard 40-gallon or 50-gallon tank usually burns roughly 35,000 to 40,000 British Thermal Units (BTU) of fuel per hour through a half-inch pipe. A whole-home gas tankless unit often requires between 150,000 and 199,000 BTU to heat enough water for simultaneous showers and appliances. Feeding that much fuel almost always demands a three-quarter-inch or one-inch gas supply line directly from the main gas meter. If the supply line is too narrow, the unit starves for fuel during cold mornings, causing unexpected system shutdowns or causing your home furnace to sputter when the hot water turns on.
For an electric system, the demand is even more demanding on standard residential service. A whole-house electric tankless heater can draw between 120 and 150 amps under full load. Running that much power requires three or four separate 40-amp double-pole circuit breakers in your main breaker box. If your house runs on an older 100-amp or 150-amp electrical panel, the panel lacks the physical space and the capacity to run the heater alongside an air conditioner, clothes dryer, or kitchen range. Upgrading an electrical service panel requires utility involvement and substantial expense, which changes the total scope of the installation.
Before buying equipment or disconnecting your existing plumbing, use this checklist to confirm your home can safely support the demand:
- Check the main electrical panel rating: Open your home breaker box door and look at the large main switch at the top. It must read 200 amps or higher for a whole-home electric model.
- Count available breaker slots: Verify that your panel has at least three or four empty physical spaces where dual-slot breakers can snap in.
- Measure the incoming gas line: Look at the black iron pipe feeding your current water heater. If it is half-inch pipe instead of three-quarter-inch pipe, measure how far it runs back to the meter to determine if a plumber must repipe the supply.
- Examine the gas meter rating: Look at the metal badge stamped on your outdoor gas meter. It lists a maximum delivery capacity in cubic feet per hour, which must exceed the combined total of all your gas appliances running at once.
- Locate an exterior exhaust path: Identify a clear route through an outside wall or roof that sits away from operable windows, doors, and fresh air intake vents.
If your home fails any of these initial utility checks, stop before unboxing a heater. Contact a licensed electrician or a professional plumber to evaluate your service panel or gas meter capacity. Proceeding without sufficient utility capacity creates severe fire hazards, damages electronic control boards, or leaves you with intermittent lukewarm water.
Removing the Old Tank and Mounting the Wall Unit
Once you verify that your utility lines have adequate capacity, you can clear out the old equipment and prepare the wall. A tank-style heater holds hundreds of pounds of standing water, so removing it takes time and careful preparation to avoid flooding your utility space.
- Cut power and fuel to the old heater: For an electric tank, switch off the dedicated circuit breaker at the main panel. For a gas tank, rotate the gas shutoff valve handle ninety degrees so it sits perpendicular to the black pipe.
- Drain the storage vessel: Turn off the cold water shutoff valve above the heater. Connect a standard garden hose to the brass drain valve at the bottom of the tank, and run the other end out to a floor drain or driveway. Open the drain valve with a flathead screwdriver or pliers, then open a hot water faucet on the second floor of your house. Opening the upstairs faucet breaks the vacuum inside the pipes and allows water to flow out freely.
- Disconnect existing utility connections: Once the tank is completely empty and cool, disconnect the cold water intake, the hot water supply, and the fuel line. Unthread the draft hood or metal exhaust flue from the top of the tank. Carefully cap the old chimney flue opening if your new heater uses a modern dedicated wall vent.
- Remove the tank: Walk the empty tank out of the room using an appliance hand truck. Sweep and dry the floor, checking for past water damage or rotted subflooring beneath the old footprint.
- Anchor a structural mounting backer: Tankless units are compact, but they weigh between 30 and 80 pounds and vibrate slightly when internal circulation pumps and combustion fans activate. They cannot hang from bare drywall or plaster. Fasten a piece of three-quarter-inch exterior-grade plywood across two wall studs using heavy wood screws. This backer board gives you a solid, flat surface to anchor the unit anywhere you need it.
- Hang the heater level: Screw the metal mounting bracket included with the heater into the plywood using a bubble level. Set the tankless heater onto the bracket and tighten the safety retaining screws. If the unit tilts even slightly, internal condensation can pool in the wrong places or drain back into the combustion chamber, corroding internal burners over time.
If you place your new heater in an unconditioned workshop or garage space, consider how winter freezes might impact exposed pipes. Adding the best electric heater for garage with thermostat can maintain safe ambient warmth around your plumbing during sudden cold snaps.
Plumbing the Water Lines with Service Valves
Plumbing a tankless heater differs from plumbing a storage tank because instant heat exchangers collect mineral deposits rapidly. Water flowing through narrow copper or stainless steel coils leaves behind dissolved calcium and lime, which restricts water flow and lowers efficiency. To keep the unit running well, you must install special plumbing fittings that allow regular chemical descaling.
- Install dedicated isolation valves: Thread specialized isolation valves (shutoff valves with hose drain ports for cleaning) directly onto the cold inlet and hot outlet ports at the bottom of the heater. These valve assemblies include built-in ball valves to isolate the heater from the rest of the house, along with capped side ports where you can attach garden hoses to pump cleaning solutions through the unit once a year.
- Mount the pressure relief valve: Tankless units heat water very quickly, which causes rapid thermal expansion and pressure spikes. Thread the supplied pressure relief safety valve into the designated service port on the hot water isolation valve. Connect a length of rigid copper pipe to the valve exit, routing it straight down so that it discharges safely within six inches of the floor or into a drain pan.
- Route the water supply lines: Connect your incoming household cold water line to the bottom port marked with blue trim, and run the outgoing hot water line from the port marked with red trim. Use copper pipe, stainless steel flex connectors, or high-temperature PEX tubing rated for domestic hot water. If you choose to solder copper pipes, complete every solder joint on the workbench first. Never apply an open flame or soldering torch directly to the isolation valves or the heater ports, because the heat instantly melts internal rubber gaskets, O-rings, and electronic flow sensors.
- Flush out loose plumbing debris: Before locking the final connections into place, hold a bucket under your incoming cold water pipe and open your main household shutoff valve for ten seconds. This clears out loose flux, copper burrs, and solder beads that would otherwise wash directly into the tankless unit inlet screen and block water flow.
- Check for water leaks under pressure: Close both side drain ports on your new isolation valves and open the main isolation handles. Turn on the main water supply to the house while leaving the heater powered off. Inspect every threaded joint, soldered seam, and adapter fitting closely. Wipe dry paper towels over every joint to spot faint drops. Tighten any weeping threads before moving on to the fuel and electrical connections.
Handling Fuel Hookup, Venting, and First Startup
Connecting the power, gas, and exhaust systems requires exact precision. Tankless heaters release acidic exhaust gases and draw high electrical currents, leaving zero room for loose connections or improper materials.
For a gas system, you cannot vent exhaust into an existing brick chimney or standard corrugated metal pipe. Gas tankless units push exhaust through pipes using a motorized blower fan, creating positive pressure that will force carbon monoxide through loose seams in older chimneys. Most modern condensing units require direct vent (a sealed exhaust pipe leading straight outside) made from schedule 40 PVC, CPVC, or specialized Category III stainless steel as specified in the manufacturer manual. Cut your wall penetration to maintain a slight downward pitch toward the outside, or pitch it back toward the unit if your heater includes an internal condensate trap. Maintain a three-foot clearance buffer between the outdoor vent cap and any open windows, doors, or mechanical air intakes. Homes with special layout needs, like those following venting rules for a heater for downflow ducts in a manufactured home, must strictly follow specific manufacturer clearance charts to avoid backdrafts.
When running the gas supply, install a manual gas ball valve and a sediment trap (a small downward pipe tee that catches pipe scale and debris before fuel enters the heater). Apply gas-rated thread sealant or yellow Teflon tape to all threaded iron joints. Never use standard white plumbing tape on gas connections, because fuel gases dissolve thin tape over time. Spray soapy water over every gas joint and look for growing bubbles that indicate a leak.
For electric tankless heaters, feed each dedicated 240-volt circuit through separate knockouts on the cabinet. Strip the wire ends cleanly, insert them firmly into the terminal block lugs, and tighten them down using a torque screwdriver to match the exact inch-pound rating listed on the internal wiring diagram. A slightly loose terminal connection creates resistance, which melts the wiring block under a sustained heavy electrical draw.
With all lines secured, you must follow an exact startup sequence to prevent accidental equipment failure:
- Purge all trapped air from the system: Leave the electrical breakers turned off and the gas valve closed. Walk through your home and turn on every hot water faucet completely. Let the water run for two to three minutes. The water will sputter loudly as air pockets escape the lines. Keep the taps running until water flows in a smooth, quiet stream from every fixture.
- Avoid dry fire damage: Never turn on electrical power or gas while air remains trapped inside the heater. Energizing the unit with air inside causes dry fire (heating an empty water chamber, which burns out the heating elements or cracks the heat exchanger in just a few seconds). Purging the lines completely ensures the internal heating chambers stay submerged in solid water.
- Energize the fuel and power sources: Turn on the manual gas valve or switch on the dedicated double-pole electrical breakers in your main service panel. Press the power button on the front control panel of the heater.
- Set the target water temperature: Use the digital buttons on the front interface to set your desired delivery temperature. A setting of 120 degrees Fahrenheit provides plenty of warmth for showers and washing machines while preventing accidental scalding injuries, especially for children and older adults.
- Test performance at an open tap: Open a hot water faucet at a nearby sink and listen for the heater to engage. On gas units, you will hear the combustion fan start, followed by the electronic igniter clicking and a steady burner hum. Check the digital screen to verify that water flow rate and temperature readouts stay steady without flashing error codes.
Frequently Asked Questions
Can I install a tankless water heater myself or should I hire a professional?
You can complete the physical mounting and simple pipe connections yourself if you have solid plumbing experience. But sizing high-volume gas lines, venting exhaust through exterior walls, and wiring multiple high-amperage electrical circuits carry significant fire and carbon monoxide risks. If your home needs an electrical panel replacement or new gas piping run from the street meter, hire a licensed professional to complete those utility connections safely and obtain necessary local building permits.
Why is there a brief blast of cold water before it gets hot?
This momentary drop in temperature is commonly called a cold water sandwich. When you turn on a faucet, the heater takes several seconds to detect water flow, fire the burner or elements, and bring the internal heat exchanger up to full temperature. The slug of cold water that was already resting in your home distribution pipes flows out first, followed by the newly heated water, creating a brief cold sensation before consistent hot water arrives.
How often does a tankless water heater need maintenance?
A tankless water heater should be flushed and descaled once every twelve months to remove mineral scale from inside the narrow heating passages. If your home has hard water with high calcium content, you may need to flush the heat exchanger every six months or install a dedicated water treatment filter on the cold supply line. Skipping this maintenance allows mineral crust to insulate the heating surfaces, lowering efficiency, triggering overheat error codes, and shortening the life of the unit.





















