Skip to content
HeaterGuides
Tankless Water Heaters

Can You Install a Tankless Water Heater Yourself? DIY Guide

On this page 5 sections
  1. Can You Install a Tankless Water Heater Yourself?
  2. Check Permits, Capacity, and Installation Requirements
  3. Prepare and Install the Tankless Water Heater
  4. Avoid Leaks, Damage, and Code Trouble
  5. Questions People Ask
Bottom line
Installing a tankless water heater involves plumbing, mounting, commissioning, and—on gas models—fuel and vent connections; electric models may need substantial dedicated wiring. Budget a full day for a straightforward replacement, longer for a retrofit. It’s only a DIY job if your local code allows it and you’re qualified for every connection involved.

A tankless unit is smaller than a storage tank, but that doesn’t make its installation a simple swap. The existing gas line, electrical service, vent route, water piping, and local permit rules determine how much work the job really is.

Before you disconnect the old heater, identify the exact model and read its installation manual. The manual’s clearances, vent materials, pipe sizes, and commissioning steps—not a generic diagram—set the rules for that unit.

Can You Install a Tankless Water Heater Yourself?

installing tankless water heater inside: Can You Install a Tankless Water Heater Yourself?

A capable homeowner may handle limited water-side work on a tankless water heater if local code allows it, but gas piping, venting, and major electrical work commonly require permits or licensed trades. Installing a tankless water heater inside is possible only with an indoor-rated model, approved clearances, and the venting and combustion-air setup its manual specifies.

For a self-install, check who may do each part before you start: local rules, the heater’s fuel and installation instructions, and your own qualifications. A typical tankless hot water heater replacement may take a full workday; relocating the unit or changing gas, vent, or electrical infrastructure can stretch the job. Compact size doesn’t make installation easier. The hard parts are often the home’s service capacity and site preparation.

Tankless water heater installation locations depend on the model. Indoor units need a permitted location with required clearances and venting; outdoor units must be rated for outdoor use and installed as their manual directs. The usual 1,500 W plug-in appliance draws about 12.5 A, while an electric tankless unit may need dedicated, high-capacity circuits. Don’t assume an existing outlet or panel can supply it.

12.5 A
Current drawn by a 1,500 W appliance at 120 V
Electric tankless heaters can have very different electrical requirements. Check the specific model and have the panel assessed before purchase.
Myth
A tankless heater is a simple swap because it’s compact.
Fact
The cabinet may be small, but the gas supply, electrical service, vent route, water connections, and clearances still have to suit the model.

For model-specific installation guidance, see the correct tankless water heater setup before you plan the work.

Check Permits, Capacity, and Installation Requirements

Before buying parts or removing the old heater, ask your local building department about permits, inspections, and whether a homeowner may do the work. Rules vary by location and fuel type, including for electric models, so there’s no universal answer to “do you need a permit to install an electric tankless water heater?”

installing tankless water heater inside: Check Permits, Capacity, and Installation Requirements

A typical tankless water heater installation must match the home to the specific unit: fuel or electrical service, venting, water connections, and site conditions. For gas, compare the heater’s input rating with the existing gas piping and the demands of other appliances; don’t assume every home needs a 1-inch line or a fixed increase over a tank heater. For electric, have an electrician check panel capacity, breaker spaces, service capacity, conductor sizing, and the manufacturer’s circuit requirements before you buy.

Venting rules also vary by model: confirm the approved material, maximum run, termination location, clearances, and combustion-air requirements. An existing chimney flue isn’t automatically suitable. Check the water supply, required isolation valves, condensate disposal if the model calls for it, and whether local code and the plumbing system require an expansion tank.

Tankless water heater installation cost depends on the work your home needs, so compare itemized local quotes rather than counting on a particular DIY saving. Ask who installs tankless water heaters in your area, then compare permit, materials, inspection, and required-upgrade costs on the same scope.

If the model requires isolation valves, confirm the manual’s connection and pressure-relief requirements before choosing a kit.

KAINGA Tankless Water Heater Service Valve Kit
If your manual calls for 3/4-inch IPS is
KAINGA Tankless Water Heater Service Valve Kit
This kit has hot and cold shutoff valves and an integrated pressure-relief valve for service isolation. Check that its fittings and relief-valve rating match your heater’s instructions; the kit doesn’t establish that your plumbing layout meets code.
Check today’s price
Gather Before Work
The exact model’s installation manual and connection requirements
Permit, homeowner-eligibility, and inspection information from your local building department
Gas-pipe or electrical specifications confirmed for your home and the model
Approved vent and combustion-air requirements for the chosen location
Water-supply and isolation-valve requirements, plus condensate and expansion-tank requirements where applicable

Prepare and Install the Tankless Water Heater

You can install a tankless water heater yourself only if local rules allow it and you’re qualified for every connection the model requires. That includes the dedicated circuit and wiring for an electric unit; hire an electrician for panel or circuit work. Tankless water heater installation instructions are model-specific, so how to install a tankless water heater—and how to install a tankless water heater gas or electric model—starts with the manual, not a generic parts list.

