Spain stands out as one of the most attractive countries to host data centers (CPDs) - the buildings where the internet lives - by meeting unique conditions. Large investments, announcements of technology campuses, and plans by digital giants converge to paint an idyllic landscape. However, beneath the surface of this boom, questions arise about whether the country has the real and solid infrastructure that these types of projects require. It is undeniable that there is a window of opportunity and the conditions are optimal, but there are also obstacles that could limit the sector: bottlenecks, scarcity of connection points, water stress, energy sustainability, lack of planning, and regulatory constraints.
Spain's growth potential in this sector is enormous; indeed, the Catalonia-Madrid tandem presented by the Government to host one of the Artificial Intelligence gigafactories that the European Union intends to have operational between 2027 and 2028 is one of the strongest candidacies.
The privileged location of the Iberian Peninsula for international connectivity, with direct access to fiber optic cables linking to Europe, America, and Africa; a solid energy infrastructure led by renewable energy sources; the availability of land; and a regulatory environment favorable to digitalization and technological investment are some of Spain's main competitive advantages.
Spain boasts international connectivity, renewable energy sources, available land, and an environment favorable to digitalization
The list of strengths is extensive, but there are also aspects that urgently need to be addressed, such as the problem of connection points, which is the keystone of any data center project.
The key piece of the puzzle
There may be available land, a favorable regulatory environment, and unlimited investment, but without a connection point to the electrical grid, a data center cannot operate, no matter how innovative it may be.
Connection points are the physical (and administrative) nodes that allow a facility to connect to the transport or distribution grid and receive the required electrical power continuously and safely. These connection points are a limited resource.
Each substation has a maximum capacity and, in many areas of the country, a good part of that capacity is already committed by industrial, energy, or other data center projects. Obtaining a connection point is not automatic: it requires administrative authorization, investments in grid reinforcement, and deadlines that can extend for several years.
Obtaining a connection point is not automatic: it requires administrative authorization, investments in grid reinforcement, and deadlines
This element is key and strategic, as without a connection point, a data center cannot even start, no matter how advanced the project is or how much capital backs it. As things stand, the competition between developers is not only for land or clients, but for securing access to the electricity grid before others.
This bottleneck explains why many announced projects still lack a clear execution schedule and why electricity planning has become the main filter for the data center boom in Spain.
The most attractive territories for growing demand
Interest among global operators, hyperscalers, and investment funds is increasing. In Spain, data center demand is expected to grow by 90% between 2024 and 2028, implying an annual growth of 20%.
In the early stages of 2025, Spain reached 355 MW of installed capacity, and if the current trend were maintained, 2,180 MW could be reached in the next five years. However, a possible power limitation is forecast for 2030 around 1,400 MW; nearly 800 MW of power that would jeopardize almost 10 billion euros in direct investment.
The leading territories in this sector are Madrid, Barcelona, and Aragon, which represent 54.8%, 18.5%, and 10.7% of the national supply. The three regions represent 84% of the current capacity, and projections are encouraging: Madrid could reach 1,105 MW in 2030; Barcelona from 66 to 199 MW; and Aragon could reach 340 MW. If this materializes, Aragon would displace the Catalan capital as second in the ranking of regions with the most development in the data center industry. Furthermore, a step forward is expected from Bilbao and Malaga.
For its part, Extremadura is emerging with planned megacenters of up to 300–500 MW, designed under criteria of energy efficiency and renewable energy, showing an alternative model outside traditional hubs
The energy challenge and the importance of 2026
The first obstacle for data center projects is the fragmentation of regulations and the lack of territorial planning. There is no unified national policy that includes detailed planning and coordinates territories and the different actors involved: energy, sustainability, and industrial land.
Situations arise where municipalities themselves support the installation of data centers, but cannot guarantee their electrical connection, let alone ensure it, a problem closely linked to the aforementioned issue of connection points.
The energy challenge is another matter. The country is in full transition, and it is now that data centers are being integrated into its planning. Energy transport and distribution networks are being adapted to meet the needs implied by the deployment of these infrastructures.
This is because, on occasion, the energy infrastructure is not prepared to meet the sustained demand of tens or hundreds of megawatts that a data center requires. Furthermore, the processing of new grid access points, both in transport and distribution, can take years, delaying deadlines and curtailing the ability to scale the project rapidly.
Spain plans its electricity transport grid in six-year cycles. Law 24/2013 of the Electricity Sector allows for specific modifications, always subject to exceptional conditions and requiring time, which limits flexibility in the face of emerging demands. The current National Integrated Energy and Climate Plan, which dates from 2023 and extends to 2030 (PNIEC 2023-2030), does not integrate the future needs of the data center sector.
The Government, aware of the window of opportunity, is working on several fronts to improve regulations. On the one hand, it is finalizing a Royal Decree to establish a specific framework for data centers. Last August, it released for public consultation and information the draft Royal Decree regulating energy efficiency and sustainability for data centers. On the other hand, the Electricity Transmission Network Development Plan (2021-2026) expires in 2026, and it is expected that this plan will integrate the industry's demands. Soon, the Ministry for Ecological Transition and the Demographic Challenge will have to submit the Initial Development Proposal prepared by Red Eléctrica for the period 2025-2030 to public information, which will serve as the basis for the Development Plan ultimately approved by the Council of Ministers.
Water stress and sustainability
Another of the challenges is associated with the water stress implied by data center infrastructure. Spain suffers from increasingly intense drought cycles due to climate change, so water use is a vital part of the political and social agenda. Projects that do not manage to position themselves as environmentally friendly and ensure a local economic return will face significant public rejection.
The EU intends for projects to be in line with the Green Agenda. To this end, the goal is for data centers to be climate-neutral by 2030, which will require them to reduce greenhouse gas (GHG) emissions as much as possible and offset any emissions by purchasing carbon credits.
In order to demonstrate that the sector respects Agenda 2030, it has promoted a self-regulation initiative through the Pact for Climate-Neutral Data Centers.
Spain's Artificial Intelligence Strategy (2024) already includes a specific line aimed at generating storage capabilities under sustainable conditions, betting on the development of more efficient and environmentally friendly data centers. It is also expected that the 2028-2030 hydrological planning will involve all hydrographic demarcations.
The Ebro Hydrographic Confederation is, for now, the only one that has incorporated this element into its planning, and maintains that the foreseen impact will be, in general terms, "close to imperceptible". This is not the case in other demarcations, such as the Tajo, where this aspect is not reflected despite the contemplation of large data processing center installations. This disparity may complicate the environmental processing of future projects, especially in cases where binding reports from the hydrographic confederations themselves are required.
Cybersecurity Delay
Data centers are considered critical infrastructures, and as such must be protected. The Government of Spain has a significant regulatory delay in terms of cybersecurity. It has been more than a year since the Draft Law on Cybersecurity Coordination and Governance passed the Council of Ministers in its first reading (specifically, on January 14, 2025).
It is in this legislation where the creation of the National Cybersecurity Center is foreseen, which will coordinate the protection, precisely, of data centers.
In short, the national territory brings together unique conditions that position it as one of the locations with the greatest potential, capable of competing with the most consolidated markets in Northern and Central Europe, the so-called FLAP-D (Frankfurt, London, Amsterdam, Paris, and Dublin); but there is work ahead. Thus, the national challenge is not only to attract projects, but to plan and guarantee the basic infrastructure that allows them to become a reality. Faced with this challenge, Madrid, Aragon, and other regions compete not only to attract investments, but to offer real network, power, and sustainability to these large facilities.