Countries by net electricity generation

China had the highest net electricity generation of 210 countries in 2020, at 7,725.9 TWh. Western Sahara had the lowest, at 0 TWh. The median was 10.6 TWh. Source: the U.S. Energy Information Administration.

Highest7,725.9China
Median10.6210 countries

Top 40 countries, 2020

China: 7,725.9 TWhChina7,725.9United States: 4,051.3 TWhUnited States4,051.3India: 1,520.3 TWhIndia1,520.3Russia: 1,078.8 TWhRussia1,078.8Japan: 971.9 TWhJapan971.9Canada: 634.1 TWhCanada634.1Brazil: 627.5 TWhBrazil627.5South Korea: 570.1 TWhSouth Korea570.1Germany: 549.8 TWhGermany549.8France: 506.7 TWhFrance506.7Saudi Arabia: 394.3 TWhSaudi Arabia394.3Iran: 342.7 TWhIran342.7Mexico: 317 TWhMexico317United Kingdom: 305.3 TWhUnited Kingdom305.3Türkiye: 303.4 TWhTürkiye303.4Indonesia: 292.1 TWhIndonesia292.1Taiwan: 276.1 TWhTaiwan276.1Italy: 271 TWhItaly271Australia: 264.1 TWhAustralia264.1Spain: 253.6 TWhSpain253.6Vietnam: 240.1 TWhVietnam240.1South Africa: 235.9 TWhSouth Africa235.9Egypt: 202.8 TWhEgypt202.8Thailand: 179.7 TWhThailand179.7Malaysia: 175.8 TWhMalaysia175.8Sweden: 161 TWhSweden161Poland: 156.4 TWhPoland156.4Norway: 153.8 TWhNorway153.8Ukraine: 147.8 TWhUkraine147.8Pakistan: 143.1 TWhPakistan143.1Argentina: 142.4 TWhArgentina142.4United Arab Emirates: 137.3 TWhUnited Arab Emirates137.3Netherlands: 122.1 TWhNetherlands122.1Iraq: 117.1 TWhIraq117.1Kazakhstan: 110.9 TWhKazakhstan110.9Philippines: 101.7 TWhPhilippines101.7Belgium: 87.2 TWhBelgium87.2Bangladesh: 85.5 TWhBangladesh85.5Chile: 83.6 TWhChile83.6Venezuela: 80.5 TWhVenezuela80.5
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

