Back to Blog
solar policy13 min read

Solar Panels in Spain 2026: Prices, Grants, Tax Relief and Surplus Compensation

Check Spanish rooftop solar with a current quote, regional grant evidence, the customer's electricity use and the surplus-compensation contract that applies.

Nirav Dhanani

Written by

Nirav Dhanani

Co-Founder · SurgePV

Rainer Neumann

Edited by

Rainer Neumann

Editorial contributor · SurgePV

Published ·Updated

APPA Renovables (a Spanish renewable energy trade group) reports an average installed cost of EUR 6,682 for a 5.5 kW Spanish home system in 2025. That is about EUR 1,215 per kWp (kilowatt-peak, the panel capacity). APPA reports a 6 to 7 year payback before tax deductions. The RD 477/2021 grant (RD means Real Decreto, a royal decree) took no applications after 31 December 2023. Surplus compensation under RD 244/2019 credits money, not kWh, over at most one month.

What Solar Panels Cost in Spain in 2026

APPA Renovables, a Spanish renewable energy trade group, notes that Spain has no single official register of self-consumption installations. Self-consumption means you make solar power and use it on site. The most detailed cost figures come from APPA’s own 2025 annual report. It draws on data from installers, distributors and makers, and on a sample of more than 1,500 installations (APPA annual report 2025, PDF in Spanish).

2025 installation Average size Average investment Cost per kWp Direct saving in 2025 Payback (APPA)
Residential 5.5 kW EUR 6,682 EUR 1,215 EUR 1,038 6 to 7 years
Industrial 180 kW EUR 126,000 EUR 700 EUR 23,877 5 to 6 years

APPA publishes the average investment, the saving and the payback. The cost per kWp column is our own division (6,682 ÷ 5.5 = 1,215; 126,000 ÷ 180 = 700). Dividing APPA’s own residential figures gives 6,682 ÷ 1,038 = 6.4 years. That sits inside APPA’s 6 to 7 years. APPA’s savings are based on the 2025 average price published by Red Eléctrica (the grid operator), tolls, charges and the self-consumption share. They leave out tax deductions, municipal discounts and maintenance. Your own figure will change with your contract and your roof.

APPA’s residential saving is EUR 189 per installed kW in 2025 (5.5 × 189 = 1,039.5; APPA prints EUR 1,038 for the average home). One average from one report is a start for comparing quotes. It is not a price list. Compare quotes that list each cost and cover the same scope. The scope is modules, inverter (the unit that turns panel power into mains power), mounting, labour, electrical work, connection paperwork, taxes and any battery.

Solar Panel Output by Spanish City

At the same price and tariff, a kWp in the south pays back faster than one in the north. It makes more power. These are PVGIS 5.3 results. PVGIS is the European Commission’s solar estimate tool. The settings were SARAH-3 data, 2005 to 2023, terrain horizon on, crystalline silicon, 14% system losses, and optimal fixed tilt and azimuth (the compass direction the panels face). They were retrieved from the PVGIS API on 28 October 2026 for one city-centre point each.

City Region GHI (kWh/m² per year) Optimal tilt Yield (kWh/kWp per year)
Almería Andalusia 1,884 35° 1,723
Málaga Andalusia 1,897 34° 1,698
Granada Andalusia 1,867 34° 1,676
Seville Andalusia 1,904 35° 1,672
Córdoba Andalusia 1,879 35° 1,651
Valencia Comunitat Valenciana 1,771 37° 1,632
Murcia Región de Murcia 1,817 35° 1,630
Zaragoza Aragón 1,736 38° 1,624
Madrid Comunidad de Madrid 1,779 37° 1,620
Palma Balearic Islands 1,763 36° 1,598
Las Palmas Canary Islands 1,857 26° 1,583
Barcelona Catalonia 1,662 38° 1,571
Santiago de Compostela Galicia 1,411 35° 1,283
Bilbao Basque Country 1,279 36° 1,171

