Buying & selling · · 22 min read
Energy Performance Certificate to Sell a Flat in Madrid in 2026: Who Issues It, What It Costs, How Long It Takes and What Happens Without One
An energy performance certificate (certificado energético) is compulsory to sell or let a flat in Madrid, and its rating must appear in the listing from day one. We explain who can issue it after the July 2026 changes, what it costs, how long registration with the Comunidad de Madrid takes, how long it lasts, what the fines are, which exemptions exist and whether the rating affects the price.

If you are going to sell a flat in Madrid, the energy performance certificate is one of the first documents you need, not one of the last. The law requires you to have it before advertising the property, to show its rating in the listing and to give the buyer a registered copy. Even so, the same questions keep coming up: who can issue it, what it costs, how long it takes, whether you have to pay anything to the Comunidad de Madrid (the regional government), how long it lasts and what happens if you sell without one.
In this guide, updated to 25 October 2026, we answer all of that with the regulations in hand: Royal Decree 390/2021, which governs the certificate; Royal Decree 659/2025, which changed the rules on who can sign it from 23 July 2026; and the official information from the Comunidad de Madrid. We also look at what the assessor checks during the visit, how to improve the rating, whether the rating affects the price and why the cédula de habitabilidad (certificate of habitability) no longer exists in Madrid. If you want the full list of documents needed to sell, see «Documents Needed to Sell a Flat in Madrid in 2026: Full Checklist, Where to Get Them and What They Cost».
What the energy certificate is and what the label shows
The energy performance certificate (certificado de eficiencia energética) is a document signed by a qualified assessor that rates the home with a letter from A (the most efficient) to G (the least efficient). That letter is summarised on the energy label, the coloured graphic you see in property listings. According to IDAE, the label shows two indicators: consumption of non-renewable primary energy and CO2 emissions. Put simply: how much energy the home needs under normal use and how much that energy pollutes.
The certificate is more than a letter. Royal Decree 390/2021 requires it to include, among other things, a description of the home's energy features, the date of the assessor's visit with the tests and checks carried out, and a list of technically feasible improvement recommendations with an estimate of how long it would take to recoup the investment. That part is the most useful for the owner, and also for a buyer who wants to know what a renovation would cost.
Is an energy certificate compulsory to sell a flat in Madrid?
Yes. Article 3 of Royal Decree 390/2021 requires a certificate for existing buildings or parts of buildings that are sold or let to a new tenant. A flat is part of a building, so it is fully covered. The obligation applies throughout Spain; what changes from one region to another is where the certificate is registered.
In a sale, article 17 requires a copy of the registered certificate and the label to be attached to the purchase contract. When letting to a new tenant, the label is attached to the tenancy agreement and the tenant receives a copy of the usage recommendations. According to the Ministry for the Ecological Transition's FAQ, if you renew the contract with the same tenant you do not need to provide it again, because they are not a new tenant.
For the building's energy performance certificate to be legally valid, it must be duly registered.
Royal Decree 390/2021, article 6.6
Two points cause a lot of confusion. First, the certificate must exist before you advertise the flat: the Ministry's FAQ makes clear that to advertise a sale or let you must already have the certificate signed by the assessor. Second, size does not exempt you: flats, apartments and commercial premises under 50 square metres that form part of a building also need a certificate. Only stand-alone buildings, not in contact with others, with less than 50 square metres of usable floor area are excluded.
Who can issue it: the qualified assessor from July 2026
The owner commissions the certificate and a qualified assessor (técnico competente) signs it. What has changed this year is who that assessor can be. Royal Decree 659/2025, published on 23 July 2025, came into force on 23 July 2026 and sets common requirements for the whole of Spain: the assessor must file a declaración responsable (a formal self-declaration) with the regional government of their tax residence before starting to certify, and that declaration qualifies them throughout the country. A Centralised Administrative Register of Qualified Assessors is also being created at the Ministry.
In the Comunidad de Madrid, according to the official procedure page, those who can register include holders of a qualifying university degree (architect, building engineer, engineer or technical engineer). Other university degrees in construction, engineering and science, and some higher vocational training qualifications or professional certificates covering energy certification, are also accepted, but in those cases the holder must pass one or two modules of a specific course unless their training already covers that content. The €55 registration fee is paid by the assessor, not by you.
Before commissioning it, it is worth asking a few questions:
- Are you registered as a qualified assessor with the declaración responsable required since July 2026?
- Will you come and see the property? The visit is compulsory: Royal Decree 390/2021 requires at least one, no more than three months before the certificate is issued.
- Does the price include submitting the certificate to the Comunidad de Madrid register and sending me the label?
- When will you deliver it and in what format? You will need the signed PDF and the label for the listing.
- Will the improvement recommendations be specific, with cost and payback period, or generic?
How much an energy certificate for a flat costs in Madrid
There is no official price. The Comunidad de Madrid states that any qualified assessor can issue it and that their fees are freely set. As a reference, the assessor platform Certicalia publishes an average price of €60 for Madrid, with a minimum of €45 and a maximum of €1,205, the latter for jobs much larger than a flat. The price rises with floor area, type of property and urgency.
What is official is registration, and here there is good news: registering the certificate of an existing home with the Comunidad de Madrid carries no fee. The procedure page puts it plainly: «No requiere el pago de tasas» (no fees are payable). The fees published by the regional government apply to registering newly completed buildings, not the second-hand home you are selling.
| Item | Amount | Source |
|---|---|---|
| Certificate for a home in Madrid, average price on an assessor platform | About €60 (minimum €45) | Certicalia, June 2025 |
| Registering the certificate of an existing home with the Comunidad de Madrid | €0 (no fee) | Comunidad de Madrid online office |
| Registering a newly completed residential building, or part of one | €204.02 | Comunidad de Madrid, fees for energy activities |
| Registering a newly completed single-family house | €61.21 | Comunidad de Madrid, fees for energy activities |
| Assessor's registration as a qualified assessor (paid by the assessor) | €55 | Comunidad de Madrid online office, July 2026 |
The certificate price is a guide only: each assessor sets their own. Certicalia does not state clearly whether its figures include VAT. New-build fees do not apply to selling a second-hand home; we include them so you do not confuse them.
A word of warning about very low prices. In 2023 the OCU, a Spanish consumers' organisation, requested 171 quotes in 26 cities and commissioned 15 certificates: it found wide differences in price and outcome between assessors, with very different ratings for the same home, and up to 11% of assessors agreed to certify without visiting the property. Today the visit is compulsory and the certificate must record its date. A certificate without a visit saves you nothing if it has to be redone.
How long it takes: from the assessor's visit to the label
The process has four steps, and almost all the time depends on the assessor's diary:
- You commission the certificate and the assessor visits the home. They take measurements and look at the orientation, windows, insulation and systems, and record the tests they carry out.
- The assessor runs the calculation with software recognised by the Ministry and issues the certificate. Certicalia mentions a usual turnaround of 24 to 48 hours from the visit, although each professional sets their own timeframe.
- It is submitted online to the Comunidad de Madrid register, with the signed certificate as a PDF and the calculation file in XML format. The owner or an authorised person can submit it, and this is usually the assessor. The deadline is one month from issue.
- From two working days after submission, the label can be downloaded from the Comunidad de Madrid label search tool. If the authorities find a defect, they may ask for it to be corrected.
In practice, between getting an appointment, the visit, issuing and registration, it is sensible to allow a few days rather than leaving it for the week you want to publish the listing. Since registration is what gives the certificate legal validity, ask the assessor for proof of submission and the downloaded label before you advertise.
How long it lasts: 10 years, or 5 if the rating is G
Article 13 of Royal Decree 390/2021 sets a maximum validity of ten years, unless the rating is G, in which case the maximum validity is five years. If you already have a valid certificate, you do not need another one to sell: the decree itself states that the obligation does not apply when a valid certificate already exists.
Watch out for old certificates. Those issued under the previous rules, Royal Decree 235/2013, remain valid until their validity period ends, according to the Ministry. That means a certificate from 2016 reaches ten years in 2026. Check the issue date before advertising: under the penalty rules, selling or letting with an expired certificate is the same as not having one.
If you renovate and improve the home's efficiency, the owner may voluntarily update the certificate under article 13.3. It is not compulsory, but if you have changed the windows or the boiler, a better rating in the listing may be worth having.
The label in listings: compulsory from day one
Article 15.2 requires the label to be included in every offer, promotion and advertisement for sale or rent, and article 17.3 extends the obligation to whoever publishes the listing, in any medium. The Ministry's FAQ adds two nuances: the label can be reduced or enlarged as long as its format and proportions are kept and it remains legible, and a sign that only says «se vende» (for sale) with a phone number does not need to show the rating.
In reality, the rule is not always followed. The Spanish Confederation of Consumers and Users (CECU) analysed 450 listings on two major property portals in six cities in July 2025. In Madrid, 30.7% of listings did not show the label, compared with 49.3% in the previous edition of the study. And in 68.0% of Madrid listings it found inconsistencies between the letter and the consumption and emissions values, which CECU describes as possible fraud. One of its Madrid examples: a home advertised with an E rating whose values would correspond to a D for consumption and a G for emissions.
The lesson for sellers is simple: use the registered label the assessor gives you, without rounding or adjusting the letter. Buyers who know the subject look at it, and a figure that does not add up creates mistrust just when you need it least.
What happens if you do not have one: offences and fines
Article 21 of Royal Decree 390/2021 refers to the penalty regime in the consolidated Land and Urban Regeneration Act (Real Decreto Legislativo 7/2015), which took over what was previously in Law 8/2013. Fines are imposed by the regional governments and apply to any individual or company, even for simple oversight. These are the offences most relevant to sellers:
| Conduct | Type of offence | Fine |
|---|---|---|
| Advertising a sale or let without mentioning the energy rating | Minor | €300 to €600 |
| Failing to renew or update the certificate when required | Minor | €300 to €600 |
| Selling or letting without providing a valid, registered and current certificate | Serious | €601 to €1,000 |
| Failing to submit the certificate to the regional register | Serious | €601 to €1,000 |
| Displaying a label that does not match a valid, registered and current certificate | Serious | €601 to €1,000 |
| Advertising a rating without a current, registered certificate | Very serious | €1,001 to €6,000 |
| Falsifying information when issuing or registering the certificate | Very serious | €1,001 to €6,000 |
Sources: twelfth additional provision of Real Decreto Legislativo 7/2015 (conduct) and the Balearic Islands Government, penalty procedure page (amounts). Repeating an offence can turn a minor one into a serious one and a serious one into a very serious one. If the profit obtained exceeds the fine, the penalty can match that profit.
Beyond the fine, not having a registered certificate complicates the sale itself: the registered copy must be attached to the purchase contract, and a well-advised buyer will ask for it before signing the arras (the reservation contract in which the buyer pays a deposit). It is far easier to have it from the start than to rush in the final week.
Exemptions: when a certificate is not needed
Article 3.2 of Royal Decree 390/2021 contains a closed list of exemptions. For a home in Madrid, almost none apply:
- Buildings officially protected for their architectural or historic value, only where any efficiency improvement would unacceptably alter their character. According to the Ministry, if the protected elements do not affect energy consumption, the exemption does not apply.
- Temporary buildings intended to be used for two years or less.
- Industrial, defence and non-residential agricultural buildings with low energy demand.
- Stand-alone buildings, not in contact with others, with less than 50 square metres of usable floor area.
- Buildings bought to be demolished or to undergo certain major renovations. To use this exemption, a declaración responsable must be filed with the regional government.
There are two common misunderstandings. The first: «my flat needs renovating, so I do not need one». The Ministry makes clear that the demolition or renovation exemption applies to the whole building, not to a single flat within a building. The second: «the property is in very poor condition». The rules contain no general exemption for poor condition; if you have a borderline case, such as an entire building that is going to be demolished, check it first with an assessor or a lawyer.
What the assessor looks at during the visit
The assessor must describe the home as it is and calculate its performance with software recognised by the Ministry. During the visit they usually focus on these elements:
- Floor area, orientation and the flat's position in the building (whether it has neighbours above and below or sits under the roof or on exposed façades).
- Façades, roof and insulation, and thermal bridges (points where heat escapes, such as pillars or roller-shutter boxes).
- Windows: frame type, single or double glazing and condition of the joinery.
- Heating: type of boiler, heat pump, electric radiators or the building's central heating.
- Domestic hot water and air conditioning.
Having some information to hand speeds up the visit and avoids mistakes: the year of construction, the referencia catastral (cadastral reference), the boiler or heat pump model and any renovations you have made, such as new windows or insulation. In its study the OCU found errors as basic as confusing a type of boiler with a heat pump, and recommends checking that the report correctly describes the boiler, windows, insulation and air conditioning before accepting it.
How to improve the rating before selling
The certificate itself tells you where to start: article 8 of Royal Decree 390/2021 requires recommendations on the building envelope (façade, roof, windows), the systems, including replacing equipment that uses fossil fuels, and automation, with an estimate of the payback period. The most common improvements in a flat are:
- Replacing old windows with better-insulated, double-glazed ones.
- Replacing an old boiler or electric radiators with more efficient equipment, such as a heat pump.
- Insulating from the inside walls or ceilings that face the outside or unheated spaces.
- Improving hot water, for example with a heat pump water heater.
Run the numbers before you spend. No renovation guarantees a specific jump in rating, because it depends on the building, and in a flat the façade and roof are decisions for the comunidad de propietarios (the owners' association). If you make improvements, you will need a new certificate, with its own visit and registration, for the new rating to appear in the listing.
Does the rating affect the sale price?
There are signs that it does, with nuances. A Banco de España study published in May 2025 analysed more than one million homes sold in Spain between 2015 and 2022. Its conclusion: on average, the most efficient homes sell for up to 9.7% more than the least efficient, and that gap has grown in recent years. The effect is greater for detached houses and in municipalities with higher heating needs.
It should be read with caution. It is a national average comparing the extremes of the scale, not the difference between two neighbouring letters, and for a flat in Madrid the location, floor, condition or light matter much more. A sensible way to see it: a good rating is a selling point and a low rating does not stop you selling, but buyers will factor it in when they work out what it will cost to live in the home or renovate it.
Cédula de habitabilidad in Madrid: not the same thing
This is a common confusion, especially among people who have sold in other Spanish regions. The cédula de habitabilidad (certificate of habitability) was the document confirming that a home met certain minimum living conditions. The Comunidad de Madrid abolished it in June 2018, arguing that it duplicated the licencia de primera ocupación (first occupation licence), which is issued by local councils. That is why you will not be asked for a cédula de habitabilidad to sell a second-hand flat in Madrid.
The energy certificate is something else: it does not say whether the home is habitable, but how much energy it uses and how much it pollutes. It is compulsory throughout Spain to sell or let, Madrid included.
What may change: the new EU directive
In 2024 the European Union adopted a new directive on the energy performance of buildings, Directive (EU) 2024/1275, and Spain has to adapt its rules. The Ministry for the Ecological Transition held a prior public consultation, from 7 January to 6 February 2026, on a new royal decree that would amend Royal Decree 390/2021. The issues raised include revising the main indicator and the letter scale, including the possibility of an A+ rating, linking the certificate to a renovation passport and reviewing its validity and display.
As of 25 October 2026 this is only a consultation: no text has been approved, and the consolidated text of Royal Decree 390/2021 in the BOE shows Royal Decree 659/2025 as its latest amendment. What is required today to sell is what we explain in this guide, and a valid certificate still works until its expiry date.
Quick checklist before advertising your flat
- Check whether you have a valid certificate and its date: ten years' validity, five if it is G.
- If you do not have one or it has expired, commission it from a registered assessor and confirm they will visit the property.
- Ask them to submit it to the Comunidad de Madrid register and send you the proof.
- Download the registered label and use it exactly as it is in the listing.
- Keep the certificate PDF: its registered copy will be attached to the purchase contract.
- Read the improvement recommendations: they help you answer buyers who ask about the rating.
How we do it at Llavely
At Llavely we sell homes in the Madrid region for 2.5% + VAT of the price, in total, which you pay only if you sell and on the day of signing at the notary. Everything is included except the energy certificate, which the seller provides because it has to be signed by an assessor. We take care of the rest: you get in touch and you can forget about it. The fee covers the valuation, photos, video, floor plan and virtual tour, the viewings, which we carry out ourselves, and a private seller portal where you follow the sale and receive offers in writing. Before publishing, our team reviews your energy certificate along with the rest of the paperwork.
We talk to every buyer before showing them your home to understand what they are looking for and how they would pay, and we check their ID before the viewing. We verify your identity and ownership with the nota simple (land registry extract) or your purchase deed. Our specialist lawyers, included in the fee, review the nota simple, charges and debts, calculate the applicable taxes, draft the arras and any special clauses when needed, review the deed and accompany you in person to the notary. If the buyer needs a mortgage, we put them in touch, free of charge, with a mortgage intermediary; buying with Llavely is free. All payments are made by ordinary bank transfer or OMF (orden de movimiento de fondos, a bank-to-bank transfer), never in cash.
We have more than 35 years in the property sector, with specialist lawyers, and we cannot promise you a timeframe or a price: they depend on the market and on your home. What we can do is help you go to market with your paperwork in order and a price based on data. Ask for your free valuation: we give you a range straight away, then we call you, see the home and fine-tune the price.
Frequently asked questions
Is an energy certificate compulsory to sell a flat in Madrid?
Yes. Royal Decree 390/2021 requires it to sell, or let to a new tenant, any existing home, including flats under 50 square metres within a building. You must have it before advertising, include the label in the listing and attach a registered copy to the purchase contract.
How much does an energy certificate for a flat in Madrid cost?
There is no official price: assessors set their own fees. As a reference, the Certicalia platform publishes an average price of about €60 for Madrid, with a minimum of €45. Registering it with the Comunidad de Madrid carries no fee for an existing home.
How long does it take to get an energy certificate?
It depends mainly on the assessor's availability. After the visit, issuing usually takes one or two days according to assessor platforms; it is then submitted for registration (there is a one-month deadline) and the label can be downloaded from two working days after submission. It is sensible to commission it a few days before you want to advertise.
How long is an energy certificate valid?
Ten years at most, unless the rating is G, in which case it is five. Certificates issued under the previous rules remain valid until their period ends, so one from 2016 expires in 2026.
Is there a fee to register the certificate with the Comunidad de Madrid?
No, for an existing home or building: the official procedure page states that no fees are payable. It is submitted online within a month of being issued. The fees published by the regional government apply to registering newly completed buildings.
What is the fine for selling or advertising a flat without an energy certificate?
Advertising without mentioning the rating is a minor offence, from €300 to €600. Selling or letting without providing a valid, registered and current certificate is serious, from €601 to €1,000. Advertising a rating without a current, registered certificate, or falsifying data, is very serious, from €1,001 to €6,000. Fines are imposed by the regional governments.
Can I sell a flat that needs renovating without an energy certificate?
Generally, no. The exemption for buying to demolish or renovate applies to whole buildings and requires a declaración responsable; according to the Ministry, it does not cover a single flat within a building. The rules also contain no general exemption for poor condition.
Is the cédula de habitabilidad the same as the energy certificate?
No. The cédula de habitabilidad (certificate of habitability) confirmed minimum living conditions and the Comunidad de Madrid abolished it in 2018, so it is not required to sell a second-hand flat in Madrid. The energy certificate measures energy use and emissions and remains compulsory.
Sources
- Real Decreto 390/2021 (Royal Decree 390/2021) of 1 June approving the basic procedure for certifying the energy performance of buildings, consolidated text (BOE, Spain's Official State Gazette, last updated 23 July 2025)
- Real Decreto 659/2025 (Royal Decree 659/2025) of 22 July amending Royal Decree 390/2021 (BOE, 23 July 2025)
- Frequently asked questions on Royal Decree 390/2021 on the energy performance certification of buildings (Ministry for the Ecological Transition and the Demographic Challenge, MITECO)
- Energy performance certification of existing buildings, procedure page (Comunidad de Madrid online office, updated 24 May 2024)
- Fees for energy activities (Comunidad de Madrid, consulted October 2026)
- Declaration of energy performance certification technician (Comunidad de Madrid online office, updated 30 July 2026)
- Energy efficiency of buildings (Comunidad de Madrid, updated 2 December 2025)
- Twelfth additional provision of the consolidated Land and Urban Regeneration Act (Real Decreto Legislativo 7/2015): offences relating to energy performance certification (Iberley, consulted October 2026)
- Penalty procedure for energy performance certification (Balearic Islands Government online office, consulted October 2026)
- Energy certification of buildings: recent update of the methodology (IDAE, Institute for Energy Diversification and Saving, November 2016)
- Prior public consultation on the draft Royal Decree amending Royal Decree 390/2021 (MITECO, 7 January to 6 February 2026)
- Does energy efficiency affect house prices in Spain?, Occasional Paper 2508 (Banco de España, 9 May 2025)
- How efficient are the homes we want to live in? 2026 edition (CECU, Spanish Confederation of Consumers and Users, 2026)
- How much does an energy certificate cost? (OCU, Spanish consumers' organisation, 25 September 2023)
- Energy certificate in Madrid: minimum, average and maximum prices (Certicalia, updated 24 June 2025)
- The Comunidad de Madrid abolishes the cédula de habitabilidad (certificate of habitability) to remove duplication and reduce red tape (Comunidad de Madrid, 26 June 2018)