Buying a Beachfront Villa in Spain: Understanding the Ley de Costas and Its Impact on Exclusive Coastal Properties

Beachfront villa on the Spanish coast subject to the Ley de Costas

Published

· Last updated

The view is unobstructed. The sound of waves is your soundtrack. Your villa sits metres from the sand, and it is for sale. The price is high, but the location is worth it. Then, before signing, your lawyer mentions something called the Ley de Costas, and suddenly the dream becomes more complicated. Spain’s Coastal Law is not new, but it is widely misunderstood, and it creates real restrictions on what you can do with beachfront property that American, British, and other expatriate buyers do not expect. Understanding the Ley de Costas is essential before buying any villa in first line of beach, because getting it wrong can cost you dearly.

One Thing to Know Before Anything Else: The Law Was Substantially Reformed

Most guidance you will find online describes the original Ley 22/1988 as though it stood unchanged. It does not. The framework was significantly amended by Ley 2/2013 on the protection and sustainable use of the coastline, and the governing regulation today is the General Coastal Regulation approved by Royal Decree 876/2014, itself subsequently amended.

This matters practically, not just academically. The 2013 reform is the source of several provisions buyers actually rely on, including the longer concession terms described below and a more workable regime for certain established coastal settlements. Any article, including this one, that quotes a rule from 1988 without accounting for what came afterwards should be treated as a starting point rather than an answer. Always confirm the current position for your specific property with the coastal authority (Dirección General de la Costa y el Mar / the relevant Servicio Provincial de Costas) and a lawyer who works in this field.

The Fundamental Principle: The Coast Is Public

At the heart of the Ley de Costas is a constitutional principle: the sea, the beaches, and the maritime-terrestrial domain are public goods that belong to the state and must remain accessible to all. Your property may be private, but the coastline itself is not. The law exists to prevent the privatization of Spain’s shores, a concern born from decades of unchecked development that left much of the Spanish coast degraded and inaccessible.

This means that even if you own a villa on the beach, you do not own the beach. Strangers have the legal right to walk on the sand in front of your property, to access the water, and to use the coastline. Your ownership ends where the public domain begins, and that boundary is defined not by your property line but by a legal line called the deslinde.

The Zones: Understanding Where Your Villa Sits

The Ley de Costas divides the coastal region into distinct zones, each with different rights and restrictions.

Diagram of Spain's Ley de Costas coastal zones: the public maritime-terrestrial domain, the transit easement, the 100-metre protection easement, and the 500-metre influence zone

The Maritime-Terrestrial Domain (DPMT)

The first zone is the dominio público marítimo-terrestre (DPMT), the maritime-terrestrial domain. This includes the sea itself, the beach, the dunes, cliffs, salt marshes, and a band of land measured from the inner edge of the shoreline. This is entirely public property and cannot be privately owned.

Homes that were built before the deslinde was established and that were later found to fall within the DPMT can nonetheless remain occupied under a special regime, but they are not your property: what you hold is a concesión, an administrative grant of use. The 2013 reform extended the maximum term of these concessions to up to 75 years, replacing the shorter terms available under the original law, and separately allowed existing concessions granted under the earlier rules to be extended, which was the mechanism that addressed the wave of concessions due to start expiring in 2018. A concession is transferable both between the living and on death, and the reform lengthened the window for heirs to notify and take over an inherited concession from one year to four, precisely because families were losing the right by missing a deadline they did not know existed.

None of this makes a concession equivalent to ownership, and buyers are sometimes sold one without fully grasping the distinction. What you are acquiring is a right to use public property for a defined remaining period, after which it reverts to the state. Two questions therefore determine the value of the asset and both must be answered in writing before you make an offer: how many years remain, and on what conditions can it be transferred to a future buyer or an heir.

The Protection Easement (Servidumbre de Protección)

The second zone is the protection easement, a band of privately owned land immediately inland from the DPMT, generally 100 metres wide, reduced to 20 metres in areas that were already classified as urban land under the relevant planning rules. Your beachfront villa is most likely in this zone.

Here is the critical point: you own the land, but the law imposes severe restrictions on what you can do with it.

The restrictions are stark. As a general rule you cannot build new residential construction on this land, and new structures such as garages or outbuildings are heavily restricted. If a building already existed on the property when the law came into force, it can remain, but you are generally forbidden from enlarging it (increasing its volume, height, or floor area), from adding new structures, or from significantly altering it without authorisation from the coastal authorities.

What is normally permitted is limited to repairs, maintenance, consolidation, and modernisation that do not increase the size or height of the existing structure. Depending on the works and the region, these may be processed through a simple written declaration (declaración responsable) or may require express authorisation, but in either case they must not alter the building’s footprint or volume.

