In this work, we studied the near-surface flow field structure of railway bridges with different heights through field investigation and wind tunnel simulation experiments. Meanwhile, we simulated the distribution of sand accumulation around a bridge via CFD software based on the sand accumulation around the Basuoqu bridge in the Cuona Lake section of the Qinghai–Tibet Railway. Results show that the sand around this railway bridge is mainly from the lake sediment on the west side of the railway and the weathered detritus on the east side. The height of the railway bridge in the sandy area affects the distribution of the near-surface flow field and the variation in speed on both sides of the bridge. The wind speed trough on both sides of the 6 m high bridge is higher, and the horizontal distance between the wind speed trough and the bridge section is 1.5 times that of the 3 m high bridge. Wind speed attenuates in a certain range on the windward and leeward sides of the bridge, forming an aeolian area; under the beam body, it is affected by the narrow tube effect, forming a wind erosion area. The height of the bridge determines its sand transport capacity. Under certain wind conditions, the overhead area at the bottom of the 3 m high bridge and its two sides do not have the sand transport capacity, so sand accumulates easily. Nevertheless, the sand accumulation phenomenon gradually disappears with the increase in bridge clearance height. The objectives of this study are to reveal the formation mechanism of sand damage for railway bridges, provide theoretical support for the scientific design of railway bridges in sandy areas, and formulate reasonable railway sand prevention measures to ensure the safety of railway running, which have certain theoretical significance and practical value.