Firefighters raced to tackle a blaze above a local pub near Ferry Road and two residents were taken to hospital by ambulance.
The Scottish Fire and Rescue Service received dozens of calls reporting a flat fire and smoke billowing from windows on Trafalgar Street at about 13.30pm on Sunday, April 16.
READ MORE - Tributes to 'courageous' Edinburgh woman who dies following cancer misdiagnosis
Three engines including a height appliance rushed to the scene from nearby stations and evacuated the building.
A male and female casualty was then taken by ambulance to the Royal Infirmary of Edinburgh as a precaution. Firefighters left the scene at 3.50pm.
The cause of the fire is unknown.
A spokesperson for the Scottish Fire and Rescue Service said: "At around 13:28 we were called to an incident at a dwelling in a block of flats on Trafalgar Street."
Sign up for Edinburgh Live newsletters for more headlines straight to your inbox
They added: "Three appliances attended the scene with three pumps and one high-reach appliance from McDonald Road, Crewe Toll and Marionville Road.
"There was one male casualty and one female casualty who were both taken to hospital for precautionary checks."
READ NEXT:
Teen victim of Midlothian rapist who walked free from court now 'living in fear'
West Lothian man banned from all football stadiums after Rangers smoke bomb
Throwback Edinburgh images capture loved 'Back to the Future' diner from the 1960s
We tried Edinburgh's 'best' Wetherspoon pub and one element surprised us
Inside the Midlothian village where locals live 'in fear' of lawless youth gangs