Skip to content
HeaterGuides
Tankless Water Heaters

How Tankless Water Heaters Work: The Complete Guide

On this page 7 sections
  1. How Tankless Water Heaters Work
  2. Gas And Electric Models Use Different Heat
  3. What Flow Rate And Temperature Rise Mean
  4. Why Tankless Units Save Some Space And Energy
  5. Installation And Maintenance That Matter
  6. What To Do Next
  7. More Questions, Answered
Bottom line
Tankless water heaters heat water only when you open a hot tap, so they do not store a tank of hot water. A tankless water heater is a heater that warms water on demand as it flows through the unit. Gas models use a burner and heat exchanger; electric models use resistance elements.

Say your home uses two showers back to back and the incoming water is 50°F on a cold morning. A tankless unit has to raise that water fast enough to keep up, so the real question is flow rate and temperature rise, not just the box size on the wall.

That difference matters for comfort, running cost, and where the unit can go. A small apartment can often use one well-sized unit, while a big house with two bathrooms running at once may need a larger gas model or a recirculation setup.

The essentials
Tankless units heat water as it moves, so there is no storage tank to keep hot all day.
Gas models usually handle higher flow rates than electric ones, especially in cold weather.
The important numbers are gallons per minute, incoming water temperature, and temperature rise.
A bad installation can make a good unit feel weak, loud, or slow to deliver hot water.

How Tankless Water Heaters Work

How tankless water heaters work is straightforward: opening a hot tap starts water flowing through the unit, and a flow sensor signals the heater to start. The water passes through a heat exchanger, where a burner or electric elements warm it before it travels to your fixture at the controller’s set temperature.

A tankless water heater heats water as you use it rather than keeping a tank full of hot water. The flow sensor detects water moving through the unit; the controller manages the heating and temperature. On a gas model, the burner heats the exchanger and a vent carries combustion gases outside. On an electric model, resistance elements heat the water in the unit.

Hot water can take a few seconds to reach the faucet even after the heater starts. The water already sitting in the pipe between the unit and the fixture has to move out first; a longer pipe means a longer wait.

A Shower’s Heating Demand
Say cold water enters at 50°F and your shower uses 2 gallons per minute. To deliver water at 110°F, the heater must raise that flowing water by 60°F while keeping up with the full 2-gallon-per-minute flow. A unit’s output has to match that combination; a big-sounding power rating alone doesn’t tell you whether it can.
Inlet temperature50°F
Shower flow2 gallons per minute
Example outlet temperature110°F
Required temperature rise60°F
FeatureTankless heaterTank heater
How it heats waterHeats water as it flows through the unitHeats and stores water in an insulated tank
Standby lossNo stored tank of hot water to lose heat from; the unit may still use some energy while idleStored water gradually loses heat, so the burner or elements may run to reheat it
Hot-water supplyLimited by the unit’s ability to heat the water at the current flow rateLimited by the amount of hot water in the tank until it reheats
Installation demandsNeeds suitable fuel or electrical service; gas models also need correct ventingNeeds suitable fuel or electrical service and space for the tank
Both types need correct sizing and installation for the home.

A tankless unit can keep heating while water flows, but it can’t instantly heat more water than its capacity allows. For a broader look at the parts shared across heater types, see how a water heater works.

Gas And Electric Models Use Different Heat

how does a tankless water heater work: Gas And Electric Models Use Different Heat

A gas tankless water heater burns natural gas or propane to heat a metal exchanger; an electric tankless water heater sends current through resistance elements. Gas models often suit whole-house demand better, while electric models can work well for smaller loads or a point-of-use installation near one fixture.

ModelHow it heatsPractical fitInstallation concern
GasA burner heats the exchanger as water flowsOften suited to larger household hot-water demandNeeds a compatible fuel supply and correctly installed venting
ElectricCurrent heats resistance elements in the water pathOften suited to smaller demand or point-of-use useNeeds enough amperage and correctly sized conductors
The right type depends on the home’s available service and the hot-water demand.

An electric model can draw more current than an existing tank heater’s circuit can supply. Some units need a new circuit or changes to the electrical service, so an electric tank-to-tankless swap isn’t automatically a simple DIY replacement. If you’re comparing units, see electric tankless water heater options.

