The 2026 income tax return is filed in the spring of 2027, but many of the decisions that reduce it must be made before December 31. What you pay, donate, or sell after that date already counts for the following year.
These are the main avenues, under current regulations according to the Spanish Tax Agency.
Summary: what you can do before December 31
| What to do | Tax advantage | Limit or condition |
|---|---|---|
| Contribute to a pension plan | Reduces the taxable base | Up to €1,500 per year (more if there is a company plan) |
| Donate to an NGO or foundation | 80% deduction on the first €250 | 40% for the remainder (45% if you donate to the same entity for 3 years) |
| Complete energy efficiency renovation work at home | 20% or 40% deduction | Work paid until 12/31/2026 and certificate before 1/1/2027 |
| Install solar panels or batteries | New 10% or 20% deduction | Installation completed in 2026, up to €5,000 per year |
| Buy an electric car or charging point | 15% deduction | Purchase or installation completed in 2026 |
| Sell investments at a loss | Offsets gains from the same year | Losses must be realized in 2026 |
How much does a donation save me?
The first 250 euros you donate to entities covered by the Patronage Law are refunded at 80% on your tax return: if you donate 250 euros, the tax authorities deduct 200. Above that amount, the deduction is 40%, or 45% if you have donated to the same entity in the previous two years for an equal or greater amount. The entity reports the donation to the tax authorities, so it will appear in your tax data if you provide your ID (DNI).
And what about the pension plan?
What you contribute to an individual pension plan, up to 1,500 euros per year, is subtracted from your taxable base. The savings depend on your marginal tax rate: the more you earn, the more you get back. Beware, because the contribution must be made effective before December 31, and many management companies ask to make it a few days in advance.
What happens with energy efficiency renovation work?
Deductions for work that improves the efficiency of your primary residence, or a rented property, apply to amounts paid until December 31, 2026. The energy certificate following the work must be issued before January 1, 2027:
| Type of work | Deduction | Maximum annual base |
|---|---|---|
| Reduces heating and cooling demand by at least 7% | 20% | €5,000 |
| Reduces non-renewable energy consumption by at least 30%, or achieves energy class A or B | 40% | €7,500 |
| Energy rehabilitation of the building (homeowners' association) | 60% | €5,000; deadline until 12/31/2027 |
Is there a deduction for installing solar panels?
Yes, it is new in 2026. Royal Decree-Law 7/2026 created a 10% deduction for renewable self-consumption installations and batteries in owned properties, and 20% if they are done in residential buildings, with a maximum of 5,000 euros per year. The installation must be completed in 2026, have the electrical certificate, and be paid by card, bank transfer, or nominative check, never in cash. It is incompatible with energy efficiency deductions for the same installation.
Is it useful to sell stocks or funds at a loss?
Yes. If you have had gains this year, for example when selling stocks, selling other investments before December 31 that are worth less today than what you paid turns that loss into a tax loss and subtracts it from the gain. Watch out for the anti-application rule: if you repurchase the same securities in the two months before or after, the loss cannot be computed until you sell those new securities.
What about the electric car?
The 15% deduction for the purchase of a new electric vehicle, with a maximum base of 20,000 euros, applies to those acquired until December 31, 2026. The one for charging points, also 15%, requires the installation to be completed in 2026.
Do I have to keep any proof of payment?
Yes: invoices, certificates from NGOs and the pension plan, and energy efficiency certificates before and after the works. Hacienda may request them for four years.
Source: Agencia Tributaria and Royal Decree-Law 7/2026.
Contact