Longan County, under the Guangxi Zhuang Autonomous Region Nanning, is located in the southwest of the Guangxi Zhuang Autonomous Region, the lower reaches of the Right River, is located in the east longitude 107 ° 21 ′ ~ 108 ° 6 ′, latitude 22 ° 51 ′ ~ 23 ° 21 ′, the north and the city of Baise Pingguo City connected to the west and southwest of Chongzuo City, Tianwaiting County, Daxin County, Jiangzhou District, Fusui County, southeast of the city of Xixiangtang District and bordering the city of the northeast neighboring the city of Wuming District, the maximum horizontal distance of 77 km east to west and 56 km north to south. The maximum horizontal distance between the east and west of the county is 77 kilometers, the maximum vertical distance between the north and south is 56 kilometers, with a total area of 2,306 square kilometers, Long'an County belongs to the south subtropical humid monsoon climate, hot and rainy, with short winters and long summers. As of 2018, Longan County has 6 towns and 4 townships under its jurisdiction, and the county people's government is located in Chenggang Township. Longan County is an important transportation hub for railroads, highways and waterways in the southwestern part of the country. According to the seventh census, as of 00:00 on November 1, 2020, the resident population of Longan County was 325,140 people.
During the Qin Dynasty (214 BC - 206 BC), it was part of Xiangxian County, and in the fifth year of the Tang Dynasty's Wude (622), when it was divided from Xuanhua County, it was part of Longning County, which belonged to Yongzhou, and in the fourth month of the twelfth year of the Ming Dynasty's Jiajing (1533), it set up Long'an County, which belonged to the jurisdiction of Nanning Prefecture, and in December 1958, it merged with Wuming County and became known as Wulong County, and on May 10, 1959, it resumed the establishment of Long'an County.
In January 2019, Longan County was selected as a national "Safe Agricultural Machinery" demonstration county in 2018.In March 2019, Longan County was selected as one of the first batch of counties for the protection and utilization of revolutionary cultural relics.In May 2020, Longan County withdrew from the sequence of poverty-stricken counties.
In 2020, Longan County realized a gross regional product of 9.939 billion yuan.