Flames broke out in the 1500 block of Adams Avenue in the Frankford section of the city around 4:00 a.m. Wednesday.
Heavy smoke poured from the first floor of the building when firefighters arrived on scene.
A 64-year-old female, a 21-year-old male and an 8-year-old girl were treated for smoke inhalation.
A fire marshal is investigating the cause.