Countries by net electricity generation

China had the highest net electricity generation of 210 countries in 2021, at 8,320.8 TWh. Western Sahara had the lowest, at 0 TWh. The median was 10.8 TWh. Source: the U.S. Energy Information Administration.

Highest8,320.8China
Median10.8210 countries

Top 40 countries, 2021

China: 8,320.8 TWhChina8,320.8United States: 4,158.9 TWhUnited States4,158.9India: 1,615.7 TWhIndia1,615.7Russia: 1,147.6 TWhRussia1,147.6Japan: 1,001.5 TWhJapan1,001.5Brazil: 654.7 TWhBrazil654.7Canada: 612.5 TWhCanada612.5South Korea: 594.2 TWhSouth Korea594.2Germany: 569 TWhGermany569France: 529 TWhFrance529Saudi Arabia: 408.6 TWhSaudi Arabia408.6Mexico: 375.3 TWhMexico375.3Iran: 354.9 TWhIran354.9Türkiye: 324.6 TWhTürkiye324.6Indonesia: 308.7 TWhIndonesia308.7United Kingdom: 299.3 TWhUnited Kingdom299.3Taiwan: 287 TWhTaiwan287Italy: 277.1 TWhItaly277.1Australia: 268.3 TWhAustralia268.3Spain: 262.7 TWhSpain262.7Vietnam: 253.4 TWhVietnam253.4South Africa: 239 TWhSouth Africa239Egypt: 207.6 TWhEgypt207.6Malaysia: 182.6 TWhMalaysia182.6Thailand: 180.1 TWhThailand180.1Poland: 170.1 TWhPoland170.1Sweden: 166.7 TWhSweden166.7Pakistan: 158.6 TWhPakistan158.6Ukraine: 157.7 TWhUkraine157.7Norway: 157.4 TWhNorway157.4Argentina: 151.5 TWhArgentina151.5United Arab Emirates: 149 TWhUnited Arab Emirates149Netherlands: 120.8 TWhNetherlands120.8Iraq: 120.5 TWhIraq120.5Kazakhstan: 115.1 TWhKazakhstan115.1Philippines: 105.7 TWhPhilippines105.7Belgium: 97.3 TWhBelgium97.3Bangladesh: 95.7 TWhBangladesh95.7Chile: 88.1 TWhChile88.1Algeria: 85.6 TWhAlgeria85.6
TWh. Source: EIA, International Energy Statistics: electricity net generation, billion kilowatt hours (series INTL.2-12-BKWH.A) via Data Commons. Retrieved 2026-10-11.

Full ranking

