The fire broke out in the basement of the Webster Apartments, an apartment building on West 34th Street, just after 3 a.m.
Four residents were taken to Bellevue Medical Center with minor injuries.
The fire closed West 34th Street between Ninth and Dyer avenues.
The cause of the electrical fire is under investigation.