Matt Springer has been giving presentations around San Francisco about home earthquake preparedness since 2008 (for more information about the presentation, go to his earthquake preparedness website). This Quaketips blog is devoted to posts ranging from technical "how-to" articles to more philosophical "should-you" topics. New articles will be posted at most about once a month, so people who subscribe won't be subjected to lots of e-mail.

The suggestions contained in this website and in Matt Springer's presentations will substantially reduce the chances of an earthquake causing damage or injury, but cannot guarantee that problems will not still occur due to factors including but not limited to extreme seismic conditions, unexpected structural problems, bracing material flaws, or inadequate installation. This material is based on personal experience, research, and discussion with safety experts; Matt Springer does not have an official emergency management background other than standard community volunteer training. The information contained herein does not necessarily reflect the views of UCSF or the San Francisco Public Library.

Tuesday, May 7, 2013

Should I turn my gas off after an earthquake? Don't guess about gas...

This topic took several months to research, so I haven’t posted in a while.  I’m finally wading into this after years of giving talks without being able to give clear advice on how to handle gas after an earthquake.  It can be confusing.  On the one hand, it seems safest to turn off your gas, but on the other hand, the official advice from various utility companies and emergency organizations is to not turn the gas off unless you suspect a leak...and yet on the third hand, many sources are telling you to get automatic gas shut-off valves.  How do we fold our three hands together to make sense of these seemingly mixed messages?  I’ve spoken over the last few years, and especially the last few months, with various earthquake safety experts, fire marshals, fire department representatives, Pacific Gas & Electric (PG&E), and Southern California Gas (SoCalGas), and here’s my attempt to make sense of it all.

Turning it off

First of all, should you turn it off?  If a quake occurs, and you are in your home because you wisely did not attempt to run out of it in the middle of the quake, first determine if you smell gas.  If you do smell gas, open a window if you easily can, and get everyone out of the building right away; do not flip electrical switches on or off, do not open refrigerators with door-switched interior lights, do not use telephones, and do not do anything else that could cause a spark.  Then turn off the gas that leads into the home.

(The wrench is attached to a
different pipe not visible in
this photo)
This means you need to already know how to turn off the gas.  Single-family homes and small apartment complexes typically have pretty obvious gas meters outside; you should know where yours is, and know how to turn it off.  This photo shows a typical gas meter.  See that simple metal circle on the pipe with the raised ridge (tang) that is parallel to the pipe?  That means the gas is on.  If you were to turn it 90 degrees with the wrench so that the ridge is perpendicular to the pipe, as if it was blocking it, then the gas would be off.  If you live in a large complex, ask the manager (ahead of time) how to shut off the gas.

If you don’t smell gas, then listen for hissing noises, and go down to the meter and see whether the dial is spinning even when you aren’t using any gas appliances.  These would also indicate gas leaks, and you should turn the gas off.  The gas companies say: if you don’t suspect a leak, don’t turn off the gas (see below).

(LEGAL DISCLAIMER: the advice to not turn off the gas if you don’t suspect a leak is from PG&E and SoCalGas, not from me.  I am reporting what the utilities companies, and the Red Cross, officially recommend.)

Three things for you to do this week:
1)  Find your meter so you know where it is.
2)  Get an appropriate wrench that can fit the tang and is capable of turning the valve, and attach it with wire to the meter so that you don’t have to go find one at the last minute.
3)  Test the valve by turning it slightly; not off, but just a little bit.  There’s a good chance that you can’t move it!  These valves freeze in position due to being exposed to outside conditions for years, and if you can’t turn off the gas when you need to, that’s what is technically known in emergency management circles as “A Bad Thing.”  Fortunately, if you can’t move it, you can call your utilities company and they will send someone out to fix it for free; at least that is the case with PG&E.

If you suspected a leak and turned off your gas, don’t even THINK about turning it back on until you have the utilities company come to check and possibly repair the gas lines.

