In the flat area of Northwest China, the subgrade engineering, as a more economical and efficient structural form, plays a leading role in railway engineering. Therefore, the wind sand prevention engineering of railway subgrade engineering needs to be studied. To prevent and control sand damage scientifically, we must correctly understand the types and principles of wind sand prevention and control measures. At present, the main measures to protect the railway from wind and sand are vegetation control measures, such as planting grass and cultivating forests; engineering sand control measures, such as high vertical sand barrier, stone (grass) grid or high density polyethylene Anti-sand net; chemical sand fixation measures, such as spraying chemical agents for sand fixation. In order to compare which kind of wind sand protection project is more suitable for use in the environment of Shashangou landform, according to the mechanical principle of wind sand protection project and the design review opinions of the former Ministry of railways, we have designed a new test section at the small mileage side of Shashangou Bridge on Dunhuang to Golmud railway, and adopted a variety of wind sand protection measures in the test section. In this paper, based on the case observation of the sand hazard prevention and control test section of Shashangou section of Dunhuang to Golmud railway, the effects of various sand prevention measures are compared. At the same time, the bridge engineering (replacing the road with the bridge) is also included in the comparison as a sand prevention measure, and the more suitable sand prevention measures and structural forms in the sand environment are qualitatively compared and popularized. The protection measures based on the fixed principle are the most reasonable; in the typical desert environment, the structural form of bridge engineering is more suitable. In the whole life cycle, the economy of bridge engineering is better than that of subgrade engineering.