IRC 2021 Fuel Gas G2420.5.1 homeownercontractorinspector

Can the gas shutoff valve for a fireplace be inside the fireplace, behind the logs, or in the wall?

Gas Fireplace Shutoff Valves and Connectors Must Stay Accessible and Listed

Shutoff Valve in Fireplace

Published by Jaspector

Code Reference

IRC 2021 — G2420.5.1

Shutoff Valve in Fireplace · Fuel Gas

Quick Answer

Under IRC 2021 Section G2420.5.1, the appliance shutoff valve for a gas fireplace generally must be in the same room, within 6 feet of the appliance, upstream of the union, connector, or quick-disconnect it serves, and provided with access. It cannot simply disappear behind fixed finish work, buried masonry, or sealed framing. If the valve is inside the firebox, that arrangement has to be allowed by the fireplace manufacturer's instructions. Connector rules in G2422 also matter because flexible appliance connectors cannot be concealed inside walls, floors, partitions, ceilings, or appliance housings except where a listed exception applies.

That is why the real answer is not yes or no to “can I hide it.” The inspector is checking access, listing, connector path, and whether the valve can actually be reached for service or emergency shutoff without dismantling the installation.

What G2420.5.1 Actually Requires

Section G2420.5.1 is more specific than many installers realize. The base rule is that the appliance shutoff valve must be located in the same room as the appliance. It must be within 6 feet of the appliance, installed upstream of the union, connector, or quick-disconnect device it serves, and provided with access. The section then gives one fireplace-specific sentence that matters a lot in the field: appliance shutoff valves located in the firebox of a fireplace must be installed in accordance with the appliance manufacturer's instructions. That means the IRC does not automatically approve every valve-in-firebox arrangement. It approves only those arrangements supported by the listing and installation instructions for the actual fireplace, log set, insert, or decorative appliance.

G2420.5.2 adds another wrinkle. For vented decorative appliances, room heaters, and decorative appliances installed in vented fireplaces, the shutoff valve is permitted to be in a remote location if it has ready access, is permanently identified, and serves only that appliance. The piping from that remote shutoff to within 6 feet of the appliance still has to comply with the fuel-gas piping provisions in Sections G2412 through G2419. In other words, “remote” does not mean improvised.

Connector rules are just as important. G2422.1 allows connection by rigid metallic pipe, approved CSST, or listed and labeled appliance connectors installed in accordance with their instructions and located entirely in the same room as the appliance. G2422.1.2.3 says connectors cannot be concealed within, or extended through, walls, floors, partitions, ceilings, or appliance housings except for limited listed exceptions such as certain fireplace inserts factory equipped for that passage. G2408.1 overlays everything by requiring appliances to be installed according to their approval, listing, manufacturer instructions, and the code, with the manufacturer's instructions available at inspection.

Why This Rule Exists

Gas fireplace shutoff rules exist because decorative gas appliances are often surrounded by trim, tile, stone, mantels, cabinets, glass doors, and factory access panels that can make the gas controls hard to reach after finish work is complete. In an emergency, during service, or when replacing a log set, the gas must be stoppable quickly without opening walls or disassembling a hot appliance. The code also treats fireplace areas as places where people are tempted to hide flexible connectors and valves for appearance, which creates damage, overheating, and leak-detection problems later.

From an inspection standpoint, this is not only about convenience. Hidden shutoffs delay emergency response, concealed connectors cannot be visually evaluated, and field-built penetrations through appliance housings can violate the tested listing of the fireplace system. The rule forces the installation to remain serviceable after tile, stone, and finish carpentry are done.

What the Inspector Checks at Rough and Final

At rough inspection, the inspector usually wants to see how the gas line enters the fireplace framing cavity, whether the piping material is approved, whether supports and protection plates are installed, and where the planned shutoff will be located. If the design uses a remote valve under G2420.5.2, the inspector may ask whether the appliance is actually a vented decorative appliance or similar permitted category, whether the valve location will have ready access, and whether it will be permanently identified. If a fireplace insert or factory-built unit is involved, inspectors often want the manufacturer's installation manual before approving the rough configuration because the listing controls where the gas enters and whether a valve or connector can pass through the housing.