Use the Right Trade
Gas connections, fuel work and venting should be handled by licensed trades in most places. Electric work may also need an electrician when the installation requires a new circuit or other changes to the panel. Check local code and the manufacturer’s installation instructions before choosing a unit.

For gas or electric, the heater still has to match how much water your household uses at once. If you’re comparing gas models, gas tankless water heater choices can help you see what’s available.

When A Product Helps
A portable space heater can warm a room, but it won’t heat tap water or solve a tankless water heater problem. Use one only as a separate room-heating appliance.
R.W.FLAME Mini Ceramic Space Heater
Supplemental room heat
R.W.FLAME Mini Ceramic Space Heater
This is a room heater, not a water-heating fix: it won’t change a tankless unit’s flow rate or hot-water temperature. Its thermostat and timer suit occasional supplemental heat in a bedroom or office.
See it on Amazon

What Flow Rate And Temperature Rise Mean

how does a tankless water heater work: What Flow Rate And Temperature Rise Mean

Correct tankless water heater setup starts with two numbers: the fixtures’ combined flow rate and the temperature rise the unit must deliver. Tankless water heater installation guidelines and requirements also depend on the model, fuel, venting, clearances, combustion air and service access; how to install one safely depends on those details and local code, so use a qualified installer rather than treating it as a simple appliance swap.

Flow rate is the water moving through the heater, measured in gallons per minute (GPM). Temperature rise is the difference between the incoming water temperature and the outlet setting. A heater has to meet both demands at once.

One Shower Or Two Fixtures
Say a shower uses about 2.5 GPM and the incoming water is 50°F. To deliver water at 120°F, the unit needs a 70°F temperature rise while supplying that flow. Add a second fixture using 1 GPM and demand becomes about 3.5 GPM at the same rise. A unit that handles the shower alone may deliver less flow or cooler water when both run.
Shower flowAbout 2.5 GPM
Two fixturesAbout 3.5 GPM
Example temperature rise50°F to 120°F = 70°F

Winter makes the job harder because colder inlet water requires a larger temperature rise. A unit that feels adequate in summer can struggle in January, especially when several fixtures run together. Check its capacity at the rise your incoming water actually requires, not just a headline maximum flow rate.

Tankless units are commonly installed on an exterior wall or in a utility area, garage or basement the manufacturer permits. Gas models need an approved vent route, required combustion air and room for service; indoor models must meet the manufacturer’s clearances. Installation may also require gas, electrical or plumbing changes, so local code and the unit’s manual set the rules.

Before Choosing A Location
Add the GPM of fixtures you may use at the same time.
Use a winter inlet-water temperature to estimate the required rise.
Confirm the manufacturer allows the location and check venting, clearances and service access.
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

Why Tankless Units Save Some Space And Energy

Tankless water heaters can reduce standby waste and free floor space, but the tankless water heater cost, yearly cost and monthly cost depend on hot-water use, fuel or electricity rates, and installation needs. A fair comparison of standard vs tankless water heaters includes both the energy bill and the upfront work; installation cost can change if the home needs new venting, gas capacity, wiring or other updates.

A storage tank keeps a large volume of water hot even while nobody is using it, so some heat escapes through the tank and nearby pipes. A tankless unit heats water when a tap calls for it, avoiding that continuous tank standby loss. To estimate operating cost, multiply the energy the heater uses over a billing period by your utility’s price per unit of energy, then compare that with the tank heater’s use at the same rates.

FactorTanklessStorage tank
Standby heat lossUsually lower because water isn’t kept hot in a tankSome heat escapes while stored water stays hot
Hot-water supplyCan keep heating while demand stays within its capacityStored hot water can run out before recovery
Upfront workMay require vent, gas or electrical upgradesReplacement may be simpler if connections match
SpaceWall-mounted units can free floor spaceNeeds room for the tank
The better choice depends on household demand and the condition of existing connections.

Savings are most likely to matter in a home with low to moderate hot-water demand and long idle periods. If your household draws hot water often, the heater still has to fire many times a day, and the savings may be modest. Which is better, tankless or tank? Choose tankless when reduced standby loss and floor space suit your use; choose a tank when lower installation complexity or a familiar stored supply matters more.

Endless hot water means the unit doesn’t empty a stored tank, but it doesn’t mean instant hot water at the tap. Water still has to travel through the pipes, so a distant bathroom may wait; a recirculation system can change that delay and its energy use. Learn how a tankless water heater recirculation system works before adding one.

