The outage was first reported at 6:53 a.m. and affected 5,725 customers in parts of San Lorenzo and Hayward, PG&E spokesman J.D. Guidi said.
Power was restored to all customers as of 8:34 a.m., Guidi said.
The outage was caused by an underground cable failure outside of a PG&E substation in San Lorenzo, he said.