How Far Does a Gas Pipe Have to Be From an Electrical Panel?

A user asked the app how far a gas pipe has to be from a panel. The honest answer surprises a lot of people: the NEC does not give a single distance number for gas piping near electrical panels. What it does give you is NEC 2023 110.26, and the gas side of the codebook fills in the rest.

The NEC angle is working space, not gas

NEC 110.26(A) requires clear working space in front of a panel: at least 30 inches wide, 36 inches deep, and 6.5 feet high for typical 120/240 volt residential gear. Nothing can occupy that envelope, and that includes gas piping, water lines, ducts, and shelving. A gas line running through the space in front of a panel is a violation even though the code never says the word gas. NEC 110.26(E) adds dedicated equipment space directly above the panel footprint up to 6 feet above the equipment; foreign systems such as piping cannot sit in that zone either, because a leak or condensation drip lands on live gear.

Where the 3 foot number comes from

The clearance electricians hear quoted on the job usually comes from the fuel gas code and the serving utility, not the NEC. Most utilities and the IFGC require roughly 3 feet between a gas meter assembly or regulator vent and any source of ignition, and many utilities treat a panel, a disconnect, or a meter socket as exactly that. Some utilities publish stricter numbers for the regulator vent itself. So a pipe simply passing behind a wall near a panel is normally fine, while a meter set or vent termination beside panel equipment is where jobs fail.

What to do in the field

Keep every part of the gas system out of the 110.26 working space and the dedicated space above the panel. When you are placing a new panel outdoors, hold at least 3 feet horizontally from the gas meter and regulator vent unless your local utility publishes a different figure, and check with them before rough in. If an existing installation is tight, the inspector will usually measure from the relief vent opening to the nearest arcing component, so document that dimension with a photo before calling for inspection.

Every job has one odd code question. Ask BONBON answers it with the NEC section cited, right from your pocket.

⚡ Stop flipping through the code book
Ask BONBON gives electricians instant, cited NEC answers — plus pro calculators and exam prep. Free to try.
Ask BONBON a Question →
iOS App | Android App