According to fire officials, a pole and transformer were reported on fire at 3:44 a.m. at 25 Duboce Ave. on the northern edge of the Mission District.
Crews remained at the scene as of 5 a.m., according to a fire dispatcher.
Power went out for 2,388 customers at 3:53 a.m. in the northern Mission District, PG&E spokesman J.D. Guidi said.
As of 5:20 a.m. power had been restored to all but 387 customers. There was no estimate when those remaining customers would have power back, Guidi said.
Crews are working on a failed overhead transformer at Duboce Avenue and Stevenson Street, he said.
The transformer is on a pole, according to Guidi.