The outage was first reported at about 3:15 a.m. when a car crashed into a power pole on Homestead Road in Sunnyvale, PG&E spokeswoman Jana Morris said.
By about 4:40 a.m., nearly half of the affected customers had their power restored, she said.
The remaining residents had power back by about 10 a.m.