Spain was an early leader in development of wind power, ranking second after Germany by installed capacity until 2006, when it was surpassed by the United States. In November 2009, a wind storm caused wind farms to produce a peak of 53% of total electricity demand (11.546 GW). This was surpassed in November 2011 with a capacity peak of 59% of power demand being generated by wind power. In 2009, the largest producer of wind power in Spain was
Iberdrola, with 25.5% of capacity, followed by
Acciona with 20.9% and NEO Energia (
EDP Renewables) with 8.3%. After the fallout from the financial crisis in 2008 and the dire straits of the Spanish economy in the subsequent period, installations of new wind turbines all but stagnated between 2012 and 2015, remaining at close to 23,000 MW installed capacity for the entire period. While Spain reduced wind turbine expansion, other countries continued to accelerate new wind turbine installations. By 2015, India had moved ahead of Spain in total installations. On 6 February 2013, wind power achieved an earlier record in electricity production, reaching an instantaneous peak of 17,056 MW and an hourly production of 16,918 MWh. In 2014, a record breaking year for renewable electricity production, wind power accounted for 20.2% of total electricity generation in Spain making it the second most important electricity source after nuclear power (22%) and ahead of coal power (16.5%). In earlier periods wind energy covered 16% of the demand in 2010, 13.8% in 2009 and 11.5% in 2008. By year end 2015, Spain was the world's fifth largest producer of
wind power with 23,031 MW installed capacity (including 11 MW of wind-hydro capacity), providing 48,118 GWh of power and 19% of the country's total electricity production in that year. On windy days, wind power generation has surpassed all other electricity sources in Spain; In November 2015, 70.4% of the electricity consumed in
Peninsular Spain was covered with wind power energy. In 2022, Spain's wind energy sector contributed significantly to the country's electricity supply, averaging 25% of total consumption. This figure stands in contrast to the
European Union (EU) average, which is over 17%. On specific occasions, the contribution of wind power in Spain reached 50% of the total electricity demand, indicating the sector's capacity to meet a substantial portion of the country's energy needs. == Onshore capacity and generation ==