Two fire crews were called to a school in Bridgnorth near Wolverhampton following reports of a fire.
Shropshire Fire and Rescue Service said it was called to Bridgnorth Endowed School in the town at around 6:30am on Tuesday.
On arrival, fire crews discovered a room full of smoke but following an investigation into the cause of the fire concluded it was an electrical fault.
A fire service spokesperson said: “Crews carried out a thorough investigation using a thermal imaging camera. The smoke is believed to be from a faulty fan. Electrics have been isolated.”
Bridgnorth Endowed School said it was open as normal.