The break, caused by a construction crew working in the area, occurred shortly before 11 a.m. at the Storke Apartments at Los Carneros and Mesa roads in Goleta, said Capt. David Sadecki.
University officials sent out an alert at about 1:30 p.m. indicating the leak had been capped and the evacuations were no longer necessary.
“County Fire is advising that residents in the community can safely go outdoors again,” university officials said.
Southern California Gas Co. crews were on scene making permanent repairs to the line, university officials said,
The apartments provide family housing for UCSB students.
“Nearby residents can expect interruptions in service while the repairs are being done,” university officials said.
During the leak, some apartment residents were evacuated, and others were “sheltered in place,” Sadecki said.
Emergency crews established a perimeter around the area of the leak while gas company crews crews assessed the problem and made a temporary repair to the line.