# 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.

Place: Spain  
Rules checked: 20 October 2026  
Canonical page: https://remodelsteps.com/permits/country-es  
Publisher: RemodelSteps (independent planning aid, not legal advice)

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.

## 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)

- Outcome: **Confirm with the authority** (Building permit)
- Source: [Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE)](https://www.boe.es/buscar/act.php?id=BOE-A-2015-11723#a11) — Artículo 11.3

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.

## 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)

- Outcome: **Confirm with the authority** (Building permit)
- Source: [Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE)](https://www.boe.es/buscar/act.php?id=BOE-A-2015-11723#a11) — Artículo 11.3

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.

## 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

- Outcome: **Confirm with the authority** (Building permit)
- Source: [Ley 38/1999, de Ordenación de la Edificación — art. 2 (BOE)](https://www.boe.es/buscar/act.php?id=BOE-A-1999-21567#a2) — Artículo 2.2.b

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.

## 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

- Outcome: **Confirm with the authority** (Building permit)
- Source: [Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE)](https://www.boe.es/buscar/act.php?id=BOE-A-2015-11723#a11) — Artículo 11.3

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.

## 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

- Outcome: **Confirm with the authority** (Building permit)
- Source: [Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE)](https://www.boe.es/buscar/act.php?id=BOE-A-2015-11723#a11) — Artículo 11.3 and 11.4.b–c

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.

## 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)

- Outcome: **Confirm with the authority** (Other approval)
- Source: [Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE)](https://www.boe.es/buscar/act.php?id=BOE-A-2015-11723#a11) — Artículo 11.3

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.

## 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

- Outcome: **Confirm with the authority** (Building permit)
- Source: [Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE)](https://www.boe.es/buscar/act.php?id=BOE-A-2015-11723#a11) — Artículo 11.3

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.

## 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)

- Outcome: **Required** (Building permit)
- Applies when: free-standing (not attached)
- Source: [Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE)](https://www.boe.es/buscar/act.php?id=BOE-A-2015-11723#a11) — Artículo 11.4.b

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.

### Check with the ayuntamiento: attached garage or extension

- Outcome: **Confirm with the authority** (Building permit)
- Applies when: attached to a building
- Source: [Ley 38/1999, de Ordenación de la Edificación — art. 2 (BOE)](https://www.boe.es/buscar/act.php?id=BOE-A-1999-21567#a2) — Artículo 2.2.b

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.

## 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

- Outcome: **Required** (Building permit)
- Applies when: with structural changes
- Source: [Ley 38/1999, de Ordenación de la Edificación — art. 2 (BOE)](https://www.boe.es/buscar/act.php?id=BOE-A-1999-21567#a2) — Artículo 2.2.b — intervenciones sobre edificios existentes

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.

### Project and licencia for works that change a building's use

- Outcome: **Required** (Building permit)
- Applies when: changes how the space is used
- Source: [Ley 38/1999, de Ordenación de la Edificación — art. 2 (BOE)](https://www.boe.es/buscar/act.php?id=BOE-A-1999-21567#a2) — Artículo 2.2.b — cambio de los usos característicos

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.

## 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)

- Outcome: **Required** (Building permit)
- Source: [Ley 38/1999, de Ordenación de la Edificación — art. 2 (BOE)](https://www.boe.es/buscar/act.php?id=BOE-A-1999-21567#a2) — Artículo 2.2.b) y c)

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.

## 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)

- Outcome: **Confirm with the authority** (Building permit)
- Source: [Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE)](https://www.boe.es/buscar/act.php?id=BOE-A-2015-11723#a11) — Artículo 11.3

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.

## 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

- Outcome: **Required** (Building permit)
- Source: [Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE)](https://www.boe.es/buscar/act.php?id=BOE-A-2015-11723#a11) — Artículo 11.4.c) y d)

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.

## 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)

- Outcome: **Confirm with the authority** (Building permit)
- Source: [Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE)](https://www.boe.es/buscar/act.php?id=BOE-A-2015-11723#a11) — Artículo 11.3

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.

## 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)

- Outcome: **Confirm with the authority** (Building permit)
- Source: [Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE)](https://www.boe.es/buscar/act.php?id=BOE-A-2015-11723#a11) — Artículo 11.3

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.

## 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)

- Outcome: **Confirm with the authority** (Building permit)
- Source: [Ley 38/1999, de Ordenación de la Edificación — art. 2 (BOE)](https://www.boe.es/buscar/act.php?id=BOE-A-1999-21567#a2) — Artículo 2.2.b) y c)

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.

## 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

- Outcome: **Confirm with the authority** (Building permit)
- Source: [Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE)](https://www.boe.es/buscar/act.php?id=BOE-A-2015-11723#a11) — Artículo 11.3 y 11.4.a)

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.

## 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)

- Outcome: **Confirm with the authority** (Building permit)
- Source: [Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE)](https://www.boe.es/buscar/act.php?id=BOE-A-2015-11723#a11) — Artículo 11.3 y 11.4.a)

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.

## 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)

- Outcome: **Confirm with the authority** (Building permit)
- Source: [Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE)](https://www.boe.es/buscar/act.php?id=BOE-A-2015-11723#a11) — Artículo 11.3

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.

## 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)

- Outcome: **Confirm with the authority** (Building permit)
- Source: [Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE)](https://www.boe.es/buscar/act.php?id=BOE-A-2015-11723#a11) — Artículo 11.3

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.

## Official sources

- [Real Decreto Legislativo 7/2015, texto refundido de la Ley de Suelo y Rehabilitación Urbana — art. 11 (BOE)](https://www.boe.es/buscar/act.php?id=BOE-A-2015-11723#a11)
- [Ley 38/1999, de Ordenación de la Edificación — art. 2 (BOE)](https://www.boe.es/buscar/act.php?id=BOE-A-1999-21567#a2)

Anything not listed is unreviewed, not exempt. Confirm with the responsible authority before you build.
