An independent guide to local permits & inspections

Project permit guide

Do I Need a Permit for a Gas Line?

Reviewed · 13 cited sources

Short answer

Yes, almost always. The model International Residential Code exempts only portable gas appliances and minor replacement parts (R105.2, Gas items 1-3). Any new or extended gas piping needs a permit and has to pass a pressure test of at least 1.5 times working pressure, never less than 3 psig, held for at least 10 minutes (IRC G2417.4).

On this page 12 sections

Gas piping is one of the few home projects where permits are close to universal. A leak can cause a fire, an explosion or carbon monoxide exposure, and a pipe that’s too small can starve an appliance and make it burn badly. So the model codes exempt very little, and many cities limit who can do the work.

Common gas projects include running a line to a new range, outdoor kitchen, fire pit, gas fireplace or insert, pool heater or standby generator. For a generator, see also do I need a permit for a generator. If you don’t know which office covers your address, find your local building department.

What the model code exempts

The fuel gas chapter of the International Residential Code (IRC Chapter 24) is drawn from the International Fuel Gas Code. Section R105.2 lists only three gas items that need no permit:

  1. Portable heating, cooking or clothes drying appliances.
  2. Replacement of any minor part that does not alter approval of equipment or make it unsafe.
  3. Portable fuel-cell appliances that are not connected to a fixed piping system and not interconnected to a power grid.

Ordinary repairs under R105.2.2 expressly exclude “addition to, alteration of, replacement or relocation of any … gas … piping.” So adding a branch, extending a line, moving a stub-out or replacing piping is permit work under the model code.

When you usually need a permit

  • Any new gas piping or extension of existing piping, indoors or out.
  • A line to an outdoor grill, fire pit, patio heater or outdoor kitchen.
  • Installing or replacing a gas fireplace, insert or gas logs.
  • Installing a gas range or dryer where there is no gas outlet yet.
  • Installing or replacing a gas water heater, furnace, boiler or pool heater. These usually need a mechanical or plumbing permit, and some places require one even for like-for-like swaps.
  • Supplying a standby generator or upsizing a meter for added load.
  • Converting an appliance between natural gas and propane.

What the code requires of new gas piping

Inspectors focus on these IRC Chapter 24 requirements:

  • Sizing (G2413). Pipe has to be sized for the total connected load, so every appliance gets at least its minimum supply pressure. Adding a big appliance to an existing line is a common failure point.
  • Burial depth (G2415.12). Underground piping has to be at least 12 inches below grade. Individual lines to outdoor lights, grills and other appliances may be 8 inches deep where approved and not exposed to damage.
  • No below-grade foundation penetrations (G2415.6). Gas piping must enter and exit a building above grade.
  • Plastic pipe tracer (G2415.17.3). Underground plastic gas pipe needs a yellow insulated copper tracer wire or similar, accessible or brought above ground at each end.
  • Shutoff valves (G2420.5). Each appliance needs a shutoff valve in the same room and within 6 feet of it, upstream of the connector.
  • Connectors (G2422). Flexible appliance connectors have to be listed. They generally may not be concealed in or run through walls, floors or ceilings.
  • CSST bonding (G2411.2). CSST not listed with an arc-resistant jacket has to be bonded to the electrical grounding electrode system with at least 6 AWG copper. The jumper may be no more than 75 feet long.

The pressure test (IRC G2417)

Every new installation has to be visually inspected and pressure tested before it is accepted and put into service (G2417.1). The key numbers:

  • Test pressure (G2417.4.1). At least 1.5 times the proposed maximum working pressure, and not less than 3 psig, regardless of design pressure.
  • Duration (G2417.4.2). At least 10 minutes.
  • Test medium (G2417.2). Air, nitrogen, carbon dioxide or an inert gas. Oxygen is not allowed.
  • Gauge (G2417.4). Use a manometer or a gauge that can show a pressure loss. A mechanical gauge’s full scale may not exceed five times the test pressure.
  • Preparation (G2417.3). Joints stay exposed during the test. Appliances not rated for the test pressure have to be disconnected and capped, not just valved off.
  • Pass or fail (G2417.5). The system has to hold with no evidence of leakage. Any drop in pressure counts as a leak unless it can be attributed to another cause.
  • New branches and minor repairs (G2417.1.2, G2417.1.3). When a new branch is added for a new appliance, only the new branch needs the pressure test. The connection to existing piping is checked with leak-detecting fluid or another approved method. Minor repairs and additions can skip the pressure test if the work is inspected and the connections are leak-checked.

After the gas is turned on, the system has to be checked for leaks immediately (G2417.6.3). Appliances may not be placed in operation until the piping has been leak-checked and purged and the appliance connections checked (G2417.6.4).

Your department may set its own test procedure or gauge requirements on top of the model code, so ask before you schedule the inspection.

