The blaze broke out inside an apparently vacant apartment on West End Avenue just before 3 a.m.
Heavy flames shot from out the windows until firefighters brought the fire under control.
Three firefighters were treated for minor injuries.
One went to New York Presbyterian Hospital and two went to St Luke's Hospital.
The cause of the fire is under investigation.