Seville yields 1,672 kWh per kWp a year and Bilbao 1,171. So a kWp in Seville makes about 1.43 times as much power (1,672 ÷ 1,171). Madrid sits at 1,620, or 1.38 times Bilbao. Ranking by yield is not the same as ranking by sunshine. Almería has lower GHI than Seville (1,884 against 1,904 kWh/m²) but a higher yield. GHI is the total sunlight that reaches flat ground in a year. The full method and the Europe-wide table are in the European city irradiance guide.

If you are comparing with the US, read are solar panels worth it in my state. For the neighbouring market, see solar incentives in Portugal.

Spain Rooftop Solar Market: Installed Capacity

The two industry groups that publish yearly self-consumption statistics give different 2025 numbers. They are UNEF (a Spanish solar trade association) and APPA Renovables. Both are shown with their source.

2025 figure UNEF (29 January 2026) APPA Renovables
New self-consumption capacity 1,139 MW 1,214 MW
Cumulative self-consumption capacity 9.3 GW 9,590 MW
New residential capacity 229 MW (36,330 homes) 368 MW (66,909 installations)
New commercial and industrial capacity 855 MW (176 + 679) 846 MW

UNEF reports that residential installations fell 17% from 275 MW in 2024. APPA reports that residential capacity grew 6.4%. They count in different ways. So quote the one whose source you name. UNEF also reports 55 MW of new off-grid installations in 2025, up 105% (UNEF press release). APPA counts 71,609 installations in 2025. Of these, 66,909 are residential and 4,700 are commercial and industrial. It also counts EUR 1,064 million of investment. It counts 339 MWh of batteries behind the meter (on the customer’s side of the meter), with 158 MWh residential and 181 MWh commercial and industrial.

APPA estimates total capacity for each region of Spain. Spain calls them autonomous communities. This shows where the market is. These are the seven largest regions:

Region Total (MW) Residential (MW) Commercial and industrial (MW)
Cataluña 1,812 549 1,263
Andalucía 1,775 511 1,264
Comunitat Valenciana 1,204 355 849
Castilla-La Mancha 888 189 699
Comunidad de Madrid 797 308 489
Aragón 580 85 495
Región de Murcia 533 119 414

Source: APPA Renovables estimate from regional data and public databases, figure 3 of the report. All regions together total 9,590 MW. APPA says the regional figures differ a lot between the regulator, the system operator and regional governments.

Solar Grants in Spain: RD 477/2021 and Regional Calls

The national grant for home solar was RD 477/2021. The regions paid it out of EU recovery funds. IDAE (the Instituto para la Diversificación y Ahorro de la Energía) and the consolidated BOE text (the official gazette) state the dates in article 4. Applications could be filed until 31 December 2023. No new applications are admitted after that date. The programmes stayed in force until 31 July 2024 after a December 2023 amendment (Real Decreto 1178/2023). APPA reports that regional payments of already-approved grants had to be completed by 30 June 2026. It says 665 million euros were paid in the regional updates of January and February 2026. That is 39% of the resolved budget.

The grant was a fixed amount per kW, not a percentage of the bill. Annex III set these amounts for programme 4 (homes, public bodies and the third sector, meaning private non-profit groups):

Item Grant Collective self-consumption
PV up to 10 kWp EUR 600 per kW EUR 710 per kW
PV above 10 kWp, up to 100 kWp EUR 450 per kW EUR 535 per kW
PV above 100 kWp, up to 1,000 kWp EUR 350 per kW EUR 420 per kW
Battery up to 10 kWh EUR 490 per kWh

Source: RD 477/2021, annex III, sector residencial. The grant could not exceed the justified eligible cost. These amounts are historical. Any grant for an installation now comes from a separate regional or municipal call. Read that call’s own text for who can apply, which costs count, the start-of-work rule and the budget. Keep an unconfirmed grant out of the base financial case. Model it as its own scenario.

Surplus Compensation Under RD 244/2019

Spain’s simplified compensation is a money balance. It is not net metering in kWh (where each kWh you export cancels a kWh you import). The consolidated Royal Decree 244/2019 lets a self-consumer with surplus join the scheme. A self-consumer is someone who makes power for their own use. Four conditions apply (article 4). The source must be renewable. The installed generation must be at most 100 kW. A compensation contract must be signed. The installation must have no other remuneration regime. Under article 14, surplus is valued in money against the energy bought from the grid in the billing period. The billing period cannot be longer than one month. The surplus value cannot exceed the value of the energy consumed from the grid in that period.

