homie
Guides & newsFor sellersMy flats
Check a flatCheck
← Guides & news/The flat

Energy certificate: what the letter means when you buy a flat in Spain (and the 2030 myth)

By Jon Frankena · Updated 5 October 2026Also in Castellano · Català
Short answer

Every flat for sale in Spain needs an energy performance certificate, and adverts must show its rating. There are two A–G scales: non-renewable primary energy use and CO₂ emissions. The rules are national, but each region keeps its own register: in Catalonia you can search ICAEN's, in Madrid the Comunidad's. Despite what some sites claim, there's no EU rule forcing an individual flat to reach a certain letter by 2030, and no ban on selling.

Older flats in Barcelona or Madrid often carry an E, F or G, and most buyers skim past the little coloured label. It's worth thirty seconds more than that, though not the panic some websites are selling about 2030.

What the letters measure

The label shows two ratings, each on its own A–G scale (MITECO, IDAE):

  • non-renewable primary energy use, in kWh per m² per year: how much energy the home needs for heating, cooling and hot water
  • CO₂ emissions, in kg per m² per year

Both are modelled estimates based on the building (walls, windows, orientation, systems). They aren't the current owner's bills. Two flats with the same letter can cost very different amounts to run, depending on how people live in them.

The rules when you buy

The rules are the same across Spain. Under Real Decreto 390/2021, any existing home that's sold or rented needs a certificate, and whoever advertises it must include the rating (MITECO). A certificate is valid for 10 years, or 5 years if the rating is G. It only has legal validity once it's registered with the region, and a copy of the registered certificate and its label is attached to the sale contract (BOE, arts. 6.6 and 17.2).

Real Decreto 659/2025, in force since 23 July 2026, created a central register of the technicians who can issue certificates. It didn't change validity (BOE).

How to check a flat's certificate

Each region runs its own register, so where you look depends on where the flat is.

In Catalonia, certificates are registered with ICAEN, the Catalan energy institute, and the register is public. Search by address, cadastral reference or municipality, see the ratings and download the label (ICAEN, ICAEN viewer).

In the Comunidad de Madrid, the label search lets you find a registered certificate's label by cadastral reference, municipality, postcode or address (Comunidad de Madrid). The Comunidad also publishes its register as open data, updated monthly, with each certificate's two letters (datos.comunidad.madrid).

In other regions, what you can search varies. If you can't find it, ask the seller for the registered certificate. You'll get it with the contract anyway, but you want it before you make an offer.

When you find it:

  • Check the date. A certificate from 2016 won't reflect the new windows put in last year, and the flat may be better than its letter.
  • Read past the letter. The full certificate describes the walls, roof and windows, including how well they insulate (U-values; lower is better). That shows whether the problem is fixable (windows) or structural (walls).
  • Ask for a year of electricity and gas bills. They tell you more about running costs than the letter does.

Check it on your flat

Check the address at texthomie.com or text it to homie on WhatsApp. It pulls the certificate and flags the weak parts of the envelope.

Check it on the web →Or text the address to homie on WhatsApp

The 2030 myth

You'll find pages saying that from 2030 a home must be at least E to be sold, D by 2033, and so on. That's not the law. It describes an early draft of the EU's building-performance directive, not the version that was adopted.

What Directive (EU) 2024/1275 says for homes (European Commission):

  • Each country must cut the average primary energy use of its whole housing stock by at least 16% by 2030 and 20–22% by 2035, compared with 2020. That is a national target, not a rule for each flat. At least 55% of the cut must come from renovating the worst-performing buildings.
  • Each country picks which buildings to target and which tools to use: grants, obligations or tax incentives.
  • No individual owner has to reach a letter by 2030, and nothing bans selling. The directive's mandatory minimum standards apply to non-residential buildings.

Countries had until 29 May 2026 to write the directive into national law. On 15 July 2026 the Commission sent formal notices to all 27 member states, Spain included, for not having fully done so (European Commission). Spain's own rules could still add incentives or requirements. We'll update this page when they're published.

What it means for your purchase

An E–G rating isn't a reason to walk away. Budget for the work instead: windows, insulation, a heat pump. Single-glazed windows in a 1920s Eixample flat are a common weak point, and a fixable one.

Grants exist for energy renovation at building and flat level. Check before you buy, because some require the community to apply.

Questions

Is an energy certificate required to sell a flat in Spain?
Yes. It's mandatory for sales and rentals everywhere in Spain, and the rating must appear in adverts.
Will I be banned from selling a G-rated flat in 2030?
No. The EU directive sets targets for the housing stock as a whole, not an obligation for individual homes.
How long is a certificate valid?
10 years, or 5 if the rating is G.
Where can I see a flat's certificate?
In the register of the region it's in. In Catalonia, ICAEN's public register, by address or cadastral reference. In Madrid, the Comunidad's label search, by cadastral reference or address. Elsewhere, ask the seller.
Do the letters predict my bills?
Only roughly. They're modelled on the building, not on how people use it. Ask for real bills.

Sources

  • MITECO: Real Decreto 390/2021
  • BOE: Real Decreto 390/2021, consolidated text
  • BOE: Real Decreto 659/2025
  • ICAEN: certificate register
  • ICAEN: public viewer
  • Comunidad de Madrid: energy label search
  • Comunidad de Madrid: energy certificate register (open data)
  • MITECO: how the rating is calculated
  • IDAE: energy rating of buildings
  • European Commission: the Energy Performance of Buildings Directive
  • European Commission: transposition notices, 15 July 2026
← All guides & news
More guides
News · 12 October 2026Rental listings fell after the housing decrees: what the 9% drop in Madrid shows, and what it doesn'tLong-term rental listings fell 12,5% in Murcia and 9,2% in Madrid in a week, says EsadeEcPol. Barcelona held. What the count measures, and what renters can do.
News · 12 October 2026The new rent deduction of up to €1.163: who gets it, how much, and what's still unclearThe housing decree brings back a state income tax deduction for tenants: 10% of rent, up to €1.163. Who qualifies, the income test, worked examples, open questions.
News · 12 October 2026The ECB raised rates to 2,5%: what it means for your mortgage in SpainThe ECB raised rates on 10 September and the 12-month Euribor averaged 3,247% in September. What that does to a variable mortgage, and to fixed offers.
homie
Guides & newsFor sellersSourcesPrivacy & legalinfo@texthomie.com@texthomie_

Every figure carries its source and the date it was pulled: the State's registers everywhere, and each region's and city's own open data where they publish it. Barcelona, 2026. homie's information is indicative and can contain errors. Before deciding, check what matters with a lawyer, the Property Registry and an approved appraiser.