The flames broke out at about 4 a.m. Saturday at a building in the 25000 block of Farthing Street.
Smoke alarms alerted people to get out.
The injured firefighters sustained minor burns and were transported to an area hospital.
The Red Cross is assisting the residents who were left homeless.