On a free-market contract, the hourly import and surplus prices are the ones you agree with the retailer. On the regulated small-consumer tariff, surplus is valued at the average hourly market price minus the imbalance cost. For background, read Spain net metering benefits and the net metering glossary entry.

Here is a monthly example with hypothetical inputs. They are not Spanish tariffs and not a customer result:

Input Illustrative value
Solar generation in one month 600 kWh
Generation consumed on site 240 kWh
Surplus exported 360 kWh
Avoided variable import price EUR 0.20/kWh
Assumed surplus value EUR 0.05/kWh

Avoided import cost is 240 × EUR 0.20 = EUR 48. Surplus before the limit is 360 × EUR 0.05 = EUR 18. Say the energy bought from the grid in that billing period was worth only EUR 10. Then article 14 caps the surplus credit at EUR 10, not EUR 18. Repeat the calculation for each billing period. One yearly self-consumption percentage hides the low-use months, when surplus cannot be valued in full. Tax and invoice presentation follow your contract and your bill. Use specific yield (kWh made per kWp) with stated units when you compare roof options.

Tax Relief: IRPF Deduction, IBI and ICIO

IRPF energy-efficiency deduction. IRPF is Spain’s personal income tax. The consolidated Ley 35/2006, additional provision 50 (text updated 8 October 2026), allows a 40% deduction on amounts paid for works until 31 December 2026. The works must cut a home’s non-renewable primary energy indicator by at least 30% or lift it to class A or B. The yearly base is capped at EUR 7,500. An energy performance certificate proves the result. It must be issued after the works and before 1 January 2027. A 20% deduction (base up to EUR 5,000 a year) applies when heating and cooling demand falls by at least 7%. Subsidised amounts are deducted from the base. The text does not name solar panels. Whether a given system qualifies depends on what the certificate shows. In January 2026 UNEF said measures including this deduction had lapsed. A decree-law that extended it was not validated. The BOE consolidated text above is later than that statement and gives 31 December 2026.

IBI and ICIO. Municipalities may discount two local taxes for solar. The property tax (IBI) discount can be up to 50% of the annual charge. It applies to properties with approved solar thermal or electric systems (article 74.5, Real Decreto Legislativo 2/2004). The construction tax (ICIO) discount can be up to 95% of the tax for works that add solar systems (article 103.2.b of the same law). These are ceilings. Each town hall sets its own percentage, duration, applicant conditions, application window and how to apply. It does this in its fiscal ordinance (its local tax rules). Read the current ordinance for your municipality before you count either discount in a payback.

Apartment Buildings and Collective Self-Consumption

RD 244/2019 recognises collective self-consumption. Here several consumers share one generation installation under a signed split among them. The grant table above paid a higher per-kW amount for collective projects. For an apartment building, first agree the project purpose, the consumers who take part and the allocation key (the rule for splitting the power). Then check the current collective rules and the distributor and retailer process. IDAE’s self-consumption office is the official starting point.

Solar Subsidie in Spanje: Foreign Homeowners

Dutch-speaking owners who search “subsidie zonnepanelen in Spanje” or “zonnepanelen Spanje subsidie” get the same answer as everyone else. The national RD 477/2021 grant no longer takes applications (closed 31 December 2023). A current subsidy would come from a regional or municipal call. The town hall where the property stands sets the local IBI and ICIO discounts above.

Compare Solar With and Without a Battery

Add the battery’s installed cost, usable storage, operating limits and replacement assumptions to the same project. Then compare both cases on the same customer profile. A higher self-consumption percentage does not by itself mean a shorter payback. APPA reports that behind-the-meter storage grew sharply in 2025. APPA says interest rose after the April 2025 blackout. For discounted cash flows, use the net present value definition. NPV is what future cash is worth today. Label a simple payback with the expenses it includes.

Before You Accept a Solar Proposal

