The border between Andorra and Spain is in the Pyrenees between northern Spain and southern Andorra. It is 64 kilometres (40 mi) long. It is an external border of the EU, as Andorra is not part of the EU.