Skip to content
HeaterGuides
Troubleshooting

Hot Water Heater Installation: Step-by-Step Guide

On this page 6 sections
  1. Hot Water Heater Installation
  2. Gather Tools And Parts Before You Start
  3. Where A Tankless Water Heater Can Go Inside
  4. Mistakes That Cause Leaks And Damage
  5. Permits, Licensed Pros, And What To Do Next
  6. More Questions, Answered
Straight answer
Hot water heater installation means shutting off water and power or gas, setting the unit, connecting the lines, and testing for leaks; a straight replacement can take 2 to 6 hours, but a first-time install is usually a licensed-pro job if gas, venting, or 240 V work is involved.

A wrong connection can turn into a leak, a flood, or a heater that never quite works right. That gets expensive fast, and the cold shower arrives before the repair bill does.

If you’re swapping an existing unit and the plumbing, venting, and electrical setup already match the new heater, the job can be manageable. If the route is different, stop and check the code, the manual, and the permit rules first.

The essentials
Shut off power or gas, shut off water, and verify the energy source is dead before you touch anything.
Use the heater type, venting, and location to decide whether the job stays DIY or needs a licensed plumber or electrician.
Flexible stainless connectors make the final hookups easier, but they still need the right thread size and a clean seal.
A T&P discharge line, correct venting, and a filled tank before power-up are not optional details.
If the unit goes indoors, the manual and local code decide where it can sit, what it needs around it, and whether a permit applies.

Hot Water Heater Installation

Hot water heater installation is a shutoff, drain, disconnect, set, reconnect, fill, leak-check, and test-run job. A matching replacement can take about 2 to 6 hours; new gas piping, venting, or 240 V wiring usually makes water heater installation a licensed-pro job rather than a Saturday experiment.

Before You Touch Anything
Electric heaters require the breaker to be switched off and the circuit verified dead before wiring is handled. Gas heaters require the gas supply shut off and the vent path checked against the installation manual. Hot water can scald, and a damaged vent can send carbon monoxide indoors. If you can’t identify the correct shutoff, test safely, or follow the required clearances, stop and call a licensed plumber or electrician.
1
Shut down the old heater
Close the cold-water supply valve and open a hot-water faucet nearby to relieve pressure. Turn off the breaker for an electric unit, then verify the wires are dead; for gas, close the supply valve and follow the manual’s shutdown procedure.
2
Drain the tank
Connect a hose to the drain valve and route it to a safe drain location. Open the drain valve and a hot faucet so air can enter; the water may stay hot for a while, so don’t treat the hose like a harmless garden ornament.
3
Disconnect the connections
After the tank is drained, disconnect the hot and cold water lines, the electrical conductors or gas connector, and the vent connection where applicable. Cap or secure lines only in the manner allowed by the unit instructions and local code.
4
Set the new unit
Move the replacement onto a solid surface and check it with a level in both directions. Leave the clearances required by the listing and manual, and make sure the temperature-and-pressure, or T&P, valve is installed and its discharge line runs correctly, without a shutoff or plug.
5
Reconnect and fill
Reconnect the water lines, gas connection, electrical wiring, and venting only as the manual specifies. Open the cold-water valve, leave a hot faucet open until water flows steadily without air, and inspect every connection while the tank fills.
6
Check, then test
Look for drips around the tank, unions, drain valve, T&P discharge line, and fuel or electrical connections before restoring service. An electric tank must be completely full before the breaker is turned on; a gas unit must be filled and purged of air before you follow its lighting instructions.
Know Where The Job Changes
A like-for-like replacement is the simplest case because the supply lines, venting, and power or gas connections already suit the new unit. Moving the heater, changing fuel type, adding a vent, running gas pipe, or installing a 240 V circuit can trigger permits, code requirements, and professional work. If the plumbing system is closed, an expansion tank installation may also be required; check the heater manual and local code before filling the space around the tank.

Gather Tools And Parts Before You Start

installing tankless water heater inside: Gather Tools And Parts Before You Start

A hot water heater installation goes more smoothly when you have the right tools and replacement parts on hand before shutting anything off. This water heater installation guide is for planning and preparation; don’t install a gas water heater yourself if the job involves gas connections or venting, and leave 240 V electrical work to a licensed electrician.

