The officers were injured while knocking on apartment doors to get residents out of the building, WPIX reported. Their injuries were minor.
More than 100 firefighters responded to the blaze and got it under control within an hour as smoke filled the building, forcing evacuations, WNBC reported.
The fire was on the second and third floors of the building in the Wakefield part of the Bronx.
"I saw flames just gushing out," resident Harold Bonet told WNBC.
The cause of the fire is under investigation, WPIX reported.