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.

Keep it in a collection in your library.
Highest441,589,162China
Lowest13Syria
Median438,004172 countries
World978,654,429History

Map of countries, 2017

Antigua and Barbuda: 5,000 headAlbania: 180,087 headArmenia: 175,549 headAngola: 2,891,706 headArgentina: 5,119,438 headAustria: 2,792,803 headAustralia: 2,485,699 headAzerbaijan: 4,856 headBosnia and Herzegovina: 548,011 headBelgium: 6,108,077 headBurkina Faso: 2,489,317 headBulgaria: 616,426 headBurundi: 618,176 headBenin: 485,000 headBrunei: 1,300 headBolivia: 2,951,000 headBrazil: 41,383,029 headBahamas: 5,004 headBhutan: 18,815 headBotswana: 1,437 headBelarus: 3,155,700 headBelize: 21,663 headCanada: 13,935,000 headDemocratic Republic of the Congo: 988,947 headCentral African Republic: 1,057,000 headRepublic of the Congo: 98,333 headSwitzerland: 1,444,591 headCôte d’Ivoire: 398,876 headChile: 2,505,503 headCameroon: 2,110,322 headChina: 441,589,162 headColombia: 5,327,460 headCosta Rica: 412,584 headCuba: 2,069,400 headCape Verde: 66,905 headCyprus: 350,147 headCzechia: 1,490,775 headGermany: 27,577,600 headDenmark: 12,307,667 headDominican Republic: 462,689 headAlgeria: 4,968 headEcuador: 1,115,473 headEstonia: 289,100 headEgypt: 12,000 headSpain: 29,971,357 headEthiopia: 34,625 headFinland: 1,135,598 headFiji: 81,557 headFrance: 12,930,857 headGabon: 222,474 headUnited Kingdom: 4,969,000 headGeorgia: 136,200 headGhana: 816,000 headGambia: 13,500 headGuinea: 133,430 headEquatorial Guinea: 7,083 headGreece: 716,856 headGuatemala: 2,895,833 headGuinea-Bissau: 453,121 headGuyana: 9,481 headHong Kong: 104,248 headHonduras: 464,092 headCroatia: 1,121,032 headHaiti: 1,014,291 headHungary: 2,907,000 headIndonesia: 8,260,995 headIreland: 1,556,852 headIsrael: 190,000 headIndia: 9,489,664 headIceland: 28,700 headItaly: 8,570,807 headJamaica: 213,881 headJapan: 9,346,000 headKenya: 554,301 headKyrgyzstan: 52,169 headCambodia: 2,173,258 headKiribati: 14,541 headNorth Korea: 2,601,000 headSouth Korea: 11,272,978 headKazakhstan: 815,121 headLaos: 3,869,000 headLebanon: 7,702 headSri Lanka: 95,120 headLiberia: 285,927 headLesotho: 38,689 headLithuania: 663,915 headLuxembourg: 96,761 headLatvia: 336,386 headMorocco: 7,909 headMoldova: 439,007 headMontenegro: 25,043 headMadagascar: 1,703,000 headNorth Macedonia: 202,197 headMali: 84,150 headMyanmar: 19,273,357 headMongolia: 31,870 headMauritius: 21,445 headMalawi: 3,785,291 headMexico: 17,210,269 headMalaysia: 1,849,351 headMozambique: 1,158,476 headNamibia: 81,439 headNew Caledonia: 37,069 headNiger: 42,480 headNigeria: 7,949,306 headNicaragua: 619,310 headNetherlands: 12,409,000 headNorway: 851,998 headNepal: 1,328,036 headNew Zealand: 273,860 headPanama: 400,700 headPeru: 3,187,254 headFrench Polynesia: 29,456 headPapua New Guinea: 2,023,838 headPhilippines: 12,427,790 headPoland: 11,352,719 headPuerto Rico: 42,561 headPortugal: 2,165,000 headParaguay: 1,314,797 headRomania: 4,707,700 headSerbia: 2,910,525 headRussia: 21,924,642 headRwanda: 1,716,438 headSolomon Islands: 55,547 headSweden: 1,382,300 headSlovenia: 265,744 headSlovakia: 585,843 headSierra Leone: 217,497 headSenegal: 437,000 headSomalia: 3,746 headSuriname: 34,754 headEl Salvador: 243,780 headSyria: 13 headEswatini: 38,335 headChad: 110,000 headTogo: 1,043,336 headThailand: 7,740,088 headTajikistan: 160 headTimor-Leste: 391,871 headTurkmenistan: 8,320 headTunisia: 5,510 headTürkiye: 1,361 headTrinidad and Tobago: 29,384 headTaiwan: 5,442,381 headTanzania: 516,849 headUkraine: 6,669,100 headUganda: 4,109,000 headUnited States: 73,144,900 headUruguay: 175,000 headUzbekistan: 75,255 headVenezuela: 3,247,850 headVietnam: 27,406,739 headVanuatu: 86,905 headSamoa: 140,452 headSouth Africa: 1,480,839 headZambia: 1,082,765 headZimbabwe: 242,020 head
  • Under 1M
  • 1M to 2M
  • 2M to 5M
  • 5M and over
  • No data
