Emergency plumbing
Gas line installation and repair
Short answer
Gas line work, whether adding a line for a range, dryer, generator or tankless water heater or repairing a leak, must be done by a professional licensed for gas work in your state, with a permit, a pressure test and an inspection. If you smell gas, leave the building immediately and call your gas utility or 911 from outside.
Updated · Prepared by the Plumb Right Now editorial team

Gas Line Installation and Repair at a glance
- Smell gas?
- Leave now, don't touch switches, and call the gas utility or 911 from outside.
- Licensing
- Gas work licensing varies by state; some license gas fitters separately from plumbers.
- Sizing
- Pipe size depends on total appliance demand and pipe length.
- Materials
- Black steel, CSST (with bonding per manufacturer and code), and polyethylene underground.
If you suspect a gas leak
Leave
Get everyone out. Leave doors open behind you if it's safe.
Avoid sparks
Don't use light switches, phones, lighters or garage door openers, or start a car in an attached garage.
Call from outside
Your gas utility's emergency number or 911.
Repair after it's made safe
The utility shuts off and checks; a licensed professional makes the repair and pressure-tests the line.
Natural gas is odorized with a sulfur-like smell. A hissing sound near a line or appliance, or dead vegetation above a buried line, are other warning signs.
What a new gas line installation involves
- Load calculation: total BTU demand of all gas appliances, including future ones, determines pipe size. Adding a tankless heater or generator often exceeds what the existing piping can supply.
- Permit: gas piping almost always requires a permit and inspection.
- Materials: black steel, CSST (corrugated stainless steel tubing, which must be bonded to the electrical grounding system as required by the manufacturer and code), or polyethylene for buried runs.
- Shutoff and sediment trap: an accessible shutoff valve at each appliance and, where required, a sediment trap.
- Pressure test: the line is tested under pressure before being put into service, and the inspector often witnesses it.
Meter and utility coordination
Large added loads, such as a whole-house generator or several high-input appliances, may need a meter upgrade from the gas utility. The installer should confirm meter capacity and delivery pressure early, because utility scheduling can set the project timeline.
What affects the cost
- Distance from the meter or existing manifold to the appliance
- Pipe material (black steel, CSST or buried polyethylene) and any wall or floor penetrations
- Whether existing piping must be upsized for the total load
- Permit, pressure test and inspection
- Utility meter upgrade for large added loads
We don't publish prices; they vary by market. Get a written quote first.
Methods and specific problems
Problems that lead to gas line installation and repair
Other urgent plumbing services
Gas Line Installation and Repair near you
Cities where gas line installation and repair is one of the most common plumbing calls:
Common questions
Why does a tankless water heater need a bigger gas line?
Tankless heaters burn a lot of gas at once to heat water instantly. The existing line sized for a tank heater often can't deliver that volume, which starves the unit and causes errors or lukewarm water.
Can a plumber install a gas line?
In many states, licensed plumbers can do gas piping; some states require a separate gas fitter license. Ask for the license that covers gas work and confirm it with the state board.
Do I need a permit to run a gas line?
Almost always. Gas piping work typically requires a permit, a pressure test and an inspection.
What is a gas sediment trap and does my appliance need one?
A sediment trap, or drip leg, is a short capped pipe just before a gas appliance that catches debris before it reaches the controls. Fuel gas codes require one at many appliances, such as water heaters and furnaces, so it's checked during installation and inspection.
Can a plumber run a gas line to my stove or dryer?
Yes, in most states a licensed plumber or gas fitter can install and extend gas piping. Licensing rules vary by state.
What size gas line do I need?
Pipe size depends on the total BTU load of your appliances and the length of the run. Undersized pipe can starve appliances, especially tankless water heaters.
What affects the cost of gas line installation?
Cost depends on the length of the run, pipe material, access through walls or floors, the number of appliances, permits and any meter upgrade.
How long does it take to install a gas line?
A short appliance connection can be done in a few hours. Longer runs, outdoor lines and meter upgrades take longer and need inspection.
What gas pipe materials are used?
Black steel and corrugated stainless steel tubing (CSST) are common indoors; polyethylene is used underground. CSST requires bonding to reduce lightning risk.
Can I install a gas line for an outdoor grill or fire pit?
Yes, with permits and an inspection. Outdoor lines need proper burial depth and materials.
