The Hainan western ring railway is a standard-gauge railway running along the coast of the western half of Hainan Island in South China. It connects the provincial capital Haikou on the island's north coast with Sanya, the major city on Hainan's south coast. The rail line is 363.8 km long; its terminals are Haikou railway station and Sanya railway station. Cargo trains enter this railway from Zhanjiang, Guangdong, at the South Port of the Guangdong–Hainan Railway.