Ten fire engines and around 70 firefighters were called to a fire at a pub with flats above on Caledonian Road in Islington.
Part of the first floor of the building was damaged by the fire. Firefighters led two women to safety via an internal staircase. A further 28 people left the building before the Brigade arrived. There were no reports of any injuries.
Station Manager Jay Tough, who was at the scene, said: "Crews worked hard through the night to bring the fire under control."
The Brigade was called at 2330 and the fire was under control by 0437. Fire crews from Islington, Soho, Kentish Town, Stoke Newington, Lambeth and surrounding fire stations attended the scene.
The cause of the fire is under investigation.