Flames broke out early Saturday morning along the 300 block of Radcliff Street in Bristol Borough.
The upper floors collapsed while firefighters were outside trying to douse the fire.
All the residents were able to get out safely.
Investigators have not said what sparked the fire.