More than 40 firefighters tackled the fire at the five-storey building in Glasgow in the early hours of yesterday morning after the alarm was raised by several members of the public.
A total of 130 people were evacuated from the building and nearby homes. Firefighters used breathing apparatus to access the premises and help residents out, and two high-reach appliances were employed to bring down the eight people trapped in the top floors of the building in Roslea Drive, Dennistoun.
Two children were among those taken to safety, the Scottish Fire and Rescue Service said, and a temporary shelter for residents was set up at Whitehill Secondary School.
The rescue operation involved crews from Calton, Cowcaddens and Springburn, and paramedics from the Scottish Ambulance Service also checked over the two children as well as four adults. None of the residents was injured.
Crews were still on the scene yesterday damping down the flames.
Incident Commander David Proctor said: "The rapid actions of the initial attending fire crews at the scene ensured that rescues were carried out quickly and that is the reason in this particular instance there are no casualties.
"This was a well developed fire which had spread into the roof space."
An investigation is under way to determine the cause of the blaze.