Installing an underground gas line on your property follows a fixed sequence: call 811, pull a permit with a site plan and load calculation, trench to the required depth, lay polyethylene pipe with a tracer wire, pressure-test the system under an inspector’s eye, backfill in compacted layers, and let the utility activate service. Federal rules set the floor for depth, materials, corrosion protection, and shutoff hardware, and your local building code often stacks stricter requirements on top. In almost every jurisdiction, a licensed gas fitter has to perform the actual work, so most of what follows is what you need to understand as the property owner directing and paying for the job.
Call 811 Before Anyone Digs
Every state requires a call to the national 811 “Call Before You Dig” service before excavation begins. It is free, and it prompts utility companies to send locators who mark buried electric, water, sewer, and communication lines with color-coded paint or flags. Two to three business days is a common minimum notice period, though the exact window varies by state.1811 Before You Dig. 811 Before You Dig
The requirement covers any excavation, no matter how short or shallow. Digging without calling 811 violates federal pipeline safety regulations, and the exposure is severe. Federal civil penalties for pipeline damage after failing to use the one-call system can reach hundreds of thousands of dollars per violation, with separate penalties for each day the violation continues. You are also personally liable for repair costs on any line you hit and for downstream harm such as a neighborhood outage.
Permit and Site Plan
Your local building department issues the permit, and the application needs a site plan showing the route of the new line, the distance from the gas source to each appliance, and the total fuel demand. Residential gas piping permit fees generally run from about $30 to $250 depending on the jurisdiction and scope.
Fuel demand is the sum of the maximum BTU-per-hour input rating of every appliance the line will serve. A furnace might draw 100,000 BTU/h and a water heater 40,000 BTU/h; those numbers come off the manufacturer’s nameplate or spec sheet. The combined load sets the pipe diameter needed to deliver enough gas volume and pressure to every appliance running at once. Undersizing is expensive to fix after the trench is backfilled, and installing pipe that does not match the approved plan can force you to re-excavate.
Skipping the permit invites a stop-work order and fines that routinely exceed $1,000.
Materials Used Underground
Polyethylene (PE), including high-density PE, is the standard pipe material for buried gas service. It resists corrosion, flexes with soil movement, and is rated for direct burial. PE is prohibited above ground because it degrades under sunlight and lacks the mechanical protection needed at the surface. The transition from buried PE to above-grade metal piping happens through anodeless risers, which are pre-manufactured fittings built for that purpose.
A yellow-insulated copper tracer wire runs alongside the PE for the full length of the line. PE is invisible to standard electromagnetic locators, so the tracer wire is what lets future 811 crews find the pipe. The wire must be at least 18 AWG, rated for direct burial, and terminated above ground at each end so a locator can clip onto it. A tracer wire buried with no accessible endpoint is useless.
For propane service, PE systems are generally limited to a maximum operating pressure of 30 psig so the gas cannot condense to liquid inside the pipe. PE lines are meant to carry vapor only; conditions that let propane condense can damage the pipe and its joints. This is mostly a cold-climate design consideration for LP-gas rather than natural gas.
Trench Depth and Clearances
Federal pipeline safety rules require at least 12 inches of cover over residential service lines on private property and at least 18 inches under streets and roads. Where an obstruction prevents reaching that depth, the line has to be designed to withstand the anticipated external load at the shallower depth.2eCFR. 49 CFR 192.361 – Service Lines: Installation Buried mains need at least 24 inches of cover.3eCFR. 49 CFR 192.327 – Cover
These are federal floors. Local codes often require deeper burial where frost lines are deep or where surface traffic is heavy. Follow whichever standard is stricter.
When the gas line crosses or runs near other buried utilities, clearance rules apply. Transmission lines must keep at least 12 inches of clearance from any other underground structure, and where that distance is not achievable the gas line must be protected against damage from the proximity. For mains, the rule requires enough clearance to allow maintenance and protect against damage without setting a specific number.4eCFR. 49 CFR 192.325 – Underground Clearance Most local codes default to at least 12 inches of horizontal and vertical separation between a gas line and any water, sewer, or electrical conduit.
The trench bottom needs a bed of soft sand or fine soil, free of rocks. Sharp stones pressed against PE under the weight of backfill can abrade or puncture the wall over time. Many jurisdictions also require a buried warning tape installed roughly 12 inches below grade and at least 12 inches above the pipe, so anyone digging later hits the tape first.
Joining the Pipe
PE pipe sections are connected by heat fusion, not threaded fittings or glue. The three standard methods are butt fusion, socket fusion, and saddle fusion. Each involves heating the pipe or fitting surfaces to a specific temperature and pressing them together to form a permanent bond. A properly fused joint is as strong as the pipe itself. Mechanical couplings exist for certain connections but are less common on buried residential lines.
Heat fusion is not a skill you pick up from a video. Temperature, pressure, and timing all have to be precise, and the equipment requires training to run safely. This is one of the practical reasons gas line work goes to licensed professionals, even in states that let homeowners handle other plumbing.
After joining, the pipe is set onto the sand bed and the tracer wire is secured alongside it for the full run, terminating at the risers on each end where it stays accessible above ground. Avoid sharp bends during placement; a kink restricts flow and creates a stress point that weakens over time.
Pressure Testing
Before any fuel gas enters the line, the whole system has to pass a leak test. Approved test mediums are air, nitrogen, carbon dioxide, or another inert gas. You never test with the actual fuel, and oxygen is not used because of combustion risk.
The line is pressurized to the level your local code specifies, commonly 15 to 30 psi for residential systems, and monitored for a set period. That period typically runs 15 to 60 minutes depending on the length of the installation. The gauge has to hold steady; any drop means a leak that must be found and repaired before the job moves forward.5eCFR. 49 CFR Part 192, Subpart J – Test Requirements
A municipal inspector or other authorized official generally witnesses the test, confirming that the gauge is calibrated, the test pressure meets code, and the line holds for the required duration. A failed test means the trench stays open until the leak is fixed and the line passes a retest.
Backfill, Final Inspection, and Activation
Once the pressure test passes, backfill goes in layers, each compacted to prevent uneven settling that could shift the pipe or leave a depression at the surface. The warning tape drops in at its designated depth during this process. The inspector may need to watch the backfill or return for a separate final inspection before the utility activates service.
Final building department approval clears the line, and the gas utility turns on the supply. Each connected appliance should then be checked for ignition, flame characteristics, and ventilation. Do not fire up appliances yourself if your jurisdiction requires the utility or a licensed technician to perform the initial startup.
Excess Flow Valve Requirement
Federal rules require an excess flow valve (EFV) on any new or replaced residential service line before activation. An EFV is a small device that automatically shuts off gas flow if the line ruptures, sharply reducing the risk of an uncontrolled release. The requirement has been in effect since April 2017 and covers single-family homes, multifamily buildings with loads at or below 1,000 SCFH, and small commercial customers under the same threshold.6eCFR. 49 CFR 192.383 – Excess Flow Valve Installation
If you have an older service line without an EFV, you can request one from your gas utility. The operator has to notify customers of that right, including safety benefits and cost. Exceptions apply to lines operating below 10 psig year-round or where contaminants in the gas stream could interfere with valve operation.6eCFR. 49 CFR 192.383 – Excess Flow Valve Installation
Corrosion Protection for Metal Parts
PE pipe itself does not corrode, but every underground gas installation contains metal parts that do: the anodeless risers, valves, and any metal fittings connecting plastic pipe to the meter or building piping. Federal rules require all buried or submerged metal pipeline components to have both an external protective coating and a cathodic protection system.7eCFR. 49 CFR Part 192, Subpart I – Requirements for Corrosion Control
Cathodic protection uses a sacrificial anode, a piece of more reactive metal that corrodes in place of the steel component. Anodeless risers build corrosion protection into the riser assembly itself, so a separate anode is not needed at that transition. Buried metal gas piping also has to be electrically isolated from other buried metallic structures like water pipes or electrical conduit, unless both systems are cathodically protected together as a single unit.7eCFR. 49 CFR Part 192, Subpart I – Requirements for Corrosion Control That detail matters most on older properties where a new gas line runs near existing metal water or sewer lines.
Who Can Legally Do the Work
The overwhelming majority of jurisdictions require a licensed plumber, gas fitter, or specialized gas technician to install underground gas piping. Titles and exact requirements vary by state and city, but the principle is nearly universal. Even states that let homeowners handle some plumbing tasks typically exclude gas piping or require the homeowner to pass an examination and pull an owner-builder permit.
The practical barriers reinforce the legal ones. Fusion equipment requires training, pressure testing requires calibrated gauges and an inspector’s sign-off, and the permit application itself often has to name a licensed contractor. Budget for professional installation. Typical costs run roughly $12 to $50 or more per linear foot depending on soil, depth, pipe diameter, and regional labor rates. Permit and inspection fees add a relatively small amount on top.
What to Do If You Suspect a Leak
Even a properly installed line can develop a leak years later from soil movement, corrosion of metal components, or third-party excavation damage. The common warning signs of a buried gas leak are:
- A rotten-egg smell from the sulfur-based odorant utilities add to natural gas.
- Patches of dead grass or shrubs in an otherwise healthy yard, where gas is displacing oxygen around the roots.
- A hissing or whistling sound from pressurized gas escaping through a crack or hole.
- Bubbling in standing water, an irrigation line, or a low wet area near the pipe.
If you suspect a leak, leave the area immediately. Do not flip light switches, start vehicles, or use a phone near the suspected location; any spark can ignite the gas. Move at least 100 feet away and upwind, then call 911 followed by your gas utility’s emergency number. Do not try to locate, stop, or repair the leak yourself, and do not backfill over any excavation where gas may be escaping. Wait for utility crews to clear the area before returning.
The same protocol applies if you nick a gas line while digging. Stop work, shut off any power equipment, evacuate, and call 911. Even if you do not smell gas or see obvious damage, contact the utility. A partially damaged PE pipe can fail hours or days after the initial impact.
Keep Records of Where the Line Runs
After the line goes into service, keep permanent records of its exact location. The approved site plan, the building permit, and any as-built drawings from your contractor belong with your property records. A future owner will need that paperwork to avoid digging through the line during landscaping or construction.
Federal rules require distribution system operators to maintain records or maps showing the location of cathodically protected piping, protection facilities, and galvanic anodes for the life of the pipeline.7eCFR. 49 CFR Part 192, Subpart I – Requirements for Corrosion Control For the portion of the service line on your property, that responsibility effectively falls on you. Photographs taken before backfill, showing the pipe in the trench next to visible landmarks, are worth the two minutes it takes to shoot them.