Countries by number of pigs
China had the highest number of pigs of 172 countries in 2017, at 441,589,162 head. Syria had the lowest, at 13 head. The median was 438,004 head and the figure for the World was 978,654,429 head. Source: Food and Agriculture Organization of the United Nations.
Map of countries, 2017
- Under 1M
- 1M to 2M
- 2M to 5M
- 5M and over
- No data
Top 40 countries, 2017
Full ranking
| Rank | Countries | 2017 | Change on 2016 |
|---|---|---|---|
| 1 | China | 441,589,162 | -3.6% |
| 2 | United States | 73,144,900 | +2.5% |
| 3 | Brazil | 41,383,029 | +3.3% |
| 4 | Spain | 29,971,357 | +2.5% |
| 5 | Germany | 27,577,600 | +0.7% |
| 6 | Vietnam | 27,406,739 | -5.7% |
| 7 | Russia | 21,924,642 | +2.4% |
| 8 | Myanmar | 19,273,357 | +16.6% |
| 9 | Mexico | 17,210,269 | +3.1% |
| 10 | Canada | 13,935,000 | +2.2% |
| 11 | France | 12,930,857 | +2.4% |
| 12 | Philippines | 12,427,790 | -0.4% |
| 13 | Netherlands | 12,409,000 | -0.6% |
| 14 | Denmark | 12,307,667 | -0.6% |
| 15 | Poland | 11,352,719 | +4.5% |
| 16 | South Korea | 11,272,978 | +8.7% |
| 17 | India Estimated | 9,489,664 | -2% |
| 18 | Japan | 9,346,000 | +0.4% |
| 19 | Italy | 8,570,807 | +1.1% |
| 20 | Indonesia | 8,260,995 | +4.5% |
| 21 | Nigeria | 7,949,306 | +4% |
| 22 | Thailand Estimated | 7,740,088 | +0.8% |
| 23 | Ukraine | 6,669,100 | -5.8% |
| 24 | Belgium | 6,108,077 | -1.1% |
| 25 | Taiwan | 5,442,381 | -1% |
| 26 | Colombia | 5,327,460 | +4.6% |
| 27 | Argentina | 5,119,438 | 0% |
| 28 | United Kingdom | 4,969,000 | +2.1% |
| 29 | Romania | 4,707,700 | -4.4% |
| 30 | Uganda | 4,109,000 | +1.8% |
| 31 | Laos | 3,869,000 | +4.6% |
| 32 | Malawi | 3,785,291 | +14.6% |
| 33 | Venezuela | 3,247,850 | -8.4% |
| 34 | Peru | 3,187,254 | +2.7% |
| 35 | Belarus | 3,155,700 | +0.3% |
| 36 | Bolivia | 2,951,000 | +1.5% |
| 37 | Serbia | 2,910,525 | -3.7% |
| 38 | Hungary | 2,907,000 | -6.9% |
| 39 | Guatemala Estimated | 2,895,833 | +0.7% |
| 40 | Angola Estimated | 2,891,706 | +0.6% |
| 41 | Austria | 2,792,803 | -1.9% |
| 42 | North Korea | 2,601,000 | +0.7% |
| 43 | Chile | 2,505,503 | -4.2% |
| 44 | Burkina Faso | 2,489,317 | +2% |
| 45 | Australia | 2,485,699 | +8.3% |
| 46 | Cambodia Estimated | 2,173,258 | +0.1% |
| 47 | Portugal | 2,165,000 | +0.7% |
| 48 | Cameroon Estimated | 2,110,322 | +2.3% |
| 49 | Cuba | 2,069,400 | +7.2% |
| 50 | Papua New Guinea Estimated | 2,023,838 | +0.6% |
| 51 | Malaysia | 1,849,351 | +11.8% |
| 52 | Rwanda | 1,716,438 | +1.9% |
| 53 | Madagascar | 1,703,000 | +2% |
| 54 | Ireland | 1,556,852 | -2.3% |
| 55 | Czechia | 1,490,775 | -7.4% |
| 56 | South Africa | 1,480,839 | -2.1% |
| 57 | Switzerland | 1,444,591 | -0.6% |
| 58 | Sweden | 1,382,300 | -6% |
| 59 | Nepal | 1,328,036 | +2.8% |
| 60 | Paraguay Estimated | 1,314,797 | +1.1% |
| 61 | Mozambique | 1,158,476 | -31.5% |
| 62 | Finland | 1,135,598 | -8% |
| 63 | Croatia | 1,121,032 | -3.6% |
| 64 | Ecuador | 1,115,473 | -2.3% |
| 65 | Zambia | 1,082,765 | +3% |
| 66 | Central African Republic Estimated | 1,057,000 | +2% |
| 67 | Togo | 1,043,336 | +2% |
| 68 | Haiti Estimated | 1,014,291 | +0.4% |
| 69 | Democratic Republic of the Congo | 988,947 | -0.3% |
| 70 | Norway | 851,998 | -0.2% |
| 71 | Ghana | 816,000 | +5% |
| 72 | Kazakhstan | 815,121 | -2.3% |
| 73 | Greece | 716,856 | +2.7% |
| 74 | Lithuania | 663,915 | -3.5% |
| 75 | Nicaragua Estimated | 619,310 | +0.9% |
| 76 | Burundi | 618,176 | +10.2% |
| 77 | Bulgaria | 616,426 | +2.7% |
| 78 | Slovakia | 585,843 | -7.5% |
| 79 | Kenya | 554,301 | +9.9% |
| 80 | Bosnia and Herzegovina | 548,011 | +0.6% |
| 81 | Tanzania Estimated | 516,849 | +0.8% |
| 82 | Benin | 485,000 | +4.1% |
| 83 | Honduras Estimated | 464,092 | -1.5% |
| 84 | Dominican Republic Estimated | 462,689 | +0.6% |
| 85 | Guinea-Bissau Estimated | 453,121 | -0.7% |
| 86 | Moldova | 439,007 | -3.1% |
| 87 | Senegal | 437,000 | +3.3% |
| 88 | Costa Rica Estimated | 412,584 | -6.2% |
| 89 | Panama | 400,700 | +3% |
| 90 | Côte d’Ivoire Estimated | 398,876 | +3.5% |
| 91 | Timor-Leste Estimated | 391,871 | -6.9% |
| 92 | Cyprus | 350,147 | -0.7% |
| 93 | Latvia | 336,386 | +0.7% |
| 94 | Estonia | 289,100 | +8.7% |
| 95 | Liberia Estimated | 285,927 | -0.3% |
| 96 | New Zealand | 273,860 | +7.6% |
| 97 | Slovenia | 265,744 | -2.1% |
| 98 | El Salvador Estimated | 243,780 | +6.5% |
| 99 | Zimbabwe | 242,020 | -43.1% |
| 100 | Gabon Estimated | 222,474 | +0.4% |
| 101 | Sierra Leone | 217,497 | +133.6% |
| 102 | Jamaica Estimated | 213,881 | +0.5% |
| 103 | North Macedonia | 202,197 | -0.3% |
| 104 | Israel | 190,000 | 0% |
| 105 | Albania | 180,087 | -0.5% |
| 106 | Armenia | 175,549 | +0.4% |
| 107 | Uruguay | 175,000 | -6.4% |
| 108 | Samoa Estimated | 140,452 | -11.5% |
| 109 | Georgia | 136,200 | -15.7% |
| 110 | Guinea | 133,430 | +5% |
| 111 | Chad Estimated | 110,000 | -8.3% |
| 112 | Hong Kong | 104,248 | +18.5% |
| 113 | Republic of the Congo Estimated | 98,333 | +1.1% |
| 114 | Luxembourg | 96,761 | +4.8% |
| 115 | Sri Lanka | 95,120 | +16.8% |
| 116 | Vanuatu Estimated | 86,905 | -2.7% |
| 117 | Mali | 84,150 | +1.2% |
| 118 | Tonga Estimated | 83,753 | +0.2% |
| 119 | Fiji Estimated | 81,557 | -3.3% |
| 120 | Namibia Estimated | 81,439 | -2.5% |
| 121 | Uzbekistan | 75,255 | -12% |
| 122 | Cape Verde | 66,905 | -23.2% |
| 123 | Solomon Islands Estimated | 55,547 | -0.2% |
| 124 | Kyrgyzstan | 52,169 | +2.1% |
| 125 | Puerto Rico Estimated | 42,561 | -1.9% |
| 126 | Niger Estimated | 42,480 | 0% |
| 127 | São Tomé and Príncipe | 40,104 | +13.5% |
| 128 | Lesotho | 38,689 | -53.5% |
| 129 | Eswatini | 38,335 | -10.5% |
| 130 | Micronesia Estimated | 37,081 | +0.9% |
| 131 | New Caledonia Estimated | 37,069 | -1.6% |
| 132 | Suriname | 34,754 | -1.8% |
| 133 | Ethiopia Estimated | 34,625 | -2.1% |
| 134 | Malta | 34,011 | -16.2% |
| 135 | Mongolia | 31,870 | +1.2% |
| 136 | Cook Islands Estimated | 30,424 | -1.8% |
| 137 | French Polynesia Estimated | 29,456 | -0.7% |
| 138 | Trinidad and Tobago Estimated | 29,384 | +10.9% |
| 139 | Iceland | 28,700 | +0.7% |
| 140 | Montenegro | 25,043 | +0.2% |
| 141 | Barbados Estimated | 22,315 | -0.5% |
| 142 | Belize Estimated | 21,663 | -1.6% |
| 143 | Mauritius | 21,445 | -11.2% |
| 144 | Bhutan | 18,815 | +22.8% |
| 145 | Saint Lucia | 16,334 | +11% |
| 146 | Kiribati Estimated | 14,541 | +1.2% |
| 147 | Tuvalu Estimated | 14,342 | +0.3% |
| 148 | Gambia Estimated | 13,500 | +12.5% |
| 149 | Egypt Estimated | 12,000 | +18.9% |
| 150 | Guyana Estimated | 9,481 | -3% |
| 151 | Turkmenistan | 8,320 | -0.4% |
| 152 | Morocco Estimated | 7,909 | -0.5% |
| 153 | Lebanon Estimated | 7,702 | +1.8% |
| 154 | Equatorial Guinea Estimated | 7,083 | +1.2% |
| 155 | Saint Vincent and the Grenadines Estimated | 6,124 | -7.3% |
| 156 | Tunisia Estimated | 5,510 | -0.3% |
| 157 | Seychelles Estimated | 5,469 | -1.4% |
| 158 | Dominica Estimated | 5,022 | +0.2% |
| 159 | Bahamas Estimated | 5,004 | 0% |
| 160 | Antigua and Barbuda Estimated | 5,000 | +1.5% |
| 161 | Algeria Estimated | 4,968 | -0.2% |
| 162 | Azerbaijan | 4,856 | +10.2% |
| 163 | Grenada Estimated | 4,260 | +4.7% |
| 164 | Somalia Estimated | 3,746 | -0.2% |
| 165 | Nauru Estimated | 3,002 | 0% |
| 166 | Saint Kitts and Nevis Estimated | 2,900 | +11.5% |
| 167 | Niue Estimated | 2,241 | +1% |
| 168 | Botswana | 1,437 | -56.5% |
| 169 | Türkiye | 1,361 | +4.8% |
| 170 | Brunei Estimated | 1,300 | 0% |
| 171 | Tajikistan | 160 | -41% |
| 172 | Syria Estimated | 13 | +18.2% |
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 2017 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, 2017) [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, 2017. 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=2017. 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, 2017. 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=2017.
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, 2017 [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=2017 (Accessed: 12 October 2026).
BibTeX
@misc{food_countries_by_number_of_2017,
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, 2017}},
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=2017. 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, 2017
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=2017
Y2 - 2026/10/12
N1 - Accessed via Invokely, https://invokely.ai/rankings/pig-population/countries?period=2017.
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 441,589,162 head in 2017, according to Food and Agriculture Organization of the United Nations.
Which country has the lowest number of pigs?
Syria, with 13 head in 2017.
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 2017 and are not ranked.