Spain now requires big data centers to run on 80% clean power, hour by hour. An industry group says nearly €67 billion is at risk
Spain has made clean power a condition of plugging in. Under a royal decree approved by the cabinet on Friday, November 20, any data center drawing 10 megawatts or more must show that 80% of its electricity comes from renewable sources to get and keep its grid connection.
The catch is in how that 80% is counted. It must be matched hour by hour, not averaged over a year, and it must generally come from recently built plants. The decree, numbered RD 1032/2026, was published in the official state gazette on Saturday and took effect on Sunday, November 22, the day after publication.
For cloud companies and their investors, this changes the cost of building in Spain. Hourly matching means a site needs clean power at night and on windless days, usually through batteries or a mix of supply contracts. That is a much stricter test than buying enough renewable credits to cover a year's total use, the method behind many corporate clean-energy pledges.
The industry says the bill is too high. SpainDC, the data center trade group whose members include Amazon, Google and Microsoft, calls the requirements impossible to meet. It says €66.9 billion of planned investment through 2030 is at risk and is asking a court to suspend the decree. That figure is the group's own estimate.
What the decree requires
Only fairly new plants count. Renewable power counts toward the 80% only if it comes from plants connected no more than 36 months before the data center starts running. Solar, some biomass and upgraded older plants are exempt from that age limit. On-site generation, storage and supply contracts longer than six years all count.
There is an easier route for five years, at a price. A data center can join the grid operator's automatic cut-off scheme, agreeing to be among the first disconnected when the grid is under strain. In return it needs only 60% renewable power in peak hours through 2028, with stricter targets from 2029 until the five years are up.
The decree also sets interim efficiency caps until European labels arrive. One limits water use. The other caps power usage effectiveness, the ratio of a building's total power to the power its computers use, at 1.25. In plain terms, no more than 25% extra for cooling and other overhead.
Missing the target is expensive. Operators pay automatic charges on their power bills in proportion to any shortfall, and can lose their grid rights for up to three years. Projects already in the pipeline have six months to prove they comply, or three months if they are waiting on a grid-access tender. Otherwise they must give up their access rights.
A separate clause applies to centers of any size that host high-security public systems, such as health or tax systems. That data must stay within the European Economic Area, and access from outside it for maintenance and support must be effectively controlled.
The government's case
Ecological transition minister Sara Aagesen argues the rule protects everyone else's power bills. Without it, she said, data center demand would add about €5 billion a year to Spain's electricity costs, and industrial users could pay 25% more. Euronews notes that the €5 billion is a modeled scenario, not a cost already incurred.
The government's numbers also show why it wants a filter. Data centers already hold about 15 gigawatts of granted grid access, with roughly 20 gigawatts more waiting, according to Aagesen. Spain's 2024 AI strategy forecast only 3.5 to 4 gigawatts of actual data center demand in 2030, Ecoticias reports. In effect, the rule makes holders of reserved grid space show they can meet the clean-power test or give the space up.
Spain's large energy-intensive industries are among the few sectors backing the text, according to Qué!. The decree is also much tougher than Germany's approach. Germany requires data centers to use 100% renewable power from January 2027, but as an accounting total, with no hourly test and no new-plant rule.
The fight ahead
The government approved the decree one week before Spain's November 29 general election, and its survival may depend on the result. The main opposition People's Party says it will repeal it. Alberto Nadal, the party's deputy secretary for the economy, said it would pass a replacement law that allows data centers to be built and ensures their sustainability.
Regional governments are also pushing back. The Madrid region says it will appeal. Aragón, a hub for planned large data center campuses, says the rules put €54 billion of investment and thousands of jobs there at risk; Qué! reports it will also go to court. An association of foreign-owned companies asked for a rigorous assessment of the economic impact and more dialogue.
Spain's own advisers raised doubts before approval. In a September report, the competition and markets regulator asked the government to better justify whether the requirements were proportionate. The Council of State, Spain's top advisory body, flagged up to 14 legal issues, including the use of an urgent procedure and the proportionality of penalties, according to El Español.
For buyers and investors, three things matter in the coming months. First, whether a court grants SpainDC's request to suspend the rule. Second, the election result. Third, the six-month clock: by around May 2027, pipeline projects must show they comply or surrender their grid rights.
Both sides' headline numbers deserve caution. The industry's €66.9 billion is the trade group's estimate of investment at risk, not money already lost. The government's €5 billion is a projection. Neither has been independently tested.
Written by AI from the public sources linked below.