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

UPC 1211-1212: Gas Appliance Connections and Shutoff Valves

Updated July 10, 2026
In Short

UPC Sections 1211 and 1212 set how a gas appliance is joined to the house gas line. Each appliance needs an accessible manual shutoff valve close to it, an approved connector, and a sediment trap that keeps dirt out of the burner.

Primary Source
Uniform Plumbing Code, Sections 1211 and 1212 (Appliance Connections to Building Piping)

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.

The last few feet of a gas system matter as much as the pipe in the wall. That is where the gas line meets the range, dryer, or water heater. UPC Sections 1211 and 1212 set how that final connection is made. The rules call for an approved connector, a shutoff valve you can reach, and a way to keep dirt out of the appliance. Each part guards against a leak and lets you cut the gas fast.

What these sections cover

Both sections sit in Chapter 12 of the UPC, which covers fuel gas piping. The headings read:

1211.0 Appliance Connections to Building Piping 1211.1 Connecting Gas Appliances 1212.0 Appliance and Equipment Connections to Building Piping 1212.6 Appliance Shutoff Valves and Connections

They spell out how an appliance is tied to the house gas line and what has to be at that joint.

The appliance connector

An appliance can join the gas line with rigid pipe or with an approved flexible connector. A flexible connector is the coated metal tube you often see behind a range or dryer. The code sets limits on these connectors. A connector has to be listed for gas use and the right size for the appliance. It cannot run through a wall, floor, or ceiling, and it cannot be hidden inside cabinetry in a way that hides damage. Loose gas hose connectors have their own rule:

1212.3 Use of Gas Hose Connectors

The point is simple. The connector must stay in the open where anyone can see it and check it.

The required shutoff valve

Every appliance needs its own manual shutoff valve nearby. The code covers these under:

1210.9 Manual Gas Shutoff Valves

The valve has to be accessible, meaning you can reach and turn it without tearing anything apart. Valve placement is also covered in UPC 1210 gas piping installation. It sits close to the appliance, ahead of the connector, and in the same room. That way you can shut off one appliance for service or in an emergency without killing gas to the whole house. If you smell gas, this valve is what you turn.

The sediment trap

Most appliance hookups also need a sediment trap, sometimes called a drip leg. It is a short capped stub of pipe that points down just before the appliance control. Dirt, rust, or moisture that rides along in the gas drops into the trap instead of reaching the burner or gas valve. That keeps the appliance running clean and helps it last. Learn more about what a sediment trap does.

Why this matters in Phoenix

Whenever an appliance is swapped, this final connection gets rebuilt and re-inspected. Replace a water heater or range, and the plumber has to add or confirm the shutoff valve, use an approved connector made of an approved material, and set the sediment trap. Old hookups often miss one of these, which is a common reason a job fails inspection. A gas pressure regulator may also sit in the line to set the right pressure for the appliance.

What this means for you

If your appliance has no reachable shutoff valve, or the connector runs through a wall, the hookup is not to code. Fixing it is quick for a licensed plumber and makes the appliance safer. For who may do gas work, see the gas line permit rule in Arizona. For water heater swaps, see the permit to replace a water heater in Phoenix. If you ever smell gas, act fast: see how to detect a gas leak.

Full text and source

UPC Sections 1211 and 1212 are part of the Uniform Plumbing Code. IAPMO publishes them and holds the copyright. The UPC viewer shows the section headings, not the full rule text, so only the headings are quoted here and the rules are paraphrased. Connector length limits and sediment trap details are described, not quoted, because they are not shown on the viewer. Phoenix enforces the 2024 UPC with local amendments. Read the sections on the UPC viewer at UpCodes, review the official code at IAPMO, or confirm local amendments with the City of Phoenix Planning & Development Department 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.