More than 17,000 homes and business across Sydney were left without power throughout the evening after severe storms hit the city.
But energy company Ausgrid says it has now "safely restored" power to those customers affected.
In an earlier update, Ausgrid tweeted about "17,500" had lost power due to the thunderstorms.
The main areas plunged into darkness were Sydney's North and Lower North Shore after storms swept through the Sydney basin moving in from the west.
The energy company tweeted the outage was caused by a "direct lightning strike" on overhead powerlines.
The Bureau of Meteorology said thunderstorms had taken out multiple traffic lights across the North Sydney region.
Ausgrid also confirmed the storm had taken down power lines and that emergency crews were working to respond.
Earlier in the day the Bureau of Meteorology said a severe thunderstorm had impacted Sydney warning of the risk posed by strong winds.
However, Bureau of Meteorology forecaster Gabrielle Woodhouse has since told SBS News the risk posed by the storm front had passed for the Sydney basin.
"We had a front that has been moving across the state that affected the Sydney basin," she said.
But she said warnings remained in place further north.
"The storms and the front are now further north and the risk of storms is pretty much over for the Sydney."
She said severe thunderstorm warnings remained in place for parts of the Mid North Coast, Hunter, North West Slopes and Plains and Northern Tablelands this evening.
“Further north we still have thunderstorms warnings in place including the threat of damaging winds," Ms Woodhouse said.

