The building, known as the Banana Flats due to its distinctive shape, has now been recognised as one of Scotland's finest post-war buildings.
The address, properly called Cables Wynd House, is located in the Leith area of Edinburgh.
The building features in Irvine Welsh's Trainspotting and is described as the childhood home of character Simon "Sick Boy" Williamson.
It was first built in the 1960s and occupied two years later.
Following WWII, Scotland's cities undertook ambitious building programmes to improve living conditions and health standards
Dawn McDowell – Historic Environment Scotland
The complex offered a welcome improvement for many families due to overcrowding and slum housing conditions that were still common problems at the time.
But in the 1980s, Cables Wynd House gained a notorious reputation as a haven for drug pushers and users during the heroin epidemic.
And together with the nearby Linksview House, the building has now been given "special architectural importance" by Historic Environment Scotland.
Cables Wynd House has now been recognised as one of Scotland's finest post-war buildings
It is now rated alongside the likes of Edinburgh Castle, the Forth Road Bridge, the Royal Commonwealth Pool and the 1967 glasshouses at the Royal Botanic Garden.
Historic Environment Scotland's deputy head of designations, Dawn McDowell, said:
"Following the Second World War, Scotland's cities undertook ambitious building programmes to improve living conditions and health standards.
"The initial thinking was to provide only the most basic, high-density accommodation, at minimal cost, leading to the introduction of the high-rise flat.
Get Quotes on Home Insurance
"In the early 1960s, a new, higher quality, and more holistic approach to housing schemes was pioneered, inspired by housing schemes in France – which aimed to create not just houses, but communities.
"Cables Wynd House and Linksview are among the best examples of these schemes, with their use of external access decks as a way of recreating the civic spirit of traditional tenemented streets."
The building features in Irvine Welsh's Trainspotting
A spokeswoman for the the City of Edinburgh Council, which recently overhauled both blocks of flats, said: "These landmark buildings now join a growing list of post war category-A buildings that Edinburgh can boast.
"At the time of their construction they were revolutionary, with innovations like heated floors, a concierge, lifts, and a design intended to maximise exposure to daylight for the residents.
"The listing recognises their fascinating history and will help to keep the features which make them a unique and significant part of the city's history."
Both Cables Wynd House and Linksview House were used by Danny Boyle during location filming on the new sequel T2 Trainspotting.
Rosie Ellison, at Film Edinburgh, added: "These buildings are an iconic part of Leith and as such are part of the landscape that makes Leith an attractive place for filmmakers to put on the screen.
"It's good to know that they are going to be protected."
Aerial view of the Cables Wynd House which was built in the 1960s
Eddie Flighthead, 62, has lived in Cables Wynd House for 13 years and never experienced any trouble at the infamous flats.
He said: "It's a very quiet place in my opinion, and I have never noticed any trouble coming my direction. I'm a happy resident, to say the least.
"These are all comfortable little flats to live in.
"I certainly can't see how the building being listed would affect residents in a bad way, unless of course they increase the rent."
Resident Eddie Flighthead in Cables Wynd House
Professor Miles Glendinning, the director of the Scottish Centre for Conservation Studies, added: "These two blocks abundantly merit their listing at Category A, because they combine international excellence in modernist urban design with an attention to the spirit of place that is specific to Edinburgh, especially to the conservative surgery concept of urban renewal, pioneered by Patrick Geddes around 1900.
"Edinburgh's post-war multi storey social housing redevelopments were designed to fit into small, highly constrained sites.
"I believe that Cables Wynd House in particular, was built in its distinctive curved shape as a creative solution to the constraints of that particular site.
"Along with Linksview House, it represents an outstanding synthesis of international modernist architecture with Geddes's 'conservative surgery' principles."
- Threatened coastal 'gems' revealed
- Listed industrial sites 'at risk'
- Crimes at listed buildings revealed