Ask for these items. Get the itemised quote and a production estimate based on your site. Ask for the load profile (your electricity use over time) and a monthly import and export calculation. Ask for the compensation contract, written grant evidence and the operating-cost assumptions. A picture of the roof does not replace any of these.

Model a Spanish Home Solar Project

SurgePV supports roof modeling, array layout, shading and yield analysis, financial modeling and proposals. Bring a real project to a guided demo and ask which tariff and compensation inputs it supports.

Book a Free Demo

Guided demo with the SurgePV team

For SurgePV’s residential workflow, the demo shows the available inputs and outputs for a representative project.

Frequently Asked Questions

How much do residential solar panels cost in Spain?

APPA Renovables reports an average investment of EUR 6,682 for a 5.5 kW home system installed in 2025. That is about EUR 1,215 per kWp (6,682 ÷ 5.5). It is one average. Compare quotes that list each cost, with the same scope for your roof.

Are IDAE grants available for a 2026 installation?

Not under RD 477/2021. Its application window closed on 31 December 2023, and the programmes ended on 31 July 2024. Any grant now comes from a separate regional or municipal call. Check that call’s applicant rules, eligible costs and deadline.

Does surplus compensation offset every exported kWh at the retail rate?

No. Simplified compensation under RD 244/2019 is a money balance over a billing period of at most one month. The surplus credit cannot exceed the value of the energy bought from the grid in that period.

What is the payback period for home solar in Spain?

APPA estimates 6 to 7 years for a 5.5 kW home system installed in 2025. It uses an average cost of EUR 6,682 and a direct saving of EUR 1,038 (6,682 ÷ 1,038 = 6.4 years). The estimate leaves out tax deductions, municipal discounts and maintenance.

Is there a tax deduction for solar in Spain in 2026?

The IRPF (income tax) energy-efficiency deduction is 40% of amounts paid, with a EUR 7,500 yearly base. It covers works until 31 December 2026 that cut non-renewable primary energy use by at least 30% or reach class A or B. A certificate issued before 1 January 2027 must prove it. The law does not name solar panels, so the certificate decides. Municipalities may also discount IBI (property tax) by up to 50% and ICIO (construction tax) by up to 95%.

How much electricity does a kWp produce in Spain?

PVGIS 5.3, the European Commission’s solar estimate tool, gives about 1,723 kWh per kWp a year in Almería, 1,672 in Seville, 1,620 in Madrid, 1,571 in Barcelona and 1,171 in Bilbao. This is at the optimal fixed tilt with 14% system losses.

How big is the Spanish rooftop solar market?

UNEF (a Spanish solar trade association) reports 1,139 MW of new self-consumption in 2025 and 9.3 GW installed in total. Self-consumption means solar power made and used on site. APPA Renovables reports 1,214 MW new and 9,590 MW installed. The two groups count residential capacity differently (229 MW against 368 MW in 2025).

Is there still a national solar subsidy in Spain (subsidie zonnepanelen in Spanje)?

No, not under RD 477/2021. Its application window closed on 31 December 2023. A subsidy today would come from a separate regional or municipal call. Check that call’s conditions and deadline.

Sources

Where this fits

This article is part of SurgePV's Solar Incentives & Policy hub, which works through the topic from first principles to the decisions a project team actually has to make.

About the Contributors

Author
Nirav Dhanani
Nirav Dhanani

Co-Founder · SurgePV

Nirav Dhanani is identified by SurgePV as a company co-founder. His SurgePV author page lists only role information that can be tied to the public profile below; credentials, project totals, conversion results, and market-expansion claims are not asserted without retained evidence.

Editor
Rainer Neumann
Rainer Neumann

Editorial contributor · SurgePV

Rainer Neumann is credited as an editorial contributor on SurgePV content. This profile does not assert engineering credentials, project totals, software-testing experience, education, speaking engagements, or media citations because independent verification evidence is not retained in the publication record.

Get Solar Design Tips in Your Inbox

Join 2,000+ solar professionals. One email per week - no spam.

No spam · Unsubscribe anytime

Book Free Demo

Choose which optional technologies SurgePV may use. Essential storage remains active for security and requested features.