Pillar: Hazards and constraints
Spanish coastal law: what the 100-metre rule means when you buy property


On this page
Before paying a deposit, check the public-domain boundary, the restrictions on the plot and the documents covering the house.
Have a specific plot in mind? The report gathers the public data and official maps for it, with source and date, for €29 VAT included. Pin it on the map →
The Spanish Coastal Law (Ley de Costas) divides the shore into strips that mean different things. Land inside the deslinde, the official boundary, is coastal public domain (dominio público marítimo-terrestre) and cannot be bought. Behind it runs the protection easement, 100 metres as a rule, where a house on private land covered by the 1988 transitional rules can be lived in, sold, repaired and modernised but not extended, and where new homes are banned save for exceptions. This page sets out what to check, in that order, before you pay a reservation fee or a deposit (arras): where the approved line runs, which width applies on your stretch, and whether the house and the works you plan have a legal basis.
For an existing home, check the transitional rules for renovation.
First: which line are you looking at?
“Costas does not apply” is a listing phrase, not a fact. It may refer to the deslinde, which separates public domain from private land; to the ribera del mar, the legally defined seashore from which every distance is measured; to the right of way, the protection easement or the zone of influence. Each leads to a different question and a different document.
The ribera covers the land reached by the largest known storms or, if further inland, the highest equinoctial spring tide, and beaches, with the dunes needed for their stability and for coastal defence (article 3.1). Near-vertical cliffs touching the sea are also public domain up to their crown (article 4.4).
| Line on the viewer | What it means | What it does not prove | First step |
|---|---|---|---|
| Approved deslinde | The State has declared the land inside the line public domain (article 13.1). | It does not say whether a house outside it is lawful, or which protection width applies. | Ask the Demarcación for the approved plan and the position of plot and house. |
| Deslinde being processed or revised | A procedure is open; its start is noted in the Land Registry (article 12.4). | The final line is not known yet, and the draft line may move. | Ask for the file status; no new concessions or authorisations are granted meanwhile (article 12.5). |
| Protection line | Where the protection easement ends on the drawing (100 m as a rule, article 23.1). | It does not transfer ownership, and the line drawn may assume 20 m where the land was urban in 1988. | Town hall certificate of the 1988 classification and the plan for the stretch. |
| Right of way | 6 m kept open for walkers and rescue (article 27.1). | The MITECO viewer does not draw it. | The Demarcación confirms the route and any wider strip, up to 20 m. |
| Zone of influence | At least 500 m set by planning (article 30.1). | It is not a ban on building; it limits density and screens of buildings. | Ask the town hall for the plan and the reference density. |
| No line near the plot | The viewer shows nothing at this scale or on this stretch. | It does not prove the plot is free of coastal rules. | Ask the Demarcación in writing whether a deslinde exists for the stretch. |
Each line leads to a different document. Sources: BOE, Coastal Law 22/1988, article 12; BOE, Coastal Law 22/1988, article 23; MITECO, published deslinde lines. Accessed 30 October 2026.
Always ask for the approved line, not the one on a brochure map. An open deslinde already has effects: its start is noted in the Land Registry, and it suspends new concessions and authorisations in the public domain and the protection strip until it is resolved (article 12.4 and 12.5).
The protection easement: 100 metres and when it changes
The law sets a protection easement (servidumbre de protección) of 100 metres measured inland from the inner limit of the seashore (article 23.1). The State can widen it by up to another 100 metres where needed to make it effective on that stretch, with the agreement of the region and the town hall (article 23.2). Along river banks as far as the tide is felt it can be reduced to a minimum of 20 metres (article 23.3).
Inside the strip, buildings for residence or habitation are banned, among other things (article 25.1.a). As a rule only works that cannot go elsewhere, services needed for or useful to the use of the public domain, and open-air sports facilities are allowed (article 25.2), each with a regional authorisation (General Coastal Regulations, article 49.1). In the first 20 metres, fences and walls are not allowed except on the conditions set by regulation (article 24.2).
100 or 20 metres? The 1988 classification
The width that applies to your plot depends on how the land was classified when the law came into force on 29 July 1988. If it was urban, protection is 20 metres (DT 3ª.3). Ask the town hall for a certificate of the classification at that date: today’s classification does not prove the 1988 one. DT below means a transitional provision (disposición transitoria) of the Coastal Law, unless another law is named.
| Your situation | What applies | What to ask for |
|---|---|---|
| Land classified as urban on 29 July 1988 | Protection is 20 m. That alone does not allow new homes: they need an approved plan meeting all the conditions in DT 3ª.3. Historic centres follow their own rules. | The 1988 classification and, for new homes, the plan that justifies the DT 3ª.3 conditions. |
| Land zoned urbanizable programado or apto para urbanizar, with a plan parcial given final approval before the law took effect | The 20 m rules for urban land, subject to the plan being carried out and revised where required (DT 3ª.2.b). | Final approval, deadlines, proof the plan was carried out, and later revisions. |
| A built-up area not urban in 1988 claiming 20 m under Law 2/2013 | Law 2/2013, DT 1ª.1, opened a two-year window from its entry into force, with conditions on services and how much was built. New homes banned by article 25 remain banned. | Town hall and Demarcación: the application file. A buyer cannot apply now. |
| Any other 1988 situation (non-developable or unprogrammed land, no approved plan parcial) | As a rule the full 100 m, even if the land was reclassified later (DT 3ª.1–2). | The 1988 classification and the plan file, read by your lawyer. |
| River banks as far as the tide is felt | Protection can be reduced to a minimum of 20 m (article 23.3). | The decision approving the reduction and its plan. |
Today’s classification does not prove the 1988 one: ask for it in writing. Sources: BOE, Coastal Law 22/1988, DT 3ª; BOE, Law 2/2013, DT 1ª. Accessed 30 October 2026.
Plans parciales given final approval between 1 January 1988 and the law’s entry into force that conflicted with it, and plans not carried out on time for reasons not attributable to the authorities, had to be revised to fit the law unless that gave a right to compensation (DT 3ª.2.b). If your plot lies in such a plan, have your lawyer confirm the width before you agree a price.
An existing house inside the strip
If the agent says the house “has always been legal”, check it in three steps:
- Locate the house on the MITECO viewer (steps below) and ask the Demarcación de Costas, the State coastal office, for the approved plan showing whether it lies inside the protection line.
- If it is inside, ask for the documents showing it was built lawfully: a municipal licence granted before 29 July 1988 (with any State authorisation then required), a legalisation decision or an exceptional authorisation. If a revised deslinde brought it inside later, ask for that file too (article 13 bis.3). A town hall certificate of age proves the date, not the licence.
- Without that basis, pre-1988 works built without the authorisation then required are demolished unless legalised on public-interest grounds (DT 4ª.1). Do not pay the deposit.
DT 4ª.2 covers a house built under a municipal licence, with State authorisation where required, granted before 29 July 1988, even if it was finished later, and earlier works that were legalised. Outside the approved protection line for that stretch its works limits do not apply, although the house can still be in the zone of influence and public access to the sea must be respected.
For a flat, these limits apply to the whole building: the owners’ association cannot add storeys or rebuild with more volume. Before buying a frontline penthouse with “room to extend”, ask for the protection line drawn over the building.
| Situation | What is allowed | Basis |
|---|---|---|
| Works built before the 1988 law without the coastal authorisation then required | Demolition unless legalised on public-interest grounds. | Coastal Law, DT 4ª.1 |
| House covered by DT 4ª.2, on public-domain land | Repairs and modernisation while the concession lasts, with no extra volume, height or floor area; demolition when the concession ends. | DT 4ª.2.a; article 72 |
| House covered by DT 4ª.2, in the right of way | Prior favourable State report, except for minor repairs changing only ancillary elements or work needed for hygiene, appearance or conservation, with no change of use or significant increase in value (Regulations, DT 14ª.1.b). If the report is not issued within two months of the request, it counts as favourable. | DT 4ª.2.b |
| House covered by DT 4ª.2, elsewhere in the protection zone | Expropriation ignores value added by the works; after total or partial demolition the replacement must comply fully with the law. | DT 4ª.2.c |
| Building brought into the protection zone by a revised deslinde | Same works limits, energy and water conditions; regional compliance declaration before the building licence; prior State report if the right of way is affected. | Article 13 bis.3 |
The date of the house is not enough: the licence, authorisation or legalisation decides. Sources: BOE, Coastal Law 22/1988, DT 4ª; BOE, Coastal Law 22/1988, article 13 bis; BOE, General Coastal Regulations (RD 876/2014). Accessed 30 October 2026.
Renovating: compliance declaration and energy upgrade
Repair, improvement, consolidation and modernisation works under DT 4ª.2 must, where this applies to them, raise the energy rating by two letters or reach a B, shown by the energy performance certificate, and use water-saving systems (DT 4ª.3). The town hall cannot authorise them without a prior declaración responsable (compliance declaration) stating that they add no volume, height or floor area and meet those requirements.
The declaration goes to the regional government or, if the house is on a concession, to the State (General Coastal Regulations, DT 15ª). Get the energy upgrade priced before the deposit: it can make a renovation that the listing presents as simple much dearer.
How to find the deslinde for your plot
- Open MITECO’s coastal public-domain viewer.
- Locate the plot by its cadastral reference and check it matches what you saw on the visit.
- Tell apart public domain, seashore and protection; the legend says whether each line is approved or still being processed.
- Keep a dated capture with the status of the line and the deslinde reference.
- With both references, ask the Demarcación de Costas for the approved plan and the position of plot and house. A certificado de colindancia states where the plot lies relative to the deslinde.
The viewer draws neither the right of way nor the zone of influence. Measuring from the seashore on a screenshot is only a guide: the Demarcación confirms the route and width of the right of way, and planning sets the zone of influence.
Concessions: what they give and how they pass on
Public-domain land is inalienable, imprescriptible and cannot be seized (article 7): it is not sold, and long occupation does not make it yours. A concession allows occupation for a term; it does not give ownership.
If a revised deslinde brings land into the public domain, its owners receive a 75-year concession without a fee, unless they expressly renounce it (article 13 bis.2). Owners whose land had been declared private by a final judgment before 1988 were given a concession of 30 years, extendable by another 30 (DT 1ª.1); certain registered owners received 30 years (DT 1ª.2). Check the concession actually granted, when its term began and any extension.
Article 2 of Law 2/2013 lets holders of concessions granted before that law, and of DT 1ª rights, apply for an extension before expiry. It cannot exceed 75 years and the decision may set less; under that law it runs from the application. Article 20.4 of the climate change law, Law 7/2021 provides that occupation terms are counted from the original grant and include every extension. Port service zones are excluded. Ask the authority managing the concession for the exact expiry date in writing.
When a concession ends, the State decides whether the works stay, in which case they pass to it free of charge, or whether the holder removes them at their own cost, with a deposit to cover it (article 72). A DT 4ª.2 house on public-domain land is demolished when the concession ends (DT 4ª.2.a).
On a stretch declared in regresión grave (serious coastal retreat) by ministerial order published in the BOE, Spain’s official gazette (article 13 ter), no new rights to occupy the public domain are granted, and existing buildings stay only while the sea does not reach them and there is no definite risk that it will. Any concession can be revoked where its works face a definite risk of being reached by the sea (article 78.1.m). That affects the right to occupy public-domain land, not private land that only lies in the protection strip.
What changes in Andalusia
In Andalusia, measures to restore planning legality can be taken at any time, with no deadline, for works on public-domain land and in the protection easements, and on rustic land in the coastal zone of influence (Andalusia’s planning act, LISTA, article 153.2). In the zone of influence this rule applies until national coastal law sets its own (LISTA, DT 6ª). The rule that treats buildings finished before 1975 as licensed does not apply on public-domain land or in its easements (LISTA, DT 5ª.3). The Canary Islands likewise set no deadline for buildings on public domain or in its protection or easement strips (Law 4/2017, art. 361.5). In the Balearic Islands, the coastal protection strip of island planning is 500 metres wide in Mallorca, Menorca and Ibiza and 100 metres in Formentera: see rustic land in the Balearic Islands.
Source: BOE, Andalusian Law 7/2021 (LISTA). Accessed 30 October 2026.
Right of way, access and the zone of influence
| Zone | Width and start | What it limits | What to request |
|---|---|---|---|
| Right of way (servidumbre de tránsito) | 6 m from the inner seashore limit; up to 20 m where passage is difficult or dangerous | Kept open for walkers and surveillance and rescue vehicles, except in specially protected spaces. May hold a promenade; exceptional works on the public domain need a replacement strip on similar terms (article 27). | Seashore limit, route and any replacement strip. |
| Access to the sea | Length and width the access needs | No works or installations may cut off access to the sea without an alternative that works as well, in the State’s view (article 28.4). | Whether a public access crosses or borders the plot. |
| Zone of influence | Set by planning: at least 500 m from the inner seashore limit | No screens of buildings; density cannot exceed the municipal average for urbanizable programado or apto para urbanizar land (article 30.1.b). | Plan, zone boundary and reference density. |
The viewer draws neither the right of way nor the zone of influence. Sources: BOE, Coastal Law 22/1988, article 27; BOE, Coastal Law 22/1988, article 28; BOE, Coastal Law 22/1988, article 30. Accessed 30 October 2026.
Compare the plan with the gates, walls and fences you saw on the visit before counting on the whole garden as private and fenced. The right of way must stay clear, and public access to the sea cannot be cut off without an equivalent alternative. Next to the Mar Menor, Murcia's Law 3/2020 adds a 1,500-metre farming strip: building and buying next to the Mar Menor.
What the Land Registry and the Costas file tell you
The registrar must refuse to record a plot outline that overlaps the public domain, wholly or partly (Mortgage Law, article 199.1). Resolve any mismatch between the nota simple and the Costas plan before completion.
If an approved deslinde took in part of the plot, civil claims over that land must be brought within five years of approval (article 14). Check whether that period has already run.
Four hypothetical scenarios
These are invented teaching examples, not real plots or results from any viewer.
1. A frontline penthouse with “room to extend”
Imagine a 1979 building with a licence, on land that was urban in 1988, 15 metres from the seashore. With 20 metres of protection the whole building is inside. DT 4ª.2 allows repairs and modernisation but no extra volume: the extension in the listing has no basis. Ask for the plan and do not pay for a right the law does not give.
2. A country house with an unlicensed annexe
Imagine a house on land that was non-developable in 1988, 70 metres from the seashore, with a 1984 licence and a 2006 annexe with no licence or authorisation. The 100 metres apply. The original house may be covered; the annexe is not. In Andalusia the authorities can act against it at any time. The price should start from the house without the annexe.
3. A plot with the deslinde under revision
Imagine a nota simple with a marginal note that a deslinde has started. While it lasts, no authorisations are granted in the protection strip, and the final line may take in part of the garden. Before the deposit: file status, the provisional plan and a condition letting you withdraw with a full refund if the approved line touches the house.
4. A house partly on public domain with a concession
Imagine a house whose porch sits on public-domain land under a DT 1ª concession. Without the authority’s prior confirmation, buying that concession is not valid (article 70.2). Ask for the title, the expiry date in writing and what the State will decide about the works when it ends.
When the deposit should wait
The list does not replace your lawyer. It tells you whether you can pay now or which document is still missing.
What to write into the arras contract
Have your lawyer draft the condition. Identify the plot by its cadastral reference and registry details, the house and the use you intend. Name the documents that must arrive: the approved deslinde plan showing the plot, the town hall certificate of the 1988 classification, licences or legalisation for the house and later works and, if there is a concession, the authority’s prior approval of you as holder. Set the deadline, who requests and pays for each document, and a full refund of everything paid if any document fails to arrive or contradicts what was agreed.
Provide for a partial result too: the plan may leave the house outside but part of the garden inside the protection strip, or the advertised extension may prove impossible. Write down whether you may then withdraw, renegotiate the price or go ahead. More in the guide to the arras contract.
The buyer’s sequence before the deposit
- Get the plot’s exact cadastral reference and registry details.
- Locate the plot on the MITECO viewer and keep a dated capture with the status of each line.
- Order the nota simple: the Colegio de Registradores charges €9.02 per property, taxes not included. Look for marginal notes about a deslinde.
- Ask the Demarcación de Costas for the approved plan, the plot’s position and whether a file is open.
- Ask the town hall for the land’s classification on 29 July 1988 and the planning for the zone of influence.
- Ask the seller for the licences, authorisations and legalisations for the house and every later work.
- If there is a concession: title, expiry in writing and the authority’s prior approval.
- Only then compare the price with what you can really do with the house. A TerrenoCheck report organises the public checks in its coast chapter, but it does not replace these documents or your lawyer.
Questions to send before money moves
- Is there an approved deslinde on this stretch? With what reference and date?
- Is a deslinde or revision file open? Is it noted in the Land Registry?
- Which protection width applies here: 100 m, 20 m or other? On what document?
- How was the land classified on 29 July 1988?
- Which part of the house, garden and fences lies inside each strip?
- Which licence, authorisation or legalisation covers the house and each extension?
- Is there any enforcement file or demolition order on the property?
- Is any part on public-domain land? If so, which concession, until when and on what terms?
- Does a public access to the sea or the right of way cross or border the plot?
- What happens to each payment if a document does not arrive by the agreed date?
A line on a viewer is useful because it tells you what to ask next. Keep the capture, the plan and their dates together, and let the Demarcación, the town hall and your lawyer confirm whether the purchase you have in mind still makes sense.
Common questions
Can I build a new home within the protection zone?
Generally, no (article 25.1.a). There are two exceptions: the planning one in DT 3ª.3 for land that was urban in 1988, with an approved plan meeting its conditions, and article 25.3, under which the Council of Ministers may authorise buildings of exceptional importance for reasons of public utility, never on beaches, wetlands or other specially protected areas. A municipal building licence alone is not enough.
Does the construction date alone decide which works I can carry out?
No. A house finished after the law took effect may be covered by DT 4ª.2 if its licence predates 29 July 1988, and an older one with no licence or authorisation may not be. Ask for the licences, authorisations and any legalisation decision.
Can I extend an old house within the protection zone?
You cannot add volume, height or floor area to a house covered by DT 4ª.2. If it is demolished, wholly or partly, the replacement must comply fully with the law (DT 4ª.2.c), and the law generally bans new homes in that strip.
Does a concession give me another 75 years?
Not necessarily. An extension under article 2 of Law 2/2013 lasts at most 75 years and the decision may set less; the climate change law, Law 7/2021, counts terms from the original grant including every extension (article 20.4). Ask for the exact expiry date in writing. Buying also needs the authority’s prior confirmation (article 70.2).
Does the report include the coastal boundary check?
Partly. The coast chapter places the plot against the lines MITECO publishes and gives the distance, the strip and what the law allows in each. It does not replace the approved plan or a certificate from the Demarcación, and it does not examine concessions or licences.
Keep reading
Check this on your own plot
Pin the plot on the map and confirm the cadastral reference: the report gathers the public data and official maps for it, each with its source and date. It does not replace the land registry extract, the notary or a tax adviser. €29 VAT included.