Tankless Water Heaters: How They Work and When They Apply

Tankless water heaters — also called on-demand or instantaneous water heaters — heat water directly as it flows through the unit rather than storing a preheated supply in a tank. This page covers how that heating process works, the primary equipment variants, the installation and permitting framework under U.S. plumbing codes, and the application scenarios where tankless units are and are not the appropriate choice. The distinction matters because undersized or misapplied tankless equipment is one of the most common sources of hot-water delivery complaints in both residential remodels and new construction.


Definition and scope

A tankless water heater is a point-of-use or whole-structure appliance that activates only when a hot-water draw is detected, heating the water stream on the fly rather than maintaining a standing reservoir. The absence of a storage tank eliminates standby heat loss — the continuous energy consumed by a conventional storage heater to keep 40 to 80 gallons of water at setpoint temperature regardless of demand.

Tankless units fall into two primary categories distinguished by energy source and installation scale:

  1. Gas-fired tankless heaters — powered by natural gas or propane, capable of flow rates typically between 2 and 5 gallons per minute (GPM) per unit, and used predominantly for whole-home applications.
  2. Electric tankless heaters — powered by dedicated electrical circuits, available in point-of-use sizes (1–2 GPM) and whole-home configurations; whole-home electric units require high-amperage service, often 3 to 4 separate 240-volt circuits.

The National Plumbing Authority index addresses the broader landscape of water heating types; for a side-by-side classification of storage, tankless, and heat-pump units, see Water Heater Types and Installation Concepts.

Under the Uniform Plumbing Code (UPC), published by the International Association of Plumbing and Mechanical Officials (IAPMO), and the International Plumbing Code (IPC), published by the International Code Council (ICC), tankless water heaters are classified as water heaters subject to the same permitting, pressure-relief valve, and venting requirements as storage units. Neither code exempts a tankless appliance from installation permits simply because it lacks a storage tank.


How it works

When a hot-water fixture opens, cold water enters the tankless unit's inlet. A flow sensor detects movement — typically at a threshold of 0.5 GPM or higher depending on manufacturer specification — and activates the heating element or burner. The water passes through a heat exchanger, reaches the target temperature (commonly set at 120°F per the U.S. Department of Energy's energy-efficiency guidance), and exits the outlet within seconds.

The core operating sequence for a gas-fired unit follows these phases:

  1. Flow detection — the flow sensor registers demand above the activation threshold.
  2. Ignition — the gas valve opens and the burner ignites, typically confirmed by a flame sensor.
  3. Modulation — the unit's control board modulates burner output (measured in BTUs) to match the incoming cold-water temperature and the target setpoint; high-efficiency condensing models recover heat from exhaust gases to improve thermal efficiency ratings up to 96% AFUE (Annual Fuel Utilization Efficiency).
  4. Heat transfer — water circulates through a copper or stainless-steel heat exchanger, absorbing thermal energy.
  5. Delivery — heated water exits at setpoint temperature; flow stops when the fixture closes, and the burner shuts down within seconds.

Electric models replace the burner and heat exchanger with resistance heating elements or, in some designs, induction elements. Because electricity converts to heat at effectively 100% efficiency at the point of use, electric units carry high energy factor (EF) ratings, though the upstream generation losses of electricity are not reflected in those appliance-level figures.

Condensing vs. non-condensing gas units represent an important design boundary. Non-condensing units exhaust at temperatures above 300°F and require Category III stainless-steel venting. Condensing units extract additional heat from the exhaust, reducing flue temperatures to below 140°F in many cases, which permits less expensive PVC venting — but they generate acidic condensate that must be routed to a drain.


Common scenarios

Tankless units are deployed across a range of residential and commercial contexts, but the suitability of the technology depends on matching unit capacity to simultaneous demand.

Residential whole-home replacement is the most common application. A household with 2 bathrooms and standard fixtures typically requires a gas unit rated at 7–9 GPM to handle simultaneous shower and dishwasher demand. Undersizing — one of the primary failure modes — results in a temperature drop when a second fixture opens, commonly called a "cold-water sandwich" effect in back-to-back draw events.

