The Spain data centre renewable rule now under review would make grid access for new data centres depend on clean power every hour, not on paper over a year. A draft royal decree requires data centres of 1 MW and above to match at least 80% of their electricity use with renewable generation produced in the same hour, from plants that are new. The consultation has closed, and the industry is waiting for the final text.
Most coverage of the Spain data centre decree has focused on the headline percentage. The harder part is the hour. A data centre runs flat around the clock, and Spain’s cheapest power, solar, produces nothing for about fourteen hours on a December day. This analysis sizes what that means for a single 100 MW site.

What the Spain data centre renewable rule says
According to the draft as summarised by Energy-Storage.news and law firm briefings, the decree would require that 80% of a data centre’s consumption in each hour is backed by renewable output from the same hour. The supplying plants must be additional: commissioned no more than 18 months before the data centre starts operating. Non compliance can bring surcharges on network tolls and system charges of up to 500%, and five consecutive years of serious shortfall can cost the grid access permit. Reports say the requirement would stay in place until renewables exceed 90% of the Spanish mix.
The rule goes further than Ireland, which asks new data centres to add renewable generation equal to 80% of annual demand and allows six years for those projects to start. Spain’s combination of additionality and hourly matching mirrors the EU rules for renewable hydrogen, applied to computing load for the first time.
Renewable associations APPA and AEE have asked the government to relax the hourly part. The final text could still change.
A 100 MW data centre in December: the calculation
Take a Spain data centre drawing a steady 100 MW. Under the Spain data centre renewable rule, it needs 80 MW of renewable supply in every hour, or 1,920 MWh a day. Assumptions for a December day in southern or central Spain:
- about 9.5 hours of useful solar output and 14.5 hours of darkness or near zero output,
- daily output of about 3.5 MWh per MW of solar capacity in December,
- battery round trip efficiency of 88%.
If wind contributes nothing at night, the battery must supply 80 MW for 14 hours, or about 1,120 MWh. Charging that battery requires about 1,270 MWh from the solar plant, on top of the 760 MWh the data centre uses directly while the sun is up. That is about 2,030 MWh a day from solar, which at 3.5 MWh per MW means close to 600 MW of solar for one 100 MW data centre in winter.
Wind changes the picture. If wind contracts cover half the night hours, storage falls to about 560 MWh. If they cover 80% of the night, storage falls to about 224 MWh. But still, cold nights happen every winter, and the rule is tested in every hour, so a buyer cannot count on average wind to cover the worst nights.
| Scenario, December night | Battery energy needed | Battery at 4 hours |
|---|---|---|
| No wind at night | about 1,120 MWh | about 280 MW |
| Wind covers half the night | about 560 MWh | about 140 MW |
| Wind covers 80% of the night | about 224 MWh | about 56 MW |
These are design estimates, not a compliance model. Actual needs depend on how the rule counts storage, whether surplus hours can be banked, and how the metering and settlement framework works. They are still useful because they show the order of magnitude: a data centre in Spain needs hundreds of MWh of storage, not tens.
Why batteries become the licence
For any Spain data centre, the binding constraint is shifting energy from day to night. That is what batteries do. Ignacio López Martín, chair of Capflex Energía, argues that hourly matching cannot be met with solar alone, and that the decree in effect makes storage a condition of grid access.
The storage market is not ready for that demand yet. Red Eléctrica data cited by the same source show about 24.3 GW of batteries held grid access permits at the end of January, while only about 260 MW was connected by late August, roughly 1%. Ten large data centres following the decree could need more storage than Spain has connected today.
The rule also interacts with Spain’s oversupply problem, which every Spain data centre buyer will feel in its PPA prices. Spanish solar producers have warned that the country logged more than 500 hours of zero or negative prices this year. Data centres that must buy new solar plus storage would add demand in the evening and night, which helps those prices, but they would also add more midday solar if the decree pushes buyers toward oversized portfolios.
What it means for the Spain data centre pipeline
For hyperscalers, the Spain data centre renewable rule adds a second project to every data centre: a renewable and storage portfolio that must be built within an 18 month window. That is a tight timeline for battery and solar projects that also need grid access, which is itself scarce. Developers with an existing pipeline of solar and storage permits gain a strong position as suppliers.
The cost is real but not decisive. A 4 hour battery fleet of about 280 MW and close to 600 MW of solar for a 100 MW site, at today’s equipment prices, adds several hundred million euros of capital, which would usually be financed by third parties through long term contracts. Spread over the energy the data centre uses, the premium over a simple annual PPA is likely in the range of tens of euros per MWh, depending on wind access. A comparison with Ireland’s approach to large loads is in the analysis of data centre grid costs.
What to check
- Final text. Whether the hourly test stays at 80%, and whether storage charged from the grid counts.
- Banking and tolerance. Any allowance for monthly or seasonal averaging would cut storage needs sharply.
- Grid access for batteries. The rule only works if the 24.3 GW of battery permits turn into connected projects.
The number to watch
Watch connected battery capacity in Spain. If it rises from about 260 MW toward several gigawatts in 2027, the Spain data centre renewable rule can work as designed. If it stays near today’s level, the hourly test will either be relaxed or become a barrier to new data centres in Spain.

