Most of the residents reportedly escaped the burning building when firefighters learned there was one child still inside. They went in and rushed that child to safety.
Police say some 16 residents -- eight of them children -- were being treated at the scene. None had life-threatening injuries.
Most of the injured went to St John's Episcopal Hospital in Far Rockaway. The remaining three adults and two children were taken to Peninsula Hospital. Four firefighters were also treated, according to officials.
The address was the site of a October 1999 blaze where firefighters aggressively battled heavy flames.