A special railway station was built into the block of houses, set into the sixth to eighth floors.
Residents can hop on Chongqing Rail Transit No.2 at their own Liziba station.
Even though they are living in close quarters to a busy train station, any noise has been muffled by special equipment.
To homeowners in the complex, the sound of the train is designed to be as disturbing as the noise from a dishwasher.
By doing this, planners avoided having to take the whole building down to make way for the train tracks.
A city transport spokesman said: ‘Our city is very heavily built upon and that can make finding room for roads and railway lines a real challenge.’