A long, low, windowless pale concrete building with rows of grey cooling units on its roof stands behind rows of dark blue solar panels on metal frames, on a dry plain of ochre grass and stones under a hard blue sky with small white clouds, low brown hills on the horizon.

The Rules

Spain Holds Data Centers to Hourly Clean Power

A Spanish decree in force since Sunday generally requires big data centers not yet on the grid to back 80 percent of each hour’s power with renewables.

Spain’s rules for data centers took effect on Sunday. A royal decree, published in the Official State Gazette on Saturday, requires, under its general regime, data centers with 10 megawatts or more of grid access that are not yet connected to back at least 80 percent of the power they use in each hour with renewable electricity generated in that same hour. The backing can come from self-generation, long-term purchase contracts or storage, and centers serving only defense, civil protection or public security, or owned by critical state operators, are exempt. Each center must also cover 80 percent of its yearly consumption with renewable supply from recently built plants, with some exceptions; meet strict limits on energy and water use; and, if it hosts the most sensitive public-sector systems, keep their data in the European Union or the wider European Economic Area.

The government says the rules are about who pays. Data centers’ demand is essentially flat and inflexible, the decree’s preamble says, and where gas sets the price, more of it means dearer electricity for every consumer. Sara Aagesen, the minister for ecological transition, estimated that without the decree the impact on electricity bills could reach €5 billion, the trade publication DataCenterDynamics (DCD) reported.

The queue explains the hurry. Data centers already hold more than 15 gigawatts of grid-access permits, the decree says, which exceed “the most ambitious estimates of deployment for the coming years,” in the paper’s translation.Permits, Not LoadSpain’s 2024 AI strategy foresees 2.5 gigawatts of computing power in 2030, or 3.5 to 4 gigawatts of electricity demand, the decree says. A permit is authorized power to connect, not demand already running, DCD noted. Those not yet connected have six months to show they meet the energy and efficiency rules, or their permits lapse and their guarantees are forfeited.

There is a softer path, at a price. For five years from the decree’s entry into force, an operator whose center starts running before the end of 2030 may instead join the grid’s automatic power-reduction system and be able to cut its consumption to zero on the system operator’s signal. It then need match only 60 percent of each hour’s power in the grid-toll period called P1 until the end of 2028, and from 2029, 70 percent in P1 and 60 percent in P2. A center that leaves the system or breaks its terms may be disconnected “for the time strictly necessary.” The prospect of curtailment or disconnection without financial compensation was among the provisions operators most opposed, DCD reported.

Shortfalls are billed: €6 to €25 a megawatt-hour on all of a center’s consumption for missing the yearly renewable target, and €2 to €16 for missing the hourly one. The money goes to the cost of the electricity system’s capacity mechanisms, so that, the decree says, the extra cost “is not passed on to the rest of consumers.”

Until the European Union’s data-center label applies, expected in August 2027 (and, for energy, until Spain sets a method that adjusts the measure for climate), a center must also reach a power usage effectiveness of 1.25 or less within two years of starting up, and a water usage effectiveness of 0.1 liters per kilowatt-hour of computing load or less within one. Centers whose grid-access contracts are signed before 2029 may keep to the 1.25 power standard through 2031.

Projects of Europe’s digital-sovereignty programs get gentler terms. A center that is part of a bid in a European call launched before the decree, such as those for AI gigafactories and supercomputers, whose computing equipment remains under effective European control, without decisive influence from outside the Union, and whose hosting arrangements meet the decree’s separation requirements, needs to match each hour only with Spain’s national share of renewable generation in the previous year, rather than 80 percent, and faces its own efficiency limits, once the grid operator and the digital ministry both report in its favor.

Data at Home

A center hosting public-sector systems in the high category of Spain’s National Security Scheme must keep those systems’ content data, the data their use generates, the activity logs that contain them, and their copies and backups inside the European Union or the European Economic Area.The High CategorySystems whose compromise would cause “very serious harm” to the functions of public-sector bodies, in the decree’s words. Classified systems fall under their own rules. Technical metadata and telemetry are exempt, provided they contain no content or service-derived data. Administration and maintenance from other countries, including remote access to the protected data, are allowed only when technically indispensable, with no persistent copies kept outside, and must be logged, with the records kept for at least five years. The preamble gives the reason: according to a roadmap from Spain’s digital ministry that it cites, “more than 80 percent of cloud services and 90 percent of European data are controlled by American companies.” The clause imposes no requirement of nationality, corporate control or establishment in a particular member state, the decree says.

Spain’s cabinet approved the decree on Nov. 20, the same day President Trump threatened to stop American companies building data centers abroad, or tax them if they did.

The sector fought the drafts. When a new one was published in October, unnamed industry sources told DCD’s Spanish edition that “with this we cement our position as the worst place in the world for data centers,” in the paper’s translation. The final text includes changes from earlier drafts but keeps its main requirements, DCD reported on Monday.

Sources

  1. Boletín Oficial del Estado, “Real Decreto 1032/2026, de 20 de noviembre, 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 (BOE-A-2026-24439), in Spanish,” Nov. 21, 2026.
  2. DataCenterDynamics, “Spain approves decree on data centers to curb electricity costs,” Nov. 23, 2026.
  3. The White House, “At Press Briefing, President Trump Touts Historic Wins for Americans, Signals Deal-Making on Healthcare,” Nov. 20, 2026.
  4. Axios, “Trump floats taxing U.S. companies constructing data centers overseas,” Nov. 20, 2026.
  5. DataCenterDynamics (Spanish edition), in Spanish, “Es la muerte del sector”: 67.000M€ en riesgo por el nuevo decreto en España,” Oct. 27, 2026.