Spain’s Data Center Boom: Why Madrid Is the Focal Point
Spain is witnessing a significant influx of data centers as major technology firms choose the country as a strategic location for their operations. According to a report by real estate consultancy CBRE , the Iberian Peninsula is garnering interest from large tech companies looking to establish or expand data center projects, particularly in Madrid . This trend may seem surprising given the region’s perceived shortcomings as an ideal location for such facilities.
The Rise of Hyperscalers. The CBRE study indicates a unique concentration of data center projects in Spain from the so-called hyperscalers —massive providers of cloud services that operate extensive networks of data centers across the globe. Companies like Amazon , Microsoft, Google, and IBM are among the key players focusing their investments on the Iberian Peninsula. Essentially, there appears to be no major tech operator that does not include a data center project in their strategic plans for Spain.
Madrid: The New Tech Hub. One of the most striking findings is the expected capacity growth in the Community of Madrid , which is anticipated to reach a total of 203 MW in the near future. This includes substantial investments from globally recognized firms like Kyndryl and Ovhcloud , contributing to a projected total of €23.4 billion in data center investments by 2028. By 2026, Madrid’s data center capacity is expected to escalate to 222 MW .
Madrid vs. FLAP-D Cities. Traditionally, the EU data center market has been dominated by the FLAP-D group, which includes Frankfurt , London , Amsterdam , and Paris , with Dublin soon joining the ranks. Madrid, although classified as a Tier-2 city , is making strides by outperforming others such as Milan, Zurich, Berlin, and Oslo, while Barcelona holds the tenth position in Tier-2 with 42 MW of installed capacity. This shift indicates that Madrid is steadily progressing toward becoming a significant player in the European tech landscape.
Energy Concerns. Interestingly, the proliferation of data centers in Madrid raises energy-related concerns , particularly because the region produces less electricity than other parts of Spain. In 2024, Madrid generated 1,334 GWh , while its annual electricity consumption soared to 27,487 GWh , accounting for roughly 11% of national demand. This energy imbalance poses challenges, especially when considering the region’s heavy reliance on external energy supplies amidst an expanding data center market.
Disparities in Energy Production. The discrepancy in energy production and consumption is quite logical, as Madrid hosts a dense population and a thriving industrial sector. Meanwhile, regions with abundant renewable energy resources, such as Aragon, struggle to meet the consumption demands of larger cities like Madrid. While Spain has been focusing heavily on renewable energy initiatives, Madrid remains an outlier due to its lack of wind farms and other renewable resources.
Beyond Megawatts. The reasons behind companies’ choices extend beyond just raw energy metrics. Factors such as interconnection capabilities, logistics, and talent availability are also crucial in attracting tech firms to Madrid. The capital is equipped with a dense network of operators and data exchange nodes that facilitate efficient data traffic, which is fundamental for cloud services and AI applications.
Human Capital Matters. Another integral factor is the availability of skilled professionals . Data centers require technical expertise, and Madrid’s economy attracts a significant number of sector professionals. This concentration of talent parallels that of major European capitals such as Frankfurt and London, which are also known for their data center infrastructure.
The Energy Black Hole Risk. Despite its growing importance, Madrid risks becoming an energy black hole due to its near-zero self-production of energy. This dependence could affect its stability, especially after a recent nationwide power outage. As more data centers are established, Madrid must ensure robust energy supply and interconnection capabilities to support its ambitious growth plan.
Long-Term Solutions. Despite these concerns, hyperscaler companies are entering into long-term contracts and investing in renewable projects to mitigate energy issues. As such, Madrid’s ability to streamline energy delivery and ensure reliability will be vital in attracting more data center investments, allowing Madrid to leverage Spain’s overarching capacity to produce and supply energy to meet future demands.
With significant investments from tech giants and an infrastructure poised for growth, Spain, particularly Madrid, may very well be on a path to redefine its role in the global tech landscape. As data centers continue to proliferate in the region, the balance between energy demand and supply will be crucial to sustaining this growth and addressing the challenges that come with it.