At final inspection, the questions become much more practical. Can the shutoff be reached without removing fixed finish materials? Is it within 6 feet if the installation is following G2420.5.1 rather than the remote-valve allowance? Is it upstream of the connector or union? If the valve is in the firebox, do the instructions clearly permit that exact arrangement? Is a decorative key valve actually the appliance shutoff, and if so is it listed, accessible, and serving only that appliance? Inspectors also look for connector violations: connector too long, connector run through wallboard or framing, connector hidden behind a sealed surround, or connector used as substitute building piping.

Common reinspection triggers include a nice-looking stone surround with no service opening, a valve behind a screwed-on metal panel that is not intended as normal access, or a flex connector pushed through a hole in the side of the fireplace cabinet without a listed sleeve or grommet. The installation may function, but it still fails because the code is written around access and listing, not just whether the burner lights.

What Contractors Need to Know

For contractors, gas fireplaces are coordination jobs. The gas fitter may assume the trim carpenter will leave an access opening. The fireplace installer may assume the plumber is providing a listed key valve. The tile setter may cover the only practical service point. By the time the inspector arrives, no one wants to admit that the shutoff is trapped behind finish work. The safest process is to choose the valve strategy before framing is closed: same-room valve within 6 feet, listed key valve arrangement, or a truly code-compliant remote shutoff for the limited appliances where that is permitted.

Read the fireplace manual line by line. G2408.1 gives the listing priority when it is more restrictive than the code. Some appliances are factory designed for gas entry at specific knockouts only. Some inserts are listed with protected passages for semirigid tubing or connectors. Others are not. A field hole through sheet metal because “that's where the pipe lined up” is a classic failed inspection. The same is true when an installer uses an appliance connector as if it were concealed piping inside framing or behind a masonry veneer.

Contractors should also distinguish among shutoff types. A key valve at the hearth is not automatically wrong and not automatically right. It must be an approved valve for the application, accessible, and installed in the arrangement allowed by the appliance listing and local interpretation. Some jurisdictions want the keyed shutoff plainly visible in the same room; others focus on whether a lower louvered compartment or service panel provides normal access to the valve train. If the appliance category allows a remote valve under G2420.5.2, label it permanently and make sure it serves only that appliance.

Finally, do not forget pipe sizing and pressure-testing implications. Fireplace jobs are often “small” only in appearance. The branch still has to be sized under G2413, supported under G2418 and G2424, and pressure tested under G2417 before concealment. A failed rough inspection on the gas branch can turn a finish-phase fireplace job into an expensive tear-out.

What Homeowners Get Wrong

The most common homeowner misunderstanding is thinking any hidden valve is acceptable as long as there is a remote control or an electronic ignition switch. The remote is not the same thing as the code-required shutoff. Service technicians and emergency responders still need a real gas shutoff, and the inspector still cares whether it is accessible. Another common assumption is that “behind the logs” counts as access. In most real-world situations, reaching behind ceramic logs inside the firebox is not treated as acceptable unless the appliance instructions specifically permit the valve there and the installation matches that listing.

Homeowners also confuse access with visibility. A valve does not have to be on display like a plumbing escutcheon, but it does have to be reachable in the way the code and listing intend. A removable lower control compartment on a direct-vent unit may provide access if that is how the appliance is designed. A tile panel siliconed in place after the fact usually does not. People also assume a flexible connector can snake anywhere because it looks convenient. G2422 says otherwise. Connectors are tightly limited because they are appliance connections, not all-purpose hidden gas lines.

Another frequent mistake is mixing old fireplace advice with new appliances. Vent-free logs, vented decorative appliances, gas fireplace heaters, inserts, and direct-vent fireplaces are not interchangeable code categories. The valve location allowed for one product may not be correct for another. The manufacturer's instructions matter more than online anecdotes. A DIY thread that says “mine passed behind the panel” means very little unless the exact appliance listing, valve type, and jurisdiction match your job.