Point-of-use electric installation addresses long hot-water wait times at fixtures distant from a central heater. A small electric unit (1.5–2 GPM) installed under a sink or adjacent to a shower eliminates trunk-line lag without replacing the central system.

Hydronic and radiant applications use high-output gas tankless units as heat sources for hydronic heating system plumbing, particularly in smaller residential footprints where a dedicated boiler is not cost-justified.

Commercial light-duty applications — small offices, food-service hand-washing stations, and light manufacturing — use tankless units where demand is intermittent and a storage tank would introduce bacteria risk from low-temperature standing water. The risk of Legionella growth in storage tanks held below 140°F is recognized by the Centers for Disease Control and Prevention (CDC) as a significant water quality concern in building water systems.

New construction vs. retrofit present different constraints. In new construction, gas line sizing, venting routing, and electrical service can be designed around tankless requirements from the start. In retrofit situations — particularly relevant to plumbing remodel considerations — the existing gas line diameter (commonly ½-inch in older homes, where a whole-home tankless unit may require ¾-inch or 1-inch supply) and electrical panel capacity are the binding constraints.


Decision boundaries

Not every installation context favors a tankless unit. The following structured framework identifies the primary decision variables:

When tankless is appropriate:

  1. Demand profile is intermittent rather than simultaneous across 3 or more fixtures.
  2. Available gas supply or electrical service meets the unit's peak BTU or amperage requirement.
  3. Venting can be routed to an exterior wall or roof penetration within the manufacturer's specified run length (typically 50–100 equivalent feet for direct-vent models).
  4. Incoming cold-water temperature is above 40°F; in climates where groundwater drops below that threshold, GPM output falls significantly because the unit must raise water temperature across a greater differential.
  5. The installation is subject to a permit and inspection under the applicable local jurisdiction's adoption of the UPC or IPC, and a licensed installer is available. The regulatory context for plumbing page details how code adoption varies by jurisdiction.

When tankless is not the preferred choice:

  1. Simultaneous multi-fixture demand routinely exceeds the output capacity of a single unit and space or budget does not allow cascading multiple units.
  2. The existing gas service is ½-inch and cannot be economically upgraded; whole-home gas tankless units commonly require 120,000–199,000 BTU input, which a ½-inch line typically cannot supply at adequate pressure.
  3. The electrical panel lacks capacity for the additional 60–100 amp load that whole-home electric tankless units require.
  4. The application involves a manufacturing or commercial process requiring a large stored hot-water reserve at constant pressure — these applications favor high-recovery storage tanks or instantaneous steam-to-water heat exchangers.

Gas vs. electric comparison summary:

Factor Gas Tankless Electric Tankless
Flow rate capacity 2–5 GPM per unit 1–3 GPM per unit
Venting requirement Yes (Category III or PVC) None
Operating efficiency (appliance level) 80–96% AFUE ~99% at point of use
Installation complexity High (gas, venting, condensate) Moderate (dedicated circuits)
Best fit Whole-home, high-demand Point-of-use, low-demand

Permitting and safety standards govern every tankless installation regardless of fuel type. The UPC (IAPMO) and IPC (ICC) both require a permit for water heater replacement or new installation. Inspectors verify that the pressure and temperature (P&T) relief valve is installed, properly sized, and discharged to within 6 inches of the floor per UPC Section 508 (IAPMO UPC 2021). Gas appliances must comply with ANSI Z21.10.3, the standard for gas-fired instantaneous water heaters published by the American National Standards Institute and the American Gas Association. Electric units must comply with UL 174 or UL 1995 depending on configuration. The safety context and risk boundaries for plumbing page addresses the broader hazard classifications applicable to water heating systems.

Seismic strapping requirements — enforced in California and other high-seismic-risk states under California Plumbing Code Section 507.0 — apply to tankless units that are wall-mounted on structures subject to seismic design categories D, E, or F per ASCE 7.


References