RankCountries2021
TWh
Change on 2020
1China8,320.8+7.7%
2United States4,158.9+2.7%
3India1,615.7+6.3%
4Russia1,147.6+6.4%
5Japan1,001.5+3%
6Brazil654.7+4.3%
7Canada612.5-3.4%
8South Korea594.2+4.2%
9Germany569+3.5%
10France529+4.4%
11Saudi Arabia408.6+3.6%
12Mexico375.3+18.4%
13Iran354.9+3.6%
14Türkiye324.6+7%
15Indonesia308.7+5.7%
16United Kingdom299.3-2%
17Taiwan287+4%
18Italy277.1+2.3%
19Australia268.3+1.6%
20Spain262.7+3.6%
21Vietnam253.4+5.5%
22South Africa239+1.3%
23Egypt207.6+2.4%
24Malaysia182.6+3.8%
25Thailand180.1+0.2%
26Poland170.1+8.8%
27Sweden166.7+3.5%
28Pakistan158.6+10.8%
29Ukraine157.7+6.7%
30Norway157.4+2.3%
31Argentina151.5+6.4%
32United Arab Emirates149+8.5%
33Netherlands120.8-1.1%
34Iraq120.5+2.8%
35Kazakhstan115.1+3.8%
36Philippines105.7+3.9%
37Belgium97.3+11.6%
38Bangladesh95.7+11.9%
39Chile88.1+5.4%
40Algeria85.6+7.9%
41Colombia84.4+8.5%
42Venezuela82.9+3%
43Kuwait80.8+8.3%
44Czechia78.1+1%
45Israel73.1+1.9%
46Uzbekistan71.4+7.4%
47Finland71+4.5%
48Austria67.1-1.2%
49Switzerland60.9-7.9%
50Peru57+7.5%
51Singapore56.4+5.6%
52Romania54.9+3%
53Greece52.9+16.8%
54Qatar51.8+4.8%
55Portugal48.8-4.5%
56Bulgaria45.9+17.1%
57Laos44.9+12.3%
58New Zealand43.5+0.4%
59Oman41.8+8.2%
60Belarus41.2+7%
61Morocco41.2+6.5%
62Paraguay40.8-12.4%
63Nigeria39.2+3.2%
64Serbia37.2+0.9%
65Hong Kong36.2+5.4%
66Libya34.8+17.9%
67Hungary34.3+3.6%
68Bahrain33.9+1.6%
69Denmark32.6+14.4%
70Ecuador32.1+2.7%
71Ireland30.6-1.8%
72Slovakia29.5+8.1%
73Turkmenistan28.4+10.2%
74Azerbaijan27.8+8%
75North Korea25.6+6.3%
76Ghana22.1+11.8%
77Tunisia21.9+2.4%
78Syria21.7+3.2%
79Dominican Republic21.4+10%
80Jordan21.4+3.2%
81Tajikistan20.7+3.1%
82Myanmar20+6.4%
83Iceland19.4+2.6%
84Puerto Rico19.4+1.5%
85Mozambique18.9-0.9%
86Bosnia and Herzegovina18.6+10%
87Cuba17.8-6.3%
88Zambia17.7+16.3%
89Sudan17.7+3%
90Sri Lanka17.5+5.2%
91Angola16.9+0.3%
92Uruguay16+17.9%
93Ethiopia15.8+1.1%
94Guatemala15.5+24.7%
95Slovenia15.2-7.8%
96Kyrgyzstan15.1-1.7%
97Croatia14.4+14.9%
98Democratic Republic of the Congo14.2+13.7%
99Costa Rica12.7+8.6%
100Georgia12.6+13.3%
101Kenya12.4+5.9%
102Panama12.1+10.7%
103Côte d’Ivoire11.3+0.8%
104Honduras11.1+9.6%
105Bolivia10.9+5.6%
106Bhutan10.8-4.8%
107Lebanon10.3-43.4%
108Cambodia10.1+12.5%
109Nepal9.6+55.7%
110Trinidad and Tobago9.3+0.4%
111Albania8.9+68.2%
112Tanzania8.7+10.4%
113Zimbabwe8.6+27.6%
114Cameroon8.4-4.5%
115Armenia7.7+1.3%
116Mongolia7.4+12.1%
117Estonia7.4+21%
118Senegal6.7+9.7%
119Moldova6.7+7.7%
120El Salvador6.5+2.2%
121Brunei5.7-0.7%
122Latvia5.6+1.9%
123North Macedonia5.4+2.8%
124Uganda5.3+14.4%
125Cyprus5.1+5.5%
126Papua New Guinea4.5+10.3%
127Jamaica4.4+1.8%
128Nicaragua4.2+11.1%
129Republic of the Congo4.1+2.5%
130Mali3.9+0.2%
131Montenegro3.8+11.7%
132Guinea3.6+46.6%
133Lithuania3.6-13.7%
134Mauritius3+3.8%
135Gabon3+1.3%
136Yemen2.9-0.5%
137New Caledonia2.9-10.1%
138Madagascar2.5+16.9%
139Botswana2.5+13.9%
140Malta2.2+3.4%
141Suriname2.1+1.9%
142Bahamas2+0.7%
143Malawi1.8+4.6%
144Guam1.7+1.9%
145Burkina Faso1.7+7.6%
146Mauritania1.6-3%
147Namibia1.5-24.7%
148Equatorial Guinea1.4+1.5%
149Guyana1.2+0.3%
150Benin1.1+14%
151Barbados1.1+0.3%
152Fiji1.1-1.9%
153Afghanistan1.1-10.1%
154Haiti1+0.4%
155Rwanda1+12.2%
156Aruba1+0.4%
157Palestine0.9+9%
158Luxembourg0.8+3.7%
159Maldives0.8+1.6%
160Niger0.7+7.3%
161Togo0.7+14%
162Cayman Islands0.7+1.9%
163French Polynesia0.7-1.3%
164U.S. Virgin Islands0.7+1.3%
165Seychelles0.6+1.2%
166Bermuda0.6+0.9%
167Lesotho0.5+24.6%
168Greenland0.5-0.8%
169Timor-Leste0.5+1.5%
170Eswatini0.5+3.3%
171Gambia0.5+3.5%
172Macao0.5-11.9%
173Cape Verde0.4+2.7%
174Faroe Islands0.4+6.4%
175Chad0.4+22.2%
176Eritrea0.4+2%
177Saint Lucia0.4+4.9%
178Liberia0.4-15.3%
179Burundi0.4+4.6%
180Somalia0.4+1.4%
181Belize0.4-18%
182Antigua and Barbuda0.4+2%
183Turks and Caicos Islands0.3+4.2%
184Grenada0.2+3.7%
185Gibraltar0.2+8.6%
186Saint Kitts and Nevis0.2-0.9%
187Djibouti0.2+56.7%
188Sierra Leone0.2+0.1%
189Samoa0.2-4.5%
190American Samoa0.2+0.6%
191British Virgin Islands0.2+4.3%
192Central African Republic0.2+0.1%
193Dominica0.1+1%
194Saint Vincent and the Grenadines0.1-5.3%
195Comoros0.1+1.5%
196Solomon Islands0.1-0.1%
197São Tomé and Príncipe0.1-0.7%
198Guinea-Bissau0.10%
199Vanuatu0.1-1.4%
200Tonga0.1-1.1%
201Saint Pierre and Miquelon0.1-1%
202Cook Islands0+7.1%
203Nauru0+4.4%
204Kiribati00%
205Falkland Islands0+7.2%
206Montserrat0+20.6%
207Saint Helena00%
208Niue00%
209Antarctica0n/a
209Western Sahara0n/a

