Gardner Street residents fled in terror as their homes wobbled during a huge landslide hit Dundee in December 2013.
Their gardens disappeared in a huge pile of mud and rubble as the land at the rear of the tenements slipped onto Lochee Road.
More than 100 people were evacuated by the emergency services to bring in the New Year in temporary accommodation.
And though many were soon able to return, the owner-occupiers of 12 flats have been in alternative homes ever since.
Now, after two years of investigations and repairs costing £770,000, those residents are finally set to return to properties at 2 Gardner Street, with a council pledge that they will be home for Christmas.
Extensive work has been undertaken to repair a collapsed retaining wall, which was undermining homes and had led to fears that some of the blocks might have to be demolished.
Initial estimates suggested that the displaced residents could all be back in their homes by summer 2014, but the process has taken much longer.
It is understood that there was some controversy over who was responsible for elements of the repair works, with the council eventually agreeing to take on the works and help homeowners.
The breakthrough came when councillors approved hundreds of thousands of pounds of work to repair the retaining wall in March and residents will be able to get back into the property from December 7.
Administration leader and policy and resources committee convener, Ken Guild, said he was “delighted” that residents would soon be able to get back into their homes.
“When no one took responsibility for the necessary work, the council stepped in to carry out permanent repairs,” Councillor Guild said.
“They have proved to be a success.
“Now that we have reached a conclusion, residents can get settled as soon as possible.”
Dundee City Council said that while it was now safe for residents of 2 Gardner Street to return to the building, work is still required in the rear garden.