The subway station in a coastal city is located in soft soil, the diaphragm wall is used as the enclosure structure. The trench wall is instability in the construction process. In this paper, the causes of trench wall instability are analyzed and a series of measures are taken. The results show that: 1) The ratio of wall protective mud and the time of trench formation are the main factors affecting the stability. 2) The Extra-deep diaphragm wall, need to comprehensive analysis from the slotting time, the weight of the steel cage and other aspects to decide the framing design ; 3) For L-shape and Z-shape and other special amplitude diaphragm wall, use the three-axis mixing pile to reinforcement the trench wall, can greatly improve the stability of trench wall and to ensure the safety of engineering construction.