24/7 Emergency(602) 675-1555
HQ Plumbing & Air logo
Plumbing Code Library

UPC 506: Combustion Air for Gas Water Heaters

Updated July 10, 2026
In Short

UPC Section 506 sets how much fresh air a gas water heater's burner gets and where that air comes from. A small closet is a confined space and needs sized free-air openings, high and low, to outside or an adjacent room so the burner does not starve, soot, or backdraft.

Primary Source
Uniform Plumbing Code, Section 506 (Combustion Air)

The Uniform Plumbing Code is published and copyrighted by IAPMO. This page explains the section in our own words with a short excerpt only. Read the full official text at the source.

A gas water heater has a burner. That burner needs air to burn fuel cleanly. This air is called combustion air. If the burner does not get enough of it, the heater cannot run right. UPC Section 506 sets how much fresh air the burner gets and where that air comes from.

What Section 506 covers

Section 506 covers the combustion air supply for a fuel-burning water heater. The rules change based on the room the heater sits in. A small closet holds only a little air. A big open basement holds a lot. So the code first asks how much air the space already has.

The code uses two terms. A confined space is a room too small to feed the burner on its own. An unconfined space is large enough to supply the air by itself. The size of the room and the heater's fuel input decide which one you have.

Confined vs unconfined space

In an unconfined space, the room air is usually enough. Air still has to reach the room, so doors, gaps, and normal leakage matter.

In a confined space, the heater needs extra air brought in on purpose. The code calls for free-air openings. These are permanent openings that let air flow to the burner. There are usually two: one near the top of the space and one near the bottom. The high opening lets warm air out. The low opening lets fresh air in.

The air can come from outdoors or from another room. When it comes from a nearby indoor space, that space has to be big enough to share its air. When it comes from outside, the openings tie to the outdoors through a duct or a wall. A heading titled "506.5.2 Outdoor Openings" covers air drawn from outside. Another, "506.7.3 Specified Combustion Air," covers a calculated air method. The exact opening sizes come from formulas and tables in the code, so they are described here, not quoted.

Why the burner needs the air

A burner that is starved for air cannot burn clean. The flame can make soot. It can make carbon monoxide, a gas you cannot see or smell. The heater can also backdraft, which pulls exhaust back into the room instead of up the vent. Openings can be choked by covers, so the code limits those too. A heading titled "506.8 Louvers, Grilles, and Screens" covers that.

When this comes into play

This matters most when a heater sits in a small closet, a garage, or an interior room. Picture a tank or tankless heater tucked in a hall closet with the door kept shut. That closet is likely a confined space. It needs sized openings to feed the burner. An inspector checks these openings on a permitted job.

What this means for you

If your pilot keeps dropping, you see soot near the burner, or you smell exhaust, the heater may be short on air. See can a water heater cause carbon monoxide and why a pilot light will not stay lit. For clearance and access rules, see water heater clearance and access code. For the flue and vent, see UPC 510 water heater venting. For the broader setup rules, see UPC 507 water heater installation. Because air starvation is a safety risk, a licensed plumber should size the openings. Our water heater service handles this on every install.

Full text and source

Section 506 is part of the Uniform Plumbing Code, published and copyrighted by IAPMO. The up.codes viewer shows the section headings, so the headings above are quoted and the rules are paraphrased, not copied. The exact opening sizes and formulas live in the code text and its tables, and the UPC combustion-air rules cross-reference the mechanical code. Phoenix enforces the 2024 UPC with local amendments, so confirm the current numbers. Read Chapter 5 on UpCodes or the official 2024 UPC, and check local amendments at phoenix.gov/pdd.

Sources

Keep Reading

Questions About Phoenix Plumbing Code?

We work to code every day across the Valley. Call the dispatcher and we'll tell you what your project needs.