Near you

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.

Electricity consumption of data centres in Spain (DNV: estimate for 2024, forecasts after)
  • 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)

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.

Next questions