Spain Introduces Strict Environmental Rules for Data Centres Amid Fears of Investment Losses

Spain has approved new water, energy and cybersecurity requirements for data centres, making it one of Europe's first countries to impose comprehensive sustainability conditions on the rapidly expanding sector. The decision has triggered a political dispute ahead of the November 29 election, with the opposition promising to repeal the regulations and industry representatives warning that billions of euros in investment could be redirected elsewhere.
Spain has approved a new regulatory framework imposing stricter environmental, energy and cybersecurity requirements on data centres, potentially reshaping the country's ambitions to become one of Europe's leading digital infrastructure hubs. The decree, adopted on November 20 by the Socialist-led government, introduces requirements concerning renewable electricity consumption and water efficiency, seeking to reduce the environmental footprint of facilities whose expansion is placing increasing pressure on local resources.
The decision comes as Spain attracts growing interest from international technology companies seeking locations for new data centres. Its abundant renewable energy resources, relatively large areas of available land and favourable conditions for infrastructure development have made the country one of Europe's fastest-growing markets for this type of investment. However, the rapid expansion of energy-intensive facilities has also intensified concerns about electricity demand, water consumption and the impact on surrounding communities.
Data centres are becoming increasingly important to Europe's digital and economic infrastructure, supporting cloud computing, artificial intelligence, financial services and government systems. Their expansion, however, requires substantial electricity supplies, cooling capacity and reliable network connections. As demand for computing power increases, governments face the challenge of attracting investment without allowing the infrastructure supporting digitalisation to undermine energy security or environmental objectives.
Political dispute puts investment plans at risk
The new requirements have quickly become a political issue ahead of Spain's November 29 election. The conservative People's Party (PP), which is leading in pre-election polling, has pledged to repeal the regulations if it comes to power. Alberto Nadal, the party's deputy secretary for the economy, argued that the framework effectively prevents new data centres from being installed, although the PP says it would replace the measures with legislation that supports development while maintaining sustainability standards.
Industry representatives have also strongly criticised the government's decision. Spain DC, the sector's industry association, has warned that the regulations could jeopardise investments worth billions of euros. Its executive director, Begoña Villacís, described the measures as potentially devastating for the industry, arguing that the new requirements could undermine the financial viability of planned projects.
The dispute reflects a broader tension between environmental regulation and the competition to attract digital infrastructure investment. Data centre developers must make long-term financial commitments based on predictable energy costs, regulatory conditions and access to resources. If compliance requirements substantially increase operating expenses or create uncertainty about future returns, investors may reconsider where to locate their facilities.
Executives from two companies involved in developing data centres in Spain have indicated that the new energy requirements could make a number of projects unprofitable. Both said their companies were considering alternative locations, including France and Portugal, for future developments. Such decisions could affect Spain's position in the European data centre market, particularly as other countries compete to attract investment from major technology companies.
Nevertheless, the position of the largest international operators has so far been more cautious. Amazon Web Services and Microsoft have indicated that their existing plans in the region remain unchanged. Their continued commitment suggests that Spain retains considerable investment appeal, although the longer-term impact of the new regulatory framework remains uncertain.
Energy costs and infrastructure capacity become central concerns
The Spanish government has defended the regulations on economic as well as environmental grounds. Energy Minister Sara Aagesen estimates that the decree could save consumers approximately €5 billion annually. The projected savings are largely linked to the expected effect on wholesale electricity prices, as additional gas-fired generation could otherwise be required to meet demand in the absence of the new requirements.
This argument highlights an important dimension of the debate: the expansion of data centres is not simply a question of attracting technology companies but also of determining who bears the cost of the electricity infrastructure required to support them. Large facilities can significantly increase regional electricity demand, potentially placing pressure on power grids and affecting the availability and cost of electricity for households and other businesses.
The government has also approved a separate plan to invest more than €17 billion in extending and modernising Spain's electricity networks by 2030. The investment is intended to strengthen grid capacity and accommodate growing electricity demand, including that generated by digital infrastructure and other expanding industrial sectors.
The two decisions illustrate Madrid's attempt to manage the expansion of data centres through a combination of stricter resource requirements and investment in energy infrastructure. However, grid modernisation alone will not resolve questions about the commercial viability of individual projects or the availability of water in areas facing environmental pressure.
A potential model for European digital infrastructure policy
Spain's approach could have implications beyond its national market. European governments are increasingly confronted with the need to expand digital infrastructure while meeting climate targets, protecting water resources and maintaining affordable electricity supplies. Data centres are particularly challenging in this respect because their economic value is growing alongside their demand for energy and other resources.
The Spanish decree could therefore become an important reference point in discussions about how the EU should regulate the sector. If the government succeeds in combining stricter environmental requirements with continued investment, its framework could encourage other European countries to adopt comparable standards. Conversely, if developers redirect substantial investment towards countries with less restrictive conditions, Spain's experience could reinforce concerns about regulatory fragmentation and competition within the single market.
The political dimension also creates uncertainty for investors. With the opposition promising to repeal the framework, companies considering long-term projects must account not only for the immediate cost of compliance but also for the possibility of regulatory changes following the election. This uncertainty could delay investment decisions even before any projects are formally cancelled.
Ultimately, the debate reflects a wider European policy dilemma: the continent needs more computing capacity to remain competitive in artificial intelligence, cloud services and other strategic technologies, but the infrastructure required to support this ambition must also be compatible with energy security and environmental commitments. Spain is attempting to establish stricter conditions for that expansion, while the reaction from developers and political opponents demonstrates how difficult it may be to reconcile these priorities.
Sources: Spanish Government, Ministry for Ecological Transition
