Refurbishment permits in Spain: licencia de obra, the LOE and what you can and cannot do in 2026
Refurbishment permits in Spain: licencia de obra mayor or menor, the community approval rule, the LOE framework and 2026 tax deductions for energy renovation.
Refurbishment permits in Spain: licencia de obra, the LOE and what you can and cannot do in 2026
A guide to the permits, approvals, liability rules and tax incentives that govern renovation work on a Spanish property.
Renovating a property in Spain means clearing two separate gates, not one. The town hall issues the building licence (licencia de obra), and the community of owners must authorise anything that touches shared structure or common elements. Skip either and the work is illegal, regardless of how good the builder is. Since January 2026, a new regional housing law (Ley 5/2025 de Vivienda de Andalucia) has added a layer that actively facilitates refurbishment, and a December 2025 royal decree extended the IRPF tax deductions for energy rehabilitation work into 2026 and 2027. This guide walks through the Spanish permit system as it stands in 2026: the distinction between obra mayor and obra menor, the declaracion responsable shortcut, the Ley de Propiedad Horizontal approval that catches foreign buyers off guard, the LOE liability framework, the new Andalusian housing law, the available tax deductions, and what happens when someone builds without permission.
What is the difference between licencia de obra mayor and obra menor?
Spain classifies renovation work into two categories that determine everything that follows: the application path, the cost, the timescale and the liability. The dividing line is structural intervention, not project value or floor area.
A licencia de obra mayor (major works licence) covers any work that alters the building’s configuration: its composition, volumetry, structural system, or use. Under article 2 of the Ley 38/1999 de Ordenacion de la Edificacion (LOE), this includes new construction, extensions, structural interventions on existing buildings, changes of use, and any work on a listed or protected property. It requires a full architect’s project, filed at the town hall, and the town hall must resolve the application. In Andalusia, the LISTA (Ley 7/2021, de 1 de diciembre) sets a statutory maximum resolution time of three months, with silencio positivo, meaning the licence is deemed granted if the municipality does not respond in time. In practice, complex projects on the Costa del Sol frequently exceed that window, particularly where an environmental report or heritage assessment is triggered, so budget four to six months.
A licencia de obra menor (minor works licence) covers smaller interventions: interior redecoration, bathroom or kitchen refits that do not move walls, replacement of finishes, non-structural partitioning, and basic electrical or plumbing upgrades. The threshold varies by municipality, but the principle is consistent: if the work does not touch the load-bearing structure, the facade, the roof, or any shared installation, it is obra menor. In Andalusia, obra menor typically proceeds by declaracion responsable, a sworn statement by the owner or their architect that the work complies with applicable regulations, filed with the town hall before works start. The declaracion responsable is the key simplification: it lets minor works begin without waiting for a formal licence resolution, shifting compliance responsibility onto the declarant.
What does the 2026 Andalusian housing law change for refurbishment?
The Ley 5/2025 de Vivienda de Andalucia, published as BOE-A-2026-423 and in force since January 2026, introduces provisions that actively facilitate refurbishment. The law reinforces rehabilitation, accessibility and energy efficiency as regional priorities and allows urban planning instruments and municipal ordinances to permit works that improve a building’s energy performance, accessibility, or internal layout without requiring a full planning modification, subject to planning compatibility.
This means that energy retrofit work (insulation, lift installation, redistribution of internal layouts, external elements needed to meet current standards) may benefit from a simplified planning path under the new framework. The law applies to all residential housing in Andalusia and affects owners, tenants, developers and municipalities. For a foreign owner planning a renovation that includes energy efficiency improvements, the practical effect is that the scope of works that can proceed under a declaracion responsable or simplified licence may be wider than under the prior framework, though the town hall remains the gatekeeper and the community approval rules are unchanged.
The LISTA itself has been amended multiple times since its 2021 enactment, most recently on 7 April 2026, reflecting the ongoing adjustment of Andalusia’s urban planning framework. The Reglamento General of the LISTA (Decreto 550/2022) develops the procedural detail.
How do you apply for a building licence in Spain?
The application is filed at the municipal town hall (ayuntamiento), which holds the urbanistic competence under article 84 of the Ley 7/1985 Reguladora de las Bases del Regimen Local and, in Andalusia, the specific procedure set by the LISTA. The documents required scale with the works.
| Permit type | What it covers | Application | Resolution time | Fee or tax |
|---|---|---|---|---|
| Licencia de obra mayor | Structural change, extension, new build, facade alteration, change of use | Full architect project + technical documents | Up to 3 months (LISTA statutory max; often longer) | ICIO municipal tax, capped at 4% of construction budget in Andalusia |
| Licencia de obra menor | Interior non-structural works, bathroom or kitchen refit, finishes | Simplified technical description | Days to weeks | Municipal tasa (local fee schedule) |
| Declaracion responsable | Painting, tiling, minor repairs, non-structural partitions | Sworn statement of compliance | Immediate (works may start on filing) | Minimal or none |
For obra mayor, the project is drawn up by a registered architect (colegiado), who acts as the director de obra, with an aparejador (technical architect) as director de ejecucion. The project must justify technical compliance with the Codigo Tecnico de la Edificacion (CTE), the national building code referenced in LOE article 3. The town hall checks the project against the municipal plan (PGOU or, under the LISTA, a Plan Basico for smaller municipalities) and issues the licence or applies silencio positivo after the three-month window.
For a practical example, the Ayuntamiento de Marbella publishes the licencia de obra mayor and licencia de obra menor application forms on its urbanism portal, alongside a declaracion responsable template for qualifying minor works. Other Costa del Sol municipalities, from Estepona to Mijas, operate the same two-track system with their own document checklists.
What IRPF tax deductions are available for energy renovation in 2026?
A royal decree passed on 23 December 2025 (RDL 16/2025, BOE-A-2025-26458) extended three IRPF deductions for energy rehabilitation work that were due to expire. These are available to Spanish tax residents who carry out qualifying works on their habitual home or a property they rent out as a dwelling. Non-resident owners who are not IRPF filers cannot claim these deductions directly, but a resident co-owner or a resident tenant under certain arrangements may be able to access them. The deductions require payment by bank transfer, card, or cheque (never cash) and a before-and-after energy performance certificate issued by a qualified technician.
| Deduction | What qualifies | Reduction required | Deduction rate | Max annual base | Works deadline | Certificate by |
|---|---|---|---|---|---|---|
| Heating and cooling demand | Reduce demand for heating and cooling | At least 7% reduction | 20% | EUR 5,000 | 31 December 2026 | 1 January 2027 |
| Non-renewable primary energy | Cut non-renewable primary energy consumption or reach A/B rating | At least 30% reduction or A/B class | 40% | EUR 7,500 | 31 December 2026 | 1 January 2027 |
| Whole-building rehabilitation | Building-wide energy rehabilitation (community of owners) | At least 30% reduction or A/B class | 60% | EUR 5,000 (EUR 15,000 cumulative) | 31 December 2027 | 1 January 2028 |
The 60% whole-building deduction applies where the community of owners commissions building-wide rehabilitation work. The base is calculated by applying the owner’s participation coefficient to the amounts paid by the community, with a EUR 5,000 annual cap and a EUR 15,000 cumulative cap across the deduction period. Any amount exceeding the annual cap can be carried forward for four years. These deductions are distinct from the regional Plan Eco Vivienda grants administered by the Junta de Andalucia, which operate as direct subsidies rather than tax offsets. The full detail is on the AEAT deductions page, and the statutory text is in the disposition adicional quincuagésima of Ley 35/2006 as extended by RDL 16/2025.
When does the comunidad de propietarios need to approve your renovation?
This is the gate that catches foreign buyers by surprise. A valid town-hall licence does not override the community of owners. Article 7 of the Ley 49/1960 de Propiedad Horizontal (LPH) is explicit: no owner may carry out works that alter the building’s structure or affect common elements without prior authorisation from the comunidad de propietarios.
What counts as a common element or structural alteration is broader than many owners assume. It includes anything behind the shared facade, load-bearing walls between units, the roof, shared drainage and ventilation ducts, the building’s exterior appearance (window frames, facade colour, balcony enclosures), and any penetration of a party wall. Installing a swimming pool on a terrace, moving an interior load-bearing wall, rerouting a shared waste pipe, or changing the exterior window design all require community sign-off, not just a town-hall licence.
The approval threshold depends on the works. Accessibility upgrades under LPH article 10.1.b require a simple majority but the community cannot refuse them if they meet the legal conditions. Structural modifications that alter the common configuration, however, require the reinforced majority set out in LPH article 17 (three-fifths of the total ownership and quota). A neighbour who sees unauthorised structural work can seek a judicial injunction to halt it, and the community can demand restoration at the owner’s expense. This is a separate legal track from the town-hall licence, and a property owner needs both to be safe. Our guide to community fees and the comunidad de propietarios explains how the community governance system works in practice.
What happens if you skip the permit in Spain?
Building without a licence is an urbanistic infraccion. The LISTA classifies breaches in three tiers, with fines scaling sharply: minor (EUR 600 to 2,999), serious (EUR 3,000 to 29,999) and very serious (EUR 30,000 to 120,000). The tier depends on the nature of the breach, whether it affects protected land, and whether the offender is a repeat violator.
Beyond the fine, the administration can order restablecimiento de la legalidad: restoration of the physical situation to its prior state, meaning demolition of unauthorised construction or removal of unauthorised alterations. In Andalusia, this restoration order can be enforced for up to six years after completion. For works on protected rural land (suelo rustico preservado), the public domain, the coastline, catalogued assets, or green zones, there is no time limit.
After the six-year window, an unlicensed building may sometimes be regularised through an asimilado a fuera de ordenacion (AFO) procedure, which grants a limited legal status that allows utility connections but does not confer full title or the right to extend. The AFO route is never guaranteed and is never a substitute for a permit obtained before works begin. Buyers inheriting an unregularised structure face the consequences, which is why due diligence on illegal builds is essential before any purchase. Our illegal builds and land checks guide covers the AFO framework and what to look for in a registry search.
How does the LOE liability framework apply to renovation work?
The LOE (Ley 38/1999) does not just govern new builds. Article 2 brings within its scope any intervention on an existing building that alters its configuration: its composition, volumetry, structural system, or use. A refurbishment that moves load-bearing walls, adds an extension, or changes a property from commercial to residential use falls under the LOE and triggers its liability and guarantee regime.
Article 17 fixes three liability periods, each running from the acta de recepcion, the formal handover document signed by the promoter and the constructor under LOE article 6:
- Ten years for damage to the building’s structural elements (foundations, supports, beams, load-bearing walls, floors) that compromises mechanical resistance and stability. The promoter, in the case of a developer, must take out a seguro decenal covering this period.
- Three years for damage caused by defective execution that affects habitability: elements that compromise health, hygiene, acoustic comfort, or energy efficiency.
- One year for damage to finishing elements.
These periods apply to the agents who intervened in the project: the promoter, the constructor, the architect (director de obra), and the aparejador (director de ejecucion). Liability is several, meaning each agent is liable for the damage attributable to their own participation; it becomes joint and several only where the cause cannot be individually identified or where there is concurrence of faults. For a foreign owner commissioning a renovation, the practical implication is that the choice of architect and builder carries a legal weight that persists for a decade on structural work. A property survey commissioned before purchase can surface defects that fall within these warranty periods if the prior owner recently renovated.
Purely cosmetic works, those below the article 2 project threshold, fall outside the LOE. Their warranty rests on the builder’s contractual guarantee, typically one year, and the general legal regime for hidden defects (vicios ocultos) under the Codigo Civil.
What should a foreign owner do before starting renovation works?
The practical sequence, distilled from the legal framework above, is:
-
Engage a Spanish architect early. An architect registered with the Colegio de Arquitectos determines whether the planned works are obra mayor or obra menor, drafts the project if required, and certifies CTE compliance. This is a legal requirement for obra mayor, not optional.
-
Check the town-hall PGOU or Plan Basico. The municipal plan sets what is permissible on the plot: buildable area, height, setback, use. A renovation that breaches the plan will not receive a licence, regardless of the owner’s intent. The new Ley 5/2025 may widen the scope of energy and accessibility works that can proceed under simplified procedures, but the town hall confirms this case by case.
-
File the application or declaracion responsable before any works start. Starting works before filing is itself an infraccion, even if the project would have been approved.
-
Obtain comunidad authorisation for any structural or common-element works. Do this in writing, recorded in the community minutes, before the builder arrives on site. The community’s approval is separate from the town-hall licence and equally mandatory.
-
Budget the ICIO tax for obra mayor. In Andalusia, the Impuesto sobre las Construcciones, Instalaciones y Obras is a municipal tax capped at 4% of the construction budget, separate from the builder’s quote. Our villa build and renovation cost guide breaks down the full cost stack including ICIO and architect fees.
-
Check IRPF deduction eligibility if the work improves energy efficiency. If you are a Spanish tax resident, the RDL 16/2025 extensions may offset a meaningful share of the cost. Obtain a before-and-after energy performance certificate, pay by bank transfer or card (never cash), and consult a gestor or asesor fiscal to confirm the deduction applies to your situation.
-
Secure the acta de recepcion at handover. This document starts the LOE liability clock and is the basis for any future warranty claim against the builder or architect.
For a buyer inheriting a recently renovated property, a snagging inspection can identify defects that fall within the one-year finish warranty or the three-year habitability period, provided the prior owner’s acta de recepcion is within those windows. If a planning application has been refused, our guide to appealing a planning decision covers the reposicion, alzada and judicial routes.
This guide is general information, not legal or tax advice. Rules change and individual circumstances differ. Verify current requirements with an independent lawyer (abogado) or tax advisor (gestor/asesor fiscal) before acting.
Frequently asked questions
- Do I need a permit to renovate the inside of my Spanish property?
- Cosmetic work such as painting, tiling, replastering or swapping kitchen units typically needs only a declaracion responsable or, in some town halls, nothing at all. The moment the work touches load-bearing walls, the facade, the roof, installations shared with the comunidad or any common element, it escalates to a licencia de obra mayor and requires a full architect project filed at the town hall.
- How long does a licencia de obra mayor take in Andalusia?
- Under the LISTA (Ley 7/2021), the statutory maximum resolution time for a licencia de obra mayor is three months, with silencio positivo (deemed approval) if the town hall does not respond in time. In practice complex projects on the Costa del Sol often run longer, especially where an environmental report or heritage assessment is needed, so budget four to six months.
- Can the comunidad de propietarios block my renovation?
- Yes. Article 7 of the Ley 49/1960 de Propiedad Horizontal prohibits any owner from undertaking works that alter the building structure or affect common elements without prior authorisation from the community. Even with a valid town-hall licence, a neighbour can seek an injunction to halt unauthorised structural works, and the community can demand restoration at the owner's expense.
- What tax deductions are available for energy renovation work in 2026?
- RDL 16/2025 extended three IRPF deductions for energy rehabilitation. A 20% deduction for reducing heating and cooling demand by at least 7% (base up to EUR 5,000/year, works until 31 December 2026), a 40% deduction for cutting non-renewable primary energy consumption by 30% or reaching A or B rating (base up to EUR 7,500/year, works until 31 December 2026), and a 60% deduction for whole-building rehabilitation (base up to EUR 5,000/year, EUR 15,000 cumulative, works until 31 December 2027).
Sources and data
- Ley 38/1999, de 5 de noviembre, de Ordenacion de la Edificacion (LOE) — BOE - Agencia Estatal Boletin Oficial del Estado
- Ley 7/2021, de 1 de diciembre, de impulso para la sostenibilidad del territorio de Andalucia (LISTA) — BOE - Agencia Estatal Boletin Oficial del Estado
- Ley 49/1960, de 21 de julio, sobre Propiedad Horizontal (LPH) — BOE - Agencia Estatal Boletin Oficial del Estado
- Ley 5/2025, de 16 de diciembre, de Vivienda de Andalucia — BOE - Agencia Estatal Boletin Oficial del Estado
- Real Decreto-ley 16/2025, de 23 de diciembre (extension of energy rehabilitation deductions) — BOE - Agencia Estatal Boletin Oficial del Estado
- Deducciones por obras de mejora de la eficiencia energetica de las viviendas (Cuadro-Resumen) — AEAT - Agencia Estatal de Administracion Tributaria
- Urbanismo: Licencias Urbanisticas (Licencia de Obra Mayor y Menor) — Ayuntamiento de Marbella