Other periods

About this ranking

Electricity generated in the year minus the electricity used by the power plants themselves, in terawatt hours (billion kilowatt hours), from the U.S. Energy Information Administration: for countries, its International Energy Statistics; for U.S. states, its survey of utility-scale power plants of 1 megawatt or more (Form EIA-923).

Countries and U.S. states. Generation is not consumption: exporters such as France and Norway generate more than they use. State figures leave out small-scale solar such as rooftop panels, which the country figure for the United States includes, so the states add up to about 2% less than the national total.

Every value in the ranking comes from the same publisher and the same period, so the countries are compared on one definition. 4 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

Source: U.S. Energy Information Administration. International Energy Statistics: electricity net generation, billion kilowatt hours (series INTL.2-12-BKWH.A). Retrieved through Data Commons (datacommons.org). https://www.eia.gov/international/data/world. Retrieved 2026-10-11.

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 net electricity generation using official data, and cite the source.
rank_places {"indicator":"electricity_generation","level":"country","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=electricity_generation&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 net electricity generation?

China, with 8,320.8 TWh in 2021, according to the U.S. Energy Information Administration.

Which country has the lowest net electricity generation?

Western Sahara, with 0 TWh in 2021.

Where does this ranking come from?

Every value comes from one source and one period, so the places are comparable: U.S. Energy Information Administration, International Energy Statistics: electricity net generation, billion kilowatt hours (series INTL.2-12-BKWH.A). Retrieved 2026-10-11. 4 countries have no value for 2021 and are not ranked.

Net electricity generation: other rankings

Countries: more rankings