Andorra is bordered by countries.
Andorra ( [ ænˈdɔ : rə ] [ ənˈdorə ] , [ anˈdɔra ] ) , officially the Principality of Andorra ( Principat d'Andorra ) , also called the Principality of the Valleys of Andorra ( [ Principat de les Valls d'Andorra , links = no ] ) , is a sovereign landlocked microstate in Southwestern Europe , located in the eastern Pyrenees mountains and bordered by Spain and France . France ( [ fʁɑ̃s ] ) , officially the French Republic ( [ ʁepyblik fʁɑ̃sɛz ] ) , is a country with territory in western Europe and several overseas regions and territories . Spain ( España [ esˈpaɲa ] ) , officially the Kingdom of Spain ( [ Reino de España , links = no ] ) , is a sovereign state located on the Iberian Peninsula in southwestern Europe , with two large archipelagoes , the Balearic Islands in the Mediterranean Sea and the Canary Islands off the North African Atlantic coast , two cities Ceuta and Melilla in the North African mainland and several small islands in the Alboran Sea near the Moroccan coast . With an area of 505990 km2 , Spain is the largest country in Southern Europe , the second largest country in Western Europe and the European Union , and the fourth largest country in the European continent .