RankCountries2020
TWh
Change on 2019
1China7,725.9+3.8%
2United States4,051.3-2.7%
3India1,520.3-1%
4Russia1,078.8-1.6%
5Japan971.9-4%
6Canada634.1+0.9%
7Brazil627.5-0.6%
8South Korea570.1+0.5%
9Germany549.8-5.4%
10France506.7-6.9%
11Saudi Arabia394.3+1.7%
12Iran342.7+5.2%
13Mexico317-4.3%
14United Kingdom305.3-3.7%
15Türkiye303.4+1.1%
16Indonesia292.1+3.6%
17Taiwan276.1+2.2%
18Italy271-4.2%
19Australia264.1-1.9%
20Spain253.6-4.4%
21Vietnam240.1+1.3%
22South Africa235.9-4.5%
23Egypt202.8+3.7%
24Thailand179.7-6.3%
25Malaysia175.8-2%
26Sweden161-2.8%
27Poland156.4-3.7%
28Norway153.8+16.7%
29Ukraine147.8-0.6%
30Pakistan143.1+7.3%
31Argentina142.4+2.7%
32United Arab Emirates137.3-0.8%
33Netherlands122.1+1.9%
34Iraq117.1+1.7%
35Kazakhstan110.9+3.8%
36Philippines101.7-4%
37Belgium87.2-5.1%
38Bangladesh85.5+0.4%
39Chile83.6-0.5%
40Venezuela80.5-5.4%
41Algeria79.4-2.8%
42Colombia77.8-1.3%
43Czechia77.3-7.6%
44Kuwait74.6-0.5%
45Israel71.8-0.2%
46Finland68+0.9%
47Austria67.9-1%
48Uzbekistan66.5+4.7%
49Switzerland66.1+1.2%
50Singapore53.4-2%
51Romania53.3-6.4%
52Peru53-6.8%
53Portugal51.1+0.1%
54Qatar49.4-1.2%
55Paraguay46.6-6%
56Greece45.2-3.5%
57New Zealand43.3-0.9%
58Laos40+28%
59Bulgaria39.2-8.4%
60Morocco38.6-4%
61Oman38.6-0.7%
62Belarus38.5-4.7%
63Nigeria38+4.2%
64Serbia36.9+1.1%
65Hong Kong34.4-7%
66Bahrain33.4+0.8%
67Hungary33.1+2.1%
68Ecuador31.3-3.6%
69Ireland31.1+2.2%
70Libya29.5-14.8%
71Denmark28.5-2.7%
72Slovakia27.3+1.4%
73Turkmenistan25.8+14.5%
74Azerbaijan25.7-0.9%
75North Korea24.1+0.9%
76Tunisia21.4-2.9%
77Syria21-5.8%
78Jordan20.7+0.9%
79Tajikistan20.1-4.1%
80Ghana19.7+14.1%
81Dominican Republic19.5-8.4%
82Puerto Rico19.1-0.4%
83Cuba19-8%
84Mozambique19+0.2%
85Iceland18.9-2.4%
86Myanmar18.8-2.8%
87Lebanon18.3-15.5%
88Sudan17.2+6%
89Bosnia and Herzegovina16.9-3.2%
90Angola16.8+6.3%
91Sri Lanka16.7+0.3%
92Slovenia16.5+6.4%
93Ethiopia15.6+2%
94Kyrgyzstan15.4+3%
95Zambia15.2+3%
96Uruguay13.6-15.6%
97Croatia12.6+3.9%
98Democratic Republic of the Congo12.5+5.9%
99Guatemala12.4-2.2%
100Costa Rica11.7+2.8%
101Kenya11.7+1.1%
102Bhutan11.4+31.5%
103Côte d’Ivoire11.3+5.6%
104Georgia11.2-5.9%
105Panama10.9-6.1%
106Bolivia10.3-1%
107Honduras10.1-4.8%
108Trinidad and Tobago9.2+0.4%
109Cambodia9-0.9%
110Cameroon8.8+6.4%
111Tanzania7.8+0.8%
112Armenia7.6+2%
113Zimbabwe6.7-20.7%
114Mongolia6.6-4.4%
115El Salvador6.3+4.3%
116Nepal6.2+0.5%
117Moldova6.2+8.5%
118Estonia6.1-20.2%
119Senegal6.1+4.3%
120Brunei5.7+16.3%
121Latvia5.5-8.8%
122Albania5.3+2.1%
123North Macedonia5.3-9.2%
124Cyprus4.8-5.7%
125Uganda4.6+0.6%
126Jamaica4.3-7.5%
127Lithuania4.2+44.6%
128Papua New Guinea4.1-4%
129Republic of the Congo4+3.2%
130Mali3.9+3.2%
131Nicaragua3.8-17.1%
132Montenegro3.4-1.5%
133New Caledonia3.2-3%
134Yemen2.9-10.3%
135Gabon2.9+3.1%
136Mauritius2.9-11%
137Guinea2.5+21.2%
138Botswana2.2-13.1%
139Madagascar2.2-12.6%
140Malta2.1+4%
141Suriname2.1+0.8%
142Bahamas2+0.5%
143Namibia2+44.3%
144Malawi1.8-2.9%
145Guam1.7-2.1%
146Mauritania1.6+4.5%
147Burkina Faso1.6-0.3%
148Equatorial Guinea1.4+0.5%
149Afghanistan1.2-19.3%
150Guyana1.2-0%
151Fiji1.1-5.9%
152Barbados1.1+0.2%
153Haiti1-3.2%
154Benin1+86.8%
155Aruba1+0.3%
156Rwanda0.9+3.2%
157Palestine0.8+3.1%
158Maldives0.8+1.5%
159Luxembourg0.8+16.4%
160Cayman Islands0.7-3.6%
161Niger0.7+0.4%
162French Polynesia0.7-3.8%
163U.S. Virgin Islands0.6-1.9%
164Togo0.6+1.3%
165Seychelles0.6+1.7%
166Bermuda0.6-3.7%
167Macao0.6-32.2%
168Greenland0.5+6.8%
169Timor-Leste0.5-2.4%
170Eswatini0.5+0.4%
171Gambia0.5+4.8%
172Liberia0.5+6.6%
173Belize0.4-17.2%
174Lesotho0.4+8.6%
175Cape Verde0.4-5%
176Eritrea0.4+2.7%
177Faroe Islands0.4+5.8%
178Saint Lucia0.4-8.7%
179Somalia0.4+0.8%
180Burundi0.4-7.8%
181Chad0.4+0.6%
182Antigua and Barbuda0.3-3.3%
183Turks and Caicos Islands0.3-1.8%
184Grenada0.2-6.8%
185Saint Kitts and Nevis0.2-4.9%
186Gibraltar0.2-2.4%
187Sierra Leone0.2-3.1%
188Samoa0.2+11.1%
189American Samoa0.2+1.2%
190British Virgin Islands0.20%
191Central African Republic0.20%
191Saint Vincent and the Grenadines0.2-1.8%
193Dominica0.1+2.7%
194Comoros0.1+19.5%
195Djibouti0.1+36.9%
196Solomon Islands0.1-0.5%
197São Tomé and Príncipe0.10%
198Guinea-Bissau0.1-0.6%
199Vanuatu0.1-6%
200Tonga0.1+2.2%
201Saint Pierre and Miquelon0.1-1.7%
202Nauru0+4.3%
203Cook Islands0-13.2%
204Kiribati0-1.8%
205Falkland Islands0-3.5%
206Montserrat0-1.4%
207Saint Helena0-6.7%
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 2020 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 7,725.9 TWh in 2020, according to the U.S. Energy Information Administration.

Which country has the lowest net electricity generation?

Western Sahara, with 0 TWh in 2020.

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 2020 and are not ranked.

Net electricity generation: other rankings

Countries: more rankings