Countries by number of pigs
China had the highest number of pigs of 172 countries in 2021, at 449,224,200 head. Syria had the lowest, at 10 head. The median was 450,255 head and the figure for the World was 986,359,758 head. Source: Food and Agriculture Organization of the United Nations.
Map of countries, 2021
- Under 1M
- 1M to 2M
- 2M to 6M
- 6M and over
- No data
Top 40 countries, 2021
Full ranking
| Rank | Countries | 2021 | Change on 2020 |
|---|---|---|---|
| 1 | China | 449,224,200 | +10.5% |
| 2 | United States | 74,606,100 | -3.5% |
| 3 | Brazil | 42,550,892 | +3.3% |
| 4 | Spain | 34,454,090 | +5.1% |
| 5 | Russia | 25,850,147 | +2.7% |
| 6 | Germany | 23,762,300 | -8.9% |
| 7 | Vietnam | 23,202,782 | +5.3% |
| 8 | Mexico | 18,928,554 | +0.7% |
| 9 | Canada | 14,120,000 | +0.4% |
| 10 | Denmark | 13,152,000 | -1.8% |
| 11 | France | 12,941,000 | -3.4% |
| 12 | South Korea | 11,216,566 | +1.3% |
| 13 | Netherlands | 10,872,000 | -5.8% |
| 14 | Malawi | 10,698,418 | +37.3% |
| 15 | Poland | 10,242,400 | -12.7% |
| 16 | Philippines | 9,943,119 | -22.3% |
| 17 | Colombia | 9,658,204 | +62.3% |
| 18 | Nigeria | 9,299,563 | +4% |
| 19 | Japan | 9,290,000 | +0.5% |
| 20 | India Estimated | 8,807,618 | -0.4% |
| 21 | Italy | 8,407,970 | -1.6% |
| 22 | Thailand Estimated | 7,879,613 | +0.4% |
| 23 | Myanmar | 7,337,000 | +8.2% |
| 24 | Indonesia | 7,178,088 | -5.8% |
| 25 | Uganda | 7,083,943 | +56.7% |
| 26 | Belgium | 6,042,150 | -2.8% |
| 27 | Ukraine | 5,876,200 | +2.6% |
| 28 | Taiwan | 5,471,588 | -0.7% |
| 29 | Argentina | 5,350,999 | -0.5% |
| 30 | United Kingdom | 5,323,000 | +5.3% |
| 31 | Laos | 4,300,000 | 0% |
| 32 | Romania | 3,619,600 | -4.4% |
| 33 | Peru | 3,342,910 | +2.4% |
| 34 | Bolivia | 3,189,090 | -0.6% |
| 35 | Guatemala Estimated | 2,989,920 | +3.2% |
| 36 | Angola Estimated | 2,948,063 | +1.4% |
| 37 | Chile | 2,881,192 | +6.2% |
| 38 | Serbia | 2,868,121 | -3.9% |
| 39 | Austria | 2,785,590 | -0.7% |
| 40 | Hungary | 2,725,900 | -4.4% |
| 41 | Venezuela | 2,592,996 | -16.1% |
| 42 | Australia | 2,577,597 | +14.2% |
| 43 | Belarus | 2,526,300 | -11.2% |
| 44 | North Korea Estimated | 2,257,390 | -2.1% |
| 45 | Portugal | 2,221,020 | -1.4% |
| 46 | Cameroon Estimated | 2,168,648 | -0.9% |
| 47 | Madagascar | 2,119,795 | +9.9% |
| 48 | Cambodia Estimated | 2,068,735 | -5.4% |
| 49 | Papua New Guinea Estimated | 2,051,253 | -0.6% |
| 50 | Mozambique | 1,827,681 | +11.8% |
| 51 | Ireland | 1,713,590 | +2.1% |
| 52 | Malaysia | 1,672,995 | -10.5% |
| 53 | Paraguay Estimated | 1,600,294 | +9.5% |
| 54 | Nepal | 1,588,838 | +4.6% |
| 55 | Czechia | 1,493,440 | -3.4% |
| 56 | Burkina Faso | 1,419,732 | -15.2% |
| 57 | Sweden | 1,372,500 | -1.2% |
| 58 | Switzerland | 1,366,359 | +1.3% |
| 59 | Burundi | 1,347,582 | +55.5% |
| 60 | South Africa | 1,344,307 | -0.9% |
| 61 | Zambia Estimated | 1,226,346 | +5.1% |
| 62 | Togo | 1,129,337 | +2% |
| 63 | Central African Republic Estimated | 1,119,440 | +1.9% |
| 64 | Finland | 1,093,700 | -0.9% |
| 65 | Cuba | 1,075,500 | -4% |
| 66 | Rwanda Estimated | 1,061,758 | -14.8% |
| 67 | Ecuador | 1,053,923 | -0.6% |
| 68 | Haiti Estimated | 1,026,001 | 0% |
| 69 | Democratic Republic of the Congo | 1,003,343 | +0.4% |
| 70 | Croatia | 972,000 | -5.9% |
| 71 | Benin | 826,830 | +10.1% |
| 72 | Ghana | 785,000 | -17% |
| 73 | Norway | 772,688 | +0.6% |
| 74 | Greece | 758,900 | +2.1% |
| 75 | Bulgaria | 694,660 | +17.3% |
| 76 | Kenya | 674,746 | +3.9% |
| 77 | Nicaragua Estimated | 654,239 | +4.4% |
| 78 | Lithuania | 573,800 | -1.1% |
| 79 | Bosnia and Herzegovina | 555,792 | +1.6% |
| 80 | Kazakhstan Estimated | 550,000 | -3.5% |
| 81 | Tanzania Estimated | 532,535 | +0.9% |
| 82 | Dominican Republic Estimated | 486,278 | +3.6% |
| 83 | Costa Rica | 476,000 | +17.4% |
| 84 | Senegal | 469,828 | +2.7% |
| 85 | Honduras Estimated | 458,060 | -0.1% |
| 86 | Slovakia | 453,080 | -15.8% |
| 87 | Côte d’Ivoire | 447,429 | +1.8% |
| 88 | Guinea-Bissau Estimated | 440,507 | -1.2% |
| 89 | Panama | 403,700 | +10.4% |
| 90 | Cyprus | 360,590 | +0.4% |
| 91 | Moldova | 347,888 | +2.5% |
| 92 | Latvia | 327,020 | +6.6% |
| 93 | Estonia | 308,000 | -2.7% |
| 94 | Liberia Estimated | 279,207 | -2.1% |
| 95 | Zimbabwe | 278,106 | +3.2% |
| 96 | New Zealand | 248,717 | +6% |
| 97 | Sierra Leone Estimated | 248,700 | +17.1% |
| 98 | Timor-Leste | 246,629 | -34.2% |
| 99 | El Salvador Estimated | 241,969 | -3.2% |
| 100 | Gabon Estimated | 225,886 | +0.6% |
| 101 | Jamaica Estimated | 218,268 | +0.6% |
| 102 | Slovenia | 215,710 | -6% |
| 103 | Armenia | 200,221 | -10.3% |
| 104 | North Macedonia | 186,146 | +13.5% |
| 105 | Uruguay | 169,000 | +4.3% |
| 106 | Georgia | 165,700 | +6.6% |
| 107 | Israel | 163,610 | -11% |
| 108 | Guinea | 161,834 | +4.9% |
| 109 | Albania | 159,237 | +0.5% |
| 110 | Chad Estimated | 114,652 | +2.3% |
| 111 | Hong Kong | 110,150 | -7.6% |
| 112 | Samoa Estimated | 104,261 | -10% |
| 113 | Republic of the Congo Estimated | 102,507 | +0.9% |
| 114 | Sri Lanka | 99,010 | +6.9% |
| 115 | Namibia | 97,962 | -19.7% |
| 116 | Mali | 88,262 | +1.2% |
| 117 | Tonga Estimated | 84,524 | +0.4% |
| 118 | Vanuatu Estimated | 80,598 | -1.4% |
| 119 | Luxembourg | 78,330 | -4.6% |
| 120 | Fiji Estimated | 73,349 | -1.7% |
| 121 | Cape Verde | 70,908 | +1% |
| 122 | Eswatini | 62,360 | +16.5% |
| 123 | Solomon Islands Estimated | 55,403 | +0.3% |
| 124 | Uzbekistan | 49,460 | -5.7% |
| 125 | Puerto Rico Estimated | 44,550 | +1.1% |
| 126 | Niger Estimated | 42,784 | +0.3% |
| 127 | Malta | 40,050 | -0.1% |
| 128 | São Tomé and Príncipe Estimated | 39,251 | +1.4% |
| 129 | Micronesia Estimated | 38,643 | +2.2% |
| 130 | New Caledonia Estimated | 36,947 | +0.2% |
| 131 | Ethiopia Estimated | 35,618 | -1.1% |
| 132 | Suriname | 34,982 | +2.2% |
| 133 | Mongolia | 30,577 | +24.6% |
| 134 | Kyrgyzstan | 29,508 | +0.1% |
| 135 | Trinidad and Tobago | 29,065 | -15.1% |
| 136 | French Polynesia Estimated | 28,998 | +0.7% |
| 137 | Lesotho | 28,018 | -23% |
| 138 | Iceland | 26,000 | -3.7% |
| 139 | Cook Islands Estimated | 25,000 | -6.9% |
| 140 | Montenegro | 24,327 | -5.7% |
| 141 | Barbados Estimated | 23,444 | +2.4% |
| 142 | Bhutan | 22,954 | +30.6% |
| 143 | Mauritius | 22,422 | +8.1% |
| 144 | Egypt Estimated | 20,000 | -9.1% |
| 145 | Belize Estimated | 15,888 | -21.3% |
| 146 | Kiribati Estimated | 15,423 | +1.7% |
| 147 | Gambia | 15,024 | +0.3% |
| 148 | Tuvalu Estimated | 14,633 | +0.5% |
| 149 | Guyana Estimated | 9,584 | +1.1% |
| 150 | Saint Lucia | 9,282 | -29.8% |
| 151 | Seychelles Estimated | 7,800 | +23.8% |
| 152 | Morocco Estimated | 7,790 | +0.1% |
| 153 | Turkmenistan | 7,743 | +5.3% |
| 154 | Equatorial Guinea Estimated | 7,454 | +1.2% |
| 155 | Lebanon Estimated | 7,296 | -0.8% |
| 156 | Saint Vincent and the Grenadines Estimated | 6,367 | +2.1% |
| 157 | Azerbaijan | 5,954 | +1.3% |
| 158 | Botswana Estimated | 5,750 | +35.6% |
| 159 | Tunisia Estimated | 5,479 | +0.2% |
| 160 | Dominica Estimated | 5,058 | +0.1% |
| 161 | Antigua and Barbuda Estimated | 5,015 | +0.3% |
| 162 | Bahamas Estimated | 5,009 | +0.1% |
| 163 | Grenada Estimated | 5,000 | +6.2% |
| 164 | Algeria Estimated | 4,892 | -0.8% |
| 165 | Somalia Estimated | 3,744 | 0% |
| 166 | Saint Kitts and Nevis Estimated | 3,500 | +34.6% |
| 167 | Nauru Estimated | 3,033 | +0.9% |
| 168 | Niue Estimated | 2,322 | +1% |
| 169 | Türkiye | 1,353 | +36.7% |
| 170 | Brunei Estimated | 1,082 | -13.8% |
| 171 | Tajikistan | 600 | -33.3% |
| 172 | Syria Estimated | 10 | -9.1% |
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 2021 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, 2021) [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, 2021. 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=2021. 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, 2021. 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=2021.
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, 2021 [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=2021 (Accessed: 12 October 2026).
BibTeX
@misc{food_countries_by_number_of_2021,
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, 2021}},
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=2021. 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, 2021
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=2021
Y2 - 2026/10/12
N1 - Accessed via Invokely, https://invokely.ai/rankings/pig-population/countries?period=2021.
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 449,224,200 head in 2021, according to Food and Agriculture Organization of the United Nations.
Which country has the lowest number of pigs?
Syria, with 10 head in 2021.
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 2021 and are not ranked.