Map of San Marino and its neighboring countries
San Marino borders one country: Italy. San Marino's land borders total 23 mi (37 km), the 155th longest of the 157 countries with land borders.
San Marino's land borders are the 41st longest of the 43 countries of Europe with land borders. San Marino has the fewest neighboring countries in Europe (tied with five other countries).
San Marino land borders: total length, rankings and longest border
| Total length | 23 mi (37 km) |
|---|---|
| Neighboring countries | 1 |
| World rank by total length | 155/157 |
| Rank in Europe | 41/43 |
| Rank, high income | 48/50 |
| Longest border |
|
San Marino neighboring countries and border lengths
| Neighboring country | Border length, mi | Share of the total | |
|---|---|---|---|
|
|
23 | 100% |
San Marino's only land border is the one with Italy, 23 mi (37 km).
San Marino and nearby countries: total length of land borders
Of San Marino and the five nearby countries, Croatia has the longest land borders in total, 1,390 mi (2,237 km), and the Vatican the shortest, 2.11 mi (3.4 km). San Marino is fourth of the six, with 23 mi (37 km).
Compare the land borders of San Marino with other countries
Sources:
- Central Intelligence Agency (CIA) (2025, updated October 2026)
Creative Commons Attribution (CC BY): you may copy, share, adapt and reuse this content, also commercially, as long as you credit statistics.wiki and note any changes you made. The sources listed above may have their own license terms.