Installation And Maintenance That Matter

how does a tankless water heater work: Installation And Maintenance That Matter

Tankless water heater installation should follow the unit’s instructions, its listing and local code from the start. Gas venting, fuel piping, 240 V electrical work and condensate drainage are poor weekend projects; a bad installation can reduce output, damage the heater or create a fire, gas or carbon-monoxide hazard. A licensed plumber, gas fitter or electrician should handle the work required in your area.

The tankless hot water heater manual is the installation guide you need, not a generic diagram found online. It specifies clearances, vent parts, gas or circuit requirements, drain routing and service access. A self install tankless water heater project should stop until you verify every one of those items and confirm local permits.

Place the unit where the required clearances and service space remain usable after the walls are finished. You can enclose a tankless water heater only when the enclosure follows the manufacturer’s clearance and ventilation rules; don’t box it into a tight cabinet that prevents a technician from removing the cover or reaching the connections.

1
Clean the inlet filter
Shut off the water as the manual directs, remove the inlet screen, rinse away grit and reinstall it securely. Debris here can reduce flow and trigger poor heating.
2
Flush mineral scale
Hard-water areas may need periodic descaling through the service valves. A tankless water heater flush kit usually includes hoses and a small pump. Use the manufacturer-approved tankless water heater descaling chemical solution, follow its contact time and flush with clean water afterward.
3
Check gas-unit venting
Keep the intake and exhaust termination clear of snow, leaves and nests. Never alter the vent route or operate a gas unit with a blocked flue.
Call for service when you notice
Hot-cold sandwiching or repeated temperature swings
Delayed ignition, unusual burner sounds or a failed start
An error code that returns after the manual’s basic reset procedure
Reduced hot-water flow after the inlet screen is clean
Mineral-scale noise, such as popping or rattling during heating
Stop before opening the cover
Turn off the fuel or electrical supply as the manual requires, and leave gas connections, vent repairs and 240 V wiring to qualified professionals. Carbon monoxide has no smell, so a working CO alarm belongs near fuel-burning equipment.

What To Do Next

If you’re replacing a tank, choose the unit only after confirming fuel type, the number of fixtures that may run together and winter inlet-water temperature. Those details determine the required flow and temperature rise; a large-looking heater can still disappoint if the gas line, circuit or incoming water cannot support it.

1
Confirm demand
List the showers, faucets and appliances you may use at the same time, then check their combined flow against the heater’s specifications.
2
Confirm utilities
Verify natural gas or propane capacity, venting, electrical circuit capacity and condensate drainage. Indoor tankless water heater installation needs every required connection, not only a water line.
3
Confirm location
Check manufacturer clearances, weather protection, vent termination rules and enough service space. Installing a tankless water heater inside is acceptable only for a model listed for indoor use and installed under its instructions.
4
Choose the right installer
Who installs tankless water heaters? Usually a licensed plumber or qualified gas fitter handles water, gas and venting; a licensed electrician handles required 240 V work where local rules call for one.

If an existing unit has lost performance, inspect the inlet screen, gas-unit vent path and possible scale buildup before declaring the heater failed. For a DIY installation, verify local code, venting, gas sizing or circuit capacity and service access before buying parts; tankless water heater installation guidelines are specific to the model.

In short
Confirm demand, confirm utilities, then confirm the location. If any answer is uncertain, stop and call a licensed installer before the first pipe is cut.

More Questions, Answered

How does a tankless water heater work?
A flow sensor detects water moving through the heater and signals the burner or electric elements to turn on. The unit adjusts its output to heat that passing water, then shuts off when the tap closes.
What is the difference between gas and electric tankless water heaters?
Gas models use a burner and heat exchanger, while electric models use resistance elements. Gas units need suitable gas supply and venting; electric units may require substantial electrical capacity, so check the model’s installation requirements before choosing.
Can you install a tankless water heater inside?
Yes, if the specific model is approved for indoor installation and its venting, combustion-air and clearance requirements can be met. Gas connections, venting and 240 V electrical work should be handled by a licensed professional where required by local rules.
How often should you flush a tankless water heater?
Follow the manufacturer’s maintenance schedule; many units need periodic descaling, especially where water is hard. Mineral buildup can restrict flow and reduce heat transfer, so use the specified flushing procedure and descaling solution rather than guessing.

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