Country intelligence · CRI · 2024

Costa Rica trade profile

In 2024, Costa Rica recorded $27.5B in merchandise exports and $23.4B in imports, producing a $4.0B trade surplus. Exports changed +18.6% from the previous year, while imports changed +6.7%.[1]

Exports

$27.5B

+18.6%

Imports

$23.4B

+6.7%

Trade balance

$4.0B

surplus

Active partners

270

45 FTA-linked

Historical evidence

Ten-year trade movement

The bars compare exports and imports on the same scale. The accompanying table preserves the exact values so the trend is usable without interpreting a graphic.

2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
ExportsImports

Exact annual values

YearExportsImportsBalanceExport growth
2024$27.5B$23.4B$4.0B+18.6%
2023$23.2B$22.0B$1.2B+15.4%
2022$20.1B$20.6B-$482.1M+9.8%
2021$18.3B$17.9B$383.7M+33.5%
2020$13.7B$13.8B-$124.8M+5.6%
2019$13.0B$14.8B-$1.8B+2.6%
2018$12.6B$15.7B-$3.1B+2.8%
2017$12.3B$15.1B-$2.8B+7.9%
2016$11.4B$14.4B-$3.0B-0.5%
2015$11.5B$14.3B-$2.8B-53.5%

Leading export sectors

HS2 chapters rank broad product groups by observed export value in 2024.

1

HS 90 · HS chapter

142 active HS6 lines · 140 export partners

$9.7B
2

HS 85 · Electrical machinery

260 active HS6 lines · 147 export partners

$6.7B
3

HS 08 · HS chapter

67 active HS6 lines · 104 export partners

$3.0B
4

HS 21 · HS chapter

16 active HS6 lines · 82 export partners

$1.1B
5

HS 39 · HS chapter

128 active HS6 lines · 132 export partners

$532.5M
6

HS 84 · Machinery

515 active HS6 lines · 133 export partners

$491.6M
7

HS 30 · Pharmaceutical products

41 active HS6 lines · 96 export partners

$482.0M
8

HS 20 · HS chapter

52 active HS6 lines · 111 export partners

$472.1M

Leading export markets

Destinations rank bilateral export flows from Costa Rica; growth describes each corridor rather than the whole economy.

1

United States

Annual change +12.3% · 3-year CAGR 18.6%

$10.0B
2

China

Annual change +50.1% · 3-year CAGR 73.1%

$3.1B
3

Mexico

Annual change +59.4% · 3-year CAGR 38.0%

$2.0B
4

Netherlands

Annual change +25.4% · 3-year CAGR -11.3%

$1.4B
5

Guatemala

Annual change +16.2% · 3-year CAGR 9.5%

$949.3M
6

Belgium

Annual change +2.1% · 3-year CAGR 4.8%

$693.0M
7

Nicaragua

Annual change +3.6% · 3-year CAGR 8.6%

$683.3M
8

Panama

Annual change -2.4% · 3-year CAGR -0.8%

$550.5M

Sources, definitions and limitations

[1] Primary trade source

OECD Bilateral International Merchandise Trade Statistics, harmonised by Yugalinks at country-year, HS2 and bilateral-corridor levels. Coverage shown here is 1995–2024 where observations are available.

Calculation notes

USD values are aggregated from reported merchandise records. YoY compares consecutive annual totals; three-year CAGR is the mart-provided compound annual growth rate. Missing values are not inferred.