The fire that cut power to homes in Northampton town centre was put out around 11pm.
Fire and rescue services were advising local residents to keep their doors and windows shut as black smoke billowed throughout the blaze.
Western Power Distribution were able to bring some homes back online but estimated it could take until 5am before the rest of homes caught in the outtage were restored.