Commodity Origins

What does Costa Rica sell and buy?

Costa Rica's largest tracked commodity export in 2024 was pineapples, $1.9 billion, 39% of its exports of the 98 commodities on this site; it ranked 1st among exporters of it. Its largest import was corn, $254 million, 15% of its tracked imports. Together the tracked commodities came to $4.8 billion of exports and $1.7 billion of imports, a surplus of $3.2 billion.

What Costa Rica produces and ranks in · What feeds Costa Rica · All trade profiles · JSON

Exports

Costa Rica's largest tracked commodity exports, 2024
CommodityValue, 2024Share of tracked exportsWorld rankShare of world exports1995 valueChange
Pineapples$1.9 billion39%163%$74 million25×
Bananas$1.7 billion35%311%$1.1 billion1.5×
Coffee$401 million8.3%151.2%$433 million0.9×
Palm oil$183 million3.8%130.4%$17 million11×
Cassava$177 million3.7%66.0%$44 million4.1×
Beef$131 million2.7%240.4%$25 million5.2×
Sugar$117 million2.4%380.3%$46 million2.6×
Gold$44 million0.9%950.0%under $1 million—
Milk$42 million0.9%440.2%$3 million—
Coconut oil$28 million0.6%180.3%$3 million—
Palm kernel oil$28 million0.6%92.5%$1 million—
Logs$25 million0.5%530.2%under $1 million—

66 of the 98 tracked commodities have exports; the top three are 82% of the total. Concentration (Herfindahl-Hirschman index of tracked exports, 0 to 10,000, where 10,000 would be one commodity): 2,799.

Imports

Costa Rica's largest tracked commodity imports, 2024
CommodityValue, 2024Share of tracked importsWorld rankShare of world imports1995 valueChange
Corn$254 million15%380.6%$52 million4.9×
Rice$171 million10%500.4%$17 million10×
Natural gas$151 million9.0%820.0%$9 million17×
Soybeans$131 million7.8%360.2%$45 million2.9×
Wheat$96 million5.7%720.2%$34 million2.8×
Pork$96 million5.7%450.3%under $1 million—
Steel$67 million4.0%830.1%$33 million2.1×
Beef$59 million3.5%470.2%under $1 million—
Cheese$56 million3.4%760.1%$4 million—
Potash$56 million3.3%400.3%$16 million3.6×
Urea$47 million2.8%620.2%$19 million2.5×
Sawnwood$46 million2.7%620.1%$1 million—

88 of the 98 tracked commodities have imports; the top three are 34% of the total.

The whole of Costa Rica's goods trade

The commodities above are only part of what Costa Rica trades. In 2024 its goods exports were $24 billion and its imports $24 billion in 96 product chapters. The 98 commodities on this site made up 20% of the exports and 7.1% of the imports. The largest export chapter was optical, photographic, cinematographic, measuring, checking, medical or surgical instruments and apparatus (40% of exports, 16th among exporters of that chapter) and the largest import chapter mineral fuels, mineral oils and products of their distillation (11% of imports).

