The department is surrounded by the French departments of Haute-Garonne to the west and north, Aude to the east, and Pyrénées-Orientales in the southeast, as well as Spain (Lleida) and Andorra in the south.