The blaze broke out around 2:00 a.m. Thursday in a former home that was converted into apartments.
The building is on the 3900 block of Bristol Pike in Bensalem.
The victims jumped from the second floor of the three-story dwelling.
They are in the hospital being treated for a number of injuries.
It took more than an hour for firefighters to gain the upperhand.
The building is gutted.
So far, there's no word on a cause.