Shanglin County, belonging to Nanning City of Guangxi Zhuang Autonomous Region, is located in the south-central part of Guangxi Zhuang Autonomous Region, at the eastern foot of Daming Mountain, northeast of Nanning City, neighboring Xingbin District in the northeast, Binyang County in the south, adjoining Wuming District in the southwest, connecting with Mashan County in the northwest, and relying on Xincheng County in the north. The total area of the jurisdiction is 1,869.64 square kilometers. As of the end of 2022, the total population of Shanglin County was 498,044.
In the 33rd year of Qin Shi Huangdi (214 BC), Shanglin County was established as Guilin County, and Shanglin County was the land of Guilin County. on June 27, 2003, the establishment of Nanning District was abolished, and Shanglin County was transferred to the jurisdiction of Nanning City. As of October 2021, Shanglin County has 7 towns and 4 townships under its jurisdiction. The People's Government of Shanglin County is located in Dafeng Town.On May 20, 2019, the United Nations Institute for Ageing's Committee of Experts on Positive Ageing in Malta formally conferred the honorary title of "World Longevity Township" to Shanglin County, Nanning City, Guangxi. On April 1, 2021, Shanglin County was selected as one of the second batch of national crop pest and disease specialization "unified prevention and control creation counties".
In 2022, the gross domestic product (GDP) of Shanglin County will be 1,037,637,000 yuan, an increase of 1.9% over 2021 at comparable prices.