head, 2017. Hatched areas have no value for this period. Source: FAOSTAT, Production: Crops and livestock products (QCL): Swine / pigs, stocks, head (item 1034, element 5111). Boundaries: Natural Earth (public domain).

Top 40 countries, 2017

China: 441,589,162 headChina441,589,162United States: 73,144,900 headUnited States73,144,900Brazil: 41,383,029 headBrazil41,383,029Spain: 29,971,357 headSpain29,971,357Germany: 27,577,600 headGermany27,577,600Vietnam: 27,406,739 headVietnam27,406,739Russia: 21,924,642 headRussia21,924,642Myanmar: 19,273,357 headMyanmar19,273,357Mexico: 17,210,269 headMexico17,210,269Canada: 13,935,000 headCanada13,935,000France: 12,930,857 headFrance12,930,857Philippines: 12,427,790 headPhilippines12,427,790Netherlands: 12,409,000 headNetherlands12,409,000Denmark: 12,307,667 headDenmark12,307,667Poland: 11,352,719 headPoland11,352,719South Korea: 11,272,978 headSouth Korea11,272,978India: 9,489,664 headIndia9,489,664Japan: 9,346,000 headJapan9,346,000Italy: 8,570,807 headItaly8,570,807Indonesia: 8,260,995 headIndonesia8,260,995Nigeria: 7,949,306 headNigeria7,949,306Thailand: 7,740,088 headThailand7,740,088Ukraine: 6,669,100 headUkraine6,669,100Belgium: 6,108,077 headBelgium6,108,077Taiwan: 5,442,381 headTaiwan5,442,381Colombia: 5,327,460 headColombia5,327,460Argentina: 5,119,438 headArgentina5,119,438United Kingdom: 4,969,000 headUnited Kingdom4,969,000Romania: 4,707,700 headRomania4,707,700Uganda: 4,109,000 headUganda4,109,000Laos: 3,869,000 headLaos3,869,000Malawi: 3,785,291 headMalawi3,785,291Venezuela: 3,247,850 headVenezuela3,247,850Peru: 3,187,254 headPeru3,187,254Belarus: 3,155,700 headBelarus3,155,700Bolivia: 2,951,000 headBolivia2,951,000Serbia: 2,910,525 headSerbia2,910,525Hungary: 2,907,000 headHungary2,907,000Guatemala: 2,895,833 headGuatemala2,895,833Angola: 2,891,706 headAngola2,891,706China: 441,589,162 headChina441,589,162United States: 73,144,900 headUnited States73,144,900Brazil: 41,383,029 headBrazil41,383,029Spain: 29,971,357 headSpain29,971,357Germany: 27,577,600 headGermany27,577,600Vietnam: 27,406,739 headVietnam27,406,739Russia: 21,924,642 headRussia21,924,642Myanmar: 19,273,357 headMyanmar19,273,357Mexico: 17,210,269 headMexico17,210,269Canada: 13,935,000 headCanada13,935,000France: 12,930,857 headFrance12,930,857Philippines: 12,427,790 headPhilippines12,427,790Netherlands: 12,409,000 headNetherlands12,409,000Denmark: 12,307,667 headDenmark12,307,667Poland: 11,352,719 headPoland11,352,719South Korea: 11,272,978 headSouth Korea11,272,978India: 9,489,664 headIndia9,489,664Japan: 9,346,000 headJapan9,346,000Italy: 8,570,807 headItaly8,570,807Indonesia: 8,260,995 headIndonesia8,260,995Nigeria: 7,949,306 headNigeria7,949,306Thailand: 7,740,088 headThailand7,740,088Ukraine: 6,669,100 headUkraine6,669,100Belgium: 6,108,077 headBelgium6,108,077Taiwan: 5,442,381 headTaiwan5,442,381Colombia: 5,327,460 headColombia5,327,460Argentina: 5,119,438 headArgentina5,119,438United Kingdom: 4,969,000 headUnited Kingdom4,969,000Romania: 4,707,700 headRomania4,707,700Uganda: 4,109,000 headUganda4,109,000Laos: 3,869,000 headLaos3,869,000Malawi: 3,785,291 headMalawi3,785,291Venezuela: 3,247,850 headVenezuela3,247,850Peru: 3,187,254 headPeru3,187,254Belarus: 3,155,700 headBelarus3,155,700Bolivia: 2,951,000 headBolivia2,951,000Serbia: 2,910,525 headSerbia2,910,525Hungary: 2,907,000 headHungary2,907,000Guatemala: 2,895,833 headGuatemala2,895,833Angola: 2,891,706 headAngola2,891,706
head. Source: FAOSTAT, Production: Crops and livestock products (QCL): Swine / pigs, stocks, head (item 1034, element 5111). Retrieved 2026-10-12.

