Skip to content
Husfarm
FAOSTAT · 2024

Agricultural production in Costa Rica

According to FAOSTAT, Costa Rica produced 72,256 t of cereals, 195,987 t of vegetables, 6.7 million t of fruit, 302,665 t of meat and 1.3 million t of milk in 2024. Its largest crops by volume were sugar cane (4.1 million t), pineapples (3.1 million t) and bananas (2.6 million t).

Market prices in Costa Rica
Products recorded
100
World #1
1
products
World top 10
3
products
Year
2024

Agriculture in Costa Rica: map, land, climate, supply and demand, prices →

Costa Rica is the world’s largest producer of pineapples, and ranks second or third for 1 other product.

Among its twelve largest crops, the biggest ten-year change was in palm kernels (+76%), followed by rice (−71%).

Livestock numbers: 1.6 million cattle, 559,743 pigs, 2,896 sheep and 77,954 goats.

Totals by group

GroupTonnesWorld rankShare10-year change
All fruit6,677,634300.7%+4.7%
All sugar crops4,139,275450.19%−7.9%
All milk1,284,920720.13%+17%
All meat302,665930.08%+13%
All citrus fruit242,992490.15%−11%
All roots and tubers204,7191240.02%−37%
All vegetables195,9871200.02%−5.7%
All eggs89,969570.09%+49%
All cereals72,2561440%−69%
All pulses11,0501210.01%−31%
All tree nuts341120%−85%

All products by volume, 2024

ProductTonnesWorld rankShare10-year change
Sugar cane4,139,275330.21%−7.9%
Pineapples3,118,093110.62%+8.3%
Bananas2,630,020141.89%+8.9%
Cow milk1,268,230670.16%+18%
Oil palm fruit1,225,774170.29%+39%
Other fruits, n.e.c.369,112180.94%+12%
Raw sugar350,242500.19%−24%
Palm oil280,463170.35%−6.5%
Oranges185,028340.28%−16%
Skim milk of cows164,518610.12%+19%
Beer157,600840.09%+189%
Molasses145,934410.2%−26%
Chicken meat143,677730.11%+16%
Beef (cattle meat)94,191720.14%+6.8%
Palm kernels92,000140.48%+76%
Cassava91,505540.03%−48%
Hen eggs89,969570.1%+49%
Plantains81,657270.18%−18%
Potatoes75,2421090.02%−2.0%
Pork (pig meat)64,521640.05%+17%
Rice (paddy)64,214800.01%−71%
Watermelons63,140710.06%+7.1%
Coffee, green62,154200.55%−36%
Tomatoes58,765940.03%+15%
Melons58,102390.21%−66%
Papayas54,791230.37%−39%
Other vegetables, fresh n.e.c.48,991950.02%+1.2%
Soya bean oil46,800430.08%+14%
Oil of palm kernel40,500120.48%+94%
Onions, dry36,590920.03%−4.6%
Lemons and limes36,278410.16%+9.3%
Mangoes and guavas29,487520.05%−31%
Cabbages24,084910.03%−27%
Cheese from skimmed cow milk23,640180.86%+96%
Carrots and turnips23,378800.05%−29%
Grapefruit and pomelos21,686250.22%+6.0%
Whole milk powder20,456260.41%+17%
Coconuts, in shell19,862440.03%+63%
Other oil seeds, n.e.c.17,493300.72%+57%
Goat milk16,690670.08%−24%
Yams16,541340.02%−45%
Avocados15,908350.14%+1,242%
Raw hides and skins of cattle15,570570.18%+6.8%
Pig fat, rendered12,960330.21%+11%
Yautia11,21362.88%−63%
Beans, dry11,050670.04%−31%
Edible offal of cattle, fresh, chilled or frozen9,227750.1%+6.8%
Other tropical fruits, n.e.c.8,754430.04%−15%
Butter of cow milk8,659520.14%+19%
Other starchy roots and tubers8,455380.09%−38%
Maize8,0421330%−23%
Tallow5,091400.06%+109%
Strawberries4,771540.04%−23%
Yoghurt3,897350.08%—
Ginger3,888230.08%+81%
Cattle fat, unrendered3,460540.1%+6.8%
Margarine and shortening3,216770.02%−5.8%
Edible offal of pigs, fresh, chilled or frozen3,056510.04%+17%
Fat of pigs3,056470.03%+17%
Cheese from whole cow milk2,537810.01%+21%
Sweet potatoes1,764890%+194%
Skim milk and whey powder1,688480.04%+20%
Cucumbers1,6831110%+3.1%
Pepper (black, white)1,658220.18%−15%
Buttermilk, dry1,555500.24%—
Abaca, manila hemp1,26431.16%+2.7%
Cocoa beans1,000350.02%+43%
Honey953810.05%+28%
Other berries and fruits of the genus vaccinium n.e.c.808420.07%−7.0%
Seed cotton717700%+8.6%
Chillies and peppers, green6051130%+7.7%
Lettuce and chicory561840%+1.1%
Other beans, green465910%+6.2%
Cotton seed397730%−62%
Cauliflower and broccoli370870%−3.4%
Goat meat2601230%−9.7%
Cotton lint257720%−61%
Coconut oil233480.01%−8.3%
Groundnuts (peanuts)228980%+4.6%
Oil of sesame seed167540.01%−16%
Sesame seed164640%+5.1%
Asparagus134410%−2.9%
Oil of linseed134500.02%−5.6%
Eggplants98940%+8.9%
Spring onions and shallots96460%+5.5%
Beeswax85330.13%−3.4%
Leeks76550%+4.1%
Spinach64650%+3.2%
Edible offal of goat, fresh, chilled or frozen541070%−10%
Raw hides and skins of goats or kids541080%−10%
Tea, packed411040%—
Other nuts34620%−85%
Cottonseed oil31750%+3,000%
Artichokes28270%−3.4%
Tobacco, unmanufactured171140%−72%
Sheep meat161670%+6.7%
Goat fat, unrendered71120%−13%
Edible offal of sheep, fresh, chilled or frozen31410%0.0%
Raw hides and skins of sheep or lambs31390%0.0%
Sheep fat, unrendered11350%0.0%

