The Mali–Mauritania border is 2,236 km (1,389 m) in length and runs from the tripoint with Algeria in the north to the tripoint with Senegal in the south-west.