Full ranking

RankCountries2017
head
Change on 2016
1China441,589,162-3.6%
2United States73,144,900+2.5%
3Brazil41,383,029+3.3%
4Spain29,971,357+2.5%
5Germany27,577,600+0.7%
6Vietnam27,406,739-5.7%
7Russia21,924,642+2.4%
8Myanmar19,273,357+16.6%
9Mexico17,210,269+3.1%
10Canada13,935,000+2.2%
11France12,930,857+2.4%
12Philippines12,427,790-0.4%
13Netherlands12,409,000-0.6%
14Denmark12,307,667-0.6%
15Poland11,352,719+4.5%
16South Korea11,272,978+8.7%
17India Estimated9,489,664-2%
18Japan9,346,000+0.4%
19Italy8,570,807+1.1%
20Indonesia8,260,995+4.5%
21Nigeria7,949,306+4%
22Thailand Estimated7,740,088+0.8%
23Ukraine6,669,100-5.8%
24Belgium6,108,077-1.1%
25Taiwan5,442,381-1%
26Colombia5,327,460+4.6%
27Argentina5,119,4380%
28United Kingdom4,969,000+2.1%
29Romania4,707,700-4.4%
30Uganda4,109,000+1.8%
31Laos3,869,000+4.6%
32Malawi3,785,291+14.6%
33Venezuela3,247,850-8.4%
34Peru3,187,254+2.7%
35Belarus3,155,700+0.3%
36Bolivia2,951,000+1.5%
37Serbia2,910,525-3.7%
38Hungary2,907,000-6.9%
39Guatemala Estimated2,895,833+0.7%
40Angola Estimated2,891,706+0.6%
41Austria2,792,803-1.9%
42North Korea2,601,000+0.7%
43Chile2,505,503-4.2%
44Burkina Faso2,489,317+2%
45Australia2,485,699+8.3%
46Cambodia Estimated2,173,258+0.1%
47Portugal2,165,000+0.7%
48Cameroon Estimated2,110,322+2.3%
49Cuba2,069,400+7.2%
50Papua New Guinea Estimated2,023,838+0.6%
51Malaysia1,849,351+11.8%
52Rwanda1,716,438+1.9%
53Madagascar1,703,000+2%
54Ireland1,556,852-2.3%
55Czechia1,490,775-7.4%
56South Africa1,480,839-2.1%
57Switzerland1,444,591-0.6%
58Sweden1,382,300-6%
59Nepal1,328,036+2.8%
60Paraguay Estimated1,314,797+1.1%
61Mozambique1,158,476-31.5%
62Finland1,135,598-8%
63Croatia1,121,032-3.6%
64Ecuador1,115,473-2.3%
65Zambia1,082,765+3%
66Central African Republic Estimated1,057,000+2%
67Togo1,043,336+2%
68Haiti Estimated1,014,291+0.4%
69Democratic Republic of the Congo988,947-0.3%
70Norway851,998-0.2%
71Ghana816,000+5%
72Kazakhstan815,121-2.3%
73Greece716,856+2.7%
74Lithuania663,915-3.5%
75Nicaragua Estimated619,310+0.9%
76Burundi618,176+10.2%
77Bulgaria616,426+2.7%
78Slovakia585,843-7.5%
79Kenya554,301+9.9%
80Bosnia and Herzegovina548,011+0.6%
81Tanzania Estimated516,849+0.8%
82Benin485,000+4.1%
83Honduras Estimated464,092-1.5%
84Dominican Republic Estimated462,689+0.6%
85Guinea-Bissau Estimated453,121-0.7%
86Moldova439,007-3.1%
87Senegal437,000+3.3%
88Costa Rica Estimated412,584-6.2%
89Panama400,700+3%
90Côte d’Ivoire Estimated398,876+3.5%
91Timor-Leste Estimated391,871-6.9%
92Cyprus350,147-0.7%
93Latvia336,386+0.7%
94Estonia289,100+8.7%
95Liberia Estimated285,927-0.3%
96New Zealand273,860+7.6%
97Slovenia265,744-2.1%
98El Salvador Estimated243,780+6.5%
99Zimbabwe242,020-43.1%
100Gabon Estimated222,474+0.4%
101Sierra Leone217,497+133.6%
102Jamaica Estimated213,881+0.5%
103North Macedonia202,197-0.3%
104Israel190,0000%
105Albania180,087-0.5%
106Armenia175,549+0.4%
107Uruguay175,000-6.4%
108Samoa Estimated140,452-11.5%
109Georgia136,200-15.7%
110Guinea133,430+5%
111Chad Estimated110,000-8.3%
112Hong Kong104,248+18.5%
113Republic of the Congo Estimated98,333+1.1%
114Luxembourg96,761+4.8%
115Sri Lanka95,120+16.8%
116Vanuatu Estimated86,905-2.7%
117Mali84,150+1.2%
118Tonga Estimated83,753+0.2%
119Fiji Estimated81,557-3.3%
120Namibia Estimated81,439-2.5%
121Uzbekistan75,255-12%
122Cape Verde66,905-23.2%
123Solomon Islands Estimated55,547-0.2%
124Kyrgyzstan52,169+2.1%
125Puerto Rico Estimated42,561-1.9%
126Niger Estimated42,4800%
127São Tomé and Príncipe40,104+13.5%
128Lesotho38,689-53.5%
129Eswatini38,335-10.5%
130Micronesia Estimated37,081+0.9%
131New Caledonia Estimated37,069-1.6%
132Suriname34,754-1.8%
133Ethiopia Estimated34,625-2.1%
134Malta34,011-16.2%
135Mongolia31,870+1.2%
136Cook Islands Estimated30,424-1.8%
137French Polynesia Estimated29,456-0.7%
138Trinidad and Tobago Estimated29,384+10.9%
139Iceland28,700+0.7%
140Montenegro25,043+0.2%
141Barbados Estimated22,315-0.5%
142Belize Estimated21,663-1.6%
143Mauritius21,445-11.2%
144Bhutan18,815+22.8%
145Saint Lucia16,334+11%
146Kiribati Estimated14,541+1.2%
147Tuvalu Estimated14,342+0.3%
148Gambia Estimated13,500+12.5%
149Egypt Estimated12,000+18.9%
150Guyana Estimated9,481-3%
151Turkmenistan8,320-0.4%
152Morocco Estimated7,909-0.5%
153Lebanon Estimated7,702+1.8%
154Equatorial Guinea Estimated7,083+1.2%
155Saint Vincent and the Grenadines Estimated6,124-7.3%
156Tunisia Estimated5,510-0.3%
157Seychelles Estimated5,469-1.4%
158Dominica Estimated5,022+0.2%
159Bahamas Estimated5,0040%
160Antigua and Barbuda Estimated5,000+1.5%
161Algeria Estimated4,968-0.2%
162Azerbaijan4,856+10.2%
163Grenada Estimated4,260+4.7%
164Somalia Estimated3,746-0.2%
165Nauru Estimated3,0020%
166Saint Kitts and Nevis Estimated2,900+11.5%
167Niue Estimated2,241+1%
168Botswana1,437-56.5%
169Türkiye1,361+4.8%
170Brunei Estimated1,3000%
171Tajikistan160-41%
172Syria Estimated13+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

The publisher is the author. Invokely is named only as the place the figures were read, where a style asks for it.

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  - 
Embed this chart

Paste this code into a web page or a blog post. The chart shows the latest figures as they are published, with the source and a link back to this page.

Sites that read oEmbed links, such as WordPress, can show the chart when you paste the link to this page.

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

Connect Claude, ChatGPT or Cursor in one step. The trial answers 25 calls a day without an account.

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.

Number of pigs: other rankings

Countries: more rankings