How the rules differ by city

  • Fairfax County, Virginia. The county says plainly that “Gas appliances are not exempt from permit requirements.” Virginia’s statewide code exempts replacing mechanical appliances only if they are not fueled by gas or oil. So replacing a gas water heater, furnace or boiler requires a permit even when it’s like-for-like. A Household Appliance permit with one inspection covers the swap when no new gas piping is installed; adding piping moves the job to a Residential Plumbing permit. Owners may pull permits in their own name, though the county recommends a licensed contractor. Virginia’s code does exempt the gas supplier replacing an aboveground propane tank of the same capacity in the same location.
  • Minneapolis. Owners who live in a single-family home can do their own plumbing and mechanical work, but “you are not allowed to work on gas-fired heating equipment.” Capping an open gas line is on the city’s list of work that may not need a permit.
  • Austin, Texas. Owners can do trade work on their own homestead under a Homestead Permit, but that permit excludes “liquefied petroleum plumbing systems.” A home on propane therefore needs a licensed contractor for gas piping.
  • Seattle. A gas piping mechanic license “allows you to install gas piping from the meter to the appliance.” The city’s mechanical permit does not cover gas lines; they require a separate permit.
  • Denver. Gas piping, gas fireplaces (prefab metal, gas logs, gas vents) and gas piping outlets can be permitted as quick permits without plan review for single-family and duplex homes.
  • Philadelphia. Under the fee schedule effective October 1, 2026, a fuel gas piping permit for a one- or two-family home is $189. Gas appliances such as fireplaces and boilers, applied for separately from ductwork, are $69 each.

Common mistakes on gas projects

  • Teeing a new appliance into an existing line without checking the pipe size for the added load.
  • Running a flexible appliance connector through a wall or floor.
  • Burying outdoor lines too shallow, or running plastic pipe without a tracer wire.
  • Skipping the CSST bonding jumper.
  • Covering piping or backfilling a trench before the pressure test is inspected.

What to have ready

  • A piping layout: the route from the meter or tank to each appliance, the pipe material, and the length of the longest run.
  • Appliance list with the input rating (Btu/h) of every gas appliance on the system, existing and new.
  • Pipe sizing based on that total load.
  • Outdoor details: trench depth, pipe material and tracer wire for underground runs.
  • License information for the gas fitter or plumber, or your homeowner eligibility if allowed.
  • Test gauge that meets your department’s range requirements, ready for the inspector.

Questions to ask your building department

  • Can a homeowner do gas piping here, or only a licensed plumber or gas fitter?
  • Is gas piping permitted as plumbing, mechanical or a separate gas permit?
  • What test pressure and duration does the inspector want, and what gauge?
  • Do you require a permit to replace a gas appliance like-for-like?
  • Do I need separate approval from the gas utility for a meter upgrade?

If gas work was done without a permit, our guide to unpermitted work explains the usual path to legalizing it. For appliance swaps, see the water heater and HVAC guides.

Frequently asked questions

Do I need a permit to run a gas line to a grill or fire pit?

Yes. A permanent line to an outdoor grill, fire pit or patio heater is new gas piping, which is not exempt under IRC R105.2. The IRC lets an individual underground line to an outdoor grill or light be buried at least 8 inches deep, instead of the usual 12 inches, if the location is approved and not likely to be damaged.

Do I need a permit to swap a gas range or dryer?

The model IRC exempts portable cooking and clothes-drying appliances, and departments differ on whether a freestanding range or dryer swap counts. Either way, the connector, shutoff valve and leak check have to meet code. Some places clearly require a permit: Fairfax County, Virginia, says gas appliances are not exempt, even for a like-for-like replacement, and issues a Household Appliance permit with one inspection.

Can I install a gas line myself?

Sometimes, but gas is where homeowner rules are tightest. Minneapolis lets owner-occupants do their own plumbing and mechanical work but not work on gas-fired heating equipment. Austin's homestead permit excludes liquefied petroleum systems. Seattle licenses gas piping mechanics to install piping from the meter to the appliance. Check before you buy fittings.

How is a new gas line tested?

Under IRC G2417, new piping is pressure tested before it is covered or connected: at least 1.5 times the maximum working pressure, and never less than 3 psig, for at least 10 minutes. The test medium is air, nitrogen, carbon dioxide or an inert gas, never oxygen. Any drop in pressure counts as a leak unless it can be explained by another cause.

What is CSST and why does bonding matter?

Corrugated stainless steel tubing is flexible gas pipe. The IRC requires CSST that is not listed with an arc-resistant jacket to be bonded to the home's electrical grounding electrode system, with a jumper no smaller than 6 AWG copper and no longer than 75 feet (G2411.2). Inspectors check this bond.

Sources

  1. 2021 International Residential Code as adopted in Utah, Chapter 1 (Section R105.2 Work exempt from permit), UpCodes (up.codes)
  2. Springville City (Utah), Work Exempt from Permits, 2021 IRC (springvilleutah.gov)
  3. 2021 International Residential Code as adopted in Utah, Chapter 24 Fuel Gas (Sections G2411-G2422), UpCodes (up.codes)
  4. Fairfax County Land Development Services, Household Appliance (HAPL) - Residential (fairfaxcounty.gov)
  5. Fairfax County Land Development Services, Mechanical (MECHR) - Residential (fairfaxcounty.gov)
  6. 13VAC5-63-80, Virginia Uniform Statewide Building Code Section 108 Application for permit (law.lis.virginia.gov)
  7. City of Minneapolis, Construction Permit Applicants (minneapolismn.gov)
  8. City of Minneapolis, Work Exempt from Permits (minneapolismn.gov)
  9. City of Austin, Homeowner's Permit and Registration (austintexas.gov)
  10. Seattle Department of Construction and Inspections, Gas Pipe Licensing (seattle.gov)
  11. Seattle Department of Construction and Inspections, Mechanical Permit (seattle.gov)
  12. City and County of Denver, Quick Permits (denvergov.org)
  13. City of Philadelphia L&I, Construction Permit Fees, Effective October 1, 2026 (PG_012_INF Rev 7.2026) (phila.gov)

This guide is general information, not legal or code advice. How we research · Suggest a correction