Tankless water heater cost usually runs about $1,400 to $5,600 installed, according to HomeGuide, with national averages of $2,629 (Angi) and $2,800 (This Old House). Gas units cost more than electric ones, and switching from a tank often adds gas line, venting or electrical work that a simple swap doesn’t need. This guide breaks down those costs, uses the Department of Energy’s figures to show when tankless really saves energy, and includes a calculator for your own switch.
The short answer
- Installed: $1,400 to $5,600 (HomeGuide); averages $2,629 (Angi) and $2,800 (This Old House).
- Gas vs electric: natural gas $2,100 to $5,600 and electric $1,400 to $3,000 installed (HomeGuide).
- Conversion extras: a gas line upgrade ($350 to $750), new venting ($100 to $600) or a new circuit ($250 to $900) are common (HomeGuide).
- Savings: the DOE says tankless can be 24% to 34% more efficient in homes using 41 gallons a day or less, but only 8% to 14% in high-use homes.
Tankless water heater cost calculator
For a whole-house unit. Installed prices by fuel and the conversion items come from HomeGuide. If you are replacing an existing tankless unit, set the conversion items to none. A rough estimate, not a quote.
| Tankless heater, installed | |
|---|---|
| Gas line work | |
| Venting | |
| New circuit | |
| Panel replacement | |
| Old tank removal | |
| Permit |
Not included: moving the heater, a water softener, drywall repairs or local price differences. Rounded to the nearest $100.
Tankless water heater cost: gas vs electric
| Fuel | Unit only (HomeGuide) | Installed (HomeGuide) | Installed (This Old House) |
|---|---|---|---|
| Natural gas | $1,500 to $2,600 | $2,100 to $5,600 | $1,650 to $3,500 |
| Propane | $1,000 to $2,000 | $1,600 to $4,500 | $1,400 to $3,500 |
| Electric | $600 to $1,000 | $1,400 to $3,000 | $650 to $2,500 |
Gas units cost more to buy and install, and they need venting and an adequate gas supply. Electric units are cheaper upfront but need a lot of power; whole-house electric models often need new circuits or a bigger panel.
What switching from a tank adds to tankless water heater cost
The unit is only about 40% to 45% of the total project cost, according to HomeGuide. The rest is installation and the changes a tank-to-tankless switch often needs:
| Item | HomeGuide | This Old House |
|---|---|---|
| Installation labor | $600 to $2,500 | $900 to $1,500 (gas) |
| Gas line upgrade | $350 to $750 (new line up to $2,000) | $350 to $750 |
| Venting | $100 to $600 | $400 to $800 |
| New electrical circuit | $250 to $900 | $200 to $600 |
| Electrical panel | $850 to $1,700 | $1,000 to $2,000 |
| Old tank removal | $75 to $500 | $100 to $500 |
| Permit | $50 to $200 | $50 to $200 |
HomeGuide notes that non-condensing gas units are about 25% cheaper to install than condensing ones, which need special venting and a condensate drain.
Sizing: flow rate matters more than tank size
A tankless heater is sized by flow rate in gallons per minute (GPM), not by gallons stored. HomeGuide suggests at least 3.5 GPM for one or two fixtures running at once, about 5 GPM for two or three, and 7 GPM or more for three or four. An undersized unit can't keep up when several fixtures run at once.
Is the tankless water heater cost worth it?
The Department of Energy says that for homes using 41 gallons of hot water a day or less, on-demand heaters can be 24% to 34% more energy efficient than storage tanks. For homes that use a lot of hot water, around 86 gallons a day, the gain drops to 8% to 14%.
HomeGuide's estimated yearly running costs are close: $220 to $480 for gas tankless against $250 to $420 for a gas tank. Its claim of a three- to seven-year payback has no source, so treat it with care. The stronger arguments for tankless are its longer life, 15 to 20 years against 8 to 12 for a tank (HomeGuide), endless hot water and the floor space it frees up.
Several cost guides still mention a federal tax credit for efficient water heaters. The IRS says the 25C credit does not apply to property placed in service after December 31, 2025.
Tankless water heater cost of upkeep
Tankless heaters need regular flushing to remove mineral scale, especially with hard water. HomeGuide describes the process: drain, flush with a half vinegar, half water solution, then flush with clean water. Angi prices a professional flush at $110 to $200.
Safety
Gas, power and scalds
- Gas tankless heaters burn fuel and must be vented correctly. Use a licensed plumber and get the permit.
- Whole-house electric units draw a lot of current. New circuits and panel work are a job for a licensed electrician.
- The DOE suggests setting water heaters to 120°F, a temperature it calls safe for most of the population.
Watch: How to Install a Tankless Water Heater
How we worked this out
We read the 2026 tankless water heater cost guides of HomeGuide, Angi and This Old House (updated June 12, 2026), the Department of Energy's Energy Saver guide and the IRS credit changes on November 16, 2026. We did not install any heaters or get quotes.
Questions homeowners ask
How much does a tankless water heater cost installed?
About $1,400 to $5,600, according to HomeGuide. Angi's average is $2,629 and This Old House's $2,800.
Is a gas or electric tankless water heater cheaper?
Electric is cheaper to install: $1,400 to $3,000 against $2,100 to $5,600 for natural gas (HomeGuide). But large electric units can need new circuits or a panel upgrade.
How long does a tankless water heater last?
About 15 to 20 years, according to HomeGuide, compared with 8 to 12 years for a tank. Angi says about 20 years with proper maintenance.
Does a tankless water heater save money?
It saves energy, especially in homes that use less hot water: 24% to 34% for homes using 41 gallons a day or less, according to the DOE. Whether that pays back the higher installation cost depends on your usage and energy prices.
The verdict
A tankless water heater usually costs $1,400 to $5,600 installed, and switching from a tank adds the most when gas lines, venting or electrical service need work. It makes the most sense in smaller households, where the DOE says the energy gain is largest, and for people who value endless hot water and a longer-lasting unit. Get quotes that list the conversion work separately, and don't count on a federal tax credit in 2026.
Sources We Checked
- HomeGuide: How Much Does a Tankless Water Heater Cost? (2026)
- HomeGuide: How Much Does Water Heater Installation or Replacement Cost? (2026)
- Angi: How Much Does a Tankless Water Heater Cost? (2026 data)
- This Old House: Tankless Water Heater Installation Cost (updated June 12, 2026)
- U.S. Department of Energy: Energy Saver Guide (2022), water heating
- IRS: FAQs on the changes to sections 25C, 25D and other energy credits (2025 law)