Thousands of homes in Slough were without power earlier after a cable was damaged.
Scottish and Southern Electricity Networks said power went off in Farnham Royal and Burnham shortly after 10:20.
It said engineers discovered third-party damage to a cable, affecting 2,812 customers.
It said it restored power to all but 418 properties by 13:30.
A spokeswoman said: "We would like to thank customers for their patience while our engineers work to restore their supply as quickly and as safely as possible."