Gather Before Teardown
Non-contact voltage tester to check that electrical power is off; it doesn’t replace proper lockout or safe testing procedures.
Pipe wrenches sized for the existing connections, plus an adjustable wrench.
Thread-sealing materials approved for the connection type; don’t use tape on fittings that seal with a gasket.
Garden hose long enough to reach a safe drain location, and a drain pan sized for the heater’s footprint.
Replacement water connectors or fittings, matched to the heater and existing pipe threads.
The heater’s installation manual and any required vent, electrical, gas, or drain parts.

Before the old rigid water lines come off, compare them with the replacement parts side by side. Check their lengths and thread sizes while the water is still on; a close match on the shelf can look less convincing once the tank is drained.

If the old rigid line is being replaced with a flexible connector, confirm the heater connection and supply piping accept 3/4-inch FIP fittings. Hot and cold color coding makes the final hookup easier to keep straight.

TTFLEX 24" Water Heater Hose 3/4" FIP Water Heater Supply Lines, 2 PCS
If you’re replacing rigid water lines
TTFLEX 24″ Water Heater Hose 3/4″ FIP Water Heater Supply Lines, 2 PCS
These flexible stainless connectors have 3/4-inch FIP ends and red and blue color coding for hot and cold. They don’t solve a mismatch in thread type, length, or local installation requirements, so check those before buying.
See current price
Match Before You Disconnect
Lay each new fitting beside the part it replaces and compare the connection ends, not just the overall size. If the threads or sealing method differ, stop and get the correct adapter rather than forcing the connection.

Where A Tankless Water Heater Can Go Inside

installing tankless water heater inside: Where A Tankless Water Heater Can Go Inside

Installing a tankless water heater inside works only where the unit’s manual allows room for service, the required venting and combustion air, and condensate drainage if it’s a condensing model. Common tankless water heater installation locations include a garage, utility room, basement, or an interior wall near an exterior wall for vent routing; the manual and local code set the limits.

LocationMain benefitMain restriction
GarageOften has room for service access and nearby plumbing.Protect the unit and pipes from freezing, and meet the manual’s clearance and venting rules.
Utility roomCan keep the heater near existing water and gas or electrical services.The room still needs the required service clearance, air supply, vent route, and condensate handling.
BasementMay offer a short route to plumbing and a practical place for service.Check the approved vent path, combustion-air requirements for gas models, and a drain route for condensate.
Exterior wall inside the homeCan provide a direct path for approved through-wall venting on some gas models.The wall location must meet the unit’s vent-clearance rules; an indoor model isn’t made for outdoor exposure.
A listed installation location still has to meet the exact unit manual and local code.

Electric and gas models have different constraints. An electric tankless unit needs the electrical capacity and wiring stated on its nameplate; a gas unit needs the specified venting and combustion-air setup. Don’t assume an existing tank heater’s service is suitable for either one.

Wall-Mounting Isn’t the Hard Part
A tankless installation is easier only when the existing service already matches the new unit. If it needs new venting, electrical capacity, gas piping, or water-pipe changes, the compact wall mount can be the least complicated part of the job.

Before choosing a spot, compare the proposed layout with the unit’s clearances and connections in the tankless water heater installation instructions. Gas connections, venting, and 240 V electrical work are jobs for a licensed plumber or electrician in most places.

From HeaterGuides · our own guidePages 9 to 13 are the fault flowcharts: no hot water, noises, smells and leaks, in order.Water Heater Owner's Toolkit: the printable guide and its Excel calculatorWater Heater Owner's ToolkitFix the common faults yourself, keep it running for years, and know when a repair is money wasted.No-hot-water flowcharts, gas and electricFlush, anode, relief valve and descaling stepsRepair-or-replace calculator (Excel)$14.99 $9.99Get it for $9.99See what's inside and watch the 2-minute video →18-page printable PDF + Excel calculator · instant download · 30-day refund

Mistakes That Cause Leaks And Damage

installing tankless water heater inside: Mistakes That Cause Leaks And Damage

Tankless water heater installation instructions and guidelines are model-specific; follow the manual for connections, flushing, venting and startup. Gas tankless installation involves gas piping and venting, while an electric tankless unit may need 240 V wiring and a circuit sized for that model. Don’t treat either as a generic plumbing swap.

