Costa Rica import and export data (2025)
Merchandise trade statistics for Costa Rica: totals, trend since 2015, top partners and HS chapters. Not shipment records.
Key facts
Merchandise imports of US$27.5 billion and exports of US$26.4 billion left Costa Rica with a deficit of US$1.1 billion in 2025, according to World Bank/WTO data. In 2024, UN Comtrade data put the United States first both as an export destination and as an import origin, accounting for 47.9% of exports and 36.5% of imports.
- Merchandise exports 2025: US$26.4 billion — rank 76 of 205 economies with 2025 export data (WTO via World Bank, nominal US$)
- Merchandise imports 2025: US$27.5 billion — rank 77 of 205 economies with 2025 import data (WTO via World Bank, nominal US$)
- Trade balance 2025: deficit of US$1.1 billion (WTO via World Bank)
- Change 2015–2025 (nominal): exports +180.5%, imports +68.9% (WTO via World Bank)
- Top export destination 2024: United States (47.9% of exports, UN Comtrade)
- Top import origin 2024: United States (36.5% of imports, UN Comtrade)
- Largest export chapter 2024: HS 90 — Optical and medical instruments (UN Comtrade)
- Trade with China 2024: imports from China US$4 billion (rank 2), exports to China US$383.5 million (rank 9) (UN Comtrade)
- Trade with the United States 2024: imports from the United States US$8.6 billion (rank 1), exports to the United States US$9.5 billion (rank 1) (UN Comtrade)
Costa Rica trade at a glance
Scroll sideways to see all columns.
| Measure | WTO via World Bank (2025) | UN Comtrade (2024) |
|---|---|---|
| Exports | US$26.4 billion | US$19.9 billion |
| Imports | US$27.5 billion | US$23.7 billion |
| Total trade | US$53.9 billion | US$43.6 billion |
| Trade balance | −US$1.1 billion | −US$3.8 billion |
| Import valuation basis | — | CIF |
Costa Rica exports and imports, 2015–2025
- Exports
- Imports
nominal US$
Merchandise imports rose 68.9% in nominal terms, from US$16.3 billion in 2015 to US$27.5 billion in 2025. Exports increased 180.5% across those years, from US$9.4 billion to US$26.4 billion. Both reached their series peaks in 2025. From 2024 to 2025, exports grew 21.9%, while imports grew 3.8%.
| Year | Exports (US$) | Imports (US$) |
|---|---|---|
| 2015 | US$9.4 billion | US$16.3 billion |
| 2016 | US$10.4 billion | US$15.5 billion |
| 2017 | US$10.8 billion | US$16.8 billion |
| 2018 | US$11.5 billion | US$18.3 billion |
| 2019 | US$11.9 billion | US$17.6 billion |
| 2020 | US$12.3 billion | US$14.9 billion |
| 2021 | US$15.5 billion | US$20.7 billion |
| 2022 | US$16.6 billion | US$22.7 billion |
| 2023 | US$19 billion | US$24 billion |
| 2024 | US$21.7 billion | US$26.5 billion |
| 2025 | US$26.4 billion | US$27.5 billion |
Costa Rica's top trading partners (2024)
The United States was Costa Rica's top export destination in 2024, taking 47.9% of merchandise exports, compared with 8.6% for the Netherlands. Guatemala was the third destination by value. The United States also supplied the largest share of Costa Rica's merchandise imports, at 36.5%, ahead of China at 17.1% and Mexico at 6.4%.
Export destinations
| Rank | Partner | Exports 2024 (US$) | Share of Costa Rica's 2024 exports (%) |
|---|---|---|---|
| 1 | United States | US$9,527,331,703 | 47.9% |
| 2 | Netherlands | US$1,714,447,314 | 8.6% |
| 3 | Guatemala | US$1,027,311,339 | 5.2% |
| 4 | Belgium | US$986,903,380 | 5% |
| 5 | Nicaragua | US$737,246,162 | 3.7% |
| 6 | Panama | US$613,515,486 | 3.1% |
| 7 | Honduras | US$597,351,714 | 3% |
| 8 | El Salvador | US$499,547,753 | 2.5% |
| 9 | China | US$383,469,164 | 1.9% |
| 10 | Mexico | US$332,171,417 | 1.7% |
Import origins
| Rank | Partner | Imports 2024 (US$) | Share of Costa Rica's 2024 imports (%) |
|---|---|---|---|
| 1 | United States | US$8,649,621,354 | 36.5% |
| 2 | China | US$4,037,317,476 | 17.1% |
| 3 | Mexico | US$1,518,753,133 | 6.4% |
| 4 | Brazil | US$683,886,782 | 2.9% |
| 5 | Guatemala | US$621,656,127 | 2.6% |
| 6 | Japan | US$607,415,217 | 2.6% |
| 7 | Germany | US$565,773,970 | 2.4% |
| 8 | Colombia | US$425,343,505 | 1.8% |
| 9 | Spain | US$418,031,246 | 1.8% |
| 10 | Panama | US$379,604,976 | 1.6% |
Costa Rica trade with China and the United States (2024)
| Partner | Exports to (US$) | Share of exports | Rank as destination | Imports from (US$) | Share of imports | Rank as origin |
|---|---|---|---|---|---|---|
| China | US$383,469,164 | 1.9% | 9 | US$4,037,317,476 | 17.1% | 2 |
| United States | US$9,527,331,703 | 47.9% | 1 | US$8,649,621,354 | 36.5% | 1 |
In 2024, Costa Rica sold US$9.5 billion in goods to the United States, accounting for 47.9% of its exports, and bought US$8.6 billion from it, or 36.5% of its imports. Exports to China totalled US$383.5 million (1.9% of exports), while imports from China totalled US$4 billion (17.1% of imports).
What Costa Rica exports and imports by HS chapter (2024)
In 2024, Optical and medical instruments accounted for 44% of Costa Rica's merchandise exports, ahead of Fruit and nuts at 14%. The top import chapters were closer in share: Mineral fuels and oils accounted for 10.4% of merchandise imports, compared with 9.8% for Electrical machinery and equipment and 9.2% for Vehicles and parts.
Exports by HS chapter
| Rank | HS chapter | Exports 2024 (US$) | Share of 2024 exports (%) |
|---|---|---|---|
| 1 | HS 90 — Optical, photographic, cinematographic, measuring, checking, medical or surgical instruments and apparatus; parts and accessories | US$8,747,615,417 | 44% |
| 2 | HS 08 — Fruit and nuts, edible; peel of citrus fruit or melons | US$2,778,923,725 | 14% |
| 3 | HS 21 — Miscellaneous edible preparations | US$1,119,864,321 | 5.6% |
| 4 | HS 85 — Electrical machinery and equipment and parts thereof; sound recorders and reproducers; television image and sound recorders and reproducers, parts and accessories of such articles | US$839,124,047 | 4.2% |
| 5 | HS 39 — Plastics and articles thereof | US$543,966,245 | 2.7% |
| 6 | HS 20 — Preparations of vegetables, fruit, nuts or other parts of plants | US$486,413,117 | 2.4% |
| 7 | HS 30 — Pharmaceutical products | US$452,495,351 | 2.3% |
| 8 | HS 09 — Coffee, tea, mate and spices | US$356,420,622 | 1.8% |
| 9 | HS 40 — Rubber and articles thereof | US$330,108,892 | 1.7% |
| 10 | HS 15 — Animal, vegetable or microbial fats and oils and their cleavage products; prepared edible fats; animal or vegetable waxes | US$289,310,811 | 1.5% |
Imports by HS chapter
| Rank | HS chapter | Imports 2024 (US$) | Share of 2024 imports (%) |
|---|---|---|---|
| 1 | HS 27 — Mineral fuels, mineral oils and products of their distillation; bituminous substances; mineral waxes | US$2,460,756,242 | 10.4% |
| 2 | HS 85 — Electrical machinery and equipment and parts thereof; sound recorders and reproducers; television image and sound recorders and reproducers, parts and accessories of such articles | US$2,326,748,100 | 9.8% |
| 3 | HS 87 — Vehicles; other than railway or tramway rolling stock, and parts and accessories thereof | US$2,183,624,037 | 9.2% |
| 4 | HS 84 — Machinery and mechanical appliances, boilers, nuclear reactors; parts thereof | US$2,064,067,499 | 8.7% |
| 5 | HS 39 — Plastics and articles thereof | US$1,719,775,440 | 7.3% |
| 6 | HS 90 — Optical, photographic, cinematographic, measuring, checking, medical or surgical instruments and apparatus; parts and accessories | US$1,297,839,087 | 5.5% |
| 7 | HS 30 — Pharmaceutical products | US$1,122,112,894 | 4.7% |
| 8 | HS 72 — Iron and steel | US$811,131,910 | 3.4% |
| 9 | HS 48 — Paper and paperboard; articles of paper pulp, of paper or paperboard | US$759,747,128 | 3.2% |
| 10 | HS 73 — Iron or steel articles | US$556,638,064 | 2.4% |
What the data shows
The United States has a larger share of exports than of imports
The United States was Costa Rica's top partner in both directions in 2024, but it took a larger share of exports (47.9%) than it supplied of imports (36.5%). The difference was less pronounced for the top three partners taken together: they accounted for 61.7% of exports and 60% of imports.
Exports are more concentrated by product chapter than imports
The top three chapters accounted for 63.6% of Costa Rica's merchandise exports in 2024, compared with 29.4% for the top three import chapters. The share for Optical and medical instruments alone, at 44% of exports, was larger than the combined share of the top three import chapters. None of the top three export chapters was also among the top three import chapters.
Where to find shipment-level data for Costa Rica
The figures on this page are aggregate trade statistics: national totals by partner and by HS chapter. They do not identify companies, individual shipments or tariff-line detail. Shipment-level records, such as customs declarations and bills of lading, are released by some customs authorities and compiled by commercial data providers; access and coverage vary by country. Our guide explains where to look.
Costa Rica trade data: FAQ
- Does Costa Rica have a merchandise trade surplus or deficit?
- Costa Rica recorded a merchandise trade deficit of US$1.1 billion in 2025. In the World Bank/WTO series, merchandise imports totalled US$27.5 billion, while merchandise exports totalled US$26.4 billion.
- What are Costa Rica's main merchandise exports?
- Optical and medical instruments was Costa Rica's largest export chapter in 2024, accounting for 44% of merchandise exports reported to UN Comtrade. Fruit and nuts accounted for 14%, and Miscellaneous food preparations made up 5.6%.
- What does Costa Rica import the most?
- Mineral fuels and oils was Costa Rica's largest import chapter in 2024, at 10.4% of merchandise imports reported to UN Comtrade. Electrical machinery and equipment and Vehicles and parts each accounted for a smaller share, at 9.8% and 9.2%, respectively.
- How much does Costa Rica import from China?
- Costa Rica imported US$4 billion in merchandise from China in 2024, according to UN Comtrade. That represented 17.1% of Costa Rica's merchandise imports, placing China behind only the United States as an import origin.
- How have Costa Rica's merchandise exports changed since 2015?
- Costa Rica's merchandise exports rose 180.5% in nominal terms between 2015 and 2025. They started at US$9.4 billion and reached US$26.4 billion in 2025, the peak of the World Bank/WTO series shown here.
Sources and methodology
- World Bank, World Development Indicators — Merchandise exports (current US$) (source: WTO)
- Data period: 2015–2025 · Retrieved: November 19, 2026 · Dataset last updated: November 11, 2026 · View source query
- World Bank, World Development Indicators — Merchandise imports (current US$) (source: WTO)
- Data period: 2015–2025 · Retrieved: November 19, 2026 · Dataset last updated: November 11, 2026 · View source query
- UN Comtrade — exports by partner, total goods (2024)
- Data period: 2024 · Retrieved: November 19, 2026 · View source query
- UN Comtrade — imports by partner, total goods (2024)
- Data period: 2024 · Retrieved: November 19, 2026 · View source query
- UN Comtrade — exports and imports by HS chapter (2024)
- Data period: 2024 · Retrieved: November 19, 2026 · View source query
Figures are merchandise (goods) trade in nominal US dollars. Totals and the trend come from WTO data published by the World Bank; partner and HS chapter breakdowns come from the country's own reports to UN Comtrade. Services trade is not included.
Sources: UN Comtrade (United Nations policy on data use). World Bank, World Development Indicators (source: WTO), licensed CC BY 4.0. Compiled by yTrade.