If your storage tank is rusting out, hogging closet space, or running cold halfway through a shower, a tankless unit can solve all three problems at once — but only if it is sized, vented, and installed correctly. Tankless water heater installation is not a straight swap: it demands an accurate BTU and flow-rate calculation, dedicated venting, and often a gas line or electrical upgrade. This guide breaks down real 2026 costs, code requirements, and the step-by-step process so you know exactly what you are paying for.
How Tankless Water Heater Installation Works
A tankless (on-demand) water heater heats water only when a fixture opens and flow exceeds the activation threshold — usually 0.4 to 0.75 gallons per minute (GPM). Cold water passes through a copper or stainless heat exchanger fired by gas burners or electric heating elements, and hot water arrives in roughly 5 to 15 seconds. Because there is no 40- to 80-gallon tank to keep at temperature 24/7, standby heat loss drops to nearly zero.
If you are still comparing technologies, our tankless water heater guide covers flow rates, condensing versus non-condensing models, and which homes are a poor fit.
Gas vs. Electric Installation Footprint
- Gas tankless: Requires a 1/2-inch to 1-inch gas line (depending on distance and BTU load), Category III stainless steel venting or, for condensing units, PVC/CPVC intake and exhaust, a condensate drain with neutralizer, and 120V power for the control board.
- Electric tankless: Requires no venting at all, but demands heavy-gauge dedicated circuits — typically 2 to 3 double-pole breakers at 40 to 60 amps each — plus an appropriately sized service panel.
What a Typical Install Includes
- New unit and mounting bracket
- Isolation valves and unions for future flushing
- Temperature and pressure (T&P) relief valve piped to within 6 inches of the floor
- Sediment trap on the gas line (gas models)
- Condensate neutralizer kit (condensing models)
- Vent termination with proper clearances
- Permit, pressure test, and final inspection
Tankless Water Heater Installation Cost in 2026
Nationally, homeowners pay $2,200 to $4,500 for a gas tankless installation and $1,500 to $3,500 for an electric one, with a national average of roughly $3,000. The unit itself is rarely the biggest line item — retrofit labor is.
| Cost Component | Typical Range (USD) |
|---|---|
| Gas tankless unit (condensing, 199,000 BTU/h) | $1,200 – $2,500 |
| Electric tankless unit (18–27 kW) | $500 – $1,500 |
| Licensed labor (4–8 hours) | $500 – $1,500 |
| Venting (stainless or PVC/CPVC) | $300 – $1,000 |
| Gas line upgrade to 3/4” or 1” | $300 – $900 |
| Electrical panel or subpanel upgrade | $1,200 – $3,000 |
| Permit and inspection | $50 – $300 |
| Recirculation pump or comfort valve | $200 – $800 |
What Drives the Price Up
- Relocation: Moving the unit to an exterior wall or garage to shorten the vent run adds $400 to $1,200.
- Long vent runs: Every additional elbow and foot of pipe reduces draft and adds material cost.
- Hard water: Above 10 to 12 grains per gallon, add a scale prevention system ($300 to $800) to protect the heat exchanger.
- Panel upgrades: Any home with a 100-amp service considering electric tankless should budget for a service upgrade.
For a full line-item comparison against storage tanks, heat pump water heaters, and hybrid systems, see our water heater cost breakdown.
Sizing: BTU, GPM, and Temperature Rise
Oversizing wastes money; undersizing means cold showers when two fixtures run at once. Sizing relies on three numbers.
1. Peak Flow Rate (GPM)
Add the flow of fixtures likely to run simultaneously:
- Standard showerhead: 2.0–2.5 GPM
- Kitchen faucet: 1.5–2.2 GPM
- Bathroom faucet: 1.0–1.5 GPM
- Dishwasher: 1.0–2.0 GPM
- Washing machine: 2.0–3.0 GPM
A two-bathroom home with a simultaneous shower and kitchen sink needs roughly 4.5 to 6 GPM. Whole-home gas models range from 6.0 to 11.1 GPM.
2. Temperature Rise
Temperature rise = desired output temperature minus incoming ground water temperature. Ground water runs about 47°F in northern states, 57°F in the Midwest, and 67–72°F in the Sun Belt. A 120°F shower in Minnesota needs a 73°F rise; in Florida, only 50°F. That difference dramatically changes how much hot water a given unit can deliver.
3. BTU or kW Input
- Gas: Residential whole-home tankless units fire at 140,000 to 199,000 BTU/h. A 199,000 BTU/h condensing unit at a 73°F rise delivers roughly 5.5 GPM; the same unit in Florida delivers about 8 GPM.
- Electric: Sizing uses kW instead. A 27 kW unit at 240V draws 112.5 amps and delivers about 5.5 GPM at a 60°F rise. Electric tankless is generally best for point-of-use applications or mild climates.
US Code Requirements and Standards
Tankless installation is governed by the International Residential Code (IRC), the Uniform Plumbing Code (UPC) where adopted, NFPA 54 (National Fuel Gas Code), and the product standard ANSI Z21.10.3/CSA 4.3 for gas water heaters. Local amendments always override — which is why a permit is non-negotiable.
Venting Rules
- Non-condensing units require Category III stainless steel venting and cannot share a flue with another appliance.
- Condensing units (90%+ AFUE equivalent) may use Schedule 40 PVC, CPVC, or polypropylene venting, and often use a two-pipe sealed-combustion configuration pulling outdoor air.
- Terminations must maintain manufacturer clearances — commonly 12 inches from windows and doors, 36 inches from a gas meter or regulator, and 48 inches from a dryer vent — and must never exhaust into an enclosed space.
Gas Line Sizing
Gas pipe must be sized by BTU load and total developed length, not by the size of the old pipe. Most 199,000 BTU/h tankless units require a 3/4-inch line at short runs and 1-inch for runs over 40 to 50 feet. A dedicated sediment trap and a union are required ahead of the inlet.
Plumbing and Electrical
- T&P relief valve rated for the unit’s maximum pressure, piped to a safe discharge point.
- A drain pan is required where leakage could cause damage.
- Units must be installed per the manufacturer’s clearances — typically 12 inches from combustible surfaces and specific side clearances for service access.
- Hardwired electric models require GFCI protection per local code and correctly sized conductors (often 6 AWG or 8 AWG copper).
Step-by-Step: The Professional Installation Process
- Site assessment and load calculation. Confirm gas meter capacity (in cubic feet per hour) or panel capacity, and measure vent and water line runs.
- Permit pulled. Typically $50 to $300, and required in nearly every jurisdiction.
- Old equipment removed. Tank drained, disconnected, and hauled away; water lines capped.
- Mounting and rough-in. Unit hung level, isolation valves and unions installed, new gas line run with a sediment trap.
- Venting installed. Wall penetration cut, vent pitched back toward the unit for condensate drainage (condensing models), termination clearances verified.
- Condensate management. Neutralizer kit installed and drain routed per code.
- Electrical hookup. Dedicated circuit or 120V control power connected and grounded.
- Commissioning and inspection. Gas pressure tested, flow and temperature verified at each fixture, unit set to 120°F, and the installation inspected by the local authority.
A like-for-like replacement takes 3 to 6 hours. A full conversion from a storage tank — the more common scenario — takes 1 to 2 days. For comparison, a standard tank swap follows a simpler path, described in our guide to water heater installation.
Retrofitting: What Changes When You Switch from a Tank
- Space: A tankless unit is roughly the size of a carry-on suitcase, freeing up 9 to 16 square feet of floor space.
- Gas meter capacity: Many homes have a 250 CFH meter. A 199,000 BTU/h tankless unit alone demands about 199 CFH, so the utility may need to upsize the meter — usually at no charge, but with a 1-3 week lead time.
- Venting path: You will likely need a new wall penetration, which means cutting siding or masonry.
- Recirculation: If you want instant hot water at distant fixtures, add a recirculation pump or a crossover valve; expect $200 to $800 plus slightly higher energy use.
- Water quality: Install a descaler or softener if hardness exceeds 10 grains per gallon. Annual flushing with white vinegar is the single best way to protect a $2,000 heat exchanger.
Maintenance After Installation
Plan on annual descaling ($150 to $250 professionally, or about $30 in vinegar and an hour of your time with a pump kit). Manufacturers typically require documented annual maintenance to honor heat exchanger warranties, which commonly run 10 to 15 years on the heat exchanger and 5 years on parts. With proper service, a tankless unit lasts 20 years or more — roughly double a storage tank’s 8 to 12 years.
DIY vs. Professional Installation
Tankless installation is not a DIY-friendly project. It involves gas piping, combustion air, electrical circuits, and permit inspections, and an improperly vented unit can produce carbon monoxide — a genuine life-safety hazard. Many manufacturers also void warranties on self-installed units. A licensed plumber or HVAC contractor with NATE certification typically charges $500 to $1,500 in labor, which is a modest premium for code compliance, safe combustion, and a valid warranty.
Frequently Asked Questions
How long does tankless water heater installation take?
A like-for-like gas replacement typically takes 3 to 6 hours, while an electric unit runs 2 to 4 hours. Converting from a storage tank to a tankless system — which may require new venting, a larger gas line, or an electrical subpanel — usually takes 1 to 2 days including permit inspection.
Do I need to upgrade my gas meter or electrical panel for a tankless water heater?
Often, yes. A whole-home gas tankless unit draws 140,000 to 199,000 BTU/h, which can exceed the capacity of a standard 250 CFH residential gas meter, so your utility may need to upsize the meter or service line. Electric tankless models rated 18–27 kW require 75–113 amps at 240 volts, which typically means a 200-amp panel and two to three dedicated double-pole breakers.
Is tankless water heater installation worth the cost?
For most households, yes over the long run. ENERGY STAR gas condensing tankless units reach UEF ratings of 0.87 to 0.96 versus roughly 0.60 to 0.70 for older storage tanks, saving an estimated $100 to $180 per year on water heating. Combined with a 20-year service life versus 8 to 12 years for a tank, most homeowners break even in 8 to 12 years.
Get Your Tankless Water Heater Installed Right the First Time
A tankless water heater is a 20-year investment in your home, and it will only deliver the endless hot water and lower bills you paid for if the BTU calculation, gas line, venting, and electrical work are all correct. Call today to schedule a free in-home assessment and a written, itemized quote from a NATE-certified technician — we will verify your gas meter or panel capacity, calculate your exact flow rate and temperature rise, pull the permit, and handle the inspection so your warranty stays intact. Ask about current manufacturer rebates and federal tax credits on qualifying condensing models before you buy.
Conclusion
Tankless water heater installation is a legitimate upgrade for the right home: expect $2,200 to $4,500 for gas and $1,500 to $3,500 for electric in 2026, with the price driven more by venting, gas line, and panel work than by the unit itself. Size the system by GPM and temperature rise, not by guesswork; confirm your gas meter or electrical service can carry the load; and let a licensed, NATE-certified installer handle the venting and combustion safety. Done correctly, a tankless system delivers continuous hot water, reclaims floor space, earns ENERGY STAR efficiency, and lasts two decades — which is exactly why the installation details matter more than the brand name on the box.