One procedural point that confuses foreign owners: within the protection easement, the authorisation is granted by your autonomous community, not by the central coastal administration, each with its own form, fee and timescale, while the state’s provincial coastal services handle the public domain itself and supply the official plans your application must be drawn against. In practice that means a renovation can require you to deal with two administrations, and being told “Costas approved it” is not by itself an answer to whether your works are lawful.

The rationale is clear: the administration wants to hold the protection zone at its existing state and prevent further encroachment on the coast.

The Transit Easement (Servidumbre de Tránsito)

Running along the water’s edge is a 6-metre-wide strip called the transit easement (servidumbre de tránsito). This must remain permanently free and unobstructed, available for public access and for surveillance and rescue vehicles. If your villa sits on the protection easement and has a beach-level terrace or access point, that terrace or access cannot obstruct the transit easement, and where the terrain makes the full width impracticable a reduced clear passage may be required instead.

The Influence Zone (Zona de Influencia)

Beyond the 100-metre protection easement is an additional 500-metre influence zone. Here, property is private and you can build, but urban planning rules require that any new development avoid “architectural screens” (dense high-rises that block the view to the coast from inland) and maintain a density consistent with surrounding areas. The rationale is to preserve views of the coast and prevent a wall of towers along the shoreline.

The Deslinde: The Line That Changes Everything

The exact boundary between the DPMT and the protection easement is determined by an administrative process called the deslinde. This is not a quick survey; it is a careful investigation that examines maps, satellite data, historical records, and physical characteristics of the coast to determine where the shoreline legally stood at various points in history.

The deslinde is not fixed. The coastline moves naturally due to erosion, accretion, and storms, and the legal boundary can be revised accordingly. A property that is privately owned today might find itself within the DPMT after a deslinde revision, which would convert ownership into a concession regime for the existing building. Coastal erosion driven by a changing climate makes this a live rather than theoretical risk on some stretches of coast, and the law now says so explicitly: the 2013 reform introduced measures specifically addressing the effects of climate change on the coastline, including a distinct regime for stretches declared to be at serious risk of regression. Where that declaration applies, the administration can restrict new occupations and refuse authorisations that would otherwise be routine. If you are buying on a stretch of coast that is visibly retreating, ask directly whether any such declaration is in place or under consideration, because it constrains what a future owner can do quite apart from the ordinary easement rules.

For a buyer, the deslinde is critical. Before purchasing beachfront property, you must obtain the current deslinde for your specific location and verify that your villa is legally situated on private land (even if burdened with easements) and not within the DPMT itself. A property on the wrong side of that line has a fundamentally different legal nature from the one you think you are buying.

You can begin this check yourself, for free, before you ever instruct a lawyer. The Ministry for the Ecological Transition publishes the boundary lines for the whole Spanish coastline, more than 10,000 kilometres of it, in digital form. The public viewer shows three separate lines, the deslinde polygon itself, the protection easement, and the shoreline, overlaid on aerial imagery and cadastral data, and tells you the reference of each boundary and crucially whether it is approved or still in process. A property sitting behind a boundary still under review is in a materially different position from one behind a settled line, and that distinction rarely appears in a sales brochure.

The Ministry states plainly that the purpose of publishing this was so that no citizen would again buy a home on the coast and discover afterwards that it does not belong to them. Note the limits, though: the data is expressly informative only, so it tells you where to worry rather than settling the question. Anything you find there must be confirmed with the relevant Servicio Provincial de Costas, and it does not replace the official certificate described in the checklist below.

What This Means for Buyers: The Hard Restrictions

If you are considering a beachfront villa in the protection easement, understand what you generally cannot do.

You cannot freely expand the building. Want an additional bedroom or a larger terrace? Not without an exception process that is costly and frequently refused.

You cannot add a guest house, studio, or separate structure. New construction in the easement is the core prohibition.

You cannot assume you can demolish and rebuild. Even if the villa is old and you want to replace it, a full replacement generally runs into the same prohibition on new construction. Limited exceptions exist, including for buildings of recognised cultural or historical value, but they are narrow and must be confirmed in advance rather than assumed.

You cannot refuse public access. Strangers can walk past your property on the beach and, in some zones, may have legal easement rights to cross your land to reach it.

You may face financing difficulty. Some lenders are wary of mortgaging property burdened with coastal easements, or of lending against a concession rather than freehold ownership, viewing both as riskier collateral.

Your insurance and maintenance costs are higher. Proximity to salt water, wind, and sand accelerates deterioration, and you will pay more in upkeep than for an equivalent villa inland.

