Tankless water heaters are popular, but they are not the right fit for every house. The choice comes down to how your household uses hot water, whether your gas line, venting and electrical service can support the unit, and how hard your water is. This guide lays out the trade-offs plainly, including what the Department of Energy has said about efficiency and why the federal tax credit is no longer part of the math.
A tank water heater keeps a set amount of water hot and ready, commonly 40 or 50 gallons in a house. When you open a hot tap, hot water leaves the top of the tank and cold water refills the bottom to be heated. The tank keeps heating to hold its temperature even when nobody is using water, which is called standby loss.
A tankless (or on-demand) water heater has no storage. When a hot tap opens, a flow sensor fires a gas burner or electric elements, and water is heated as it passes through a heat exchanger. It does not run out the way a tank does, but it can only heat so many gallons per minute at once.
A third option, the heat pump water heater, is a tank that uses a heat pump to pull heat from the surrounding air. It uses electricity and needs room around it for air flow, so it suits some garages better than tight closets.