Three fire crews from Dearne, Cudworth and Tankersley stations were called out to an electrical sub station on fire at 11:48am on Church Street, Wombwell, Barnsley.
The fire is believed to have started accidentally.
The crew left the scene at 1:17pm.
