Worlddata.info

Infrastructure and transportation in Costa Rica

Our listing of the primary types of transport compares the infrastructure of Costa Rica with the average of all countries in America. Overall, the main traffic and transport routes are well developed and in comparatively good condition.

In terms of the length of its rail network, Costa Rica ranks 123rd in the world with 5.4 centimeters per capita. In total, the rail network is 278 kilometers long.

› Airports in Costa Rica


Back to overview: Costa Rica

Listen to this page
3 minutes

Road traffic

According to the CIA, the network of roads and highways has a total length of 5,035 km. However, this figure dates back to 2017 and their statistics have already been discontinued. Unfortunately, more recent data based on internationally uniform criteria is hard to come by. If you take all the highways, country roads and main traffic arteries mapped on OpenStreetMap up to December 2025, you get a total road length of 96,063 kilometers. Highways and expressways alone account for 280 km of this. That is 18.64 meters for each of the country's 5.15 million inhabitants. This puts Costa Rica in place 112 in the global ranking. However, the size and population density of the country of around 101 inhabitants per km² must also be taken into account. Countries with fewer inhabitants on the same or even larger area naturally achieve completely different values here and have to connect remote areas to the transport network despite a smaller population. On average, around 0.50 vehicles were registered for every inhabitant in Costa Rica in 2021. In total, there are around 2.60 million of them throughout the country.

With an average of 749 road deaths per year (2016 - 2019), road traffic in Costa Rica is not considered particularly safe. This corresponds to around 15.1 fatalities per 100,000 inhabitants per year. By comparison, this figure is 16.8 worldwide. There are 12.8 in the USA and 5.7 in the EU as a whole.

In Costa Rica, traffic on the roads is on the right, so you drive in the right lane and overtake on the left. Oncoming traffic comes towards you on the left-hand side. An overview of all countries with left-hand traffic can be found here.

In urban areas the speed limit is 25 mph (40 km/h). Outside cities, driving up to 50 mph (80 km/h) is permitted. The speed limit on motorways is 56 mph (90 km/h) unless otherwise signposted. Here you will also find an extensive list of speed limits per country.


 

Costa Rica

 totalper 1 mio
inhabitants
per km²
Roadways96,063 km18,642.33 km187.99 cm
Railroads278 km53.95 km0.54 cm
Vehicles2,600,000504,56550.88
Cargo ships1120.00
Airports275.240.00053
 

Central America

 total
approx.
per 1 mio
inhabitants
per km²
Roadways1,140,000 km138.76 km150.77 cm
Railroads15,000 km0.65 km2.03 cm
Vehicles21,970,0002,63728.85
Cargo ships13,35610.02
Airports2000.030.00031


Shipping

In 2023, Costa Rica owned 11 cargo ships with a gross tonnage of over 1,000. This includes all ships owned by the state or resident companies, but not ships used exclusively for military purposes.

There are a total of 6 ports along the coasts and rivers, but none of them handles more than 1 million tons of cargo per year. 4 of these are also equipped with oil terminals. The largest cargo ports in Costa Rica are:

  • Golfito
  • Puerto Caldera
  • Puerto Limon
  • Puerto Moin
  • Puerto Quepos
  • Puntarenas


Data sources used

• Global Health Observatory Data Repository (World Health Organization)
• UNCTAD
• International Union of Railways (UIC)
• Factbook, Central Intelligence Agency, USA
• Humanitarian Data Exchange
• OpenStreetMap Contributors
• OECD Statistics
• Wikipedia (german)

Data set for Costa Rica: Roadways 2017 + 2025, Railroads 2014, Airports 2026, Shipping 2023, Central America: the latest available data in each case