On any new heater, mixing up hot and cold lines can leave the unit unable to work as intended. Debris left in the lines can clog screens or damage components, and over-tightening threaded fittings can crack a fitting or damage threads. Use compatible pipe sealant where the manual allows it; more sealant and more force aren’t a leak-prevention plan.

Myth
Any flexible connector works in any orientation.
Fact
The connector must match the heater’s connection and the installation manual. Check its fitting type, permitted orientation and routing; a connector that twists, kinks or strains the joint can leak.
Fill Before Applying Power
For a tank-type electric heater, open a hot-water tap and fill the tank until water flows steadily before turning on power. Energizing an empty tank can damage its heating elements. A bad T&P discharge route, a missing drain pan where required, or a loose flex connector can cause hidden damage before a drip reaches the floor. Never cap or plug the T&P valve.
A Small Leak Adds Up
Say a fitting leaks about 1/4 cup per hour. That’s 6 cups in 24 hours, or 12 cups—3/4 gallon—over a 48-hour weekend. Actual drips vary, but a slow leak can still soak flooring or a cabinet before you notice it.
Leak rate1/4 cup per hour
Over 48 hours12 cups, or 3/4 gallon

Permits, Licensed Pros, And What To Do Next

Who installs tankless water heaters? A licensed plumber typically handles water and gas connections, while a licensed electrician handles electrical work; the right trade depends on the model and the work involved. A self-install tankless project may be reasonable only where local rules allow it and the work stays within your skills. Gas line work, venting changes, 240 V electrical work, and T&P discharge changes usually call for a licensed pro, and many places require a permit.

Water heater installation rules can also cover expansion tanks, earthquake strapping and vent termination. Check with your local permit office and the heater’s manual before buying parts or removing the old unit; guesswork is a poor substitute for an inspection.

Installation Cost Depends On The Scope
Tankless water heater installation cost varies with the job. Replacing a unit like-for-like is different from changing fuel type, rerouting the vent or upgrading electrical service. Ask for a written estimate that separates equipment, labor, permit fees and any required utility or venting changes; there isn’t one useful universal price. If you’re considering a handyman, check which tasks local rules allow: whether a handyman can install a water heater.
1
Confirm The Model
Match the heater to your fuel, water connections and available electrical service; read its installation manual.
2
Check Permit Rules
Ask the permit office what permits and inspections apply, including any local requirements for venting, expansion tanks or strapping.
3
Shut Off Services
Before disconnecting anything, shut off the relevant water and energy supply. Don’t proceed if you can’t identify or safely isolate them.
4
Gather Parts
Use connectors and fittings approved for the heater and installation conditions.
5
Set And Test
Set the heater according to its manual, fill a tank-type electric unit before energizing it, then check connections and operation.
6
Call A Pro At The Boundary
Stop and hire a licensed plumber or electrician if the job involves gas, venting, T&P discharge changes or panel work.

More Questions, Answered

How long does hot water heater installation take?
A straight tank-for-tank replacement commonly takes 2 to 6 hours if the connections and venting match and the work needs no corrections. Relocating the heater, changing fuel type, or updating venting can add time.
Can I install a gas water heater myself?
In some places, homeowners may do their own work, but local rules can require a permit or licensed installer. Gas connections and venting carry fire and carbon monoxide risks, so use a licensed plumber for those tasks unless you’re qualified and local code allows otherwise.
Where are tankless water heaters installed inside a house?
Common locations include a utility room, basement, or garage, provided the model’s manual permits indoor installation there. The site also needs the specified vent route, combustion air, service clearances, drainage for condensate when required, and access for maintenance.
Do I need a permit for water heater installation?
Permit rules depend on your city or county and can vary with the fuel type or scope of work. Check with your local building department before installation; an inspection may be required, especially for gas, venting, or electrical changes.
What parts do I need for a tankless water heater installation?
The parts depend on the exact model and fuel: typical needs can include compatible water and gas fittings, shutoff valves, a vent kit, and a condensate drain for models that produce condensate. Check the manufacturer’s parts list and local code before buying, since pipe size and vent materials must match the unit.

Joye Editor

HeaterGuides covers home heating, water heating and HVAC: how the equipment works, what it costs to run, and how to use it safely.

More in Troubleshooting