Power outages hit Staten Island Tuesday evening when a fire erupted at a Con Edison substation — just days after mass outages hit tens of thousands of customers on the West Side of Manhattan, officials said.

About 2,000 Con Edison customers in New Dorp, Grant City and Oakwood lost power after the fire at the facility on Railroad Avenue soon after 6 p.m., a Con Ed spokesperson said.

The outages are scattered across about a five-mile radius of the substation and are expected to last until about 2 a.m., the spokesperson said, adding that two generators were working to reinforce the system.

The cause of the fire is under investigation, but it is not believed to be related to the heat, he said.

On Saturday, a power cable caught fire and failed at Con Ed’s West 65th Street station, sparking a massive power outage on the west side of Manhattan that affected 72,000 customers.