How much of Spain’s electricity do data centres use?
Short answerAbout 2.4% in 2024, by one estimate.
About 2.4% of Spain’s electricity demand in 2024, by one estimate. Nobody publishes an official count. The consultancy DNV estimated that Spain’s data centres used more than 6 TWh in 2024. Red Eléctrica, the grid operator, put the country’s total demand that year at 248,811 GWh, about 249 TWh. Dividing one by the other gives about 2.4% (Hum’s arithmetic). DNV expects about 12 TWh in 2030 and says it could reach 26 TWh in 2050. Those are forecasts. DNV says new sites, especially around Madrid and Barcelona, have driven the growth so far. The bigger story is what has been asked for. The government says data-centre projects have been given rights to connect more than 12 GW to the grid since 2021. That is capacity, not energy, and a permit is not a building. For scale, the highest demand on mainland Spain’s grid in 2025 was 40,070 MW, about 40 GW. So the permits add up to about 30% of that peak. Spain’s own AI strategy expects data centres to need only 3.5 to 4 GW of electricity demand in 2030. The permits are more than 3 times that. The IEA says the projects planned in Spain are seven times larger on average than the data centres running today. In August 2026 the government published a draft decree. Data centres above 1 MW would have to back 80% of their energy use with new renewable power, hour by hour, and meet the strictest European classes for energy and water efficiency. Data centres above 500 kW would have to send their energy and sustainability data to the ministry, to be published every year.
The bigger pictureWorldwide, data centres used about 1.5% of electricity consumption in 2024 (IEA), so Spain’s 2.4% is above the world average. Spain’s 6 TWh is about 1.4% of the 415 TWh that all the world’s data centres used in 2024 (Hum’s arithmetic).
Wh is a watt-hour: a 1-watt light left on for an hour. 1 kWh = 1,000 Wh. 1 TWh = 1 billion kWh.
- 6 TWh 2024, estimated: more than 6 TWh, about 2.4% of demand
- 12 TWh 2030, forecast: DNV
- 26 TWh 2050, forecast: DNV says it could reach this
Unit: TWh a year.
Why the claim misleads
The government says Spain attracts data centres because of where it sits, its climate and its lead in renewable power. That is why requests have run far ahead of what is built.
What nobody knows yet
- Nobody publishes a metered total for Spain’s data centres. The 6 TWh is one consultancy’s estimate, and it says “more than”. The 2.4% is Hum’s arithmetic on top of it.
- How much will be built. Permits and announcements are not data centres. The IEA says that if every announced project were built, data-centre capacity in countries like Spain would be around 10% of today’s peak demand, and that not all of them will be completed. Grid permits add up to more than that.
- Whether the new rules will pass as written. The decree was a draft in public consultation in August 2026. Hum found no final text when it checked.
- How much water Spain’s data centres use. Hum found no official figure, for the country or for regions such as Aragón.
- How much of it is AI. Nobody publishes that for Spain.
Sources (14)
- DNV (risk and energy consultancy), press release on its first Spain energy transition outlook, January 2025, in Spanish Estimated
“La consultora estima que estos centros consumirán más de 6 TWh en 2024, que este consumo de energía aumentará a unos 12 TWh en 2030 y podría alcanzar los 26 TWh en 2050”
Quote checked on the page, 15 Nov 2026 - DNV (risk and energy consultancy), press release on its first Spain energy transition outlook, January 2025, in Spanish Estimated
“El desarrollo de nuevas infraestructuras, especialmente en zonas como Madrid o Barcelona, ha sido un factor clave en este crecimiento.”
Quote checked on the page, 15 Nov 2026 - Red Eléctrica (Spain’s grid operator), press release on its 2024 Spanish electricity system report, March 2025 Measured
“In gross terms, electricity demand for 2024 reached 248,811 GWh, marking a 0.9% increase”
Quote checked on the page, 15 Nov 2026 - Red Eléctrica (Spain’s grid operator), press release with its estimates for 2025, December 2025 Measured
“The highest demand on the peninsular electricity system was recorded on 15 January at 20:57, reaching 40,070 MW.”
Quote checked on the page, 15 Nov 2026 - Government of Spain (ministries for the Ecological Transition, Economy and Digital Transformation), press note on the draft royal decree on data centres, 27 August 2026, in Spanish Measured
“por la estratégica ubicación geográfica del país, su clima y su liderazgo en energías renovables: ya se han otorgado más de 12 GW de derechos de acceso y conexión a la red eléctrica desde 2021”
Quote checked on the page, 15 Nov 2026 - Government of Spain (ministries for the Ecological Transition, Economy and Digital Transformation), press note on the draft royal decree on data centres, 27 August 2026, in Spanish Forecast
“España cuenta con una Estrategia de Inteligencia Artificial, que estima unos 2,5 GW de potencia de computación en 2030, que necesitarían de 3,5 GW a 4 GW de demanda eléctrica.”
Quote checked on the page, 15 Nov 2026 - Government of Spain (ministries for the Ecological Transition, Economy and Digital Transformation), press note on the draft royal decree on data centres, 27 August 2026, in Spanish Rule or law
“inician el trámite de audiencia pública, por la vía de urgencia, del Proyecto de Real Decreto por el que se regulan los requisitos de sostenibilidad energética, medioambiental y de resiliencia y soberanía digital aplicables a los centros de datos”
Quote checked on the page, 15 Nov 2026 - Government of Spain (ministries for the Ecological Transition, Economy and Digital Transformation), press note on the draft royal decree on data centres, 27 August 2026, in Spanish Rule or law
“Busca que cumplan los estándares europeos de eficiencia hídrica y energética más exigentes, y respalden con nueva generación renovable, cada hora de funcionamiento, el 80% de su consumo energético”
Quote checked on the page, 15 Nov 2026 - Government of Spain (ministries for the Ecological Transition, Economy and Digital Transformation), press note on the draft royal decree on data centres, 27 August 2026, in Spanish Rule or law
“gracias al establecimiento de requisitos a las instalaciones mayores de 1 MW de potencia eléctrica”
Quote checked on the page, 15 Nov 2026 - Government of Spain (ministries for the Ecological Transition, Economy and Digital Transformation), press note on the draft royal decree on data centres, 27 August 2026, in Spanish Rule or law
“todos los centros de datos mayores de 500 kW deberán remitir al MITECO los datos relativos a su eficiencia energética y su sostenibilidad, de acuerdo con el citado Reglamento Delegado (UE) 2024/1364, para su publicación con carácter anual.”
Quote checked on the page, 15 Nov 2026 - IEA, commentary “Overcoming energy constraints is key to delivering on Europe’s data centre goals” (November 2025) Estimated
“In Spain, planned projects are seven times larger on average.”
Quote checked on the page, 15 Nov 2026 - IEA, commentary “Overcoming energy constraints is key to delivering on Europe’s data centre goals” (November 2025) Forecast
“In countries like Spain or the Netherlands, it would rise to around 10%.”
Quote checked on the page, 15 Nov 2026 - IEA, commentary “Overcoming energy constraints is key to delivering on Europe’s data centre goals” (November 2025) Forecast
“Not all the projects from the current data centre project pipeline will be completed.”
Quote checked on the page, 15 Nov 2026 - IEA, Energy and AI (2025) Estimated
“Data centres accounted for around 1.5% of the world’s electricity consumption in 2024, or 415 terawatt-hours (TWh).”
Quote checked on the page, 3 Oct 2026
Hum’s sums
- 6 TWh ÷ 248,811 GWh (about 249 TWh) = about 2.4% of Spain’s electricity demand in 2024
- 6 TWh ÷ 415 TWh = about 1.4% of the world’s data-centre electricity (2024)
- 12 GW ÷ 40,070 MW (about 40 GW) = about 30% of the highest demand on mainland Spain’s grid in 2025
- The government writes 3,5 GW with a decimal comma. That is 3.5 GW. 12 GW ÷ 3.5 GW = more than 3 times
Cite this
DNV (risk and energy consultancy), press release on its first Spain energy transition outlook, January 2025, in Spanish, as quoted in Hum, “How much of Spain’s electricity do data centres use?”, https://humearth.org/q/spain (quote checked 15 Nov 2026).
Cite the original source first; Hum is where you found it.
What do Wh, kWh and TWh mean?
Wh is a watt-hour: a 1-watt light left on for an hour. 1 kWh = 1,000 Wh, and 1 TWh = 1 billion kWh. Hum compares each number with something everyday so you don’t need the units.
Send this answer
Data centres used about 2.4% of Spain’s electricity in 2024, by one estimate. Projects with grid permits add up to more than 12 GW, far more than is running today.