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.
Top 40 countries, 2020
Full ranking
| Rank | Countries | 2020 | Change on 2019 |
|---|---|---|---|
| 1 | China | 7,725.9 | +3.8% |
| 2 | United States | 4,051.3 | -2.7% |
| 3 | India | 1,520.3 | -1% |
| 4 | Russia | 1,078.8 | -1.6% |
| 5 | Japan | 971.9 | -4% |
| 6 | Canada | 634.1 | +0.9% |
| 7 | Brazil | 627.5 | -0.6% |
| 8 | South Korea | 570.1 | +0.5% |
| 9 | Germany | 549.8 | -5.4% |
| 10 | France | 506.7 | -6.9% |
| 11 | Saudi Arabia | 394.3 | +1.7% |
| 12 | Iran | 342.7 | +5.2% |
| 13 | Mexico | 317 | -4.3% |
| 14 | United Kingdom | 305.3 | -3.7% |
| 15 | Türkiye | 303.4 | +1.1% |
| 16 | Indonesia | 292.1 | +3.6% |
| 17 | Taiwan | 276.1 | +2.2% |
| 18 | Italy | 271 | -4.2% |
| 19 | Australia | 264.1 | -1.9% |
| 20 | Spain | 253.6 | -4.4% |
| 21 | Vietnam | 240.1 | +1.3% |
| 22 | South Africa | 235.9 | -4.5% |
| 23 | Egypt | 202.8 | +3.7% |
| 24 | Thailand | 179.7 | -6.3% |
| 25 | Malaysia | 175.8 | -2% |
| 26 | Sweden | 161 | -2.8% |
| 27 | Poland | 156.4 | -3.7% |
| 28 | Norway | 153.8 | +16.7% |
| 29 | Ukraine | 147.8 | -0.6% |
| 30 | Pakistan | 143.1 | +7.3% |
| 31 | Argentina | 142.4 | +2.7% |
| 32 | United Arab Emirates | 137.3 | -0.8% |
| 33 | Netherlands | 122.1 | +1.9% |
| 34 | Iraq | 117.1 | +1.7% |
| 35 | Kazakhstan | 110.9 | +3.8% |
| 36 | Philippines | 101.7 | -4% |
| 37 | Belgium | 87.2 | -5.1% |
| 38 | Bangladesh | 85.5 | +0.4% |
| 39 | Chile | 83.6 | -0.5% |
| 40 | Venezuela | 80.5 | -5.4% |
| 41 | Algeria | 79.4 | -2.8% |
| 42 | Colombia | 77.8 | -1.3% |
| 43 | Czechia | 77.3 | -7.6% |
| 44 | Kuwait | 74.6 | -0.5% |
| 45 | Israel | 71.8 | -0.2% |
| 46 | Finland | 68 | +0.9% |
| 47 | Austria | 67.9 | -1% |
| 48 | Uzbekistan | 66.5 | +4.7% |
| 49 | Switzerland | 66.1 | +1.2% |
| 50 | Singapore | 53.4 | -2% |
| 51 | Romania | 53.3 | -6.4% |
| 52 | Peru | 53 | -6.8% |
| 53 | Portugal | 51.1 | +0.1% |
| 54 | Qatar | 49.4 | -1.2% |
| 55 | Paraguay | 46.6 | -6% |
| 56 | Greece | 45.2 | -3.5% |
| 57 | New Zealand | 43.3 | -0.9% |
| 58 | Laos | 40 | +28% |
| 59 | Bulgaria | 39.2 | -8.4% |
| 60 | Morocco | 38.6 | -4% |
| 61 | Oman | 38.6 | -0.7% |
| 62 | Belarus | 38.5 | -4.7% |
| 63 | Nigeria | 38 | +4.2% |
| 64 | Serbia | 36.9 | +1.1% |
| 65 | Hong Kong | 34.4 | -7% |
| 66 | Bahrain | 33.4 | +0.8% |
| 67 | Hungary | 33.1 | +2.1% |
| 68 | Ecuador | 31.3 | -3.6% |
| 69 | Ireland | 31.1 | +2.2% |
| 70 | Libya | 29.5 | -14.8% |
| 71 | Denmark | 28.5 | -2.7% |
| 72 | Slovakia | 27.3 | +1.4% |
| 73 | Turkmenistan | 25.8 | +14.5% |
| 74 | Azerbaijan | 25.7 | -0.9% |
| 75 | North Korea | 24.1 | +0.9% |
| 76 | Tunisia | 21.4 | -2.9% |
| 77 | Syria | 21 | -5.8% |
| 78 | Jordan | 20.7 | +0.9% |
| 79 | Tajikistan | 20.1 | -4.1% |
| 80 | Ghana | 19.7 | +14.1% |
| 81 | Dominican Republic | 19.5 | -8.4% |
| 82 | Puerto Rico | 19.1 | -0.4% |
| 83 | Cuba | 19 | -8% |
| 84 | Mozambique | 19 | +0.2% |
| 85 | Iceland | 18.9 | -2.4% |
| 86 | Myanmar | 18.8 | -2.8% |
| 87 | Lebanon | 18.3 | -15.5% |
| 88 | Sudan | 17.2 | +6% |
| 89 | Bosnia and Herzegovina | 16.9 | -3.2% |
| 90 | Angola | 16.8 | +6.3% |
| 91 | Sri Lanka | 16.7 | +0.3% |
| 92 | Slovenia | 16.5 | +6.4% |
| 93 | Ethiopia | 15.6 | +2% |
| 94 | Kyrgyzstan | 15.4 | +3% |
| 95 | Zambia | 15.2 | +3% |
| 96 | Uruguay | 13.6 | -15.6% |
| 97 | Croatia | 12.6 | +3.9% |
| 98 | Democratic Republic of the Congo | 12.5 | +5.9% |
| 99 | Guatemala | 12.4 | -2.2% |
| 100 | Costa Rica | 11.7 | +2.8% |
| 101 | Kenya | 11.7 | +1.1% |
| 102 | Bhutan | 11.4 | +31.5% |
| 103 | Côte d’Ivoire | 11.3 | +5.6% |
| 104 | Georgia | 11.2 | -5.9% |
| 105 | Panama | 10.9 | -6.1% |
| 106 | Bolivia | 10.3 | -1% |
| 107 | Honduras | 10.1 | -4.8% |
| 108 | Trinidad and Tobago | 9.2 | +0.4% |
| 109 | Cambodia | 9 | -0.9% |
| 110 | Cameroon | 8.8 | +6.4% |
| 111 | Tanzania | 7.8 | +0.8% |
| 112 | Armenia | 7.6 | +2% |
| 113 | Zimbabwe | 6.7 | -20.7% |
| 114 | Mongolia | 6.6 | -4.4% |
| 115 | El Salvador | 6.3 | +4.3% |
| 116 | Nepal | 6.2 | +0.5% |
| 117 | Moldova | 6.2 | +8.5% |
| 118 | Estonia | 6.1 | -20.2% |
| 119 | Senegal | 6.1 | +4.3% |
| 120 | Brunei | 5.7 | +16.3% |
| 121 | Latvia | 5.5 | -8.8% |
| 122 | Albania | 5.3 | +2.1% |
| 123 | North Macedonia | 5.3 | -9.2% |
| 124 | Cyprus | 4.8 | -5.7% |
| 125 | Uganda | 4.6 | +0.6% |
| 126 | Jamaica | 4.3 | -7.5% |
| 127 | Lithuania | 4.2 | +44.6% |
| 128 | Papua New Guinea | 4.1 | -4% |
| 129 | Republic of the Congo | 4 | +3.2% |
| 130 | Mali | 3.9 | +3.2% |
| 131 | Nicaragua | 3.8 | -17.1% |
| 132 | Montenegro | 3.4 | -1.5% |
| 133 | New Caledonia | 3.2 | -3% |
| 134 | Yemen | 2.9 | -10.3% |
| 135 | Gabon | 2.9 | +3.1% |
| 136 | Mauritius | 2.9 | -11% |
| 137 | Guinea | 2.5 | +21.2% |
| 138 | Botswana | 2.2 | -13.1% |
| 139 | Madagascar | 2.2 | -12.6% |
| 140 | Malta | 2.1 | +4% |
| 141 | Suriname | 2.1 | +0.8% |
| 142 | Bahamas | 2 | +0.5% |
| 143 | Namibia | 2 | +44.3% |
| 144 | Malawi | 1.8 | -2.9% |
| 145 | Guam | 1.7 | -2.1% |
| 146 | Mauritania | 1.6 | +4.5% |
| 147 | Burkina Faso | 1.6 | -0.3% |
| 148 | Equatorial Guinea | 1.4 | +0.5% |
| 149 | Afghanistan | 1.2 | -19.3% |
| 150 | Guyana | 1.2 | -0% |
| 151 | Fiji | 1.1 | -5.9% |
| 152 | Barbados | 1.1 | +0.2% |
| 153 | Haiti | 1 | -3.2% |
| 154 | Benin | 1 | +86.8% |
| 155 | Aruba | 1 | +0.3% |
| 156 | Rwanda | 0.9 | +3.2% |
| 157 | Palestine | 0.8 | +3.1% |
| 158 | Maldives | 0.8 | +1.5% |
| 159 | Luxembourg | 0.8 | +16.4% |
| 160 | Cayman Islands | 0.7 | -3.6% |
| 161 | Niger | 0.7 | +0.4% |
| 162 | French Polynesia | 0.7 | -3.8% |
| 163 | U.S. Virgin Islands | 0.6 | -1.9% |
| 164 | Togo | 0.6 | +1.3% |
| 165 | Seychelles | 0.6 | +1.7% |
| 166 | Bermuda | 0.6 | -3.7% |
| 167 | Macao | 0.6 | -32.2% |
| 168 | Greenland | 0.5 | +6.8% |
| 169 | Timor-Leste | 0.5 | -2.4% |
| 170 | Eswatini | 0.5 | +0.4% |
| 171 | Gambia | 0.5 | +4.8% |
| 172 | Liberia | 0.5 | +6.6% |
| 173 | Belize | 0.4 | -17.2% |
| 174 | Lesotho | 0.4 | +8.6% |
| 175 | Cape Verde | 0.4 | -5% |
| 176 | Eritrea | 0.4 | +2.7% |
| 177 | Faroe Islands | 0.4 | +5.8% |
| 178 | Saint Lucia | 0.4 | -8.7% |
| 179 | Somalia | 0.4 | +0.8% |
| 180 | Burundi | 0.4 | -7.8% |
| 181 | Chad | 0.4 | +0.6% |
| 182 | Antigua and Barbuda | 0.3 | -3.3% |
| 183 | Turks and Caicos Islands | 0.3 | -1.8% |
| 184 | Grenada | 0.2 | -6.8% |
| 185 | Saint Kitts and Nevis | 0.2 | -4.9% |
| 186 | Gibraltar | 0.2 | -2.4% |
| 187 | Sierra Leone | 0.2 | -3.1% |
| 188 | Samoa | 0.2 | +11.1% |
| 189 | American Samoa | 0.2 | +1.2% |
| 190 | British Virgin Islands | 0.2 | 0% |
| 191 | Central African Republic | 0.2 | 0% |
| 191 | Saint Vincent and the Grenadines | 0.2 | -1.8% |
| 193 | Dominica | 0.1 | +2.7% |
| 194 | Comoros | 0.1 | +19.5% |
| 195 | Djibouti | 0.1 | +36.9% |
| 196 | Solomon Islands | 0.1 | -0.5% |
| 197 | São Tomé and Príncipe | 0.1 | 0% |
| 198 | Guinea-Bissau | 0.1 | -0.6% |
| 199 | Vanuatu | 0.1 | -6% |
| 200 | Tonga | 0.1 | +2.2% |
| 201 | Saint Pierre and Miquelon | 0.1 | -1.7% |
| 202 | Nauru | 0 | +4.3% |
| 203 | Cook Islands | 0 | -13.2% |
| 204 | Kiribati | 0 | -1.8% |
| 205 | Falkland Islands | 0 | -3.5% |
| 206 | Montserrat | 0 | -1.4% |
| 207 | Saint Helena | 0 | -6.7% |
| 208 | Niue | 0 | 0% |
| 209 | Antarctica | 0 | |
| 209 | Western Sahara | 0 |
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
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.