Live animals, 2024

ProductHeadWorld rankShare10-year change
Chickens23,865,000860.09%+2.0%
Cattle1,576,149930.1%+21%
Pigs559,743760.06%+18%
Horses117,571450.21%+76%
Goats77,9541270.01%−2.6%
Bees40,769740.04%−11%
Asses7,322710.01%+443%
Mules and hinnies4,933330.06%+81%
Sheep2,8961700%+1.3%

Costa Rica among the world’s producers, 2024

Share of world production by country for the largest crops of Costa Rica, which is outlined on the map.

under 0.1%0.1–1%1–5%5–15%15% or moreno data
Small island states are not drawn at this scale.

Production per person, 2024

Costa Rica had 5.1 million inhabitants in 2024 (FAOSTAT estimate). Production of its largest products per inhabitant, compared with the world average:

Productkg per personWorld, kg per personRatio
Sugar cane8072383.4×
Pineapples6083.60168.9×
Bananas51317.130.0×
Cow milk24797.72.5×
Oil palm fruit23951.34.7×
Other fruits, n.e.c.72.04.8115.0×
Raw sugar68.323.03.0×
Palm oil54.79.755.6×
Oranges36.18.244.4×
Skim milk of cows32.117.51.8×
Beer30.722.71.4×
Molasses28.48.983.2×

Production divided by population; it is not consumption, because crops are traded and used for feed, processing and industry.

Trade in agricultural products, 2024

Costa Rica reported exports of 105 and imports of 125 of the products covered here; it was the world’s largest exporter of pineapples.

Largest exports by value

ProductTonnesValueUSD/kgWorld rank
Pineapples2,202,527USD 1.36 bn0.621 of 105
Bananas2,227,060USD 1.20 bn0.544 of 107
Coffee, green63,650USD 345 m5.4216 of 131
Palm oil209,250USD 217 m1.0410 of 118
Raw cane or beet sugar (centrifugal only)131,025USD 86.0 m0.6615 of 111
Other vegetables, fresh n.e.c.43,611USD 50.8 m1.1617 of 132
Cantaloupes and other melons57,323USD 43.2 m0.7510 of 105
Raw milk of cattle31,222USD 37.8 m1.2130 of 110
Watermelons65,418USD 36.7 m0.5615 of 113
Whole milk powder5,824USD 35.0 m6.0031 of 104

Largest imports by value

ProductTonnesValueUSD/kgWorld rank
Maize (corn)1,071,573USD 261 m0.2437 of 190
Rice294,834USD 156 m0.535 of 149
Soya beans264,412USD 132 m0.5035 of 165
Wheat292,672USD 96.4 m0.3377 of 176
Meat of pig with the bone, fresh or chilled28,121USD 95.9 m3.4125 of 168
Beans, dry47,775USD 70.2 m1.4725 of 185
Cheese from whole cow milk7,710USD 51.2 m6.6475 of 192
Wine12,685USD 38.4 m3.0363 of 192
Avocados14,024USD 38.1 m2.7228 of 147
Meat of chickens, fresh or chilled22,188USD 37.4 m1.6880 of 189

FAOSTAT detailed trade data, release of 23 July 2026: quantities in tonnes and values in current US dollars as reported; exports include re-exports. Only the FAO trade items that match Husfarm production pages are included: meat covers fresh or chilled meat only (frozen meat is a separate item), and processed goods such as milled rice or flour are not listed.

Main trading partners for agricultural products, 2024

In 2024 Costa Rica exported agricultural products worth USD 6.47 bn to 112 countries. The largest buyers were United States (32%), Guatemala (7.3%) and Netherlands (7.2%). Its agricultural imports, worth USD 3.25 bn, came mainly from United States (34%), Brazil (12%) and Mexico (9.0%).

Largest export markets

