The fire happened on 32nd Street and 34th Avenue in the Astoria section around 2:45 a.m.
The victims were taken to nearby hospitals and treated for minor injuries.
Other building residents were forced out into the cold.
At least 60 FDNY members were on the scene to battle the blaze.
They were able to gain control of the fire in just under two hours.
The cause of the fire is under investigation.
RELATED | California fires: Ways to help those affected by multiple, growing wildfires
----------
* More Queens news
* Send us a news tip
* Download the abc7NY app for breaking news alerts
* Follow us on YouTube