On 27 June 2009, a 13-storey building founded on pretensioned spun high-strength concrete piles suddenly collapsed in Shanghai, China. Prior to the collapse, an underground garage was excavated to the south of the building while excavated soil was dumped to its north side and formed a 10 m high fill slope. A comprehensive field investigation was carried out to collect physical evidence relating to the sudden collapse, particularly damage to building piles. The ultimate bending moment and shear capacities of this type of pile were determined through a series of full-scale tests to assist in evaluating failure patterns. Likely factors that could have influenced the collapse – namely, geotechnical pile failure, adjacent excavation and excessive surcharge – were tested by carrying out calculations, three-dimensional centrifuge tests and finite-element analysis. This paper reports on the forensic investigation process, the findings of the investigation and the most likely collapse mechanism. Lessons learned from the accident and recommendations to avoid a similar collapse in the future are also presented.