Costa Rica's largest goods exports by HS chapter, 2024
Export chapter (HS)Value, 2024Share of exportsWorld rankShare of world trade in the chapter
90: Optical, photographic, cinematographic, measuring, checking, medical or surgical instruments and apparatus; parts and accessories$9.6 billion40%161.4%
08: Fruit and nuts, edible; peel of citrus fruit or melons$3.4 billion14%142.0%
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$3.1 billion13%480.1%
21: Miscellaneous edible preparations$1.1 billion4.5%301.0%
39: Plastics and articles thereof$540 million2.2%650.1%
20: Preparations of vegetables, fruit, nuts or other parts of plants$533 million2.2%290.6%
30: Pharmaceutical products$493 million2.0%530.1%
09: Coffee, tea, mate and spices$465 million1.9%280.6%
40: Rubber and articles thereof$347 million1.4%490.1%
84: Machinery and mechanical appliances, boilers, nuclear reactors; parts thereof$330 million1.4%670.0%
Costa Rica's largest goods imports by HS chapter, 2024
Import chapter (HS)Value, 2024Share of importsWorld rankShare of world trade in the chapter
27: Mineral fuels, mineral oils and products of their distillation; bituminous substances; mineral waxes$2.5 billion11%860.1%
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$2.5 billion11%730.1%
87: Vehicles; other than railway or tramway rolling stock, and parts and accessories thereof$2.2 billion9.2%750.1%
84: Machinery and mechanical appliances, boilers, nuclear reactors; parts thereof$2.1 billion8.9%820.1%
39: Plastics and articles thereof$1.7 billion7.2%640.2%
90: Optical, photographic, cinematographic, measuring, checking, medical or surgical instruments and apparatus; parts and accessories$1.3 billion5.7%530.2%
30: Pharmaceutical products$1.0 billion4.2%690.1%
72: Iron and steel$815 million3.4%680.2%
48: Paper and paperboard; articles of paper pulp, of paper or paperboard$616 million2.6%620.3%
73: Iron or steel articles$530 million2.2%740.1%

Goods only, no services. CEPII BACI, all products (HS 2022), current US dollars; chapter names from the UN Comtrade HS classification. World rank is by import value for the import table. The tracked share is the profile's own total over the all-products total for the same year; it is left out where the two disagree.

Net position by commodity

Exports minus imports of the same commodity in 2024. Costa Rica is a net seller of pineapples ($1.9 billion), bananas ($1.7 billion), coffee ($383 million), cassava ($177 million), palm oil ($169 million). It is a net buyer of corn ($254 million), rice ($160 million), natural gas ($151 million), soybeans ($131 million), wheat ($96 million).

Who Costa Rica trades with

The three largest destinations of each leading export and the three largest origins of each leading import, by value, 2024. Shares are of Costa Rica's own exports or imports of that commodity.

Largest trade partners by leading commodity, 2024
FlowCommodityLargest partners
Sells toPineapplesUnited States (46%); Belgium (7.5%); Spain (7.2%)
Sells toBananasUnited States (30%); Italy (10%); Spain (8.3%)
Sells toCoffeeUnited States (31%); Belgium (22%); Switzerland (16%)
Sells toPalm oilNetherlands (42%); Mexico (34%); Germany (13%)
Sells toCassavaUnited States (67%); Netherlands (12%); France (7.4%)
Sells toBeefUnited States (43%); China (27%); El Salvador (18%)
Buys fromCornUnited States (64%); Brazil (35%); Nicaragua (0.4%)
Buys fromRiceBrazil (62%); Uruguay (17%); Paraguay (6.8%)
Buys fromNatural gasUnited States (94%); Dominican Republic (1.9%); Switzerland (1.6%)
Buys fromSoybeansUnited States (64%); Brazil (36%); Canada (0.0%)
Buys fromWheatCanada (73%); United States (27%); El Salvador (0.4%)
Buys fromPorkUnited States (60%); Chile (36%); Canada (3.9%)

Tracked exports and imports since 1995

$0.0bn$1.0bn$2.0bn$3.0bn$4.0bn$5.0bn199520002005201020152020
ExportsImports

Current US dollars, so the lines include inflation and price changes as well as volume. Years with fewer than five tracked commodities are left out.

CEPII BACI, primary customs line of each commodity, current US dollars. Only the 98 commodities on this site whose customs line is comparable across HS revisions are counted, so these are tracked-commodity totals, not Costa Rica's whole trade. Flows are BACI's reconciled records of what one country shipped to another. Values come from the long series on the HS 1992 coding, so a figure can differ by a few percent from the same flow on a commodity page, which uses the current coding; a change since the first year is shown only where the first-year value was at least $5 million. Cite as: Commodity Origins, "Costa Rica: what it sells and buys", https://commodityorigins.com/trade-profiles/CRI/ (CC BY 4.0).