The city covers an area of . It is bordered in the north by
Longzhou County and in the east by
Ningming County, both in Chongzuo, and in the south and west by Vietnam's
Lạng Sơn Province.
National Route 322 comes through the city centre, as does the railway which continues on to
Hanoi; a high-speed expressway, now also international, passes nearby.
Zhennan Pass, site of the
Battle of Bang Bo during the
Sino-French War, is now named the "Friendship Pass" and is considered the gateway to Vietnam. There are also plans to build a
high-speed railway from
Nanning to the Vietnamese border. == Demographics==