Power has been restored to the last of more than 100,000 homes that lost electricity during storms last week.
Properties in Tayside, the Highlands, Argyll and Dumfries and Galloway were worst affected as winds of up to 142mph battered the country on Thursday.
Scottish Hydro said more than 80,000 customers lost power as electricity lines and conductors were damaged.
Around 70,000 of those affected were back on the grid within a day and the last of the homes cut off have now been reconnected.
Scottish Power faced similar problems with 50,000 customers losing power but they have now repaired the supply.
It is estimated there were 300 high-voltage faults, around 800 breaks in conductors and a large number of wooden poles holding power lines needed to be replaced, some of them in remote areas.