The power cut was caused by a fire in an underground link distribution box on the corner of Mill Street and North Street in Walsall at around 3am on Saturday.
A crew from Walsall fire station attended the blaze outside the Walsall Seventh-Day Adventist Church alongside engineers from Western Power Distribution (WPD).
Crews worked to isolate and remove the link box from the pavement using a thermal imaging camera and extinguished the fire with two CO2 extinguishers and one hose-reel jet.
No damage was caused to the church.
WATCH footage of the blaze here:
After fire crews left the scene at 6.21am, engineers from WPD replaced the faulty link box, restoring power to the households around four hours later.
Jim Greaves, shift manager for the control room at WPD, said the engineers needed to isolate all the cables going into the box before supplies could be restored.
He said: "They needed to get the equipment out and replace the faulty box, so we had to interrupt supplies to around 183 household until the work was done.
"Once the work was done, we were able to restore power to those households at 10.45am.
"It's not clear what caused the fire in the first place, but we've removed it for further investigation."
A spokesperson for West Midlands Fire Service said: "We were called to a reported electrical fire at Mill Street in Walsall at 4am.
"One crew from Walsall arrived at the scene at 4.05am and found an underground link distribution box was on fire.
"The crew liaised with Western Power Distribution and isolated and removed the box from underground using a thermal imaging camera.
"Two CO2 extinguishers and one hose reel were used to extinguish the fire, with the crews leaving at 6.21am and returning later to check the scene."