Six fire engines were called to the Perspective Building next to Lambeth North Tube Station on Sunday evening.
Crews from Lambeth, Dowgate, Westminster and Old Kent Road fire stations tackled the fire in the high-rise apartment block.
Two people were rescued by firefighters wearing breathing apparatus from a flat on the 18th floor. Another 17 people left the building before the brigade arrived.
Two of the London Fire Brigade's command units were also sent to the scene.
The police and the London Ambulance Service were called to the fire.
Formerly known as Century House, the building was the headquarters of MI6 before it was converted into luxury apartments.
The building has a number of high-profile residents.
For the latest local news and events direct to your inbox every Monday, you need our weekly email newsletter SE1 Direct.
7,000+ locals read it every week. Can you afford to miss out?
Read the latest issue before signing up