Two nearby homes were evacuated, although the residents had returned home by Friday afternoon, a SoCalGas spokesperson said.
No injuries were reported.
Crews stopped the gas leak by 9 a.m. and remained on scene to undergo permanent repairs, which have since been completed, the gas company said.
Palm Springs police reported a two-block stretch of Sonora, between South Calle Palo Fierro and South Camino Real, was quickly closed Friday morning.
One lane remained closed as of 3 p.m. It was unclear when that lane would reopen.
Contractors struck a gas line Friday in a Palm Springs neighborhood, forcing the closure of a two-block stretch of roadway.
The gas leak was reported about 8:30 a.m. in the area of Sonora Road, somewhere between South Calle Palo Fierro and South Camino Real, according to the Palm Springs Police Department.
Lt. William Hutchinson said some gas lines were severed by contractors working at a home in the area.
Palm Springs firefighters are working the scene, the lieutenant said.
The affected stretch of Sonora was closed to vehicle traffic.
It was unclear if any homes were evacuated.