Buying Property in Spain as a Foreigner: Urban Planning Checks to Buy Safely (and Sleep Better)


06 de March de 2026

risks can be identified early with the right checks—especially at the Town Hall level.

My “Town Hall First” Checklist: What We Verify at the Ayuntamiento

When I’m reviewing a property, I like to go straight to the source: the Ayuntamiento (Town Hall) and its planning department. Here’s what I typically verify to reduce surprises.

1) Planning Classification: What Type of Land Is It?

Not all land is created equal. A key question is whether the property sits on:

  • Urban land (Suelo Urbano)
  • Developable land (Suelo Urbanizable)
  • Non-developable/rural land (Suelo No Urbanizable)

This classification affects what can be built, legalized, extended, and sometimes even how services are provided. In the Costa del Sol and parts of Cádiz, I often see buyers fall in love with a countryside villa—only to discover it’s on suelo no urbanizable with restrictions that weren’t fully explained.

2) Building Licences (Licencia de Obra) and Occupancy Licences

Ideally, the property should have the relevant building licence and—depending on the case—licences connected to use/occupation. For newer properties, we look closely at whether the construction matches the authorised project.

Why? Because “minor differences” sometimes turn into major headaches: extra built surface, terraces closed in, basements converted, or structures added without permission. What feels like a nice upgrade can be an urban planning infringement.

3) Urban Planning Discipline: Are There Any Files Open?

One of my favourite questions to ask (because it saves clients from future drama) is whether the Town Hall has anydisciplinary proceedings, enforcement files, or sanction procedures related to the property.

In plain English: is the administration already looking at this property with a raised eyebrow? If there’s an open file, you want to know before you sign.

AFO / FO: What These Acronyms Mean (and Why Foreign Buyers Should Care)

If you’ve been property hunting in Andalucía, you’ve probably heard about AFO and FO. They can be crucial—especially for properties in rural or irregular situations.

FO (First Occupancy / LPO) – The “Everything Is in Order” Signal

An FO (often linked to the first occupancy licence / LPO) is generally a positive sign that the property was built in line with the licence and can be used as intended. It can also matter for contracting utilities and for resale confidence.

AFO – The “Not Perfect, But Defined” Situation

AFO (commonly associated with properties in “assimilated to out of order” situations) is relevant where a building may not fully comply with planning rules, but its status is recognized under specific administrative criteria. Translation: it’s not the same as being fully legal—but it can provide a framework that reduces uncertainty.

When buying property in Spain as a foreigner, I always recommend understanding what documentation exists, what it covers, and what it does not. Not all “regularisations” are equal, and details matter.

Infringements and Sanctions: What Can Go Wrong?

Let’s talk about the uncomfortable part (briefly, I promise). Urban planning issues typically come from:

  • Building without a licence (or not following the approved project).
  • Illegal extensions (extra bedrooms, enclosed porches, pools, retaining walls).
  • Use changes (e.g., turning storage into living space).
  • Building on protected or restricted land (rural, coastal, environmental zones).

The consequences can range from administrative fines to orders to restore legality, and also practical difficulties: selling, insuring, financing, or renovating the property.

The Big Red Flag: Homes on Suelo No Urbanizable (Rural Land)

I’m not saying “don’t buy rural.” I’m saying: buy rural wisely. Homes on suelo no urbanizable can carry specific risks:

  • Limits on renovations or expansions.
  • Questions about legality of the original build or later additions.
  • Access, utilities, and infrastructure may be non-standard.
  • Higher due diligence requirements (and more need for expert review).

In areas around Marbella and inland Málaga, I often see charming fincas marketed as “peaceful and private” (true!) but with documentation that is… how should I put it… “creative.” My job is to replace creativity with clarity before you commit your money.

Typical Costa del Sol Scenarios I See (So You Can Spot Them Early)

Here are a few classic patterns that appear regularly in the Costa del Sol market:

  • The “It’s just a small terrace closure” property: looks harmless, but can be an unlicensed alteration that affects compliance.
  • The villa with a mystery basement: the deed says one thing, reality says another—especially with converted areas.
  • The rural dream with a paperwork nightmare: gorgeous setting, but located on non-developable land with unclear status.
  • The urban property with pending planning changes: the current classification may change due to planning instruments or updates.

None of these automatically mean “don’t buy.” They mean: verify, quantify risk, and negotiate smartly.

My Recommendation: Make Legal Due Diligence Part of Your Buying Strategy

If you’re buying property in Spain as a foreigner, don’t rely on assumptions, verbal confirmations, or “it’s always been like that.” What you want is a structured review: planning classification, licences, discipline status, and the real situation of the building.

At AGA Abogados, we assist local and international clients with urban planning and land development law in Sotogrande/San Roque (Cádiz) and Marbella (Málaga), focusing on reducing risk and increasing certainty—so your purchase feels exciting for the right reasons.

Thinking of Buying in Sotogrande, Marbella, or the Costa del Sol?

If you want help reviewing licences, planning status, potential infringements, AFO/FO documentation, or risks related tosuelo no urbanizable, I’d be happy to guide you. Visit AGA Abogados and let’s make sure your investment is as solid legally as it is beautiful in photos.

Note: This article is for informational purposes and does not constitute legal advice. Each property and municipality can have specific criteria and documentation requirements.