The Afghanistan border encompasses the frontiers of Afghanistan, a landlocked country in South-Central Asia. It shares borders with six countries: Pakistan to the east and south, Iran to the west, Turkmenistan, Uzbekistan and Tajikistan to the north, and China to the northeast. The total length of Afghanistan's borders is approximately 5,529 km. The border with Pakistan, known as the Durand Line, is the longest, stretching 2,430 km. This boundary was established in 1893 and runs along the ridges of the Hindu Kush mountains and the Pamirs.
The Afghan border region is characterized by rugged terrain, including the Hindu Kush mountains, and has historically been difficult to control. Key features include the Khyber Pass, a historically significant passage to the Indian subcontinent. The Wakhan Corridor, a narrow strip of Afghan territory, lies between Pakistan and Tajikistan. Trade occurs officially at border posts like Tor Kham and Spin Boldak, though the border's permeability has been demonstrated by the movement of refugees. The establishment of these borders occurred primarily in the late 19th century, amidst British and Russian influence in the region.