Based on the geochemistry and tritium (3H) dating technology, a case study of the hydrochemistry and isotope for the surface water and groundwater in the Ejina Basin has been taken up in order to understand the shallow groundwater residence time and geochemical evolution in the arid area of northwest China. The shallow groundwater quality is mainly controlled by the surface water. From the ion-ratio plot, the rock weathering and evaporation are dominant factors that determine the major ionic composition in the study area. The results have import implications for water resource management in the Ejina Basin and other water-stressed basins in northwest China. It is suggested that long-term water usage guide should be set up for the Heihe River Basin as a whole to permit a considerable discharge to the lower Ejina Basin.