Countries by number of pigs
China had the highest number of pigs of 172 countries in 2022, at 452,560,000 head. Syria had the lowest, at 10 head. The median was 446,771 head and the figure for the World was 984,854,015 head. Source: Food and Agriculture Organization of the United Nations.
Map of countries, 2022
- Under 1M
- 1M to 2M
- 2M to 6M
- 6M and over
- No data
Top 40 countries, 2022
Full ranking
| Rank | Countries | 2022 | Change on 2021 |
|---|---|---|---|
| 1 | China | 452,560,000 | +0.7% |
| 2 | United States | 74,955,500 | +0.5% |
| 3 | Brazil | 44,388,351 | +4.3% |
| 4 | Spain | 34,073,380 | -1.1% |
| 5 | Russia | 26,192,944 | +1.3% |
| 6 | Vietnam | 24,745,382 | +6.6% |
| 7 | Germany | 21,366,300 | -10.1% |
| 8 | Mexico | 19,225,998 | +1.6% |
| 9 | Canada | 14,155,000 | +0.2% |
| 10 | France | 12,182,590 | -5.9% |
| 11 | Denmark | 11,541,000 | -12.2% |
| 12 | South Korea | 11,123,872 | -0.8% |
| 13 | Netherlands | 10,706,000 | -1.5% |
| 14 | Colombia | 9,658,204 | 0% |
| 15 | Poland | 9,624,250 | -6% |
| 16 | Nigeria Estimated | 9,515,952 | +2.3% |
| 17 | Philippines | 9,426,092 | -5.2% |
| 18 | Malawi | 9,318,943 | -12.9% |
| 19 | Japan | 8,949,000 | -3.7% |
| 20 | Italy | 8,739,000 | +3.9% |
| 21 | India Estimated | 8,635,575 | -2% |
| 22 | Thailand Estimated | 7,852,721 | -0.3% |
| 23 | Myanmar | 7,803,000 | +6.4% |
| 24 | Uganda | 7,090,656 | +0.1% |
| 25 | Indonesia | 6,748,614 | -6% |
| 26 | Belgium | 5,751,180 | -4.8% |
| 27 | Ukraine | 5,608,800 | -4.6% |
| 28 | Argentina | 5,477,107 | +2.4% |
| 29 | Taiwan | 5,316,431 | -2.8% |
| 30 | United Kingdom | 5,220,443 | -1.9% |
| 31 | Laos | 4,408,000 | +2.5% |
| 32 | Peru | 3,455,032 | +3.4% |
| 33 | Romania | 3,328,700 | -8% |
| 34 | Bolivia | 3,176,164 | -0.4% |
| 35 | Angola Estimated | 3,013,084 | +2.2% |
| 36 | Guatemala Estimated | 3,002,627 | +0.4% |
| 37 | Chile | 2,767,236 | -4% |
| 38 | Serbia | 2,666,983 | -7% |
| 39 | Austria | 2,650,150 | -4.9% |
| 40 | Hungary | 2,558,100 | -6.2% |
| 41 | Australia Estimated | 2,552,808 | -1% |
| 42 | Belarus | 2,512,700 | -0.5% |
| 43 | North Korea Estimated | 2,425,398 | +7.4% |
| 44 | Mozambique | 2,319,450 | +26.9% |
| 45 | Cameroon Estimated | 2,248,930 | +3.7% |
| 46 | Madagascar | 2,226,780 | +5% |
| 47 | Portugal | 2,183,320 | -1.7% |
| 48 | Venezuela | 2,131,456 | -17.8% |
| 49 | Cambodia Estimated | 2,110,539 | +2% |
| 50 | Papua New Guinea Estimated | 2,048,983 | -0.1% |
| 51 | Paraguay | 1,801,460 | +12.6% |
| 52 | Ireland | 1,570,390 | -8.4% |
| 53 | Nepal | 1,504,624 | -5.3% |
| 54 | Malaysia | 1,502,947 | -10.2% |
| 55 | Cuba | 1,456,200 | +35.4% |
| 56 | Burkina Faso | 1,454,086 | +2.4% |
| 57 | Sweden | 1,416,270 | +3.2% |
| 58 | Burundi | 1,410,985 | +4.7% |
| 59 | Switzerland | 1,372,772 | +0.5% |
| 60 | Czechia | 1,328,820 | -11% |
| 61 | South Africa | 1,323,370 | -1.6% |
| 62 | Zambia | 1,160,842 | -5.3% |
| 63 | Togo | 1,151,925 | +2% |
| 64 | Central African Republic Estimated | 1,120,136 | +0.1% |
| 65 | Haiti Estimated | 1,022,680 | -0.3% |
| 66 | Democratic Republic of the Congo | 1,007,850 | +0.4% |
| 67 | Finland | 997,670 | -8.8% |
| 68 | Croatia | 945,000 | -2.8% |
| 69 | Ecuador | 943,249 | -10.5% |
| 70 | Benin | 910,477 | +10.1% |
| 71 | Ghana Estimated | 833,006 | +6.1% |
| 72 | Kenya | 792,906 | +17.5% |
| 73 | Rwanda | 786,191 | -26% |
| 74 | Norway | 773,800 | +0.1% |
| 75 | Greece | 741,600 | -2.3% |
| 76 | Nicaragua Estimated | 684,400 | +4.6% |
| 77 | Bulgaria | 601,700 | -13.4% |
| 78 | Costa Rica | 555,952 | +16.8% |
| 79 | Tanzania Estimated | 534,499 | +0.4% |
| 80 | Lithuania | 517,420 | -9.8% |
| 81 | Kazakhstan | 509,824 | -7.3% |
| 82 | Dominican Republic Estimated | 506,457 | +4.1% |
| 83 | Senegal | 486,278 | +3.5% |
| 84 | Bosnia and Herzegovina | 471,555 | -15.2% |
| 85 | Honduras Estimated | 457,160 | -0.2% |
| 86 | Côte d’Ivoire | 455,626 | +1.8% |
| 87 | Guinea-Bissau Estimated | 437,915 | -0.6% |
| 88 | Panama | 417,616 | +3.4% |
| 89 | Slovakia | 380,900 | -15.9% |
| 90 | Zimbabwe | 362,732 | +30.4% |
| 91 | Timor-Leste Estimated | 358,257 | +45.3% |
| 92 | Moldova | 340,079 | -2.2% |
| 93 | Cyprus | 330,870 | -8.2% |
| 94 | Latvia | 307,950 | -5.8% |
| 95 | Liberia Estimated | 276,843 | -0.8% |
| 96 | New Zealand | 275,291 | +10.7% |
| 97 | Estonia | 269,380 | -12.5% |
| 98 | Sierra Leone Estimated | 266,702 | +7.2% |
| 99 | Gabon Estimated | 224,692 | -0.5% |
| 100 | Jamaica Estimated | 218,654 | +0.2% |
| 101 | Slovenia | 202,150 | -6.3% |
| 102 | North Macedonia | 182,604 | -1.9% |
| 103 | Guinea | 169,834 | +4.9% |
| 104 | Armenia | 166,095 | -17% |
| 105 | El Salvador Estimated | 161,090 | -33.4% |
| 106 | Uruguay | 161,000 | -4.7% |
| 107 | Georgia | 152,900 | -7.7% |
| 108 | Israel | 139,543 | -14.7% |
| 109 | Albania | 137,304 | -13.8% |
| 110 | Hong Kong | 120,698 | +9.6% |
| 111 | Chad Estimated | 113,878 | -0.7% |
| 112 | Republic of the Congo Estimated | 103,471 | +0.9% |
| 113 | Sri Lanka | 100,250 | +1.3% |
| 114 | Namibia | 95,920 | -2.1% |
| 115 | Samoa Estimated | 95,651 | -8.3% |
| 116 | Mali | 89,322 | +1.2% |
| 117 | Tonga Estimated | 84,982 | +0.5% |
| 118 | Vanuatu | 79,472 | -1.4% |
| 119 | Cape Verde | 71,617 | +1% |
| 120 | Fiji Estimated | 69,879 | -4.7% |
| 121 | Luxembourg | 66,410 | -15.2% |
| 122 | Solomon Islands Estimated | 55,437 | +0.1% |
| 123 | Eswatini | 55,244 | -11.4% |
| 124 | Uzbekistan | 45,166 | -8.7% |
| 125 | Niger Estimated | 42,817 | +0.1% |
| 126 | Lesotho | 42,735 | +52.5% |
| 127 | São Tomé and Príncipe Estimated | 39,826 | +1.5% |
| 128 | Micronesia Estimated | 39,100 | +1.2% |
| 129 | New Caledonia Estimated | 36,821 | -0.3% |
| 130 | Ethiopia Estimated | 36,174 | +1.6% |
| 131 | Puerto Rico | 36,069 | -19% |
| 132 | Mongolia | 34,798 | +13.8% |
| 133 | Suriname | 33,878 | -3.2% |
| 134 | Bhutan | 33,082 | +44.1% |
| 135 | Trinidad and Tobago | 31,239 | +7.5% |
| 136 | Malta | 29,550 | -26.2% |
| 137 | French Polynesia Estimated | 29,213 | +0.7% |
| 138 | Iceland | 26,000 | 0% |
| 139 | Kyrgyzstan | 25,640 | -13.1% |
| 140 | Montenegro | 24,514 | +0.8% |
| 141 | Barbados Estimated | 24,000 | +2.4% |
| 141 | Cook Islands Estimated | 24,000 | -4% |
| 143 | Mauritius | 21,484 | -4.2% |
| 144 | Egypt Estimated | 21,000 | +5% |
| 145 | Kiribati Estimated | 15,172 | -1.6% |
| 146 | Gambia | 15,063 | +0.3% |
| 147 | Tuvalu Estimated | 14,667 | +0.2% |
| 148 | Belize Estimated | 14,541 | -8.5% |
| 149 | Saint Lucia Estimated | 10,000 | +7.7% |
| 150 | Guyana Estimated | 9,660 | +0.8% |
| 151 | Seychelles Estimated | 7,800 | 0% |
| 152 | Morocco Estimated | 7,799 | +0.1% |
| 153 | Turkmenistan | 7,753 | +0.1% |
| 154 | Lebanon Estimated | 7,464 | +2.3% |
| 155 | Equatorial Guinea Estimated | 7,361 | -1.2% |
| 156 | Botswana Estimated | 6,999 | +21.7% |
| 157 | Saint Vincent and the Grenadines Estimated | 6,760 | +6.2% |
| 158 | Tunisia Estimated | 5,474 | -0.1% |
| 159 | Azerbaijan | 5,130 | -13.8% |
| 160 | Dominica Estimated | 5,051 | -0.1% |
| 161 | Bahamas Estimated | 5,021 | +0.2% |
| 162 | Grenada Estimated | 5,000 | 0% |
| 163 | Antigua and Barbuda Estimated | 4,964 | -1% |
| 164 | Algeria Estimated | 4,860 | -0.7% |
| 165 | Somalia Estimated | 3,782 | +1% |
| 166 | Saint Kitts and Nevis Estimated | 3,300 | -5.7% |
| 167 | Nauru Estimated | 3,027 | -0.2% |
| 168 | Niue Estimated | 2,328 | +0.3% |
| 169 | Türkiye | 1,648 | +21.8% |
| 170 | Brunei Estimated | 900 | -16.8% |
| 171 | Tajikistan | 300 | -50% |
| 172 | Syria Estimated | 10 | 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 2022 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, 2022) [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, 2022. 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=2022. 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, 2022. 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=2022.
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, 2022 [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=2022 (Accessed: 12 October 2026).
BibTeX
@misc{food_countries_by_number_of_2022,
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, 2022}},
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=2022. 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, 2022
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=2022
Y2 - 2026/10/12
N1 - Accessed via Invokely, https://invokely.ai/rankings/pig-population/countries?period=2022.
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 452,560,000 head in 2022, according to Food and Agriculture Organization of the United Nations.
Which country has the lowest number of pigs?
Syria, with 10 head in 2022.
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 2022 and are not ranked.