Subsidies 6 min read
IRPF deduction for solar panels in 2026: the honest guide
How the 20-60% IRPF deduction for solar panels really works. EEC requirements, the 40% trap, mistakes that void the deduction, 2026 deadline.
Translated from the verified Spanish article. Indicative figures, requires human review before publishing as fact. Always consult your tax advisor.
Yes, you can deduct up to 60% of your solar installation on your 2026 income tax return. But it’s not automatic. You need to meet specific conditions that many sites simplify or simply omit. Here we explain the full truth, the real requirements, and the mistakes that can void your deduction.
The 4 IRPF deductions available in 2026
Royal Decree-Law 7/2026 has extended the three existing energy-efficiency deductions (DA 50, 51, 52) and created a new one specific to self-consumption (DA 62). Indicative information — paperwork is the owner’s responsibility.
| Deduction | % | Condition | Max base | Deadline |
|---|---|---|---|---|
| DA 50 (demand) | 20% | Reduce ≥7% heating/cooling demand | €5,000/yr | 31 Dec 2026 |
| DA 51 (primary energy) | 40% | Reduce ≥30% non-renewable primary energy | €7,500/yr | 31 Dec 2027 |
| DA 52 (rehabilitation) | 60% | 30% reduction or class A/B | €5,000/yr (cum. €15,000) | 31 Dec 2027 |
| DA 62 NEW (self-consumption) | 10% indiv / 20% comm | Electrical Installation Certificate | €5,000/yr | 31 Dec 2026 |
The truth about each deduction
For 20% (DA 50)
You need to prove your installation reduces at least 7% of heating and cooling demand. This is measured by comparing two Energy Efficiency Certificates (EEC): one before the works and one after. It’s the easiest to reach if your home has some room for improvement.
For 40% (DA 51) — the most desired
You need to prove a 30% reduction in non-renewable primary energy consumption. This is the highest bar and the one that creates most confusion among installers and clients.
For 60% (DA 52)
Reserved for energy-rehabilitation works on whole buildings (homeowners’ associations). Requires reaching energy class A or B, or reducing consumption by at least 30%. Max base €5,000 yearly up to a cumulative €15,000 total. Doesn’t usually apply to individual installations.
For the new DA 62 (10-20%)
This is more accessible. It only requires the Electrical Installation Certificate (CIE) — the “boletín” your authorised installer issues at the end of the works. No EEC required.
| Installation type | Percentage | Max base | Max deduction |
|---|---|---|---|
| Individual home | 10% | €5,000/yr | €500 |
| Residential building (community) | 20% | €5,000/yr | €1,000 |
The Energy Efficiency Certificate (EEC)
The EEC is mandatory for DA 50, 51 and 52 deductions. It is NOT the same as the electrical certificate (CIE).
| Aspect | Detail |
|---|---|
| Who issues it | Architect, technical architect or certified engineer |
| Cost | €80–250 per home (free market) |
| Validity | 10 years (RD 390/2021) |
| You need TWO | One BEFORE the installation + one AFTER |
| Registration | Must be filed with the Junta de Andalucía's Department |
| When to request the 'before' EEC | BEFORE the first invoice of the works |
| When to request the 'after' EEC | Before 1 January of the year following the works |
The EEC framework is established by RD 390/2021 (BOE).
5 common mistakes that void the deduction
- Not requesting the “before” EEC in time — must be dated before the first invoice of the works.
- Paying in cash — payments MUST be by bank transfer or card. Tax Agency does not accept cash.
- Installing on a second home — DA 50 and 51 deductions are only for the taxpayer’s habitual residence.
- Not keeping itemised invoices — if Tax Agency audits, you need every itemised invoice (materials, labour, taxes).
- Assuming the post-EEC is issued automatically — it’s a separate task you must commission after the works.
Practical example: how much do I really recover?
5 kWp installation in habitual residence, total cost €6,500 VAT included, taxpayer with sufficient IRPF gross liability to absorb the deduction. Indicative calculation, depends on actual tax situation.
| Scenario | % Deduction | Applicable base | You recover |
|---|---|---|---|
| Only DA 62 (the easiest) | 10% | €5,000 | €500 |
| DA 50 (if you improve ≥7% demand) | 20% | €5,000 | €1,000 |
| DA 51 (if you improve ≥30% primary energy) | 40% | €6,500 | €2,600 |
| DA 51 with extra upgrade (insulation) | 40% | €7,500 (max) | €3,000 |
Max recoverable with DA 51
3,000 €
When is it declared?
- Installations completed in 2026 → declared in the 2026 income tax return (filed April–June 2027)
- You need the post-EEC issued before 1 January 2027
- Keep all documentation: itemised invoices, EEC pre+post, CIE, bank payment receipts
- Submit documentation alongside the return if Tax Agency requests it
Can non-residents claim?
If you’re an expat owner of a second home on the Costa del Sol and pay IRNR, see our pricing guide for solar in Málaga — there you have full access to IBI/ICIO bonuses. And if you’re a tax resident in another EU country, you may have equivalent deductions in your home country (consult a local tax advisor). For a complete view of all combinable subsidies, check the solar subsidies pillar for Andalucía, and to estimate your savings, try the solar savings calculator or read how much do solar panels cost in Málaga.
Preguntas frecuentes
Can the 40% (DA 51) be combined with the 10% (DA 62)?
There is NO official confirmation from the Tax Agency. DA 50/51/52 use the EEC, DA 62 uses the CIE — different documents. They could be compatible, but until official confirmation do NOT assume so. Consult your tax advisor.
What happens if I request the EEC after starting the installation?
You lose the right to the deduction. The 'before' EEC must be dated before the first invoice. This is mistake #1 that voids the deduction. Request the EEC BEFORE signing any installation contract.
Can I apply the deduction on a second home?
NO for DA 50/51 (require habitual residence). DA 62 self-consumption isn't designed for second homes either. Non-tax-residents are completely excluded from all IRPF deductions.
When is the deduction applied?
On the income tax return for the year you finished the installation. Installations completed in 2026 are declared in the 2026 return (April-June 2027). You need the post EEC issued before 1 January 2027.
What is the deadline for these deductions?
DA 50 and DA 62: until 31 December 2026. DA 51 and DA 52: until 31 December 2027. If RD-L 7/2026 is not extended again, these deductions disappear after.
━ End of article ━
Data verified against primary sources: PVGIS · BOE · BOJA · OMIE · Fundación Renovables
Last verification: 9 April 2026