Pillar: Hazards and constraints

Spanish coastal law: what the 100-metre rule means when you buy property

Buying on the coast·24 min read·Updated 30 October 2026
Map from the sample report: Coast and the coastal public domain. The plot is 1.2 km from the coastal deslinde, outside the minimum 500 m zone of influence; the town plan may widen that zone.Map legend: Coast and the coastal public domain
Map from page 42 of 116 of the TerrenoCheck sample report, a real plot (6633007BC5963S, Xàbia/Jávea (Alicante)): Coast and the coastal public domain. The plot is 1.2 km from the coastal deslinde, outside the minimum 500 m zone of influence; the town plan may widen that zone. Line source: MITECO · Costas. Aerial image: © Instituto Geográfico Nacional (PNOA), CC BY 4.0. See the report page
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).

THE COASTAL LINES ARE NOT ONE FACTDeslinde (public domain)Edge of the public domain: what lies inside is State land, not for saleRibera (seashore)Where every distance starts; it may differ from the deslinde lineRight of way · 6 mKept open to the public; up to 20 m where passage is difficultProtection · 100 mNo new homes as a rule; 20 m where the land was urban in 1988Influence · 500 mMinimum width set by planning; no solid wall of buildings
A listing that says “Costas does not apply” may mean any of these five lines. Sources: BOE, Coastal Law 22/1988, article 3; BOE, Coastal Law 22/1988, article 23. Accessed 30 October 2026. Articles 3, 23, 27 and 30 and DT 3ª.3.
Strips of the Spanish Coastal Law, measured from the inner edge of the seashoreSeaPublic domainBeach, dunes, tidal zoneState land: cannot be boughtRight of way 6 m, up to 20 m20 m: urban in 1988, other casesProtection zone: 100 mNew house: as a rule, noExisting house under the 1988 rules:repairs, no extra volume,height or floor areaUp to another 100 m if neededFurther inland: the townplan and regional rulesSeashore edge · 0 m0 m6 m20 m100 m200 m500 mZone of influence: 500 m or moreNo solid wall of buildingsThe approved deslinde may not matchthis edge: ask for the plan.Not to scale
Distances start at the inner limit of the seashore, not at today’s waterline (articles 23, 27 and 30). The public-domain boundary may differ from the seashore boundary. Not to scale. Source: BOE, Coastal Law 22/1988, article 23. Accessed 30 October 2026.
Line on the viewerWhat it meansWhat it does not proveFirst step
Approved deslindeThe 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 revisedA 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 lineWhere 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 way6 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 influenceAt 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 plotThe 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).

The Council of Ministers may, for duly proven reasons of public utility, authorise buildings of exceptional importance whose coastal location is economically justified, never on beaches, wetlands or other specially protected areas (article 25.3). It is an exceptional State route, not a permit path for a private home. Source: BOE, Coastal Law 22/1988, article 25. Accessed 30 October 2026.

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 situationWhat appliesWhat to ask for
Land classified as urban on 29 July 1988Protection 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 effectThe 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/2013Law 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 feltProtection 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:

  1. 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.
  2. 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.
  3. 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.

A HOUSE COVERED BY DT 4ª.2Live in and sellYes: it stays private property if it stands on private landRepair and moderniseYes, with no increase in volume, height or floor areaUpgrade requiredTwo energy letters up or a B, and water saving, where it appliesExtendNo: no extra floor area, height or new top storeyDemolish and rebuildThe new building must meet the whole law: as a rule, no new home
Summary of DT 4ª, paragraphs 2 and 3, for a house on private land inside the protection strip. Sources: BOE, Coastal Law 22/1988, DT 4ª; BOE, General Coastal Regulations (RD 876/2014). Accessed 30 October 2026.

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.

SituationWhat is allowedBasis
Works built before the 1988 law without the coastal authorisation then requiredDemolition unless legalised on public-interest grounds.Coastal Law, DT 4ª.1
House covered by DT 4ª.2, on public-domain landRepairs 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 wayPrior 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 zoneExpropriation 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 deslindeSame 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

  1. Open MITECO’s coastal public-domain viewer.
  2. Locate the plot by its cadastral reference and check it matches what you saw on the visit.
  3. Tell apart public domain, seashore and protection; the legend says whether each line is approved or still being processed.
  4. Keep a dated capture with the status of the line and the deslinde reference.
  5. 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 DOCUMENT CHAIN1 · MITECO viewerDated capture of the lines and whether each is approved or pending2 · Approved planDemarcación de Costas: deslinde and where the plot and house sit3 · 1988 classificationTown hall: was the land urban on 29 July 1988?4 · LicencesLicence from before the law, legalisation or Costas authorisation5 · Nota simpleRegistry: the plot outline cannot overlap the public domain
