Spain has introduced new regulations requiring data centres to obtain at least 80% of their electricity from renewable energy sources, as the government seeks to manage the growing power demand from digital infrastructure while protecting grid stability and meeting environmental targets. The measures, approved by the Council of Ministers through a Royal Decree, are designed to promote cleaner energy consumption, improve operational efficiency and strengthen the country’s digital sovereignty.
Under the new framework, data centre operators must ensure that their electricity consumption is matched with renewable energy generation on an hourly basis. The regulation also includes additionality requirements intended to encourage investment in new renewable energy capacity rather than relying solely on existing clean power supplies. Operators can meet these requirements through long-term power purchase agreements (PPAs), on-site renewable energy installations and energy storage systems.
The government has also introduced a voluntary transitional arrangement for data centre operators willing to accept priority disconnection during periods when the electricity grid faces operational pressure. This provision is intended to provide greater flexibility to grid operators while supporting the integration of new large-scale electricity consumers.
In addition to renewable energy requirements, the regulations establish interim energy and water efficiency standards for data centres. Operators will need to reduce electricity consumption associated with facility operations and improve water management while European-level efficiency standards are being developed. The framework also introduces mandatory sustainability and transparency reporting for the largest facilities.
Digital security and data protection are other important components of the new rules. Sensitive information handled by high-security systems must remain within the European Economic Area, with additional restrictions on access by service providers based outside the region. Companies failing to comply could face financial penalties and regulatory sanctions, including the suspension of electricity grid access and connection rights for up to three years. Projects already under development will generally receive six months to meet the new requirements.
The regulatory changes come as Spain experiences increasing demand for electricity from digital infrastructure. Third Vice-President and Minister for Ecological Transition Sara Aagesen stated that data centre projects have secured approximately 15 GW of grid access capacity, while another 20 GW is awaiting approval.
Government estimates suggest that uncontrolled expansion could increase annual electricity system costs by up to €5 billion, including €4 billion through higher wholesale electricity prices and €1 billion through capacity mechanisms.
Alongside the regulations, Spain has approved a €17.142 billion electricity grid investment plan extending to 2030. The programme will strengthen and expand the national electricity network to accommodate rising demand from data centres and other emerging sectors.
Through renewable energy requirements, efficiency standards and infrastructure investment, Spain aims to attract sustainable digital infrastructure investment while ensuring that data centre expansion remains compatible with its clean energy transition.
Discover more from SolarQuarter
Subscribe to get the latest posts sent to your email.






