Borders of Spain

To the north and northeast, it shares borders with France, Andorra, and the Bay of Biscay, while Portugal and the Atlantic Ocean lie to the west and northwest.

As a matter of fact, the total length of the border shared by Spain reaches 1,928 kilometres (1,198 mi) long.

It extends through the provinces of Pontevedra, Ourense, Zamora, Salamanca, Cáceres, Badajoz and Huelva in Spain, and the districts of Viana do Castelo, Braga, Vila Real, Bragança, Guarda, Castelo Branco, Portalegre, Évora, Beja, Faro in Portugal.

The first part extends through the provinces of Gipuzkoa, Navarre, Huesca, Lleida and Girona in Spain, and the departments of Pyrénées-Atlantiques, Hautes-Pyrénées, Haute-Garonne, Ariège, Pyrénées-Orientales in France.

The border goes from the mouth of Bidasoa River to a cape between Cerbère and Portbou, and crosses the Pyrenees.

To the northeast: France and Andorra, to the west: Portugal, to the south: Gibraltar and Morocco