Leaving it on (if you turn it off, don’t turn it back on!)

While it may seem like the safest thing to do is to simply turn off your gas even if you don’t suspect a leak, turning it off has consequences also because you are not supposed to turn it back on afterward.  If you turn it off without suspecting a leak, then there’s no way to know if there is actually a leak that would have just taken longer to be noticed.  Then you turn the gas back on and start filling your home with gas if there really was damage to the gas line.  That is, your reason for turning off the gas in the first place will never end until someone like PG&E or a qualified inspector can tell you if there is a leak.  Plus, there are various scenarios in which re-establishing the main gas flow to pilot lights and appliances could be dangerous, especially with post-quake uncertainties.  For these reasons, the gas companies don’t want you to turn your gas back on if you have turned it off after an earthquake.  Note that it can take weeks for them to visit large numbers of customers throughout the metropolitan area, so if you turn off your gas, you may be without gas for weeks. 

After the 1989 Loma Prieta earthquake, PG&E tried in vain to convince their customers to NOT turn off the gas unless they suspected a leak, including use of local media; but 80% of the customers in San Francisco turned off their gas and it took 3 weeks for PG&E to restore gas for everyone, despite the use of outside contractors to augment their ranks.

SoCalGas gives advice on its website that is identical to PG&E’s advice: only turn off the gas if you suspect a leak, and don’t turn it back on yourself.  The Red Cross’ advice is similar: turn off gas if you smell it or suspect a leak, and don’t turn it back on.

Despite this, I have spoken with a couple of independent earthquake safety experts and a local fire marshal who think everyone should turn off their gas, figuring that it could cause annoyance to large numbers of people but could also prevent hundreds of fires.  If you do this, though, be prepared to wait a long time before you have gas again.  I do not believe that complete consensus will be reached on this point, but it may be moot if you have an automatic shut-off valve; read on.

Automatic gas shut-off valves in earthquakes

“Now wait a minute,” you say, “if I am not supposed to automatically turn off my gas, why am I being urged to install an automatic gas shut-off valve??”  PG&E is officially neutral about automatic shut-off valves.  The City of Berkeley recently adopted a policy that requires automatic gas shut-off valves to be installed in all buildings being built or renovated (although the Berkeley Fire Department is neutral), various other communities have similar policies, and some insurance companies give you a discount on premiums if you have an automatic gas shut-off valve.  But doesn’t this contradict the official recommendation to not turn off your gas unless you suspect a leak?

PG&E is taking a very pragmatic view of this issue: even though they might shudder at the idea of a whole community having its gas turned off, they are also aware that it’s being required and encouraged in many places and won’t try to interfere with that.  Berkeley initially did not require these valves for several reasons, including that the earlier versions of the valves were so sensitive that they would get shut down by passing trucks, but they are better now, and should only trip if the building moves in a ~5.4 magnitude earthquake or higher.

Plus, there are real advantages to automatic shut-off valves that I find compelling.  The concept of only turning off the gas if you suspect a leak assumes that you are home to be able to make this decision.  If nobody is home and there is a leak, you’ll come home to a house full of gas and potentially blow it up when you turn on the lights.  If you have pets who are home while you are at work, they could inhale gas.  Furthermore, the gas that builds up in your home may impact your neighbors in various ways.  So an automatic shut-off valve minimizes the chances that a gas leak will cause problems while you are away.

However, turning off the gas is turning of the gas, whether you did it or an automatic shut-off valve did it.  These automatic shut-off valves are sometimes marketed as being very easy and straightforward for the consumer to reset, which sends mixed messages to the public about whether they should reset their automatic valves after a quake.  PG&E says: leave it off.  If your automatic valve shut off due to an earthquake, then it’s the same story as if you had turned it off yourself: wait for the utilities company to turn it back on in case there was damage to the lines.  SoCalGas has said on its website that you may reset an automatic valve after a quake, but they recommend that you don’t ( accessed 4/27/13; I’ve pointed out the mixed message to them, and this wording may change).  

