Note
Insulation in Spanish homes: what the code requires
Quick answer
The technical code applies to existing buildings only where an intervention significantly affects their energy behaviour, and existing buildings need not be nearly zero energy. Typical upgrades are roof, walls and windows. Ask a surveyor for a ranked list with costs and ask the town hall which permits apply.
Applies toBuyers of older homes who are weighing insulation and window upgrades.
On this page: 10 sections
§ 1What the code says
The technical building code’s energy section, in its 2019 version, controls the quality of the building envelope through the thermal transmittance of its elements, solar control and air permeability, and limits condensation. For existing buildings, the summary we read says the code applies to interventions only where they significantly affect the building’s energy behaviour, with levels that depend on the type of intervention, the use and the climate. It also says existing buildings are not required to be nearly zero energy. This page belongs to the chapter on energy and comfort in detail.
§ 2What this means
If you buy an old house and do nothing, the code does not oblige you to insulate it. If you carry out a large renovation, such as replacing the roof or the façade, the code’s requirements for that intervention apply, and your architect should tell you which. It also means that the home’s current level is whatever was built, which is why you must inspect it.
§ 3Where heat is lost
Roofs, walls, windows, floors over unheated spaces and air leaks around doors and shutters are the usual places. Single glazing and aluminium frames without a thermal break are common in older homes. A cold bridge, where a concrete beam crosses a wall, creates a cold surface where condensation forms, as the rules on damp and mould explains.
§ 4Typical upgrades
Typical upgrades are roof insulation, external or internal wall insulation, new windows with better glazing, sealing leaks and shutter boxes. External wall insulation changes a façade and in a block needs the community’s agreement. Internal insulation reduces room size and can create condensation if done badly. We found no official cost list, so ask for quotes.
§ 5Heating and cooling
Insulation changes how much heating and cooling you need, as the rules on heating explains. In hot areas it reduces the heat gain, and shading and ventilation matter as much as insulation. The code controls solar gain in new work.
§ 6Permits and help
Works usually need a municipal licence or prior notice, and some qualify for help. The rules on solar subsidies and tax breaks explains the incentives and says what we could not read. If you want a grant or deduction, ask before work starts.
§ 7The energy certificate
The certificate rates the building. A before and after certificate can prove an improvement for a deduction. It is not a survey, and it can contain assumptions, so use it for comparison and ask for a survey for defects.
§ 8Build it into the price
If a survey shows that the roof or windows need work, use it in your offer. A listed cost is a negotiating argument and a budget item.
§ 9What we could not verify
We read only the code’s summary, not the full technical text, and we found no official data on savings from specific upgrades.
§ 10More on this topic
The rules on solar panels explains the rules for installing solar panels on a Spanish home.
FAQRelated questions
Do I have to insulate an old house?
Not as a rule. The code says that existing buildings are not required to be nearly zero energy and applies to interventions that significantly affect energy behaviour. If you do major works, the rules for those works apply, so ask the architect.
Which upgrade first?
It depends on the home. Many surveyors look first at the roof, the windows and air leaks because heat is lost there, but the order must come from an inspection of the particular building. Ask for a ranked written list with costs.
Does insulation need permission?
Often a works licence or a prior notice is needed, and in a block, work on the façade or roof involves the community. Ask the town hall and the administrator before you order anything.
Sources
- Ministerio de Vivienda y Agenda Urbana: DB-HE 2019 basic concepts (technical building code) (official source, opens in a new window), HE0 HE1 HE4 HE5 and existing buildingsLast checked 18 October 2026
- Ministerio de Vivienda y Agenda Urbana: Documento Básico HS Salubridad (technical building code) (official source, opens in a new window), HS 1 moisture protection and HS 3 air qualityLast checked 18 October 2026
General information only. This is not legal, tax or financial advice. Check your own situation with a qualified adviser.