Gas Leak Safety in California: What to Do and Who Can Fix It

Earthquake and gas · $24Earthquake and Gas Safety Kit for California HomesSeismic and excess-flow gas valves and where they are required, water heater straps, appliance connectors, CSST bonding and a gas leak plan. What's insideOne payment of $24 · instant access · 14-day full refund

Get the guide · $24
Flat illustration of a sewer lateral running from a house to the street with an inspection camera

Natural gas incidents are rare, but when they happen they are unforgiving — which is why the rules around gas leaks are stricter and simpler than for any other plumbing problem. This guide covers the exact protocol for a suspected leak, who is legally allowed to work on gas lines in California, and the earthquake shutoff valve requirements that apply in parts of the state.

Bucket catching a drip from a wrapped pipe
Bucket catching a drip from a wrapped pipe. Photo: eliduke, CC BY-SA 2.0

The rotten egg protocol

Natural gas is odorless; utilities add mercaptan so leaks smell like rotten eggs or sulfur. If you notice that smell — or hear hissing near a gas appliance, or see dirt blowing from the ground near your gas line — do this, in order:

  1. Do not flip any switches, light anything, use a phone indoors, ring a doorbell, or start a car in an attached garage. A single spark can ignite accumulated gas.
  2. Leave immediately. Get everyone, including pets, out of the building. Leave the door open behind you if it's already open — but don't operate anything electrical to open it.
  3. Call from outside. Once you're a safe distance away, call 911 or your gas utility's emergency line (PG&E, SoCalGas, or SDG&E depending on where you live). Utilities respond to leak calls around the clock at no charge.
  4. Don't go back in until the utility or fire department says it's safe.

If the smell is faint and clearly coming from a pilot light that has blown out, you can ventilate and relight per the appliance instructions — but when in doubt, treat it as a leak. No one has ever regretted being too cautious with gas.

Who can legally work on gas lines

This is not a DIY category, and it's not a handyman category either. In California, gas piping work must be performed by an appropriately licensed contractor — typically a C-36 plumbing contractor licensed by the Contractors State License Board (CSLB) — and most jurisdictions require a permit and inspection for new or modified gas lines. Unpermitted gas work can void insurance coverage and creates real problems at resale. You can verify any contractor's license status free on the CSLB website before hiring.

Typical scenarios that require a licensed pro: running a new line to a range, dryer, fire pit or outdoor kitchen; repairing corroded or damaged piping; moving a meter connection; and pressure-testing after an earthquake or renovation. Expect gas line work to run roughly $300–$800 for a simple appliance connection and $500–$2,500+ for new line runs, depending on length, trenching, and permits. In dense markets like San Francisco and Los Angeles, permit and access costs push toward the top of those ranges.

Plumber reaching into an opened ceiling to trace a leak
Plumber reaching into an opened ceiling to trace a leak. Photo: Keith Williamson, CC BY 2.0

Earthquake shutoff valves: sometimes required, always smart

A seismic gas shutoff valve automatically closes your gas supply when it senses strong shaking, preventing the post-earthquake fires that historically cause much of the damage in major quakes. Some California cities — including Los Angeles — require an automatic gas shutoff valve to be installed when a property is sold or significantly renovated. Requirements vary by city, so check your local ordinance or ask your plumber. Even where they're optional, installation typically costs a few hundred dollars plus the valve and is one of the highest-value seismic upgrades available. Our guide to earthquake plumbing preparedness covers the full checklist, including water heater strapping and flexible connectors.

Know your shutoffs before you need them

Every adult in the house should know where the main gas shutoff is (at the meter — a quarter turn of the valve with a wrench closes it) and where the appliance shutoffs are. Keep a wrench zip-tied near the meter. One caution: if you shut off gas at the meter, only the utility should turn it back on, because relighting requires checking every pilot and appliance.

Need a gas line installed, repaired, or tested by someone properly licensed? Describe the job on Plumber Comparator and request your free quote — a licensed local plumber will contact you.

Need a plumber you can trust?

Tell us about the job — a licensed California plumber gets back to you with a real quote.

Get free quotes

Keep reading

Prefer to hire a pro? A licensed local plumber can look at the job and give you a firm price.

Get free plumbing quotes

Tell us about the job. If a licensed plumber serving your area is available, they may contact you with a quote. We can’t guarantee a call. Free, no obligation.

1. What do you need?
2. Where can we reach you?

Plumber Comparator is not a plumbing contractor: we only pass your request on. Always check a contractor’s license on cslb.ca.gov.