Power was back on at STMicroelectronics at 7.45 p.m. after the factory, which employs hundreds of people, had been without electricity since 5 a.m.
Sources said this meant losses of over $1 million in sales for the company.
A spokesman for Enemalta said its technicians said the problem seemed to be the result of two faults triggered by road works in the vicinity.