Homeowners should also know that the cleanest-looking install is not always the safest or most code-compliant. The industry has spent years moving away from hidden, unserviceable gas components. If you are remodeling the surround, ask for the manual, ask where the shutoff will be, and ask how a future technician will isolate the appliance without damaging finishes.

State and Local Amendments

Fuel-gas enforcement varies more locally than many people expect. Some jurisdictions adopt the IRC with amendments drawn from the International Fuel Gas Code, state plumbing code, or utility standards. Others publish fireplace-specific inspection notes that focus on key valves, connector routing, and proof of listing. Areas with strong wildfire, seismic, or utility-safety programs may be especially strict about approved components and access. In some cities, inspectors want the fireplace manufacturer's manual physically on site because G2408.1 requires the instructions to be available at inspection.

Local utilities and fireplace dealers also influence practice. A city may allow a code path in theory, but the gas utility or appliance service network may refuse to connect or warranty an installation that uses nonstandard access, questionable connector routing, or undocumented field modifications. The only safe approach is to verify the adopted code edition, any local amendments, and the appliance installation manual before the surround is closed.

When to Hire a Licensed Contractor, Design Professional, or Engineer

Hire a licensed fuel-gas contractor or similarly authorized trade professional whenever you are adding a new gas fireplace, converting a wood fireplace to a gas appliance, relocating a shutoff, opening a finished wall or chase for gas piping, or changing the appliance type. Bring in the fireplace manufacturer, dealer, or a design professional when the installation involves a factory-built fireplace system, custom stone or millwork that affects service access, unusual remote shutoff arrangements, or any field modification to the appliance housing. An engineer is rarely needed for a straightforward residential fireplace gas branch, but one can be appropriate when a larger remodel affects structural openings, seismic bracing, or engineered gas distribution calculations.

Common Violations Found at Inspection

  • Shutoff valve not in the same room and no valid basis for using the remote-valve allowance in G2420.5.2.
  • Valve located more than 6 feet from the fireplace when the installation is relying on G2420.5.1.
  • Valve buried behind fixed stone, tile, millwork, or drywall with no true service access.
  • Valve placed in the firebox without manufacturer instructions clearly allowing that arrangement.
  • Appliance connector concealed in a wall, floor, partition, ceiling, or sealed surround.
  • Connector used as building piping instead of a listed appliance connection located entirely in the same room.
  • Field-cut hole through fireplace housing without the listed sleeve, grommet, or protected passage required by the appliance instructions.
  • Key valve installed, but not identified, not approved, not readily accessible, or serving more than one appliance.
  • Shutoff installed downstream of the connector or union instead of upstream.
  • No appliance installation manual on site to support the claimed valve and connector arrangement.

Frequently Asked Questions

FAQ — Gas Fireplace Shutoff Valves and Connectors Must Stay Accessible and Listed

Can the gas shutoff valve be behind the fireplace logs?
Usually not unless the appliance manufacturer specifically allows a valve in the firebox and the installation matches that listing. Under G2420.5.1 the valve still has to be accessible, and many decorative log arrangements do not provide practical service access.
Is a key valve on the hearth enough for a gas fireplace?
It can be, but only if it is an approved shutoff arrangement for that appliance, accessible, correctly located, and consistent with the fireplace instructions and local enforcement practice.
Can I hide the fireplace shutoff behind tile or stone if the panel is removable?
Only if the access is genuine and intended for service. A finish panel that requires tools, risks damage, or is not part of the listed appliance access system commonly fails inspection.
Can a flexible gas connector run through the fireplace wall or cabinet?
Not as a general shortcut. G2422.1.2.3 prohibits concealing connectors within or extending them through walls, floors, partitions, ceilings, or appliance housings except for limited listed exceptions.
Does a remote control count as the fireplace shutoff valve?
No. Electronic controls operate the appliance, but they do not replace the code-required gas shutoff valve used for service and isolation.
Why did my inspector ask for the fireplace manual before approving the gas valve?
Because G2408.1 requires the appliance to be installed according to its listing and manufacturer instructions, and the manual often decides whether a firebox valve or connector path is actually permitted.

Also in Fuel Gas

← All Fuel Gas articles

Have a code question about your project? Get personalized answers from our team — $9/mo.

Membership