#DestinationValueShareLargest products
1United StatesUSD 2.05 bn32%Pineapples; Bananas; Coffee, green
2GuatemalaUSD 475 m7.3%Food preparations n.e.c.; Pastry; Raw milk of cattle
3NetherlandsUSD 463 m7.2%Bananas; Palm oil; Pineapples
4BelgiumUSD 410 m6.3%Pineapples; Bananas; Coffee, green
5NicaraguaUSD 284 m4.4%Food preparations n.e.c.; Pastry; Palm oil
6SpainUSD 273 m4.2%Bananas; Pineapples; Pineapple juice
7HondurasUSD 255 m3.9%Food preparations n.e.c.; Pastry; Paste of tomatoes
8PanamaUSD 232 m3.6%Food preparations n.e.c.; Other non-alcoholic caloric beverages; Food wastes
9El SalvadorUSD 231 m3.6%Food preparations n.e.c.; Meat of cattle boneless, fresh or chilled; Pastry
10ItalyUSD 206 m3.2%Bananas; Pineapples; Coffee, green
11United KingdomUSD 205 m3.2%Bananas; Pineapples; Watermelons
12MexicoUSD 204 m3.2%Food preparations n.e.c.; Palm oil; Oil of palm kernel
Other 100 countriesUSD 1.19 bn18%

Largest suppliers

#OriginValueShareLargest products
1United StatesUSD 1.11 bn34%Maize (corn); Food preparations n.e.c.; Soya beans
2BrazilUSD 405 m12%Rice, paddy (rice milled equivalent); Rice; Maize (corn)
3MexicoUSD 293 m9.0%Food preparations n.e.c.; Other non-alcoholic caloric beverages; Dog or cat food, put up for retail sale
4NicaraguaUSD 165 m5.1%Meat of cattle boneless, fresh or chilled; Beans, dry; Oranges
5GuatemalaUSD 143 m4.4%Pastry; Food preparations n.e.c.; Natural rubber in other forms
6ChileUSD 133 m4.1%Meat of pig with the bone, fresh or chilled; Paste of tomatoes; Wine
7CanadaUSD 121 m3.7%Wheat; Potatoes, frozen; Dog or cat food, put up for retail sale
8UruguayUSD 95.2 m2.9%Rice, paddy (rice milled equivalent); Food preparations n.e.c.; Rice
9SpainUSD 84.1 m2.6%Olive oil; Food preparations n.e.c.; Wine
10HondurasUSD 65.7 m2.0%Dog or cat food, put up for retail sale; Pastry; Vegetables preserved nes (o/t vinegar)
11ColombiaUSD 62.1 m1.9%Sugar confectionery; Pastry; Food preparations n.e.c.
12ChinaUSD 56.3 m1.7%Green garlic; Food preparations n.e.c.; Canned mushrooms
Other 87 countriesUSD 517 m16%

All agricultural trading partners of Costa Rica, with the products traded with each →

FAOSTAT detailed trade matrix (FAO, CC BY 4.0), release of 23 December 2025. All crop and livestock products in the matrix, including processed food, beverages, tobacco and natural fibres; fish and forest products are not included. Values in current US dollars, exports FOB and imports CIF; exports include re-exports. Largest products are those with the highest value in trade with each partner; products with a Husfarm production page are linked.

Questions and answers

What are the main crops produced in Costa Rica?

By volume, the largest products of Costa Rica in 2024 were sugar cane (4.1 million t), pineapples (3.1 million t), bananas (2.6 million t), according to FAOSTAT.

Is Costa Rica the world’s largest producer of anything?

Yes. In 2024 Costa Rica was the world’s largest producer of 1 product: pineapples.

How much sugar cane does Costa Rica produce per person?

About 807 kg per inhabitant in 2024, compared with a world average of 238 kg (production divided by population, FAOSTAT).

What does Costa Rica export most?

By value, its largest agricultural exports in 2024 among the products covered here were pineapples (USD 1.36 bn), bananas (USD 1.20 bn), coffee, green (USD 345 m), according to FAOSTAT.

What does Costa Rica import most?

By value, its largest agricultural imports in 2024 among the products covered here were maize (corn) (USD 261 m), rice (USD 156 m), soya beans (USD 132 m).

Which countries buy the most agricultural products from Costa Rica?

In 2024 the largest buyers were United States (32%), Guatemala (7.3%) and Netherlands (7.2%), out of agricultural exports worth USD 6.47 bn, according to the FAOSTAT detailed trade matrix.

Where does Costa Rica import agricultural products from?

Mainly from United States (34%), Brazil (12%) and Mexico (9.0%), out of imports worth USD 3.25 bn in 2024, according to the FAOSTAT detailed trade matrix.

Where does this data come from?

Production, trade and population figures are from FAOSTAT, the statistics database of the Food and Agriculture Organization of the United Nations. Rankings, shares and per-person figures are calculated by Husfarm.

Source: FAO. 2025. FAOSTAT: Crops and livestock products. Accessed on 4 November 2026. fao.org/faostat. Licence: CC BY 4.0. Charts, rankings and changes calculated by Husfarm.