Flames and thick black smoke could be seen pouring from the lower levels of the building on Fourth Avenue in Bay Ridge just before 9 a.m.
Dozens of firefighters responded and were able to bring the blaze under control.
The cause of the fire is under investigation.
Officials said all of the injuries were minor.
for more features.