The Practical Checklist Before Buying

Before signing, demand and carefully review the following.

  • Obtain the current deslinde and verify from the coastal authority that your villa is not within the DPMT. This must be clear and documented, not inferred from a sales brochure.
  • Establish whether you are buying ownership or a concession, and if it is a concession, its remaining term and transfer conditions. This single question changes the value of the asset entirely.
  • Request an official certificate from the coastal authority describing any easements affecting the property and their exact extent.
  • Check the property registry. A nota simple, which you can request yourself through the registrars’ electronic office and have translated into English, confirms who legally owns the property and whether easements and any concession are properly inscribed. Compare what it says against the coastal viewer: a discrepancy between the two is the single clearest warning sign in a coastal purchase.
  • Verify legalization. Confirm the villa was legally constructed under the law in force at the time and that any renovations were properly authorised or declared. An unlegalised building in the easement carries demolition risk. Cross-check the built surface recorded at the Sede Electrónica del Catastro against what is physically there: an extension that appears on the ground but not in the cadastre, on a plot inside the protection easement, is exactly the pattern that produces enforcement action against a later owner.
  • Get a specialist lawyer’s opinion before making any offer. The cost is modest relative to the risk, and coastal property is not a place for a general conveyancer.
  • Confirm financing early. Contact lenders before committing; some will refuse, others will demand a higher deposit.
  • Walk the property and the beach. Understand where the public zone begins and your private space ends, and observe erosion patterns and sand movement.

Budget the transaction costs alongside the price itself: our guide to property purchase taxes in Spain covers ITP, IVA, AJD, and notary fees, and our guide to the annual taxes of owning property covers the recurring IBI and, for non-residents, the imputed-income obligation that applies even to an empty holiday home.

The Upside: Why People Still Buy Beachfront

Despite these restrictions, beachfront villas in Spain remain sought-after. The reason is simple: you cannot create more coastline, and a villa metres from the sea commands a premium that often outweighs the restrictions. Our comparison of buying in Málaga versus Valencia looks at how coastal markets differ between the two regions.

Spanish Mediterranean coastline with a beachfront villa above the sand

If you use the property as a personal residence rather than seeking to expand or develop it, the restrictions bite far less. You inherit a defined property with defined limits, and as long as you respect them, you can enjoy the location, the views, and the lifestyle. Many buyers accept this trade-off knowingly.

Properties in less stringent zones, built-up urban areas where the protection easement is only 20 metres wide, or properties just outside the easement in the 500-metre influence zone, offer more flexibility while retaining beach proximity and value.

What to Establish Before You Buy on the Coast

The Ley de Costas is not a trap; it is a framework, and one that has been amended more than once since 1988. Understanding it before you buy, in its current form rather than the version described in older articles, is the difference between a sound purchase and an expensive surprise. Within its constraints, beachfront property in Spain remains a legitimate and often rewarding acquisition, provided you know exactly what you are buying, whether it is ownership or a concession, and what you are giving up. For the wider picture of relocating, see our overview of how to move to Spain in 2026.

Verified August 2026 against Ley 22/1988 de Costas and Ley 2/2013 as published in the Boletín Oficial del Estado; the Ministerio para la Transición Ecológica on the published deslinde lines for the Spanish coastline and its directory of provincial coastal services; and the Colegio de Registradores on the nota simple. The Coastal Law is developed by the General Coastal Regulation approved by Royal Decree 876/2014 and its application depends on the deslinde status and planning classification of each specific property, so treat the boundary viewer as a starting point and confirm the position for your plot with the relevant Servicio Provincial de Costas before making an offer.


This article is for general informational purposes only and does not constitute legal or real estate advice. The Ley de Costas has been amended since its original enactment and is developed by regulation; its application varies by location, deslinde status, planning classification, and individual circumstances. Before purchasing any coastal property in Spain, consult a qualified Spanish real estate lawyer experienced in coastal property and request official documentation from the relevant coastal authority.

Daniel Aznar, the engineer based in Valencia who writes and maintains Spain Living Guide

About the author

Daniel Aznar is a Spanish engineer based in Valencia and the sole author of Spain Living Guide. He is not a lawyer, a tax adviser, a gestor or an immigration consultant, and nothing on this site is professional advice. Every rate, deadline and legal requirement in this guide is taken from the body that issued it — the Boletín Oficial del Estado, the Agencia Tributaria, the Seguridad Social or the relevant ministry — and any claim that cannot be sourced is removed rather than softened.

Editorial standards · LinkedIn · Spotted an error? Tell us