The Afghanistan–Tajikistan border is 1357 kilometers in length and runs from the tripoint with Uzbekistan in the west to the tripoint with China in the east, almost entirely along the Amu Darya, Pyanj and Pamir rivers, except for the eastern-most section along the Wakhan Corridor.