(5/9/13 update:  While some communities are mandating installation of the automatic shut-off valves in new developments to prevent fires, the prospect of wide-spread automatic gas shut-downs lasting for several weeks has made San Francisco seismic safety officials reluctant to pursue extensive installation of these valves.  They are concerned that the potentially extended lack of heat and hot water could cause hardship for elderly or otherwise vulnerable residents whose gas didn't need to be turned off in the first place.  It could also encourage many residents to leave the city during the post-quake period, which would delay recovery by depressing services and business operations, not to mention volunteer recovery efforts.  I feel that a potential solution to these conflicting priorities could be for cities and gas companies or the Public Utilities Commission to establish guidelines making it easier for automatic valves to be reset rapidly.  This might include official training and certification of large building property managers to reset automatic valves and check for leaks, creating a registry of residences with frail occupants who are the first priority for gas check/restoration, and perhaps inspection of residences by gas companies to determine ahead of time which of them fall into specific situations that allow safe valve resets by occupants, to be followed by the same leak evaluations that most people would undertake immediately after the quake anyway.  This is just my opinion.)

Automatic gas shut-off valves in the absence of an earthquake

The reason that these automatic valves are sometimes described as being easy to reset is that if your automatic valve keeps turning off because of a passing garbage truck (or some kid bouncing a basketball off your house, or perhaps an errant overfed butterfly if you have one of the old valves), then they make it theoretically possible to turn it back on IF YOU KNOW WHAT YOU ARE DOING.  You would need to follow the manufacturer’s instructions and ensure that you are not restoring gas to unlit pilot lights that are allowing that gas to seep into your home, even in the absence of a quake.  Many modern appliances use spark igniters rather than constantly lit pilot lights, and modern pilot lights have safety features that shut off the gas flow if the flame is not lit; these require you to turn a dial to a special pilot light position to light it.  If you have older pilot lights, then re-establishing gas to an unlit pilot light and lighting it afterward can be dangerous; have the utilities company do it.  However, PG&E makes the blanket statement that they want you to never reset an automatic shut-off valve, even if it shut down for non-earthquake reasons; they want to do it.  SoCalGas states that the California Public Utilities Commission requires that “only SoCalGas or its certified contractors are authorized to operate the gas shut-off valve” (in its jurisdiction).  There’s no way I’m going to make a recommendation that contradicts the law and official safety recommendations of utilities companies.  You might think you know what you are doing, but you might end up surprising yourself the hard way.  At least in a non-earthquake situation, you won’t have to wait very long for the gas company to reset your service.  And if the kid keeps hitting your valve with the basketball, sign her up for a league.

Getting your gas restored after an earthquake

If you need to have your gas turned back on, don’t assume the utilities company will know that you need restoration; you may need to inform them.  If phones and computers are down, this could be difficult, but between flagging down utilities workers in the street, waiting for communications to be restored, or finding other ways to communicate, you’ll reach them one way or another.  They will also sweep through neighborhoods sooner or later.

A word to the self-sufficient

Some of you might be thinking to yourself that you turn your pilot lights on and off all the time, so what difference does it make to restore gas and relight the pilot lights?  However, there’s a fundamental difference between turning gas on and off to a furnace or stove, and restoring it to the whole building, especially given the uncertainty caused by an earthquake.  In this case, leave it off.

This is a good reason to keep some compact foldable camping thermal blankets in your emergency kit!

Last word

Those of us who have gas appliances deal with them every day, and it’s easy to take gas safety for granted.  Please remember that many fires after earthquakes would not have occurred if people had been more respectful of the explosive fumes coursing through the pipes in their homes.  Firm knowledge of how, when, and if to turn gas on and off after an earthquake is wiser than basing your actions on shaky grounds.


  1. Thank you for this excellent and informative post. I would never have thought of turning the gas back on as particularly hazardous.

  2. What about at work what should be done about the gas supply there after an earthquake?

    1. That's a great question... wish I had a great answer! I suspect that the employer will have their own gas policy and it's doubtful that the employees can even find the gas shut-off. However, if you have a familiar enough relationship with your employer, you could certainly raise the topic. Really good question; I must admit that I haven't been thinking along those lines but it's presumably just as important to not blow up your work as it is to not blow up your home.

  3. I have 20 years experience in the natural gas distribution field as a company service technician, and our company stance is for a customer to NOT turn off the gas "just because" there is an earthquake. As stated in this article, it could take days or weeks to get your gas back on.

    HOWEVER... if you do have a broken pipe or smell large quantities of natural gas, our company would like you to LEAVE THE AREA and call instead of turning off the meter because turning off a meter with a gas leak could in fact cause a spark and thus an explosion or fire.

    Best to leave both the OFF or ON to the professionals. Buildings can be replaced, people cannot!!! Leave and call 911 Thanks...

    1. Thanks for this comment, and I'm not surprised that official recommendations vary. While I want to present a balanced range of opinions and recommendations, I do want to mention that this advice contradicts that of the main utilities companies in the San Francisco Bay Area and the LA area that I consulted when writing the article. Interestingly enough, if you look up what PG&E has on its website about turning off gas, in one place, it gives advice that sounds very much like that presented in the comment: clear the area and call 911 from a phone away from the residence. However, on the page that describes how to turn off the gas, there are comments to discourage people from doing so in the event of a gas leak, and they recommend that people turn off the gas but only if the leak is suspected.

      The advice to not turn off gas if leaking also conflicts with the practice of the San Francisco Fire Department, which teaches its Neighborhood Emergency Response Team volunteers about turning off residential gas supply if necessary and includes that in the list of things they will probably be asked to do.

      One question that occurs to me is how a spark would be generated by turning a mechanical shut-off valve. I know that light switches and electrical implements carry the risk of sparking and should not be used if gas leak is suspected, but I'm surprised to hear that a spark is a potential outcome of turning that valve.

      At any rate, just like the debate over whether you really can't turn the gas back on, and the debate about the pros and cons of automatic shut-off valves, the gas issue is not one on which consensus is common! It's a shame, and I hope that the Real Experts (I just pass along the info from Real Experts) can come to a consensus on all of these issues so that the public can get a unified message!

    2. There are 2 ways shutting it off could spark: static, and metal-to-metal contact. Just like touching a doorknob or car, a static build-up could discharge a spark. As for the metal-to-metal contact, any time you have said contact you can get a spark; this is especially true when the valve is stuck or difficult to turn and the wrench slips.

  4. Replies
    1. Please see one of the other blog articles at

  5. Is it really true that using a cell phone could cause a spark? I see that at gas pumps and use caution, but I know in the case of an earthquake I would want to make a quick text to other family members. Any advice?

    1. That's a very good question; I've been confused about that as well. I have signs at gas stations sometimes that warn against using cell phones near the pumps, although it seems like many people do anyway. If you DO have a gas leak, according to my local utility company PG&E's website, "Do not use anything that could be a source of ignition, including cell phones, flashlights, light switches, matches or vehicles, until you are a safe distance away." I would say, however, that if you suspected a gas leak (smell, hissing sound, meters running for no reason), your first priority would be shutting off the gas, not texting people. If you didn't have any reason to suspect a leak and felt comfortable remaining in your home, then cell phone use would presumably be ok.

  6. Let's say there's an earthquake in the middle of the night. You suspect a gas leak and need to turn it off. It's located in a kitchen cupboard all the way in the back. Are we supposed to do this in complete darkness? Will turning on a flashlight cause a spark? Also, what should I do about my cell phone. Couldn't it cause a spark if someone happened to call me at that moment? Should I turn my cell phone off? Silent? Airplane mode? Is it ok to use the cell phone flashlight as a light source to turn off the gas?

    1. Great questions. You can see from the previous comments here including someone with experience in the gas industry that we have official advice both to shut it off in the event of a leak, and to not shut it off because doing so could cause a spark. I admit to being a bit baffled about that contradiction in what different companies or experts are recommending.

      But regardless of that issue, turning off the gas in the back of a kitchen cupboard is a bad, bad idea... By the time you get to it, you could be inhaling the gas, and I presume that the danger from a spark is much greater right at the leak. I've never heard advice to turn off the gas in the kitchen; rather, the first thing you do is to get everyone out of the building. Plus, if you have a gas leak, it may be upstream of that shut-off, which is why if you DO shut off the gas, it should be outside the building at the main shut-off.

      The PG&E website that I referenced in the previous comment does advise against using flashlights and cell phones if you suspect a gas leak. Definitely avoid light switches. If someone calls you on the cell phone, I've got no clue; I really suspect that the cell phone guidance is based on older phones rather than modern smartphones but I am not sure.

      One last point to mention is that this is another good reason to have emergency backup lights (see and because that means that if the power goes out and the lights are off, those backup lights will turn on instantly hopefully before any leaked gas has reached them. That is a guess on my part though.

    2. Thank you Matt for your swift and detailed reply! While reading this, I came up with a solution (for myself, at least). I live in a small apt. Maybe 20 feet from kitchen to balcony. Upon smelling gas, I would first head over to my balcony where there's fresh air, put my phone into airplane mode, turn on my flashlight, gulp a nice lungful of air, hold my breath, then head over to my cupboard. Empty out all my 12 or so bottles of emergency water (the valve is all the way in the back). If I need more air, head back to my balcony for another gulp. Then head back to my cupboard with flashlight still on. The red handle to the gas valve does not require a tool so I think there is very little risk of any spark. For anyone who does require a tool though, wouldn't running it underwater real quick or slathering vaseline, vegetable oil, skin lotion, or the like onto the point of contact of the tool alleviate the risk of spark?

      What do you think of my plan?

    3. First of all, while I admire the details of the plan, it's taking one major thing for granted, which is that the gas leak is downstream of the kitchen's shut-off valve. However, it's just as likely that the leak is upstream of that valve, permeating the walls and filling up the apartment space. That's why I'm sure that the gas company would tell you to forget about that interior valve, and make your number one priority to get out of the apartment. Remember that even if you turned off the valve, the gas would already be around you so you'd be inhaling it either way, and you wouldn't know whether you stopped the leak because you'd expect to still smell it even after successfully stopping the leak. I think the only way you would know this is if you heard a hissing sound that stopped after turning off the valve, or could see your gas meter but in that case, you'd already be out.

      I am not sure how effective the lotion/vaseline/etc. strategy would be in preventing the spark, but they are interesting ideas!

    4. Ah so you mean if the leak is located before or after the valve. I did not consider that as well as the other points you mentioned. So the advice is during an earthquake, stay in your home but after it's over, if you smell gas, just get outside? Thank you.

    5. Correct; number one priority is to get yourself and any other people or pets out and a safe distance away from the building. From there, as you can see in the original article and in some of the comments, advice varies from gas expert to gas expert in terms of whether or not to shut of the main feeder valve to the home. The lack of consensus on that point is frustrating to me.

    6. Thanks for all your input!


COMMENT POLICY: Comments on blog posts can be very useful, raising issues and adding helpful information. However, some people attempt to post generic comments with embedded links to irrelevant websites. Due to this comment spam, all submitted comments will be verified by me first so there will probably be a delay before legitimate comments get posted. If your comment is taking a while to show up, it probably just means that I have not checked my e-mail yet. NOTE THAT COMMENTS THAT ARE ACTUALLY ADVERTISEMENTS WILL NOT BE POSTED.