A frontline home on the Spanish coast is one of the few purchases where the law itself can decide that part of the land is not for sale at all. The Ley de Costas governs what you can own, build and keep along the shore — here is how it works, where the risk sits, and how to check a property before you commit.
Buying a home near the sea is, for most foreign buyers, the whole point of the move. But the closer a property sits to the water, the more it stops being an ordinary purchase and becomes a question of public law. Spain treats its coast as a national asset, and the Ley de Costas — the Coastal Law — sets out where private ownership ends and what an owner near the shore may and may not do. On a villa a few streets inland this barely registers; on a frontline apartment or a plot on the sand, it can decide whether you truly own what you are buying.
Two physically identical properties — one a hundred metres back, one on the sand — can carry completely different legal realities. One is a normal freehold you register in your name forever; the other may sit partly or wholly on land the State owns, where you hold only a time-limited right to use it. The price tag rarely tells you which is which. The only way to know is to check the coastal-law position of that exact property before you sign — which is why a frontline purchase always needs specialist legal checks that an ordinary inland buy does not. Whether you are buying a villa on the sand or a beach apartment, that check belongs in your budget alongside the wider cost of buying and within our full property legal services.
The modern framework comes from the Coastal Law of 1988 (Ley 22/1988, de Costas), passed after decades in which large stretches of the shore had been built over and privatised. It made a firm statement of principle — the coast is public and the State must protect it — and defined the maritime-terrestrial public domain, established the easements behind it, and set out what happens to buildings caught on the wrong side of the line, including the idea that properties on the public domain would over time revert to the State.
That last point produced years of anxiety for owners of older coastal homes bought in good faith before 1988. In response, the law on the protection and sustainable use of the coast (Ley 2/2013) reformed the regime: it gave more security to certain affected properties, allowed longer concession periods, permitted the protection band to be reduced to 20 metres in particular already-urban settings, and refined how the boundary line is drawn. The reform softened the hardest edges of the 1988 law, but did not change the core principle — the public domain is still public, still cannot be privately owned, and a property's position relative to the line still decides its future.
The most important idea in the Ley de Costas is the maritime-terrestrial public domain — not a tax classification but a category of ownership. Land within it belongs to the Spanish State by law and cannot be bought, sold, mortgaged or acquired by long possession. No private deed and no Land Registry entry, however old or confident, can convert public domain into private property.
The practical danger is that a property's paperwork can look perfectly normal while part — or occasionally all — of the land it stands on is actually public domain, where a boundary line cuts behind a plot and leaves the seaward portion in State hands. The seller may genuinely believe they own the whole thing, and the agent may have no idea. Only a proper coastal-law check against the official boundary reveals whether the land you are paying for is land you can keep — an issue that overlaps with wider title and registry problems.
Behind the public domain, the law imposes easements that restrict what owners may do even on land they legitimately hold. The most significant is the protection easement (servidumbre de protección), running as a rule 100 metres inland from the boundary line, reduced in some cases to 20 metres in areas built up before the 1988 law. Within this band you can own property, but new residential construction is generally prohibited, and works an inland owner would take for granted — extending, rebuilding, changing use — require authorisation that is not guaranteed. Closer to the water, the transit and access easements oblige owners to leave the shore-side path and routes to the sea open. The effect is that a frontline owner may hold the land in their name yet be unable to fence it off or build what they want. None of this is necessarily a deal-breaker, but a property whose value rests on a renovation the coastal authority will never permit is not what the buyer thought they were getting.
One of the most misunderstood situations on the coast is the property that stands on the public domain itself. Because the land cannot be privately owned, an owner of a lawful building there does not hold the freehold; instead the State grants a concesión administrativa — a time-limited right to occupy and use the property. The 2013 reform extended the maximum length, but concessions remain finite. What you buy is the remaining term of that concession, not the land.
This matters enormously for value and financing. When a concession expires, the right to occupy ends; because the property sits on the public domain it does not automatically pass to the occupier as freehold, and its fate depends on whether the concession is renewed — what the famous coastal cases have turned on. Banks are also more cautious about lending against a concession than a freehold. So the essential questions for a buyer are simple but vital: is this a freehold or a concession, how many years are left, and what terms attach — answers that must come from the documentation and the coastal authority, never an assumption.
The reassuring part is that a property's coastal-law position is, in almost every case, checkable before you commit. The risk is not that the answers are unknowable; it is that buyers do not ask, or ask too late. The most useful single instrument is a certificate from the coastal authority confirming whether the property is affected by the public domain or its easements — a Costas certificate — read alongside a registry note (nota simple), the cadastral plan, and any concession documents. Where the answers are unclear or a deslinde is pending, the right course is to make the purchase conditional or walk away. This verification sits inside the wider property due diligence we run on every purchase, and connects directly to the checks for illegal builds and title and registry problems — issues that, on the coast, frequently travel together.
On the frontline, the difference between a good purchase and a costly mistake is almost entirely about the legal work done before you sign. The view and the price tell you nothing about whether the land is public domain, whether a concession is running down, or whether the protection easement will block your planned renovation. The risk for a foreign buyer is not that the law is hard to follow but that it is easy to overlook until it is too late.
Our role is to make the coastal-law position of a specific property clear before you are committed. We obtain and read the Costas certificate, the registry note, the cadastral plan and any concession documents; we establish where the deslinde falls and whether a revision is pending; and we tell you in plain English whether you are buying a freehold, a restricted property within the easements, or a time-limited concession — and what that means for value, financing and your plans. Our team of bar-registered solicitors and legal specialists has spent fifteen years helping expats buy on the Spanish coast. We quote for the coastal-law due diligence, and extras may apply depending on complexity.
The Ley de Costas is Spain's Coastal Law (Law 22/1988, reformed by Law 2/2013). It defines the maritime-terrestrial public domain — coastal land that belongs to the State and cannot be privately owned — and the easements behind it. It decides what you can own, build and keep along the Spanish shore.
Not if the land falls within the maritime-terrestrial public domain, which belongs to the State by law and cannot be bought, sold, mortgaged or registered. Land landward of the boundary line can be privately owned, but may sit within the protection easement, where building and use are restricted. Whether a specific plot is ownable depends on where the boundary line falls.
The dominio público marítimo-terrestre is the band of beach, dune, rock and sea-affected land seaward of the official boundary line. By law it belongs to the Spanish State and is held for the public. It cannot be privately owned, sold or mortgaged, and no deed or registry entry can convert it into private property.
It is a protection band running inland from the boundary line, generally 100 metres wide and reduced to 20 metres in some areas urbanised before the 1988 law. Within it you can own land, but new residential construction is generally prohibited and most works need authorisation from the regional coastal authority.
A concession (concesión administrativa) is a time-limited right granted by the State to occupy and use a building on the public domain. Because the land cannot be owned, you hold the remaining term of the concession rather than a freehold. Concessions still expire — and what you buy and sell is that expiring right, not the land.
The right to occupy comes to an end. Because the property sits on the public domain, it does not automatically become the occupier's private freehold; what follows depends on whether the concession is renewed or extended and on the State's decisions. This is the issue at the heart of the well-known coastal cases.
The deslinde is the administrative process that fixes the landward limit of the public domain along a stretch of coast. The resulting line decides which land is public and which is private, and therefore whether a property — or part of it — falls within the public domain or the easements. Because the line can be revised and moved inland, its date and status matter as much as its position.
You read several official sources together: a certificate from the coastal authority on whether the property is affected by the public domain or its easements (a Costas certificate), an up-to-date registry note, the cadastral plan, the deslinde position, and any concession documents. Together these reveal whether the land is ownable, restricted, or held on a concession.
Yes. We obtain and read the Costas certificate, registry note, cadastral plan and any concession documents, establish where the deslinde falls, and explain in plain English whether you are buying a freehold, a restricted plot, or a time-limited concession. We act for English-speaking clients across the Spanish coast and quote clearly for the coastal-law due diligence.
On the Spanish coast, the Ley de Costas can decide whether you own a home or hold a concession. We check the public domain line, the easements and the concession terms, and tell you what you are buying.
The information on this page is general guidance only and does not constitute legal advice. The Ley de Costas (Law 22/1988 and its reform by Law 2/2013), the extent of the maritime-terrestrial public domain, the easements and the rules on concessions are set out in legislation that changes over time and is applied by the State and the autonomous communities. The boundary line for a particular stretch of coast, and the status of any concession, depend on the specific deslinde and documentation. Always obtain advice on your specific property before acting. Platinum Legal Spain is an independent English-speaking legal practice serving clients across Spain.