New EU energy rules for homes

Spain's new energy rules for homes — what they actually require

The EU is pushing Spain to renovate its worst-performing homes this decade. There's no ban on your energy class — but the building code sets what your windows must meet, and the renovation pressure is real. Here's what's required, the dates that matter, and what your home needs region by region.

What the law actually requires (and what it doesn't)

You may have read that homes must reach “class E by 2030” or “class B by 2040.” Those figures were an early negotiating position and were dropped from the final directive. The adopted Directive (EU) 2024/1275 (EPBD recast) sets no per-dwelling energy-class requirement.

Instead, each member state must cut the average primary energy use of its residential stock — in Spain’s case by 16% by 2030 and 20–22% by 2035 — with at least 55% of that reduction coming from the worst-performing homes. Spain delivers this through its National Building Renovation Plan, the Código Técnico (CTE) and the energy certificate (CEE). Translation: if your home is poorly rated, you are precisely who the plan must reach — and your new windows must meet the building code’s U-value for your climate zone.

The dates that matter

Already in force
  • 2024EPBD in force
  • 2025Boiler subsidies end
  • 2026Spain transposes
  1. 2026Tax deduction

    40% deduction ends

    Last day works qualify for the IRPF deductions on dwellings — up to 40% back. This is the real deadline.

    Act before this
  2. 2030EU directive

    Stock −16%

    Spain must cut the average primary energy use of its housing stock by 16%, mostly by renovating the worst-performing homes.

  3. 2035EU directive

    Stock −20–22%

    The required cut in average primary energy use rises to 20–22%.

What your home needs — by region

The colder your climate zone, the lower the U-value the building code demands — and the more capable the glazing has to be. Pick your province to see the U-value your windows must meet and an illustrative installed cost. The cost figures are code-derived estimates, not market quotes — use the calculator for an exact price for your size.

Canary IslandsCáceresCádizCastellónCiudad RealCórdobaA CoruñaCuencaGironaGranadaGuadalajaraGipuzkoaHuelvaHuescaJaénLeónLleidaLa RiojaLugoMadridMálagaMurciaNavarraOurenseAsturiasPalenciaPontevedraSalamancaCantabriaSegoviaSevilleSoriaTarragonaTeruelToledoValenciaValladolidBiscayZamoraZaragozaCeutaMelillaÁlavaAlbaceteAlicanteAlmeríaÁvilaBadajozBalearic IslandsBarcelonaBurgosLas PalmasSanta Cruz de Tenerife
Max window U-value the code requires (W/m²·K): ≤ 3.2≤ 2.7≤ 2.3≤ 2.1≤ 1.8

Alicante

Comunitat Valenciana

Windows ≤ 2.3 W/m²·K
CTE climate zone
B4
Glazing to meet it
Low-e double + argon

Illustrative cost — code-compliant window, installed

Efficient PVC (from)€355
Typical€515
Thermal-break aluminium€680

Per ~100×100 cm unit. Illustrative estimate derived from the CTE U-value requirement for this zone — not a market quote.

Reach class A/B and you could claim back up to €3,000 via the 40% IRPF deduction (until end 2026).

How to pay for it

You don't have to carry the cost alone. Two schemes can stack on the same window project — and the tax deduction has a hard deadline.

Direct grant

Plan Estatal de Vivienda 2026–2030 — up to 40% of the cost, capped at €7,500 per dwelling.

IRPF deduction

Up to 40% back (max €3,000) — for dwellings, until 31 December 2026.

EU energy rules & your windows — straight answers

Does the new EU law force me to replace my windows?

No. The final EPBD (Directive (EU) 2024/1275) sets no per-home energy-class ban. It requires Spain to cut the average primary energy use of its housing stock — windows are simply the cheapest single lever to improve a home’s rating.

What does the EPBD actually require for homes?

Spain must cut the average primary energy use of its residential stock by 16% by 2030 and 20–22% by 2035, with at least 55% of that cut coming from renovating the worst-performing buildings. So poorly rated homes are exactly what the National Building Renovation Plan must target.

What must my windows meet?

The Spanish building code (CTE DB-HE1) caps the U-value of new or replacement windows by climate zone — from ≤ 2.7–3.2 W/m²·K on the warm coast down to ≤ 1.8 in the cold interior. Use the map above to see your zone’s limit.

Will I be unable to sell or rent a low-rated home?

There is no legal class ban for homes. But as renovation accelerates, a poor energy certificate increasingly means higher running costs and weaker resale and rental appeal — a market pressure, not a prohibition.

How much do code-compliant windows cost?

As an illustrative, code-derived guide, an installed window that meets your climate zone’s requirement ranges roughly €320–€830 per ~100×100 cm unit across Spain. Use the map for your province, then the calculator for your exact size.

Is there help paying for it?

Yes — a regional grant (up to 40% / €7,500 per dwelling) and the IRPF tax deduction (up to 40%) can stack on the same project. The deduction for dwellings ends 31 December 2026. See the savings guide for the details and a calculator.

See what your home needs

Price a code-compliant window in a minute, then get quotes from verified installers in your province.