Map of Slovakia and its neighboring countries
Slovakia borders five countries: Hungary, Poland, the Czech Republic, Austria and Ukraine. Slovakia's land borders total 986 mi (1,587 km), the 104th longest of the 157 countries with land borders.
Slovakia's land borders are the 21st longest of the 43 countries of Europe with land borders.
Slovakia land borders: total length, rankings and longest border
| Total length | 986 mi (1,587 km) |
|---|---|
| Neighboring countries | 5 |
| World rank by total length | 104/157 |
| Rank in Europe | 21/43 |
| Rank, high income | 23/50 |
| Longest border |
|
Slovakia neighboring countries and border lengths
| Neighboring country | Border length, mi | Share of the total | |
|---|---|---|---|
|
|
390 | 39.5% | vs Hungary |
|
|
321 | 32.6% | vs Poland |
|
|
149.8 | 15.2% | vs Czechia |
|
|
65.2 | 6.62% | vs Austria |
|
|
60.3 | 6.11% | vs Ukraine |
The border with Hungary is the longest, 390 mi (627 km), 39.5% of the total; the shortest, with Ukraine, is 60.3 mi (97 km).
Slovakia and its neighbors: total length of land borders
Of Slovakia and its five neighbors, Ukraine has the longest land borders in total, 3,468 mi (5,581 km), and Slovakia the shortest, 986 mi (1,587 km).
Compare the land borders of Slovakia 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.