Where are gas shutoff valves required under IRC 2024?
IRC 2024 Gas Shutoff Valves: Locations Required for Each Appliance
Gas Shutoff Valve Requirements
Published by Jaspector
Code Reference
IRC 2024 — G2420
Gas Shutoff Valve Requirements · Fuel Gas
Quick Answer
Under IRC 2024 Section G2420, a manual gas shutoff valve is required within 6 feet of every gas appliance, upstream of the flexible connector (if one is used), and in a readily accessible location. Additional shutoffs are required at the gas meter, at each riser, and at the exterior for appliances such as pool and spa heaters. All new shutoff valves must be lever-handle ball valves — the older plug-cock style is not permitted for new installations under current code.
What IRC 2024 Actually Requires
Section G2420.5 requires that an appliance shutoff valve be installed in the supply line serving each gas appliance. The valve must be located within 6 feet of the appliance it serves, accessible without the use of tools or moving the appliance, and upstream of any union or flexible connector used to make the final connection to the appliance.
The 6-foot distance is measured along the gas supply pipe, not as a straight-line dimension. A shutoff valve installed in a wall or floor cabinet adjacent to the appliance satisfies the requirement as long as it is accessible and within 6 feet of pipe travel. The valve must remain accessible after the appliance is installed — a shutoff buried behind a permanently affixed panel or concealed in a space that requires appliance removal to access does not comply.
Section G2420.2 requires a shutoff valve at the gas meter, ahead of the pressure regulator. This valve is typically installed by the gas utility and is the main service shutoff. In addition, a separate manual shutoff is required at each above-grade riser where gas piping transitions from underground to above-grade — this allows individual branch circuits to be isolated without shutting off the entire service.
Lever-handle ball valves are required for all new appliance shutoff installations. The older-style plug cocks (also called ground joint cocks or gas cocks), which are operated by a quarter-turn with a screwdriver or pliers, are not permitted for new work because they are more difficult to operate quickly in an emergency and are not reliably self-indicating (it is not obvious whether a plug cock is open or closed by looking at it). A lever-handle ball valve is clearly open when the handle is parallel to the pipe and clearly closed when the handle is perpendicular.
Why This Rule Exists
Gas shutoff valves serve two critical safety functions. First, they allow emergency isolation of an appliance when a gas leak is detected — at the appliance, in the flexible connector, or in the appliance’s internal gas train. Second, they allow safe disconnection of an appliance for service, repair, or replacement without requiring the gas utility to shut off the entire meter.
The requirement for the shutoff to be upstream of the flexible connector is particularly important. Flexible connectors are the most vulnerable component in a residential gas system — they are subject to mechanical stress from appliance movement, they can be kinked during installation, and older connectors made of aluminum are subject to corrosion and fatigue cracking. If a flexible connector fails, the appliance shutoff must be in a location where it can be operated without disturbing the connector itself.
The lever-handle ball valve requirement addresses a real operational safety issue. In an emergency, a homeowner or first responder needs to be able to shut off gas quickly and confidently. A lever-handle ball valve can be operated to the closed position in a single quarter-turn motion, and its handle position unambiguously shows whether it is open or closed. Plug cocks, which require a keyed tool or improvised rotation, are inappropriate for emergency use.
What the Inspector Checks at Rough and Final
At rough-in inspection, the inspector verifies that shutoff valves are shown on the permit drawings or gas piping diagram at each required location. The inspector also confirms that the valve bodies are the correct type (lever-handle ball valve) and that they are installed in accessible locations before walls are closed.
At final inspection, the inspector physically verifies that each gas appliance has an accessible shutoff valve within 6 feet, that the valve is upstream of any flexible connector, and that the valve handle is in a position that can be operated without moving or disconnecting the appliance. The inspector will also verify that exterior shutoffs for outdoor appliances are present and accessible.
For replacement appliance installations (no permit required in many jurisdictions), inspectors who do encounter the work will still apply the current code standard for valves — an old plug cock that was previously approved may be required to be replaced with a lever-handle ball valve as part of the new appliance installation.
What Contractors Need to Know
The 6-foot rule applies to the appliance shutoff, not to the flexible connector. A flexible connector may be 2 feet long, with the shutoff valve 4 feet upstream — this satisfies both the 6-foot shutoff requirement and the maximum 6-foot connector length requirement. The shutoff and the connector do not need to be at the same location; the shutoff must simply be upstream of the connector and within 6 feet of the appliance.
For built-in appliances such as gas ranges that slide into a base cabinet opening, the shutoff valve is typically located in the adjacent cabinet or in the wall behind the range. The shutoff must be accessible without removing the range from its position — this typically means the valve is in an adjacent lower cabinet with an opening into the range chase, or in a wall access panel immediately beside or behind the range opening.
Pool and spa heaters require an exterior shutoff valve per Section G2420.5.3. This shutoff must be located upstream of the heater, on the exterior of the building, and in a readily accessible location. The purpose is to allow fire department personnel to shut off gas to the heater from outside the building without needing to enter or locate the interior shutoff. For roof-mounted or elevated heaters, the exterior shutoff must be accessible from grade or a permanent platform.
When replacing an older appliance that was connected with a union (no flexible connector) and controlled by a plug cock, contractors are required to upgrade the shutoff to a lever-handle ball valve as part of the new appliance installation. The union may remain if it is in good condition, but the plug cock must be replaced. This is a code requirement, not an upsell.
What Homeowners Get Wrong
The most common homeowner misconception is that the main shutoff at the gas meter is sufficient — that individual appliance shutoffs are optional or redundant. They are not. The appliance shutoff allows the appliance to be serviced without disrupting gas service to the rest of the house. A plumber replacing a water heater must be able to shut off gas to just that appliance while the furnace and range remain operational.
Homeowners also sometimes move gas ranges without checking whether the flexible connector has been stressed or kinked, and without verifying that the appliance shutoff is still accessible. When a range is pulled out for cleaning or repair and then pushed back into place, the flexible connector can be kinked against the rear wall or the valve handle can be pinned in a position where it cannot be operated. Check both the connector condition and valve accessibility after repositioning any gas appliance.
Another mistake is assuming that the shutoff valve on the flexible connector (if the connector has a built-in valve) satisfies the appliance shutoff requirement. Built-in connector valves are not listed as appliance shutoff valves and do not satisfy the code requirement. A separate, approved ball valve upstream of the connector is still required.
State and Local Amendments
Most states follow the IRC appliance shutoff requirements without significant amendment. California’s Title 24 references NFPA 54, which has substantially similar appliance shutoff requirements. Some California jurisdictions require earthquake-actuated automatic gas shutoff valves in addition to the manual appliance shutoffs required by code — these are typically required as a condition of building permit issuance rather than as a base code requirement.
New York City’s Fuel Gas Code has historically been more restrictive than the IRC regarding shutoff valve placement and type, particularly for multi-family buildings. If you are working in a jurisdiction with known local amendments, always consult the locally adopted version of the fuel gas code.
When to Hire a Professional
Installing or replacing gas shutoff valves requires working on the gas piping system, which is licensed plumber or gas fitter work in virtually every jurisdiction. Even in states that allow homeowner permits for gas work, the installation of a shutoff valve in the main supply line involves depressurizing that line, making threaded connections, and verifying the installation is leak-free — all of which require professional tools and knowledge.
If you notice that your gas appliances lack accessible shutoff valves, or if existing shutoffs are plug cocks that are difficult to operate, contact a licensed plumber to evaluate and upgrade the system. This is particularly important if you have older appliances that may have been connected before the lever-handle requirement took effect.
Common Violations Found at Inspection
- No appliance shutoff valve installed — appliance connected directly to rigid pipe or flexible connector without any upstream valve
- Shutoff valve installed downstream of the flexible connector rather than upstream
- Shutoff valve located more than 6 feet from the appliance, measured along the pipe
- Plug-cock style valve used on new installation instead of required lever-handle ball valve
- Shutoff valve inaccessible after appliance is placed in final position (buried behind range, under appliance, or in sealed cavity)
- No exterior shutoff installed for pool or spa heater
- Shutoff handle pinned against wall or cabinetry, making it impossible to operate without moving the appliance
Frequently Asked Questions
FAQ — IRC 2024 Gas Shutoff Valves: Locations Required for Each Appliance
- Where exactly must the gas shutoff valve be located relative to the appliance?
- Within 6 feet of the appliance measured along the gas supply pipe, upstream of any flexible connector, and in a location that is accessible without using tools or moving the appliance. The valve must remain accessible after the appliance is installed in its final position.
- Are plug-cock gas valves still allowed under IRC 2024?
- Plug-cock (ground joint cock) valves are not permitted for new appliance shutoff installations under IRC 2024. All new shutoff valves must be lever-handle ball valves. Existing plug cocks do not need to be replaced unless you are making other alterations to the gas system at that location.
- Does my gas range need a shutoff valve?
- Yes. Every gas appliance, including a gas range, requires a dedicated manual shutoff valve within 6 feet, upstream of the flexible connector, and accessible without having to remove the range from its position. The shutoff is typically located in an adjacent cabinet or the wall behind the range.
- What if my appliance shutoff is a plug cock installed before the lever-handle requirement?
- Existing plug cocks are generally grandfathered for code purposes, but when you replace the appliance or make any alteration to the gas connection, most jurisdictions require upgrading the shutoff to a lever-handle ball valve as part of the new work.
- Do I need a separate shutoff for a pool heater?
- Yes. Section G2420.5.3 requires an exterior shutoff valve for pool and spa heaters, located upstream of the heater on the exterior of the building, in addition to any interior appliance shutoff. This allows emergency shutoff from outside without entering the building.
- Can the shutoff valve be inside the appliance cabinet or compartment?
- Only if the compartment is accessible without tools and without moving the appliance. A shutoff valve inside a cabinet that requires removing a permanently attached panel or sliding out the appliance to reach does not satisfy the accessibility requirement.
Also in Fuel Gas
← All Fuel Gas articles- IRC 2024 CSST Gas Pipe Bonding: Grounding to Prevent Lightning Arc Damage
Is CSST gas pipe required to be bonded to the electrical grounding system?
- IRC 2024 Gas Flexible Connectors: Length Limits and Listed Connector Rules
What are the rules for gas flexible connectors under IRC 2024?
- IRC 2024 Gas Line Pressure Test: How New Gas Piping Is Tested for Leaks
How is new gas piping pressure tested under IRC 2024?
- IRC 2024 Gas Pipe Materials: Black Iron, CSST, and Copper in Fuel Gas Systems
What pipe materials are approved for residential gas piping under IRC 2024?
- IRC 2024 Gas Pipe Sizing: BTU Load and Pipe Diameter for Natural Gas
How do I size gas pipes correctly under IRC 2024?
- IRC 2024 Gas Range Installation: Flexible Connector, Shutoff, and Clearance Rules
What does IRC 2024 require for installing a gas range?
- IRC 2024 Outdoor Gas Appliances: Grills, Fire Pits, and Pool Heater Requirements
What does IRC 2024 require for outdoor gas appliances like grills, fire pits, and pool heaters?
Have a code question about your project? Get personalized answers from our team — $9/mo.
Membership