Countries by number of pigs
China had the highest number of pigs of 172 countries in 2020, at 406,504,200 head. Syria had the lowest, at 11 head. The median was 442,740 head and the figure for the World was 939,793,606 head. Source: Food and Agriculture Organization of the United Nations.
Map of countries, 2020
- Under 1M
- 1M to 2M
- 2M to 6M
- 6M and over
- No data
Top 40 countries, 2020
Full ranking
| Rank | Countries | 2020 | Change on 2019 |
|---|---|---|---|
| 1 | China | 406,504,200 | +31% |
| 2 | United States | 77,312,000 | -1.2% |
| 3 | Brazil | 41,211,188 | +1.6% |
| 4 | Spain | 32,796,070 | +5% |
| 5 | Germany | 26,069,900 | +0.1% |
| 6 | Russia | 25,163,165 | +6.1% |
| 7 | Vietnam | 22,027,858 | +12.3% |
| 8 | Mexico | 18,788,002 | +2.3% |
| 9 | Canada | 14,065,000 | -0% |
| 10 | France | 13,393,000 | -0.9% |
| 11 | Denmark | 13,391,000 | +5.2% |
| 12 | Philippines | 12,795,721 | +0.7% |
| 13 | Poland | 11,727,400 | +4.6% |
| 14 | Netherlands | 11,541,000 | -3.2% |
| 15 | South Korea | 11,078,032 | -1.8% |
| 16 | Japan Estimated | 9,240,358 | +0.9% |
| 17 | Nigeria | 8,941,888 | +4.4% |
| 18 | India Estimated | 8,838,968 | -2.4% |
| 19 | Italy | 8,543,030 | +0.4% |
| 20 | Thailand Estimated | 7,848,826 | +0.4% |
| 21 | Malawi | 7,794,586 | -7% |
| 22 | Indonesia | 7,622,724 | -10.8% |
| 23 | Myanmar | 6,778,694 | +5.4% |
| 24 | Belgium | 6,218,270 | +2.2% |
| 25 | Colombia | 5,950,113 | -11.3% |
| 26 | Ukraine | 5,727,400 | -4.9% |
| 27 | Taiwan | 5,512,274 | -0% |
| 28 | Argentina | 5,376,958 | +4.8% |
| 29 | United Kingdom | 5,055,000 | -0.5% |
| 30 | Uganda | 4,521,000 | +2.5% |
| 31 | Laos | 4,298,000 | +4.4% |
| 32 | Romania | 3,784,500 | -1.3% |
| 33 | Peru | 3,265,145 | +0.2% |
| 34 | Bolivia | 3,209,604 | +3.4% |
| 35 | Venezuela | 3,089,315 | +2.8% |
| 36 | Serbia | 2,983,102 | +2.8% |
| 37 | Angola Estimated | 2,906,550 | +0.8% |
| 38 | Guatemala Estimated | 2,897,617 | +0.1% |
| 39 | Hungary | 2,850,000 | +8.2% |
| 40 | Belarus | 2,844,700 | -1.3% |
| 41 | Austria | 2,806,460 | +1.2% |
| 42 | Chile | 2,713,123 | +5.7% |
| 43 | North Korea | 2,306,000 | -5.9% |
| 44 | Australia | 2,258,046 | -2.6% |
| 45 | Portugal | 2,251,970 | -0.2% |
| 46 | Cameroon Estimated | 2,188,503 | +1.2% |
| 47 | Cambodia Estimated | 2,186,911 | +0.2% |
| 48 | Papua New Guinea Estimated | 2,063,194 | +0.5% |
| 49 | Madagascar Estimated | 1,928,718 | +9.4% |
| 50 | Malaysia | 1,869,772 | -1% |
| 51 | Ireland | 1,678,570 | +4% |
| 52 | Burkina Faso | 1,674,000 | -35.4% |
| 53 | Mozambique | 1,635,011 | -5.7% |
| 54 | Czechia | 1,546,020 | +2.5% |
| 55 | Nepal | 1,519,593 | +2.1% |
| 56 | Paraguay Estimated | 1,461,381 | +11.1% |
| 57 | Sweden | 1,389,300 | -6.2% |
| 58 | South Africa | 1,356,892 | -2.4% |
| 59 | Switzerland | 1,348,306 | -0.8% |
| 60 | Rwanda | 1,246,891 | -4.4% |
| 61 | Zambia | 1,166,924 | -12.4% |
| 62 | Cuba | 1,120,699 | -58.1% |
| 63 | Togo | 1,107,194 | +2% |
| 64 | Finland | 1,103,900 | +3.9% |
| 65 | Central African Republic Estimated | 1,098,071 | +1.1% |
| 66 | Ecuador | 1,059,842 | -8.8% |
| 67 | Croatia | 1,033,000 | +1.1% |
| 68 | Haiti Estimated | 1,025,665 | +0.4% |
| 69 | Democratic Republic of the Congo | 999,656 | +0.4% |
| 70 | Ghana | 946,000 | +23.2% |
| 71 | Burundi | 866,819 | +7.8% |
| 72 | Norway | 768,211 | -2.3% |
| 73 | Benin | 750,868 | +43.3% |
| 74 | Greece | 743,000 | +1.4% |
| 75 | Kenya | 649,273 | +9% |
| 76 | Nicaragua Estimated | 626,848 | +0.7% |
| 77 | Bulgaria | 592,100 | +20.4% |
| 78 | Lithuania | 580,400 | +5.4% |
| 79 | Kazakhstan Estimated | 570,000 | +1.8% |
| 80 | Bosnia and Herzegovina | 546,771 | +0.6% |
| 81 | Slovakia | 538,310 | -8.6% |
| 82 | Tanzania Estimated | 527,874 | +0.7% |
| 83 | Dominican Republic Estimated | 469,205 | +0.3% |
| 84 | Honduras Estimated | 458,493 | -0.1% |
| 85 | Senegal | 457,475 | +3.1% |
| 86 | Guinea-Bissau Estimated | 446,076 | -0.6% |
| 87 | Côte d’Ivoire | 439,404 | -8.3% |
| 88 | Costa Rica | 405,613 | -8.3% |
| 89 | Timor-Leste Estimated | 374,660 | -17.4% |
| 90 | Panama | 365,700 | +2.6% |
| 91 | Cyprus | 359,060 | +2.1% |
| 92 | Moldova | 339,500 | -14.5% |
| 93 | Estonia | 316,600 | +5% |
| 94 | Latvia | 306,820 | -2.3% |
| 95 | Liberia Estimated | 285,283 | 0% |
| 96 | Zimbabwe | 269,508 | +47.4% |
| 97 | El Salvador Estimated | 250,000 | 0% |
| 98 | New Zealand | 234,533 | -8.4% |
| 99 | Slovenia | 229,480 | -4.4% |
| 100 | Gabon Estimated | 224,524 | +0.3% |
| 101 | Armenia | 223,250 | +12.8% |
| 102 | Jamaica Estimated | 216,975 | +0.6% |
| 103 | Sierra Leone Estimated | 212,306 | -15.5% |
| 104 | Israel | 183,808 | +10.7% |
| 105 | North Macedonia | 164,074 | +20.8% |
| 106 | Uruguay | 162,000 | -1.8% |
| 107 | Albania | 158,401 | -13.8% |
| 108 | Georgia | 155,500 | -4.7% |
| 109 | Guinea | 154,211 | +4.9% |
| 110 | Namibia | 122,001 | +17% |
| 111 | Hong Kong | 119,239 | +9.1% |
| 112 | Samoa Estimated | 115,844 | +26.3% |
| 113 | Chad Estimated | 112,041 | +1.7% |
| 114 | Republic of the Congo Estimated | 101,549 | +1% |
| 115 | Sri Lanka | 92,640 | +1.6% |
| 116 | Mali | 87,215 | +1.2% |
| 117 | Tonga Estimated | 84,186 | +0.1% |
| 118 | Luxembourg | 82,130 | -2.3% |
| 119 | Vanuatu Estimated | 81,755 | -1.4% |
| 120 | Fiji Estimated | 74,645 | -1.7% |
| 121 | Cape Verde | 70,206 | +1.9% |
| 122 | Solomon Islands Estimated | 55,262 | -0.2% |
| 123 | Eswatini | 53,549 | +6.6% |
| 124 | Uzbekistan | 52,430 | -4.3% |
| 125 | Puerto Rico Estimated | 44,053 | +0.4% |
| 126 | Niger Estimated | 42,650 | +0.2% |
| 127 | Malta | 40,090 | +13% |
| 128 | São Tomé and Príncipe Estimated | 38,693 | +1% |
| 129 | Micronesia Estimated | 37,823 | +0.3% |
| 130 | New Caledonia Estimated | 36,877 | +0.1% |
| 131 | Lesotho | 36,401 | -32% |
| 132 | Ethiopia Estimated | 36,000 | +1.8% |
| 133 | Trinidad and Tobago | 34,245 | -2.6% |
| 134 | Suriname | 34,232 | +2% |
| 135 | Kyrgyzstan | 29,465 | -15.2% |
| 136 | French Polynesia Estimated | 28,795 | -0.7% |
| 137 | Iceland | 27,000 | -3.6% |
| 138 | Cook Islands Estimated | 26,855 | -6.9% |
| 139 | Montenegro | 25,806 | +11.8% |
| 140 | Mongolia | 24,531 | +17.4% |
| 141 | Barbados Estimated | 22,891 | +2.6% |
| 142 | Egypt Estimated | 22,000 | +10% |
| 143 | Mauritius | 20,749 | -0.7% |
| 144 | Belize Estimated | 20,198 | -3.9% |
| 145 | Bhutan | 17,577 | -12.4% |
| 146 | Kiribati Estimated | 15,165 | +1.5% |
| 147 | Gambia | 14,985 | +3.3% |
| 148 | Tuvalu Estimated | 14,554 | +0.4% |
| 149 | Saint Lucia | 13,222 | -7.5% |
| 150 | Guyana Estimated | 9,477 | +0.3% |
| 151 | Morocco Estimated | 7,785 | -0.5% |
| 152 | Equatorial Guinea Estimated | 7,363 | +1.3% |
| 153 | Lebanon Estimated | 7,356 | -2.2% |
| 154 | Turkmenistan | 7,352 | -10.8% |
| 155 | Seychelles Estimated | 6,300 | +12% |
| 156 | Saint Vincent and the Grenadines Estimated | 6,234 | -1% |
| 157 | Azerbaijan | 5,877 | +3% |
| 158 | Tunisia Estimated | 5,469 | -0.1% |
| 159 | Dominica Estimated | 5,055 | +0.2% |
| 160 | Bahamas Estimated | 5,002 | -0% |
| 161 | Antigua and Barbuda Estimated | 5,001 | -0.5% |
| 162 | Algeria Estimated | 4,930 | -0.3% |
| 163 | Grenada Estimated | 4,706 | +3.8% |
| 164 | Botswana Estimated | 4,240 | +39.4% |
| 165 | Somalia Estimated | 3,744 | -0.1% |
| 166 | Nauru Estimated | 3,006 | 0% |
| 167 | Saint Kitts and Nevis | 2,600 | -25.7% |
| 168 | Niue Estimated | 2,299 | +0.9% |
| 169 | Brunei Estimated | 1,255 | -0.8% |
| 170 | Türkiye | 990 | -31.1% |
| 171 | Tajikistan | 900 | +669.2% |
| 172 | Syria Estimated | 11 | 0% |
Other periods
About this ranking
Number of pigs (swine) present in the country, as published in FAOSTAT's crops and livestock products domain. FAO asks for the count on one day of the year, usually the census or survey date, so the reference day differs between countries.
FAO fills gaps in national reporting with its own estimates and imputations, which are marked as estimated, and revises past years when countries send new figures.
Every value in the ranking comes from the same publisher and the same period, so the countries are compared on one definition. 6 countries with data in other periods have no value for 2020 and are left out rather than filled from another source. Equal values share a rank.
How to cite
FAO. 2025. FAOSTAT: Production: Crops and livestock products (QCL): Swine / pigs, stocks, head (item 1034, element 5111). Accessed on 2026-10-12. https://bulks-faostat.fao.org/production/Production_Crops_Livestock_E_All_Data_%28Normalized%29.zip Licence: CC-BY-4.0. FAO does not endorse Invokely or this use of the data.
Citation styles
APA 7
Food and Agriculture Organization of the United Nations. (2025). Production: Crops and livestock products (QCL): Swine / pigs, stocks, head (item 1034, element 5111) (Countries by number of pigs, 2020) [Data set]. Retrieved October 12, 2026, from https://bulks-faostat.fao.org/production/Production_Crops_Livestock_E_All_Data_%28Normalized%29.zip
MLA 9
Production: Crops and livestock products (QCL): Swine / pigs, stocks, head (item 1034, element 5111), Countries by number of pigs, 2020. Food and Agriculture Organization of the United Nations, 31 Dec. 2025, https://bulks-faostat.fao.org/production/Production_Crops_Livestock_E_All_Data_%28Normalized%29.zip. Invokely, https://invokely.ai/rankings/pig-population/countries?period=2020. Accessed 12 Oct. 2026.
Chicago (author-date)
Food and Agriculture Organization of the United Nations. 2025. Production: Crops and livestock products (QCL): Swine / pigs, stocks, head (item 1034, element 5111). Countries by number of pigs, 2020. Dataset. Accessed October 12, 2026. https://bulks-faostat.fao.org/production/Production_Crops_Livestock_E_All_Data_%28Normalized%29.zip. Also distributed by Invokely, https://invokely.ai/rankings/pig-population/countries?period=2020.
Harvard
Food and Agriculture Organization of the United Nations (2025) Production: Crops and livestock products (QCL): Swine / pigs, stocks, head (item 1034, element 5111), Countries by number of pigs, 2020 [Dataset]. Available at: https://bulks-faostat.fao.org/production/Production_Crops_Livestock_E_All_Data_%28Normalized%29.zip, via Invokely: https://invokely.ai/rankings/pig-population/countries?period=2020 (Accessed: 12 October 2026).
BibTeX
@misc{food_countries_by_number_of_2020,
author = {{Food and Agriculture Organization of the United Nations}},
title = {{Production: Crops and livestock products (QCL): Swine / pigs, stocks, head (item 1034, element 5111): Countries by number of pigs, 2020}},
year = {2025},
howpublished = {Data set},
url = {https://bulks-faostat.fao.org/production/Production_Crops_Livestock_E_All_Data_%28Normalized%29.zip},
urldate = {2026-10-12},
note = {Accessed via Invokely, https://invokely.ai/rankings/pig-population/countries?period=2020. Publisher attribution: FAO. 2025. FAOSTAT: Production: Crops and livestock products (QCL): Swine / pigs, stocks, head (item 1034, element 5111). Accessed on 2026-10-12. https://bulks-faostat.fao.org/production/Production\_Crops\_Livestock\_E\_All\_Data\_\%28Normalized\%29.zip Licence: CC-BY-4.0. FAO does not endorse Invokely or this use of the data.},
}
RIS
TY - DATA
AU - Food and Agriculture Organization of the United Nations
TI - Production: Crops and livestock products (QCL): Swine / pigs, stocks, head (item 1034, element 5111): Countries by number of pigs, 2020
PY - 2025
DA - 2025/12/31
PB - Food and Agriculture Organization of the United Nations
DB - Invokely
UR - https://bulks-faostat.fao.org/production/Production_Crops_Livestock_E_All_Data_%28Normalized%29.zip
L2 - https://invokely.ai/rankings/pig-population/countries?period=2020
Y2 - 2026/10/12
N1 - Accessed via Invokely, https://invokely.ai/rankings/pig-population/countries?period=2020.
N1 - Publisher attribution: FAO. 2025. FAOSTAT: Production: Crops and livestock products (QCL): Swine / pigs, stocks, head (item 1034, element 5111). Accessed on 2026-10-12. https://bulks-faostat.fao.org/production/Production_Crops_Livestock_E_All_Data_%28Normalized%29.zip Licence: CC-BY-4.0. FAO does not endorse Invokely or this use of the data.
ER -
Use this data in your AI agent
Invokely serves this figure to AI assistants through MCP and to code through a REST API, with the source and citation attached. Ask your assistant:
Rank Countries by number of pigs using official data, and cite the source.
rank_places {"indicator":"pig_stocks","level":"country","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=pig_stocks&level=country&limit=10
Questions
Which country has the highest number of pigs?
China, with 406,504,200 head in 2020, according to Food and Agriculture Organization of the United Nations.
Which country has the lowest number of pigs?
Syria, with 11 head in 2020.
Where does this ranking come from?
Every value comes from one source and one period, so the places are comparable: Food and Agriculture Organization of the United Nations, Production: Crops and livestock products (QCL): Swine / pigs, stocks, head (item 1034, element 5111). Retrieved 2026-10-12. 6 countries have no value for 2020 and are not ranked.