A gas line rupture halted trolley service and prompted evacuations at Commercial between 30th and 32nd Streets.
Construction crews using a backhoe to construct a fence hit a gas line accordng to officials.
Gas service was shut off to the area while repairs were made. Twenty-five residents were evacuated along with people inside nearby businesses.
As of noon, trolley service has been restored.
Keep up to date on breaking news: Follow us on Twitter @nbcsandiego, fan us on Facebook, sign up for our breaking news e-mail alerts or text SDBREAKING to 622339 to receive text messages for local breaking news. (Standard rates apply)