
Closed Loop Hot Water Recirculation Line Diagram and Code Rules
A closed loop hot water recirculation line diagram shows domestic hot water running from the water heater outlet along the supply main to the farthest fixture. The unused water then comes back to the heater's cold inlet through a dedicated return line. That return line is fitted with an in-line circulator pump, a check valve and isolation valves.
How the loop runs from heater to farthest fixture
On a closed loop hot water recirculation line diagram, the loop starts at the water heater discharge. Hot water leaves the heater outlet, travels along the supply main and feeds each fixture branch on the way. The main continues past the last ordinary branch. Just upstream of the fitting that serves the most remote fixture, a tee picks up the dedicated return pipe. That return runs back to the heater and ties into the cold water supply at the heater inlet, so water that has cooled in the main goes back to the heater to be reheated, rather than sitting in the pipe until someone runs it off.
The loop works because that tee sits at the far end. Every foot of main between the heater and the return tee stays charged with hot water. The only cold water left to purge is in the short branch from the main to each fixture. Move the tee back toward the heater and the run beyond it becomes a dead leg again, and the client at the end bathroom still waits.
How does a hot water heater recirculation pump work?
A hot water heater recirculation pump pushes a small, steady flow of water around the loop. Water that loses heat through the pipe walls goes back to the heater and is replaced by hot water. Because the main is always being refreshed, a fixture opened anywhere on the loop gets hot water quickly. The pump can run continuously or start only when called for. The control section below covers both.
Keep the flow low. The PPI PEX design guide, citing the ASPE Plumbing Design Handbook, recommends sizing the loop so water reaches the far end and returns with a temperature drop of no more than 10°F. For PEX return piping, IAPMO IS-31 (2023) caps flow velocity at 2 feet per second. You stay under that cap in two ways: set the circulator correctly instead of oversizing it, or go up a size on the return leg, for example from 1/2 to 3/4 tubing. The table below gives the flow each PEX size carries at that 2 ft/s limit (PPI guide, Table 6.2).
| Nominal PEX tubing size (in.) | Flow at 2 ft/s (gpm) |
|---|---|
| 1/2 | 1.1 |
| 3/4 | 2.2 |
| 1 | 3.6 |
| 1 1/4 | 5.4 |
| 1 1/2 | 7.5 |
| 2 | 12.9 |
| 2 1/2 | 19.5 |
| 3 | 27.7 |
| 4 | 48.1 |
The numbered points
Tap a number on the picture, or a card.
-
1. Water heater
The source of the loop. Hot water leaves from the outlet on top, and cooled return water comes back in on the cold side.
-
2. Hot supply main
Carries hot water past every fixture branch. Circulation keeps it charged along its full length.
-
3. Farthest fixture takeoff
The last fixture on the main. The return tee sits just upstream of this fitting so the whole main is circulated.
-
4. Dedicated return line
Brings cooled water back to the heater. The circulator, check valve and isolation valves sit on this line.
-
5. Return tie-in
The return joins the cold water supply at the heater's cold inlet, so returned water is reheated.
Where the return tee sits decides how much of the main stays hot. Put it just upstream of the farthest fixture and the whole main is circulated.
Pump trim: check valve, isolation valves and the cold inlet
The circulator needs a check valve on the return. UPC Section 606.8 requires a check valve, or a device that does the same job, on every system that circulates water by pump, so flow can only go one way. IPC Section 604.2 comes at it from the other side: wherever hot and cold piping systems meet, something must stop water flowing between them. In a loop this matters most when a fixture opens. The draw drops pressure in the hot main. Without a check, water from the cold side can push backward up the return and into the hot distribution. A check valve must also be installed on the cold water line, upstream of where the return ties in, so warm water cannot flow back into the cold line. That is how the loop meets IPC Section 604.2 where its hot and cold piping join at the heater.
Fit an isolation ball valve, with unions, on each side of the pump and check valve. With both closed, you can pull the circulator or replace a worn check on a service call without draining the building's whole distribution system. The code sections in this article do not name those two valves, but they do require access. IPC Section 501.4 calls for water heaters to be located and connected so they can be observed, maintained, serviced and replaced. UPC Section 606.6 makes required shutoff and control valves accessible.
On a hot water recirculating pump diagram, two more connections at the heater appear beside the pump trim:
- A valve on the cold water branch to the heater. It sits near the equipment, serves only that heater, does not cut off cold water to the rest of the building, and is reachable on the same floor level as the heater (IPC Section 503.1).
- A thermal expansion control device on the heater's cold supply pipe, downstream of every check valve, pressure reducing valve and backflow preventer. It is required wherever a storage heater is fed through one of those devices (IPC Section 607.3). Size the expansion tank to the tank maker's instructions so system pressure stays within IPC Section 604.8.
Watch out
A check valve set against the pump's flow arrow blocks the loop, so the pump runs and the far fixtures stay cold. Before you solder or press, confirm that the arrows on the pump and the check both point toward the heater.
Controls that limit how long the pump runs
A pump that runs around the clock keeps the loop hot, but it pays for that in heat lost through the pipe and in electricity. Where possible, the PPI PEX guide recommends running recirculation intermittently, with the circulator on a timer or started by demand sensors, both to save energy and to meet energy codes. Two control types are common:
- A programmable timer runs the pump during set hours.
- An on-demand control starts the pump from a push button, an occupancy sensor or a flow sensor at a fixture.
The IPC hands the detailed control rules to the energy code (Section 607.2.1). Group R2, R3 and R4 occupancies three stories or less above grade plane follow IECC Section R403.5.1 for circulation and temperature maintenance systems. All other buildings follow IECC Section C404.6. The IPC itself sets two control limits:
- Where a pump circulates water between a water heater and a separate storage tank, its control may run it only from the start of a heating cycle to no more than 5 minutes after that cycle ends (Section 607.2.1.1).
- Where pumps return water from the hot supply to the heater through a cold water pipe, the system counts as a demand recirculation system (Section 607.2.1.2). Its control must do both of these things. First, start the pump only on a signal from a user's action, from sensing a user's presence, or from sensing hot or tempered water flowing to a fixture fitting or appliance. Second, limit water entering the cold piping to 104°F.
What IPC Section 607 and UPC Chapter 6 require of the loop
The 2021 IPC caps the developed length of hot or tempered water piping from the source of hot water to a fixture at 50 feet (Section 607.2), and it treats recirculating piping as a source. On a closed loop hot water recirculation line diagram, that changes where you measure: you start at the tee on the circulated main, not at the heater. A lavatory that sits 70 feet of pipe from the heater but 12 feet from the loop is measured at 12 feet.
Under IPC Section 607.5, piping to the heater inlet and piping that carries heated water must be insulated. Group R2, R3 and R4 occupancies three stories or less above grade plane follow IECC Section R403.5.3, and all others follow IECC Section C404.4. The 2021 UPC requires domestic hot water piping to be insulated (Section 609.12.1). The UPC sections covered here give no developed length figure, so confirm the limit in the UPC edition your jurisdiction has adopted before you set branch lengths.
Key point
Length and insulation work as a pair. Insulation holds temperature out to the far end of the loop, and short branches off the loop keep each fixture inside the IPC's 50-foot limit.
Once the layout meets those limits, the control you pick decides how much the loop costs to run. Weigh the options below on energy, wear and how quickly hot water reaches the tap.
Choosing a recirculation pump control
| Timer | On-demand control | |
|---|---|---|
| What starts the pump | Clock hours you set | A push button, occupancy sensor or flow sensor at a fixture |
| Energy use | Less than running 24/7, but the loop stays hot through every scheduled hour, used or not | Lowest run time: the pump runs only when someone is about to draw hot water |
| Equipment wear | Pump and piping see long hot periods every day | Short runs, with pump and piping idle most of the day |
| Response at the tap | Hot water at once during scheduled hours, with a wait outside them | A short wait while the loop is pulled hot after the call |
| Return through a cold water pipe | Not allowed: IPC Section 607.2.1.2 requires a user-started control | Required, and the control must also limit water entering the cold piping to 104°F |
The difference
Keep timers for dedicated return loops where the energy code allows them.
Frequently asked questions
Can PEX be used for a hot water recirculation loop?
Yes, if the tubing's chlorine resistance rating suits the duty. The first digit of the PEX Material Designation Code shows the rating: 5 covers continuous recirculation at 140°F, 3 covers timed recirculation with hot water up to 12 hours a day, and 1 covers traditional domestic use up to 6 hours a day. Continuous recirculation of hot chlorinated water above 140°F is outside what these ratings cover, so check the code on the tubing (for example PEX 5106) and confirm with the manufacturer.
What temperature should a recirculation loop be held at?
The PPI PEX guide recommends 125°F to 135°F. That range is hot enough to stop pathogens such as Legionella from growing without wasting energy on overly hot water. Scald risk remains: UPC Appendix N notes that skin exposed to 130°F water can suffer a second-degree burn in as little as 18 seconds, so fit mixing devices to bring outlet temperatures down.
Where does the return connect when a temperature-actuated mixing valve is installed?
Under IPC Section 607.2.2, route the hot or tempered water return to the cold water inlet pipe of the water heater. Route it also to either the cold water inlet pipe or the hot water return connection of the mixing valve. The valve must comply with ASSE 1017 and is installed at the hot water source (IPC Section 613.1).
Disclaimer: The information provided in this educational content has been prepared with care to reflect current regulatory requirements for continuing education. However, licensing rules and regulations can vary by state and are subject to change. While we strive for accuracy, ExpertCE cannot guarantee that all details are complete or up to date at the time of reading. For the most current and authoritative information, always refer directly to your state’s official licensing board or regulatory agency.


