NATIONWIDE RULES · SPAIN
Do you need a building permit in Spain?
Short answer: it depends on the project. Across 19 project types, Spain lists 5 cases that need a permit or approval, 0 that may be exempt and 16 where you must confirm with the authority. Find your project below; each rule shows when it applies and links to the official page.
In Spain urban-planning permits (licencia de obra, declaración responsable, comunicación previa) are issued by ayuntamientos under autonomous-community planning law; state law (Land Law art. 11 and the Building Act LOE) sets only the general framework, such as express licences for new builds and a building project for structural or use-changing works.
| Project | What the rules say | First rule |
|---|---|---|
| Kitchen renovation | 1 rule · 1 says to confirm with the authority | Check with the ayuntamiento: kitchen renovation (obra menor / declaración responsable) |
| Bathroom renovation | 1 rule · 1 says to confirm with the authority | Check with the ayuntamiento: bathroom renovation (obra menor / declaración responsable) |
| Basement finishing | 1 rule · 1 says to confirm with the authority | Check with the ayuntamiento: basement works |
| Deck project | 1 rule · 1 says to confirm with the authority | Check with the ayuntamiento: deck or terrace platform |
| Shed project | 1 rule · 1 says to confirm with the authority | Check with the ayuntamiento: garden shed or small outbuilding |
| Fence project | 1 rule · 1 says to confirm with the authority | Check with the ayuntamiento: fence or boundary wall (vallado / cerramiento) |
| Pergola project | 1 rule · 1 says to confirm with the authority | Check with the ayuntamiento: pergola or shade structure |
| Garage project | 2 rules · 1 requires approval · 1 says to confirm with the authority | Express licencia for a new detached garage (obra de nueva planta) |
| Whole-home renovation | 2 rules · 2 require approval | Licencia and building project (proyecto) for structural or full-building renovation |
| Home addition | 1 rule · 1 requires approval | Licencia and building project (proyecto) for a home extension (ampliación) |
| Attic conversion | 1 rule · 1 says to confirm with the authority | Check with the ayuntamiento: attic conversion (bajo cubierta / buhardilla) |
| Garden suite / ADU | 1 rule · 1 requires approval | Express licencia for a new dwelling or prefabricated house on the plot |
| Roof replacement | 1 rule · 1 says to confirm with the authority | Check with the ayuntamiento: roof repair or replacement (cubierta) |
| Windows & doors | 1 rule · 1 says to confirm with the authority | Check with the ayuntamiento: replacing windows or exterior doors (carpintería exterior) |
| Siding & exterior cladding | 1 rule · 1 says to confirm with the authority | Check with the ayuntamiento: façade cladding or external insulation (SATE) |
| Patio & paving | 1 rule · 1 says to confirm with the authority | Check with the ayuntamiento: patio, paving, driveway or retaining wall |
| Pool or hot tub | 1 rule · 1 says to confirm with the authority | Check with the ayuntamiento: swimming pool or hot tub (piscina) |
| Solar panels | 1 rule · 1 says to confirm with the authority | Check with the ayuntamiento: solar panels (placas solares / autoconsumo) |
| Flooring replacement | 1 rule · 1 says to confirm with the authority | Check with the ayuntamiento: replacing floors (cambio de solado) |
Each rule is written in our own words from the authority’s public page linked under it. A rule applies only when all of its conditions match your project; anything not listed here is unreviewed, not exempt. Zoning, heritage, floodplain, HOA or condo and utility rules can add requirements. Confirm with the authority before you build.
Do you need a building permit for a kitchen renovation in Spain?
1 rule · 1 says to confirm with the authority
Check with the ayuntamiento: kitchen renovation (obra menor / declaración responsable)
In Spain the procedure for building works (licencia de obra mayor or menor, declaración responsable or comunicación previa) is set by each autonomous community's planning law and each ayuntamiento's ordinance; the state Land Law (art. 11) only says acts of building need whatever authorisation territorial and urban-planning law requires. Interior kitchen refits are usually handled locally as licencia de obra menor, declaración responsable or comunicación previa, and some municipalities exempt purely cosmetic work. Flats in buildings under propiedad horizontal also need the community of owners' rules respected, and protected buildings have extra limits.
Source: Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE) · Artículo 11.3
Plan a kitchen renovation here ↗Kitchen renovation guide →Compare other places →
Do you need a building permit for a bathroom renovation in Spain?
1 rule · 1 says to confirm with the authority
Check with the ayuntamiento: bathroom renovation (obra menor / declaración responsable)
In Spain the procedure for building works (licencia de obra mayor or menor, declaración responsable or comunicación previa) is set by each autonomous community's planning law and each ayuntamiento's ordinance; the state Land Law (art. 11) only says acts of building need whatever authorisation territorial and urban-planning law requires. Replacing a bath with a shower, retiling or moving fixtures is normally a minor-works procedure (licencia de obra menor, declaración responsable or comunicación previa) defined in the municipal ordinance. Protected or catalogued buildings and community-of-owners rules can add requirements.
Source: Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE) · Artículo 11.3
Plan a bathroom renovation here ↗Bathroom renovation guide →Compare other places →
Do you need a building permit for finishing a basement in Spain?
1 rule · 1 says to confirm with the authority
Check with the ayuntamiento: basement works
In Spain the procedure for building works (licencia de obra mayor or menor, declaración responsable or comunicación previa) is set by each autonomous community's planning law and each ayuntamiento's ordinance; the state Land Law (art. 11) only says acts of building need whatever authorisation territorial and urban-planning law requires. Fitting out a basement may also change its use (for example to habitable rooms), which the LOE (art. 2.2.b) ties to a building project; the local plan decides whether such use is allowed at all.
Source: Ley 38/1999, de Ordenación de la Edificación — art. 2 (BOE) · Artículo 2.2.b
Plan finishing a basement here ↗Basement finishing guide →Compare other places →
Do you need a building permit for a deck in Spain?
1 rule · 1 says to confirm with the authority
Check with the ayuntamiento: deck or terrace platform
In Spain the procedure for building works (licencia de obra mayor or menor, declaración responsable or comunicación previa) is set by each autonomous community's planning law and each ayuntamiento's ordinance; the state Land Law (art. 11) only says acts of building need whatever authorisation territorial and urban-planning law requires. There is no national size or height exemption for decks; ask the ayuntamiento which title applies and whether the local plan limits occupation or setbacks.
Source: Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE) · Artículo 11.3
Plan a deck here ↗Deck project guide →Compare other places →
Do you need a building permit for a shed in Spain?
1 rule · 1 says to confirm with the authority
Check with the ayuntamiento: garden shed or small outbuilding
In Spain the procedure for building works (licencia de obra mayor or menor, declaración responsable or comunicación previa) is set by each autonomous community's planning law and each ayuntamiento's ordinance; the state Land Law (art. 11) only says acts of building need whatever authorisation territorial and urban-planning law requires. The LOE (art. 2.2.a) excludes single-storey constructions of little constructive entity and technical simplicity, with no residential use, from its project requirement, but the Land Law (art. 11.4) lists new construction and the placing of prefabricated units among acts needing express authorisation. Whether a small shed needs a licencia de obra menor, a declaración responsable or a comunicación previa depends on your autonomous community and municipality.
Source: Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE) · Artículo 11.3 and 11.4.b–c
Plan a shed here ↗Shed project guide →Compare other places →
Do you need a building permit for a fence in Spain?
1 rule · 1 says to confirm with the authority
Check with the ayuntamiento: fence or boundary wall (vallado / cerramiento)
In Spain the procedure for building works (licencia de obra mayor or menor, declaración responsable or comunicación previa) is set by each autonomous community's planning law and each ayuntamiento's ordinance; the state Land Law (art. 11) only says acts of building need whatever authorisation territorial and urban-planning law requires. Fences and plot enclosures (vallados, cerramientos de parcela) are regulated by municipal ordinances and the local plan, which usually set maximum heights and materials; there is no national exemption.
Source: Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE) · Artículo 11.3
Plan a fence here ↗Fence project guide →Compare other places →
Do you need a building permit for a pergola in Spain?
1 rule · 1 says to confirm with the authority
Check with the ayuntamiento: pergola or shade structure
In Spain the procedure for building works (licencia de obra mayor or menor, declaración responsable or comunicación previa) is set by each autonomous community's planning law and each ayuntamiento's ordinance; the state Land Law (art. 11) only says acts of building need whatever authorisation territorial and urban-planning law requires. Pergolas, awnings and similar covers are treated differently by each municipality (sometimes as minor works, sometimes needing a licence); there is no national exemption, and protected areas and community-of-owners rules may restrict them.
Source: Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE) · Artículo 11.3
Plan a pergola here ↗Pergola project guide →Compare other places →
Do you need a building permit for a garage in Spain?
2 rules · 1 requires approval · 1 says to confirm with the authority
Express licencia for a new detached garage (obra de nueva planta)
Applies when: free-standing (not attached)
The Land Law (RDL 7/2015, art. 11.4.b) says building works and the construction of new-build facilities (obras de edificación ... de nueva planta) need an express administrative authorisation, with negative silence (no approval by default). A new detached garage is new construction, so expect a licencia urbanística from the ayuntamiento; the Constitutional Court (STC 143/2017) upheld this provision subject to its interpretation, and regional law sets the procedure details. Local plan setbacks and heights apply.
Source: Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE) · Artículo 11.4.b
Check with the ayuntamiento: attached garage or extension
Applies when: attached to a building
In Spain the procedure for building works (licencia de obra mayor or menor, declaración responsable or comunicación previa) is set by each autonomous community's planning law and each ayuntamiento's ordinance; the state Land Law (art. 11) only says acts of building need whatever authorisation territorial and urban-planning law requires. An attached garage enlarges an existing building; the LOE (art. 2.2.b) requires a project when the work essentially changes the building's volume or structure. Ask the ayuntamiento whether a licencia de obra mayor or a declaración responsable applies.
Source: Ley 38/1999, de Ordenación de la Edificación — art. 2 (BOE) · Artículo 2.2.b
Plan a garage here ↗Garage project guide →Compare other places →
Do you need a building permit for a whole-home renovation in Spain?
2 rules · 2 require approval
Licencia and building project (proyecto) for structural or full-building renovation
Applies when: with structural changes
Under the Building Act (Ley 38/1999, LOE, art. 2.2.b) interventions on an existing building that are total, or that essentially change its exterior composition, volume or overall structural system, are 'edificación' and need a building project (proyecto) drawn up by a qualified technician; such works also need the municipal licencia de obra mayor (or the title your autonomous community prescribes). Whether partial structural work reaches this level is decided locally. Works on catalogued or protected buildings fall under art. 2.2.c even when partial if they affect protected elements.
Source: Ley 38/1999, de Ordenación de la Edificación — art. 2 (BOE) · Artículo 2.2.b — intervenciones sobre edificios existentes
Project and licencia for works that change a building's use
Applies when: changes how the space is used
The LOE (art. 2.2.b) treats works on an existing building that aim to change its characteristic use (for example turning premises into a dwelling) as 'edificación' requiring a building project; the ayuntamiento's urban-planning licence or other title set by regional law is also needed. Planning-use rules of the local plan (plan general) still apply.
Source: Ley 38/1999, de Ordenación de la Edificación — art. 2 (BOE) · Artículo 2.2.b — cambio de los usos característicos
Plan a whole-home renovation here ↗Whole-home renovation guide →Compare other places →
Do you need a building permit for a home addition in Spain?
1 rule · 1 requires approval
Licencia and building project (proyecto) for a home extension (ampliación)
The Building Act (LOE art. 2.2.b) requires a building project drawn up by a qualified technician for interventions on existing buildings that essentially change their exterior composition, volume (volumetría) or structural system; an extension adds volume and footprint, so plan for a project and a municipal licence. The ayuntamiento decides the exact procedure under regional law and the local plan (plan general) sets whether extra buildable area is available. Protected or catalogued buildings need a project for any work affecting protected elements.
Source: Ley 38/1999, de Ordenación de la Edificación — art. 2 (BOE) · Artículo 2.2.b) y c)
Plan a home addition here ↗Home addition guide →Compare other places →
Do you need a building permit for an attic conversion in Spain?
1 rule · 1 says to confirm with the authority
Check with the ayuntamiento: attic conversion (bajo cubierta / buhardilla)
In Spain the procedure for building works (licencia de obra mayor or menor, declaración responsable or comunicación previa) is set by each autonomous community's planning law and each ayuntamiento's ordinance; the state Land Law (art. 11) only says acts of building need whatever authorisation territorial and urban-planning law requires. Converting an attic is usually handled as a reform (obra menor or mayor) by municipal ordinance. If it raises the roof, adds dormers that change the exterior composition or alters the structural system, the Building Act requires a building project (LOE art. 2.2.b). In flats, the community of owners (comunidad de propietarios) must usually agree to work on common elements such as the roof.
Source: Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE) · Artículo 11.3
Plan an attic conversion here ↗Attic conversion guide →Compare other places →
Do you need a building permit for a garden suite or ADU in Spain?
1 rule · 1 requires approval
Express licencia for a new dwelling or prefabricated house on the plot
State Land Law art. 11.4 requires an express licence — never obtained by administrative silence — for new-build construction (obras de edificación de nueva planta) and for placing prefabricated houses or similar installations, whether temporary or permanent. A residential new build also needs a building project under the Building Act (LOE art. 2.2.a), whose small-works exception covers only single-storey non-residential buildings. Whether the plan allows a second dwelling on the plot is a matter for the ayuntamiento.
Source: Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE) · Artículo 11.4.c) y d)
Plan a garden suite or ADU here ↗Garden suite / ADU guide →Compare other places →
Do you need a building permit for a new roof in Spain?
1 rule · 1 says to confirm with the authority
Check with the ayuntamiento: roof repair or replacement (cubierta)
In Spain the procedure for building works (licencia de obra mayor or menor, declaración responsable or comunicación previa) is set by each autonomous community's planning law and each ayuntamiento's ordinance; the state Land Law (art. 11) only says acts of building need whatever authorisation territorial and urban-planning law requires. Re-roofing is regulated by municipal ordinance (often obra menor or declaración responsable); there is no national exemption. Work that changes the roof's volume or structure needs a building project under the Building Act, and catalogued or protected buildings have stricter rules. Scaffolding on the public road usually needs a separate municipal permit.
Source: Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE) · Artículo 11.3
Plan a new roof here ↗Roof replacement guide →Compare other places →
Do you need a building permit for new windows or doors in Spain?
1 rule · 1 says to confirm with the authority
Check with the ayuntamiento: replacing windows or exterior doors (carpintería exterior)
In Spain the procedure for building works (licencia de obra mayor or menor, declaración responsable or comunicación previa) is set by each autonomous community's planning law and each ayuntamiento's ordinance; the state Land Law (art. 11) only says acts of building need whatever authorisation territorial and urban-planning law requires. Replacing windows is commonly treated as minor work under municipal ordinances, but there is no national exemption; local plans in historic centres often fix materials and colours, and in flats the community of owners' rules apply to façades. Opening or enlarging holes in load-bearing walls affects the structure and may need a project.
Source: Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE) · Artículo 11.3
Plan new windows or doors here ↗Windows & doors guide →Compare other places →
Do you need a building permit for new siding in Spain?
1 rule · 1 says to confirm with the authority
Check with the ayuntamiento: façade cladding or external insulation (SATE)
In Spain the procedure for building works (licencia de obra mayor or menor, declaración responsable or comunicación previa) is set by each autonomous community's planning law and each ayuntamiento's ordinance; the state Land Law (art. 11) only says acts of building need whatever authorisation territorial and urban-planning law requires. Re-cladding or insulating a façade is regulated locally; there is no national exemption. Under the Building Act a project is needed when the work essentially changes the building's general exterior composition, and any work on protected elements of catalogued buildings needs one too (LOE art. 2.2.b–c). In flats the community of owners must approve façade work.
Source: Ley 38/1999, de Ordenación de la Edificación — art. 2 (BOE) · Artículo 2.2.b) y c)
Plan new siding here ↗Siding & exterior cladding guide →Compare other places →
Do you need a building permit for a patio in Spain?
1 rule · 1 says to confirm with the authority
Check with the ayuntamiento: patio, paving, driveway or retaining wall
In Spain the procedure for building works (licencia de obra mayor or menor, declaración responsable or comunicación previa) is set by each autonomous community's planning law and each ayuntamiento's ordinance; the state Land Law (art. 11) only says acts of building need whatever authorisation territorial and urban-planning law requires. Paving and garden hardscaping are regulated by municipal ordinance. State Land Law art. 11.4 does require an express licence for earthworks and levelling (movimientos de tierras y explanaciones), so regrading or retaining walls can need a licence; a new vehicle access across the pavement (vado) usually needs a separate municipal permit.
Source: Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE) · Artículo 11.3 y 11.4.a)
Plan a patio here ↗Patio & paving guide →Compare other places →
Do you need a building permit for a pool or hot tub in Spain?
1 rule · 1 says to confirm with the authority
Check with the ayuntamiento: swimming pool or hot tub (piscina)
In Spain the procedure for building works (licencia de obra mayor or menor, declaración responsable or comunicación previa) is set by each autonomous community's planning law and each ayuntamiento's ordinance; the state Land Law (art. 11) only says acts of building need whatever authorisation territorial and urban-planning law requires. There is no national rule for private pools: the ayuntamiento's ordinance sets the procedure, setbacks and safety requirements, and the autonomous community may have its own pool-safety rules. Excavation for an in-ground pool is an earthworks act, which State Land Law art. 11.4 places under express licence. Electrical work must be done by an authorised installer.
Source: Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE) · Artículo 11.3 y 11.4.a)
Plan a pool or hot tub here ↗Pool or hot tub guide →Compare other places →
Do you need a building permit for solar panels in Spain?
1 rule · 1 says to confirm with the authority
Check with the ayuntamiento: solar panels (placas solares / autoconsumo)
In Spain the procedure for building works (licencia de obra mayor or menor, declaración responsable or comunicación previa) is set by each autonomous community's planning law and each ayuntamiento's ordinance; the state Land Law (art. 11) only says acts of building need whatever authorisation territorial and urban-planning law requires. The state laws cited here do not set a national procedure for rooftop solar; the ayuntamiento's ordinance and regional law decide whether a declaración responsable, comunicación previa or licence is needed. Protected buildings and historic centres may restrict visible panels, and in flats the community of owners must authorise use of the roof. Grid connection and electrical registration are separate formalities handled by the installer.
Source: Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE) · Artículo 11.3
Plan solar panels here ↗Solar panels guide →Compare other places →
Do you need a building permit for new flooring in Spain?
1 rule · 1 says to confirm with the authority
Check with the ayuntamiento: replacing floors (cambio de solado)
In Spain the procedure for building works (licencia de obra mayor or menor, declaración responsable or comunicación previa) is set by each autonomous community's planning law and each ayuntamiento's ordinance; the state Land Law (art. 11) only says acts of building need whatever authorisation territorial and urban-planning law requires. Replacing floor finishes is usually a minor interior work under municipal ordinances (often a declaración responsable or comunicación previa, sometimes no formality), but no national rule exempts it. Rubble containers on the street need a separate municipal permit, and in flats the community's rules and acoustic requirements may apply.
Source: Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE) · Artículo 11.3
Plan new flooring here ↗Flooring replacement guide →Compare other places →
If Spain has no rule for your project
These nationwide rules are the last fallback for every place in Spain. Regional and local rules can add requirements; where a region or city below has its own page, its rules come first.
Regions and cities in Spain with their own rules
Official sources consulted
- Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE)
- Ley 38/1999, de Ordenación de la Edificación — art. 2 (BOE)
Checked 20 October 2026 against the pages above by RemodelSteps content desk — public policy page review (not legal advice). Rules are re-checked before their review date and withdrawn if they lapse. Spotted a change? Tell us.