The viewer opens the file; the answer is in the approved plan and the documents. Sources: MITECO, deslinde procedure; BOE, Coastal Law 22/1988, DT 4ª; BOE, Mortgage Law, article 199. Accessed 30 October 2026.

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.

A sale of a concession is valid only if the authority first confirms that the buyer meets its conditions (article 70.2). If the seller inherited it, they had to notify the death and their wish to take over within four years; without that notice the concession ends. Mortgages and attachments on the concession must be notified to the authority beforehand (article 70.3). Source: BOE, Coastal Law 22/1988, article 70. Accessed 30 October 2026.

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

ZoneWidth and startWhat it limitsWhat 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 dangerousKept 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 seaLength and width the access needsNo 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 influenceSet by planning: at least 500 m from the inner seashore limitNo 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

A registered title does not override the coastal boundary. An approved deslinde declares State possession and ownership, and Land Registry entries cannot prevail against it (article 13.1); the approval is enough to correct the Registry (article 13.2). The protection line, by contrast, does not transfer ownership. Source: BOE, Coastal Law 22/1988, article 13. Accessed 30 October 2026.

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.

An open deslinde can hold up authorisations. The decision must be notified within 24 months (article 12.1). If that deadline passes, the file lapses and is closed, but lapse does not stop a new one being opened (Law 39/2015, articles 25.1.b and 95.3). Neither an open file nor the passing of 24 months guarantees that the line will stay where it is. Sources: MITECO, deslinde procedure; BOE, Law 39/2015. Accessed 30 October 2026.

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.

Hypothetical example

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.

Hypothetical example

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.

Hypothetical example

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.

Hypothetical example

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

FIVE SIGNALS BEFORE YOU PAYStopThe house, or part of it, is on public-domain land with no live concessionStopWorks in the protection strip with no pre-1988 licence or legalisationPauseDeslinde open or under revision: no approved plan or status in handConditionDeposit tied to the plan, the certificates and any concession approvalProceedOutside the approved line, with licences and nota simple that agree
A red signal is a reason not to pay yet. It is not a legal conclusion. Sources: BOE, Coastal Law 22/1988, article 12; BOE, Coastal Law 22/1988, article 70. Accessed 30 October 2026. Articles 12, 25, 70 and DT 4ª.

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

  1. Get the plot’s exact cadastral reference and registry details.
  2. Locate the plot on the MITECO viewer and keep a dated capture with the status of each line.
  3. Order the nota simple: the Colegio de Registradores charges €9.02 per property, taxes not included. Look for marginal notes about a deslinde.
  4. Ask the Demarcación de Costas for the approved plan, the plot’s position and whether a file is open.
  5. Ask the town hall for the land’s classification on 29 July 1988 and the planning for the zone of influence.
  6. Ask the seller for the licences, authorisations and legalisations for the house and every later work.
  7. If there is a concession: title, expiry in writing and the authority’s prior approval.
  8. 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

  1. Is there an approved deslinde on this stretch? With what reference and date?
  2. Is a deslinde or revision file open? Is it noted in the Land Registry?
  3. Which protection width applies here: 100 m, 20 m or other? On what document?
  4. How was the land classified on 29 July 1988?
  5. Which part of the house, garden and fences lies inside each strip?
  6. Which licence, authorisation or legalisation covers the house and each extension?
  7. Is there any enforcement file or demolition order on the property?
  8. Is any part on public-domain land? If so, which concession, until when and on what terms?
  9. Does a public access to the sea or the right of way cross or border the plot?
  10. 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.

This guide is general information on the rules in force on the date each source was checked. It is not legal advice: for a specific purchase, ask a lawyer or the notary. Written and reviewed by the TerrenoCheck team (Kandyb Studio, Paweł Kandybowicz, responsible for the content). If you find a mistake, write to us and we will correct it.

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.

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.

Open the map Read a sample report