Yangpingguan () is a town in central Ningqiang County, in southwestern Shaanxi province, China. The town has an area of , in which there are 1 residential community () and 20 villages holding a total population of 26,000. The town is located from the county seat and is near the trisection point of Shaanxi, Sichuan and Gansu, in the upper Jialing River Valley. The town is named after the pass between the Qin Mountains to the north and the Daba Mountains to the south, which has traditionally been the main entry point into the Sichuan Basin from the north. The ancient Sichuan Trail passed through the town. The Baoji-Chengdu and Yangpingguan-Ankang Railways intersect at Yangpingguan.