Home / Energy & Transportation / Solar power by country
Energy · Electricity
Solar electricity generation by country, 1985–2024
Electricity generated from solar power in each country, in terawatt-hours per year, from Ember's yearly electricity dataset. The extra column gives solar's share of the country's total electricity generation.
Data vintage: Ember yearly electricity data, 1985–2024. Last checked 2026-11-30 by The CompareTheData team.
About this source: Non-government source: Ember is an independent energy think tank that compiles official national statistics (EIA, Eurostat, IEA and national agencies) into one dataset.
Data: Ember. Jump to sources · Methodology
Key takeaways
- In 2024, China had the most solar generation: 839.0 TWh.
- The top five were China (839.0 TWh), United States (303.8 TWh), India (153.2 TWh), Japan (96.8 TWh) and Germany (74.1 TWh).
- 2 of the 191 countries had none in 2024; the smallest nonzero figure was Venezuela (0.0 TWh).
- The top five countries account for 67% of the total of all countries listed.
- World: 2,205.1 TWh in 2024.
- Between 2014 and 2024, 101 of 101 countries went up. The biggest increase was in China, from 23.5 TWh to 839.0 TWh.
Year by year: solar generation
- China839.0
- United States303.8
- India153.2
- Japan96.8
- Germany74.1
- Brazil70.7
- Spain58.3
- Australia51.9
- South Korea37.5
- Italy36.0
- Vietnam32.9
- Mexico26.3
- Turkey25.7
- France25.1
- Netherlands21.8
ChinaUnited StatesIndiaJapanGermany
All 191 ranked, 2024
Click a column heading to sort. Units: TWh. No solar generation figure for 2024: British Virgin Islands, Central African Republic, Comoros, Dominica, Faroe Islands, São Tomé and Príncipe, U.S. Virgin Islands, Ukraine and Vanuatu. Download this table (CSV). Download every year (CSV).
| Rank | Country | Solar generation (2024) | 2014 | Change since 2014 | Share of country's electricity (2024) |
|---|---|---|---|---|---|
| 1 | China | 839.0 | 23.5 | 3468.9% | 8.4% |
| 2 | United States | 303.8 | 28.9 | 950.3% | 6.9% |
| 3 | India | 153.2 | 4.9 | 3019.6% | 7.5% |
| 4 | Japan | 96.8 | 23.6 | 311.0% | 9.5% |
| 5 | Germany | 74.1 | 35.5 | 109.1% | 15.1% |
| 6 | Brazil | 70.7 | 0.0 | 353250.0% | 9.4% |
| 7 | Spain | 58.3 | 13.7 | 326.4% | 20.8% |
| 8 | Australia | 51.9 | 5.0 | 947.5% | 18.3% |
| 9 | South Korea | 37.5 | 2.7 | 1292.2% | 6.0% |
| 10 | Italy | 36.0 | 22.3 | 61.3% | 13.5% |
| 11 | Vietnam | 32.9 | 0.0 | 329000.0% | 10.6% |
| 12 | Mexico | 26.3 | 0.2 | 11854.5% | 6.8% |
| 13 | Turkey | 25.7 | 0.0 | 128250.0% | 7.5% |
| 14 | France | 25.1 | 6.4 | 292.2% | 4.4% |
| 15 | Netherlands | 21.8 | 0.7 | 2889.0% | 17.8% |
| 16 | Chile | 20.2 | 0.5 | 4106.2% | 22.8% |
| 17 | Pakistan | 20.2 | 0.2 | 8304.2% | 13.3% |
| 18 | South Africa | 18.4 | 1.1 | 1602.8% | 7.4% |
| 19 | Poland | 17.7 | 0.0 | 176500.0% | 10.3% |
| 20 | United Kingdom | 14.8 | 4.0 | 265.2% | 5.2% |
| 21 | United Arab Emirates | 14.4 | 0.3 | 4554.8% | 8.1% |
| 22 | Greece | 11.3 | 3.8 | 197.1% | 19.7% |
| 23 | Israel | 10.5 | 0.9 | 1095.5% | 13.1% |
| 24 | Saudi Arabia | 10.2 | 0.1 | 20320.0% | 2.2% |
| 25 | Hungary | 9.2 | 0.1 | 13042.9% | 24.2% |
| 26 | Thailand | 9.1 | 1.9 | 372.0% | 4.2% |
| 27 | Belgium | 8.6 | 2.9 | 196.2% | 11.3% |
| 28 | Austria | 8.1 | 0.8 | 930.4% | 10.4% |
| 29 | Canada | 7.9 | 2.1 | 274.1% | 1.2% |
| 30 | Portugal | 7.1 | 0.6 | 1025.4% | 15.0% |
| 31 | Philippines | 7.0 | 0.0 | 35100.0% | 5.5% |
| 32 | Egypt | 6.9 | 0.1 | 4807.1% | 2.9% |
| 33 | Malaysia | 6.4 | 0.2 | 2669.6% | 3.0% |
| 34 | Jordan | 6.1 | 0.0 | — | 23.5% |
| 35 | Switzerland | 5.7 | 0.8 | 575.0% | 7.2% |
| 36 | Bulgaria | 5.5 | 1.3 | 335.7% | 14.3% |
| 37 | Argentina | 4.4 | 0.0 | 21700.0% | 2.8% |
| 38 | Sweden | 4.2 | 0.1 | 8220.0% | 2.4% |
| 39 | Oman | 3.8 | 0.0 | — | 7.5% |
| 40 | Denmark | 3.8 | 0.6 | 530.0% | 10.7% |
| 41 | Morocco | 3.6 | 0.0 | — | 8.3% |
| 42 | Czechia | 3.6 | 2.1 | 69.3% | 4.9% |
| 43 | Romania | 3.4 | 1.6 | 111.1% | 6.5% |
| 44 | Colombia | 3.4 | 0.0 | 34000.0% | 3.8% |
| 45 | Uzbekistan | 3.0 | 0.0 | — | 3.7% |
| 46 | Russia | 3.0 | 0.2 | 1793.7% | 0.3% |
| 47 | Dominican Republic | 2.7 | 0.0 | 13600.0% | 10.9% |
| 48 | Qatar | 2.1 | 0.0 | 21400.0% | 3.8% |
| 49 | Syria | 2.1 | 0.0 | — | 7.8% |
| 50 | Kazakhstan | 2.1 | 0.0 | — | 1.7% |
| 51 | Nigeria | 1.9 | 0.0 | 9300.0% | 4.8% |
| 52 | Iran | 1.9 | 0.0 | — | 0.5% |
| 53 | Peru | 1.8 | 0.2 | 790.0% | 3.0% |
| 54 | Bangladesh | 1.6 | 0.2 | 912.5% | 1.6% |
| 55 | Lebanon | 1.6 | 0.0 | 15400.0% | 29.4% |
| 56 | El Salvador | 1.5 | 0.0 | — | 22.7% |
| 56 | Kenya | 1.5 | 0.1 | 2960.0% | 10.8% |
| 58 | Indonesia | 1.4 | 0.1 | 1675.0% | 0.3% |
| 59 | Lithuania | 1.4 | 0.1 | 1900.0% | 18.9% |
| 59 | Sri Lanka | 1.4 | 0.0 | 4566.7% | 8.0% |
| 61 | Panama | 1.3 | 0.0 | 12800.0% | 9.4% |
| 62 | Singapore | 1.3 | 0.0 | — | 2.1% |
| 63 | Slovenia | 1.3 | 0.3 | 388.5% | 7.6% |
| 64 | Myanmar | 1.2 | 0.0 | 12400.0% | 5.5% |
| 65 | Senegal | 1.2 | 0.0 | — | 15.0% |
| 66 | Honduras | 1.2 | 0.0 | 11600.0% | 9.4% |
| 67 | Puerto Rico (US) | 1.1 | 0.1 | 2180.0% | 5.6% |
| 68 | Cyprus | 1.1 | 0.1 | 1287.5% | 19.2% |
| 69 | Ireland | 1.1 | 0.0 | — | 3.5% |
| 70 | Cambodia | 1.1 | 0.0 | — | 6.9% |
| 70 | Estonia | 1.1 | 0.0 | — | 17.1% |
| 72 | Yemen | 1.0 | 0.0 | 10000.0% | 17.8% |
| 73 | North Macedonia | 1.0 | 0.0 | 9900.0% | 15.6% |
| 74 | Tunisia | 1.0 | 0.0 | 3200.0% | 4.5% |
| 75 | Finland | 0.9 | 0.0 | 9300.0% | 1.1% |
| 75 | Libya | 0.9 | 0.0 | 9300.0% | 2.7% |
| 77 | Algeria | 0.9 | 0.0 | — | 1.0% |
| 78 | Namibia | 0.9 | 0.0 | 2966.7% | 46.4% |
| 79 | Croatia | 0.8 | 0.0 | 1950.0% | 5.4% |
| 80 | Afghanistan | 0.8 | 0.0 | 2533.3% | 47.2% |
| 81 | Slovakia | 0.7 | 0.6 | 15.0% | 2.3% |
| 82 | Angola | 0.7 | 0.0 | 3300.0% | 4.3% |
| 83 | Albania | 0.6 | 0.0 | — | 7.3% |
| 84 | Ghana | 0.6 | 0.0 | — | 2.5% |
| 85 | Iraq | 0.6 | 0.1 | 916.7% | 0.4% |
| 86 | Armenia | 0.6 | 0.0 | — | 6.9% |
| 86 | Tanzania | 0.6 | 0.0 | 2900.0% | 6.4% |
| 88 | Norway | 0.6 | 0.0 | — | 0.4% |
| 89 | Cuba | 0.6 | 0.1 | 544.4% | 2.9% |
| 90 | Uruguay | 0.6 | 0.0 | — | 4.2% |
| 91 | Latvia | 0.5 | 0.0 | — | 8.5% |
| 92 | New Zealand | 0.5 | 0.0 | 2500.0% | 1.2% |
| 93 | Georgia | 0.5 | 0.0 | — | 3.4% |
| 94 | West Bank and Gaza | 0.5 | 0.0 | — | 43.0% |
| 94 | Zimbabwe | 0.5 | 0.0 | — | 4.2% |
| 96 | Azerbaijan | 0.4 | 0.0 | — | 1.6% |
| 97 | Mongolia | 0.4 | 0.0 | 4100.0% | 4.6% |
| 97 | Mozambique | 0.4 | 0.0 | — | 2.1% |
| 97 | Sudan | 0.4 | 0.0 | 4100.0% | 2.8% |
| 100 | Bosnia and Herzegovina | 0.4 | 0.0 | 4000.0% | 2.6% |
| 100 | Luxembourg | 0.4 | 0.1 | 355.6% | 25.9% |
| 102 | Bolivia | 0.4 | 0.0 | 3900.0% | 3.0% |
| 103 | Guatemala | 0.4 | 0.0 | 3800.0% | 2.5% |
| 103 | Hong Kong | 0.4 | 0.0 | — | 1.0% |
| 103 | Uganda | 0.4 | 0.0 | 1200.0% | 6.5% |
| 106 | Burkina Faso | 0.4 | 0.0 | 3700.0% | 19.5% |
| 106 | Madagascar | 0.4 | 0.0 | 3700.0% | 14.0% |
| 108 | Moldova | 0.4 | 0.0 | — | 5.7% |
| 109 | Malta | 0.3 | 0.1 | 371.4% | 15.1% |
| 110 | Nepal | 0.3 | 0.0 | 1500.0% | 2.9% |
| 110 | Serbia | 0.3 | 0.0 | 3100.0% | 0.8% |
| 112 | Belarus | 0.3 | 0.0 | — | 0.7% |
| 113 | Cameroon | 0.3 | 0.0 | 2900.0% | 4.0% |
| 113 | New Caledonia | 0.3 | 0.0 | — | 9.6% |
| 115 | Togo | 0.3 | 0.0 | — | 33.5% |
| 115 | Zambia | 0.3 | 0.0 | — | 1.5% |
| 117 | Jamaica | 0.3 | 0.0 | 2700.0% | 5.5% |
| 118 | Djibouti | 0.3 | 0.0 | — | 56.5% |
| 119 | Côte d'Ivoire | 0.2 | 0.0 | — | 2.2% |
| 119 | Haiti | 0.2 | 0.0 | — | 22.0% |
| 119 | Malawi | 0.2 | 0.0 | 1100.0% | 11.5% |
| 119 | Mauritania | 0.2 | 0.0 | 700.0% | 11.2% |
| 119 | Mauritius | 0.2 | 0.0 | 700.0% | 7.0% |
| 124 | Benin | 0.2 | 0.0 | — | 19.2% |
| 125 | Barbados | 0.2 | 0.0 | 2100.0% | 17.8% |
| 125 | Mali | 0.2 | 0.0 | 633.3% | 3.6% |
| 127 | Kuwait | 0.2 | 0.0 | — | 0.2% |
| 127 | Somalia | 0.2 | 0.0 | — | 37.8% |
| 129 | Guam | 0.2 | 0.0 | — | 9.4% |
| 130 | North Korea | 0.2 | 0.0 | 1600.0% | 0.6% |
| 131 | DR Congo | 0.2 | 0.0 | — | 1.2% |
| 132 | Ecuador | 0.1 | 0.0 | 600.0% | 0.4% |
| 132 | Niger | 0.1 | 0.0 | 1300.0% | 13.6% |
| 134 | Nicaragua | 0.1 | 0.0 | — | 2.8% |
| 135 | French Polynesia | 0.1 | 0.0 | 300.0% | 15.6% |
| 136 | Bahrain | 0.1 | 0.0 | 900.0% | 0.3% |
| 136 | Guinea | 0.1 | 0.0 | — | 2.5% |
| 136 | Maldives | 0.1 | 0.0 | 900.0% | 11.2% |
| 136 | Sierra Leone | 0.1 | 0.0 | — | 35.2% |
| 140 | Laos | 0.1 | 0.0 | — | 0.2% |
| 141 | Costa Rica | 0.1 | 0.0 | 300.0% | 0.7% |
| 141 | Eritrea | 0.1 | 0.0 | — | 16.0% |
| 141 | Ethiopia | 0.1 | 0.0 | 300.0% | 0.3% |
| 144 | Botswana | 0.1 | 0.0 | — | 1.9% |
| 144 | Chad | 0.1 | 0.0 | — | 15.0% |
| 146 | Gambia | 0.1 | 0.0 | — | 10.7% |
| 146 | Lesotho | 0.1 | 0.0 | — | 99.7% |
| 146 | Montenegro | 0.1 | 0.0 | — | 1.7% |
| 149 | Bahamas | 0.1 | 0.0 | — | 2.1% |
| 149 | Guyana | 0.1 | 0.0 | — | 3.8% |
| 149 | Papua New Guinea | 0.1 | 0.0 | — | 1.0% |
| 152 | Aruba | 0.0 | 0.0 | 300.0% | 4.3% |
| 152 | Cabo Verde | 0.0 | 0.0 | 300.0% | 9.3% |
| 152 | Eswatini | 0.0 | 0.0 | — | 6.9% |
| 152 | Rwanda | 0.0 | 0.0 | — | 3.5% |
| 152 | South Sudan | 0.0 | 0.0 | — | 7.6% |
| 152 | Trinidad and Tobago | 0.0 | 0.0 | — | 0.4% |
| 158 | Antigua and Barbuda | 0.0 | 0.0 | — | 7.4% |
| 158 | Belize | 0.0 | 0.0 | — | 5.5% |
| 158 | Burundi | 0.0 | 0.0 | — | 5.4% |
| 158 | Fiji | 0.0 | 0.0 | — | 2.8% |
| 158 | Kyrgyzstan | 0.0 | 0.0 | — | 0.2% |
| 158 | Liberia | 0.0 | 0.0 | — | 5.1% |
| 158 | Paraguay | 0.0 | 0.0 | — | 0.1% |
| 158 | Samoa | 0.0 | 0.0 | — | 18.7% |
| 158 | Seychelles | 0.0 | 0.0 | — | 4.9% |
| 167 | Cayman Islands | 0.0 | 0.0 | — | 3.3% |
| 167 | Kosovo | 0.0 | 0.0 | — | 0.4% |
| 167 | Suriname | 0.0 | 0.0 | — | 1.2% |
| 167 | Tonga | 0.0 | 0.0 | — | 26.9% |
| 171 | American Samoa | 0.0 | 0.0 | — | 8.1% |
| 171 | Bhutan | 0.0 | 0.0 | — | 0.1% |
| 171 | Brunei | 0.0 | 0.0 | — | 0.2% |
| 171 | Equatorial Guinea | 0.0 | 0.0 | — | 0.3% |
| 171 | Gabon | 0.0 | 0.0 | — | 0.3% |
| 171 | Grenada | 0.0 | 0.0 | — | 4.0% |
| 171 | Guinea-Bissau | 0.0 | 0.0 | — | 7.0% |
| 171 | Iceland | 0.0 | 0.0 | — | 0.1% |
| 171 | Kiribati | 0.0 | 0.0 | — | 28.3% |
| 171 | Macao | 0.0 | 0.0 | — | 1.1% |
| 171 | Naoero | 0.0 | 0.0 | — | 24.3% |
| 171 | Republic of the Congo | 0.0 | 0.0 | — | 0.2% |
| 171 | Saint Kitts and Nevis | 0.0 | 0.0 | — | 2.7% |
| 171 | Saint Lucia | 0.0 | 0.0 | — | 2.0% |
| 171 | Saint Vincent and the Grenadines | 0.0 | 0.0 | — | 7.4% |
| 171 | Solomon Islands | 0.0 | 0.0 | — | 13.1% |
| 171 | Turkmenistan | 0.0 | 0.0 | — | 0.0% |
| 171 | Turks and Caicos Islands | 0.0 | 0.0 | — | 2.3% |
| 171 | Venezuela | 0.0 | 0.0 | — | 0.0% |
| 190 | Greenland | 0.0 | 0.0 | — | 0.2% |
| 190 | Tajikistan | 0.0 | 0.0 | — | 0.0% |
Showing the first 25 of 191. Sorting a column re-sorts all 191.
How to read these numbers
- The latest year includes Ember estimates for some countries until official data are published.
- Rooftop solar is included where countries report it, which not all do.
Common questions
Which country has the most solar generation?
China, with 839.0 TWh in 2024, followed by United States and India.
Which countries have the least solar generation?
2 countries had none in 2024: Greenland and Tajikistan. Among the rest, Venezuela was lowest at 0.0 TWh.
How has solar generation changed since 2014?
In 2014, Germany ranked first; in 2024, China did. 101 of the 101 countries with data for both years had a higher figure in 2024 than in 2014. Use the year slider on the chart to see every year.
Where does this data come from?
Ember, Yearly Electricity Data (release_generation_yearly_global.csv). The page covers 1985–2024; figures are as published.
Sources
Figures are taken from, or computed by CompareTheData.com from, the files below, downloaded by our build scripts. See the methodology.
- Ember, Yearly Electricity Data (release_generation_yearly_global.csv). downloaded 2026-11-30; CC BY 4.0.