Stop Before You Disconnect Anything
Shutoffs don’t make gas, electrical, venting, or scald hazards harmless. Gas connections, venting, 240 V work, and hot-water plumbing may require licensed professionals under local rules. Use a working carbon monoxide alarm near fuel-burning equipment, follow the manufacturer’s safety directions, and stop if you can’t verify a connection is safe.
1
Confirm the model and permits
Check the permit and inspection requirements, then compare the manual with your existing fuel supply, electrical service, water connections, mounting surface, and vent route. Indoor tankless water heater installation must use a model approved for indoor use and the specified clearances.
2
Shut off utilities and water
Turn off the heater’s power at the breaker; for a gas unit, use the specified gas shutoff. Close the water valves, open a hot-water tap to relieve pressure, and let the hot lines cool before disconnecting them. If a shutoff or connection won’t close fully, stop.
3
Remove the old unit safely
Drain and disconnect the old heater according to its manual. Get help moving it if needed, and dispose of it under local rules. Don’t cut or cap gas piping, electrical wiring, or a vent as a shortcut.
4
Mount the new heater
Fasten the bracket or unit to framing or another structure the manual permits; drywall alone may not support the load. Check required service clearances before fixing its position.
5
Connect water and arrange fuel, power, and venting
Connect water lines using the specified fittings and any required service valves. Gas supply and vent installation must match the unit’s specifications and local code: never improvise vent materials or reuse an incompatible flue. Installing a condensing tankless water heater may also require condensate drainage and approved venting; don’t assume every model is installed alike. For an electric unit, have an electrician handle wiring beyond your qualifications.
6
Commission it by the manual
The startup sequence may call for flushing debris, opening valves in order, checking for leaks, and setting the temperature. Don’t energize an electric unit or fire a gas unit until required water flow and all connections are confirmed.
Use the Manual as the Job Plan
For how to install an electric tankless water heater, the manual’s circuit and wiring requirements are the deciding details—not a general online diagram. If you can’t meet them, hire an electrician rather than adapting the circuit.
From HeaterGuides · our own guideTankless? Page 8 is the descaling routine, page 15 checks the size.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

Avoid Leaks, Damage, and Code Trouble

The safest tankless water heater installation guidelines are model-specific: wrong fittings can leak, and guessed gas or vent sizing can create serious operating hazards. A licensed plumber can handle gas connections and water-side work where required; an electric tankless water heater may need a licensed electrician for its 240 V circuit or panel changes. Local rules determine who may do each task.

Tankless water heater installation price depends on the work involved. A straightforward replacement differs from a job that needs a gas-line, vent, electrical-panel, or plumbing upgrade, so ask for an itemized quote rather than relying on a generic estimate.

MistakeLikely consequence
Wrong fitting or thread sealantLeaks or damaged threads; use only connections and sealant allowed by the model manual.
Cross-threaded union or overtightened connectionDamaged threads or fittings that leak.
Skipping the flushDebris can remain in the unit or clog screens and fixtures.
Skipping the leak checkA small leak may damage nearby surfaces before it’s noticed.
Assuming the relief-valve or expansion-tank setupAn arrangement that doesn’t meet the manual or local code can create a safety or pressure problem.
Guessing gas pipe size or vent layoutUndersized gas piping can starve the burner; incorrect venting can expose people to carbon monoxide.
Use the unit’s manual and local code for connection details; a generic pipe-size rule can’t confirm a safe installation.
Check Before You Close Up
After the water connections are complete, follow the manual’s leak-check procedure and inspect each joint. If you see moisture, smell gas, or suspect a vent problem, stop and get qualified help; don’t operate the unit until the issue is resolved.
installing tankless water heater inside: Avoid Leaks, Damage, and Code Trouble

Bring in a licensed professional if a permit or homeowner-work rule requires one, if gas piping, venting, or electrical work exceeds your qualifications, or if the gas line or electrical panel needs an upgrade. A proposed location that can’t meet the model’s clearance or venting requirements also calls for a different plan. Check the warranty terms for required installation records; coverage isn’t automatically void in every case.

  1. Find the exact model manual and note its water, gas or electrical, vent, and relief-valve requirements.
  2. Call your building department to confirm permits, inspections, and who may perform each task.
  3. Have the gas supply or electrical capacity checked before choosing the installation plan.
  4. Get an itemized quote if licensed work or upgrades are needed; then schedule permits, installation, and inspection in the required order.

Questions People Ask

How much does tankless water heater installation cost?
The total depends on whether you’re replacing a compatible unit or adding new gas piping, venting, electrical capacity, or water lines. Ask for an itemized quote covering the heater, labor, permits, and any panel or gas-line upgrades; those site-specific changes can cost more than the unit installation itself.
Do you need a permit to install an electric tankless water heater?
Often, yes: permits may apply to both the plumbing and the new electrical circuit, but requirements vary by location. Ask your building department before work starts, and confirm whether an inspection is required before the wiring or walls are closed up.
Can you install an electric tankless water heater yourself?
Possibly, if local rules allow homeowner work and you’re qualified for the plumbing and electrical work the model needs. Many electric units require multiple high-amperage circuits, so check the nameplate requirements against your panel capacity; have a licensed electrician handle new 240 V circuits if you aren’t qualified.
Can you install a gas tankless water heater yourself?
Only if local rules allow it and you’re qualified to make every required connection. Gas-line sizing, combustion-air needs, and venting must match the manufacturer’s instructions; gas connections and venting are jobs for a licensed plumber or other qualified professional in most places.
Where can an indoor tankless water heater be installed?
Install it only in a location permitted by the manual and local code, with the required clearances, service access, combustion air, and approved vent route for a gas model. A garage, utility room, or exterior wall may work for some units, but the model’s listing and instructions decide—not a convenient empty patch of wall.
Who installs tankless water heaters?
A licensed plumber commonly handles the water connections, while a licensed electrician handles new circuits or panel work. Gas models may also need a qualified gas fitter or HVAC contractor for fuel piping and venting; confirm who is responsible for permits and inspections before hiring.
What makes installing a tankless water heater easier?
A like-for-like replacement is usually simpler when the new unit’s fuel type, capacity, vent route, and utility connections match the existing setup. Before buying, compare the installation manual with your current gas-line size or electrical service, water connections, and available vent path; mismatches are where a short swap turns into a larger project.

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 Tankless Water Heaters