Running a Gas Line to a Fire Pit: Depth, Sizing, and Code | FirePitSpot
Installation reference

Running a gas line to a fire pit: depth, sizing, and code

This is the one part of a fire pit build that consistently needs a licensed hand. Here is what the code actually requires, so a conversation with a technician starts from the right numbers.

Most of a fire pit build is genuinely doable on a weekend. This part is different. Burial depth, pipe sizing, and the connection itself are governed by specific, enforceable code sections, checked by a permit inspector before anyone gets to bury the trench and forget about it. None of that means the numbers are a mystery. Knowing them ahead of time turns the conversation with a technician into a confirmation instead of a cold start.

Burial depth, by code

Two documents govern this in most of the United States: the International Residential Code and NFPA 54, the National Fuel Gas Code. They largely agree with each other, and the numbers below are what a permitted installation is checked against during inspection.

12 inMinimum cover in a yard or landscaped area away from vehicles
18 inMinimum cover under a driveway or anywhere vehicles cross
8 inNarrower exception for an individual outdoor appliance line, subject to approval
LocationMinimum cover
Yard, garden bed, landscaped area not exposed to vehicles12 inches
Driveway, parking area, or any spot vehicles cross18 inches
Individual outdoor appliance supply line, where locally approvedAs low as 8 inches, subject to code official approval

Both the International Code Council's underground gas piping requirements and NFPA 54 require the pipe to be protected from physical damage regardless of exact depth, and both call for tracer wire or another method of locating the line later if it is plastic pipe, which does not show up on a standard metal detector sweep. Depths shift slightly by local amendment, so the number a permit office quotes always overrides the general code minimums above.

Gas line burial depth comparison, yard versus driveway Side by side cross sections comparing minimum gas pipe burial depth in a landscaped yard area at 12 inches versus under a driveway at 18 inches, both measured from finished grade, with an animated fill showing the depth of cover. Landscaped yard 12 in min Under a driveway 18 in min

Both cross sections are illustrative, not exact scale drawings. The gold stripe above each pipe represents required warning tape, not the pipe itself.

Plastic pipe needs more than depth

A steel line can be found later with a standard locator, but plastic gas pipe cannot, since it has no metal for a detector to pick up. Code addresses this directly: an insulated tracer wire has to be buried alongside plastic piping so anyone digging in that area in the future can find it electronically, and continuous yellow warning tape reading that a gas line is below has to be placed a short distance above the pipe as a visual backstop before a shovel ever reaches it. Both requirements exist for the same reason the depth rule does, protecting the line, and anyone digging near it, from damage no one saw coming.

Trench with gas piping being installed underground on the way to a fire pit connection point, showing the excavation step of the process
Trenching itself can often be owner performed where the local permit allows it. The pipe run, connection, and pressure test almost always cannot.

How gas line size gets chosen

Pipe diameter is not a guess. A technician sizes it against the fire pit's rated BTU load and the total length of the run, using the official pipe sizing tables published in NFPA 54 and referenced in the local fuel gas code. A short run at a low BTU rating can work on a half inch line, while a longer run or a higher output unit often bumps up to three quarter inch or larger to avoid too much pressure drop between the source and the burner. See our BTU guide to check where a specific fire pit lands on output before that conversation happens.

Why this is not a DIY line item. Almost every jurisdiction in the United States requires a licensed plumber or gas fitter, a permit, and a pressure test inspection for buried fuel gas piping, even for a backyard fixture. Skipping that process can void a homeowners insurance policy in the event of a leak or fire, on top of the direct safety risk of an unlicensed gas connection.

What a typical installation involves

StepWho does it
Permit and line sizingLicensed gas fitter or plumber, pulls the permit and sizes pipe against BTU load and run length
Trenching to code depthContractor or homeowner, if the local permit allows owner excavation
Pipe run and shutoff valve installationLicensed technician only, in almost all jurisdictions
Pressure testLicensed technician, required before backfilling the trench
Inspection and sign offLocal building or gas inspector
Backfill and finish gradingContractor or homeowner, after inspection passes

What actually drives the cost

Pricing for this kind of work varies too much by region, trench length, and local permit fees to make a single number here anything more than a guess dressed up as an estimate. The more useful approach is to know what to ask a licensed technician for: a quote broken out by trench length, pipe material and size, and permit and inspection fees separately, rather than one lump sum. That breakdown makes it far easier to compare bids and to see exactly which part of the job is driving the price on a longer or more complicated run.

If a permanent gas line feels like more commitment than the yard needs right now, a portable propane fire pit table with a tank hidden in the base sidesteps all of this. Compare the two paths in our propane vs natural gas guide.

Frequently asked questions

How deep does a gas line need to be buried for a fire pit?

Under the International Residential Code and NFPA 54, gas piping in a yard or landscaped area away from vehicle traffic needs a minimum of 12 inches of cover. Under a driveway or any area vehicles cross, that increases to 18 inches. A narrower exception allows as little as 8 inches for the individual supply line to an outdoor appliance in some jurisdictions, subject to local approval.

What size gas line does a fire pit need?

It depends on the pit's BTU rating and how far the line runs from the meter or tank. A small fire pit under 60,000 BTU at a short distance often works on half inch pipe, while a larger unit or a longer run typically needs three quarter inch. A licensed technician sizes this using the code's official pipe sizing charts rather than a rule of thumb.

Can I run a gas line to a fire pit myself?

In most jurisdictions, gas piping work requires a licensed plumber or gas fitter and a permit with an inspection, even for a backyard fire pit. Attempting it without a license can void homeowners insurance and create a genuine safety hazard from an undetected leak.

Is natural gas or propane cheaper to run to a fire pit?

Natural gas costs less per hour to operate once it's connected, but propane has a lower upfront installation cost since it doesn't require tapping into a utility line. See our propane vs natural gas comparison for the full cost breakdown.

Does plastic gas pipe need anything extra buried with it?

Yes. Because plastic gas pipe will not show up on a standard metal detector sweep, code requires a yellow insulated tracer wire to be buried alongside it so the line can be located later, along with warning tape placed above the pipe to alert anyone digging in that area before they reach it.

Who is responsible for pulling the permit for a fire pit gas line?

The licensed plumber or gas fitter doing the work typically pulls the permit as part of the job, since the permit is tied to their license and the pressure test inspection has to be scheduled and signed off before the trench is backfilled.

Sources

Sources: International Code Council, CodeNotes on underground gas piping. National Fire Protection Association, NFPA 54 National Fuel Gas Code. FirePitSpot is reader supported and may earn a commission from qualifying purchases linked from this site. This page is general reference, not a substitute for a licensed technician and local permit review.