Hei River, river rising in central Gansu province, China, and flowing into the western Alxa Plateau (Ala Shan Desert) in western Inner Mongolia Autonomous Region. The river is formed by a series of small glacier-fed rivers flowing north from the Nan and Qilian mountain ranges in Gansu, between Zhangye and Jiuquan. It then flows northward across the desert into a depression filled with salt marshes and swamps that vary greatly in size from one season to another. Between Dingxin and Ximiao it is called the Ruo River. At Ximiao in Inner Mongolia the river bifurcates into two streams, the Xi (Morin) and Dong (Narin) rivers, which empty, respectively, into Lakes Gaxun (Gashun) and Sub (Sogo).
The Hei valley is virtually the only part of the Alxa Plateau that has any permanent agriculture or permanent population. It was colonized on a small scale as long ago as the 1st century bc; its permanent settlement is comparatively recent. Even with irrigation, however, which is imperative in the arid climate of the area, the intense salinity of the soil is a major problem for agriculture.
The lower course of the Hei River from about 102 bc formed a forward defense line for the armies of the Han dynasty (206 bc–ad 220), defending the region against the nomadic Xiongnu. In 1930–31 a Sino-Swedish expedition in the area discovered great numbers of documents written on wooden strips and dating from the period before the Dong (Eastern) Han (ad 25–220). Most of them date from 73 to 48 bc and are the earliest surviving Chinese official documents.