From Longyan, in southwestern Fujian, the Longxia railway runs to the southeast, crossing the Boping Mountains, and following the Western Stream to the Longhai railway station near
Zhangzhou (at ), to the west of the new
Zhangzhou railway station. From the Longhai station, the Longxia line runs parallel to the
Yingtan–Xiamen railway to the Xinglin station on the Xiamen coast. The Longyan to Longhai section of the line is in length. The Longhai to Xinglin section, is in length, and was funded as part of the
Xiamen–Shenzhen railway, with which the Longxia line will share track when that line opens. The Longyan–Xiamen railway is the first railway to enter Fujian's
Nanjing County. The two stations within the county are "
Nanjing" (which, however, is not particularly close to the county seat,
Shancheng) and Longshan. They serve the county's eastern and northern part. ==Rail connections==