It took about two hours and 20 minutes to turn off the gas before the fire went out.
The fire was first reported at 1:08 p.m.
VIDEO: Audio captures terror after SF gas explosion
Flames shot from a commercial building near the intersection of Parker Avenue and Geary Boulevard. A witness told ABC7 News that the fire was at the Hong Kong Lounge II, which was under construction.
A reunification site has been established at Mel's Drive In at 3355 Geary Boulevard for anyone evacuated from the area due to the fire.
Take a look at full coverage on the gas explosion and fire on Geary Boulevard in San Francisco.