A small block of flats in Southampton had to be evacuated when a fire broke out in the roof space.
Emergency crews were called to the four-storey building in Ordnance Road, off London Road, just after 07:00 BST.
No-one was injured and about 20 residents were given shelter in a nearby pub, which was specially opened.
The fire was quickly brought under control and crews spent time damping down. The cause is not yet known but an investigation is under way.
The blaze caused water damage to a number of flats and extensive damage to the roof.
The road, which is a dead end, was closed.