Skip to interactive atlas
True Size AtlasObservatory

Political geography

Bordering countries on a world map

Loading country borders…

Borders—
Country
Explore
U.S. land neighbors
Canada and Mexico
Local example
Lesotho inside South Africa
Map convention
Geographic boundaries at atlas scale

Countries that border the United States

NeighborBoundary (mi)Boundary (km)Where to look
Canada5,5258,891Contiguous U.S., Alaska and inland water sections
Mexico1,6412,640Southwestern states and the Rio Grande

Canada is the official International Boundary Commission figure. Mexico is the generalized atlas length and can differ from a surveyed total.

Neighbor counts depend on scope

ExampleWhat to countWhat changes
Metropolitan FranceEuropean land frontierEight neighboring states
France worldwideEuropean, South American and Caribbean frontiersBrazil, Suriname and the Kingdom of the Netherlands also count
ItalyExternal and enclosed boundariesInclude Vatican City and San Marino

What two countries border the US?

The 50 states touch Canada and Mexico. Canada’s boundary follows both the northern edge of the contiguous states and the eastern side of Alaska. It crosses rivers and the Great Lakes. These are still parts of the same terrestrial international frontier. Mexico meets the United States to the south, with the Rio Grande forming a long section of the line.

Russia sits across the Bering Strait from Alaska. A map that displays nautical boundaries may show a maritime separation between the two countries. Their land does not touch. Keep the coastline and maritime layers distinct when your question is about travel on land or counting countries that border one another.

Which pieces of a country belong in a neighbor count?

Pick up the question of France by starting in metropolitan Europe. Its neighbors there include Spain, Italy and Switzerland. Move to South America and the French department of French Guiana touches Brazil and Suriname. On the Caribbean island of Saint Martin, the French and Dutch sides add another land boundary. A table of metropolitan France and a table of worldwide French borders can both be accurate.

South Africa offers a different pattern. Lesotho is enclosed by South Africa, so its boundary is inside the outer outline. Looking only at the edge of a silhouette misses that neighbor. Italy has two such enclosed states, San Marino and Vatican City. Include an inset if a small enclave would otherwise disappear under a border line.

Try the same counting method on Peru, which has land frontiers with Ecuador, Colombia, Brazil, Bolivia and Chile. Start at the Pacific and move around the inland side of the country before returning to the coast. The order puts short or easy-to-miss neighbors on the same footing as the largest one. It also gives a useful check against a label list that puts a nearby country in the wrong place.

How a border line differs from a border length

A world outline simplifies small turns in rivers and mountain ridges. Adding the visible segments gives an approximate length at that map scale. The boundary commission can give a different figure based on treaty definitions, surveyed turning points and more detailed measurements. Compare lengths only when the measurements use a compatible definition of what they include.

National borders also mark legal and political arrangements that cannot be resolved from an image. Natural Earth normally follows its de facto cartographic convention. In disputed areas, check how each source classifies the line before comparing lists. The map helps you find the places involved and gives you terms to look up in a detailed boundary source.

Borders that deserve a closer look

Lake and river lines

A frontier that runs through inland water still links bordering countries. A maritime-only line is a different category.

A sovereign enclave

A small country inside another country is a land neighbor even when the shared boundary is hard to draw at world scale.

Overseas territories

A sovereign border total can include several physically separate parts. State the geographic scope beside the count.

Trace a pair with several connected pieces

Start near the Atlantic on the United States and Canada map and work west through the Great Lakes. Then follow the separate Alaska section from the North Pacific to the Arctic. Both count as a single neighboring relationship, even though their boundary lengths are added together and the two parts never touch one another. The International Boundary Commission distinguishes sections on dry land and on water. Including its water lengths explains why the rounded official number can be higher than an atlas estimate from simplified linework.

The visible border may sit on top of a line representing a river, lake or road. A change in how the layers are drawn can make you see a river crossing where the legal definition instead identifies turning points through open water. Choose a zoom level appropriate to the question. To check whether names belong in a sovereign neighbor list, whole-country coverage and an inset for enclaves are usually sufficient. A question about where the line is measured belongs to more detailed sources. This distinction also helps with lists about India or Peru, where one approach follows legal claims and another maps locally administered territory. Spell out the convention in the table rather than treating all maps as competing versions of the same line.

Frequently Asked Questions

Which state only touches one other state?

Maine shares a land boundary with New Hampshire. It also borders Canada, which is a country rather than another U.S. state.

Which country borders 14 countries?

China and Russia each have 14 sovereign land neighbors in commonly used lists. State the convention for disputed sections before comparing counts.

What is the largest country border in the world?

The Canada–United States boundary is 5,525 mi (8,891 km) under the International Boundary Commission’s definition, which includes its inland water sections.

What countries does Spain border?

On the Iberian mainland Spain touches Portugal, France and Andorra. It also touches Gibraltar, a British Overseas Territory, and borders Morocco in North Africa at Spanish territories.