The shutoff is usually outside, frequently on a sideyard. If you smell gas after an earthquake, turn the valve a quarter turn so that it’s perpendicular to the pipe coming out of the ground. More about what to do during and immediately after the shaking >>