MUNDO Research Team · Vetted by Costa del Sol property professionals
Published February 2026 · 10 min read
Quick Answer
First Occupancy Licence in Spain — Why It Matters
No licence, no utilities — check this before you buy
The first occupancy licence (Licencia de Primera Ocupación, often abbreviated to LPO) is one of the most important — and most overlooked — documents in a Spanish property purchase. Without it, you may be unable to connect permanent water, electricity, or gas supplies, register the property for habitation, or even obtain a mortgage. Yet many UK buyers only discover its significance after they have already committed to a purchase.
In simple terms, the LPO is the official confirmation from the local town hall (ayuntamiento) that a property has been built in accordance with the approved building plans and meets all habitability requirements. Think of it as the Spanish equivalent of a building completion certificate — though its consequences go much further than a certificate in the UK.
This guide explains what the licence is, when you need one, what happens if a property does not have one, and the practical steps to check or obtain it. Whether you are buying a new-build apartment or a resale villa, this is essential reading before you sign anything.
What Is a First Occupancy Licence?
The Licencia de Primera Ocupación (LPO) — also called the licencia de primera utilización or cédula de habitabilidad in some regions — is a licence issued by the local ayuntamiento (town hall) confirming that:
- The property was built in accordance with the approved building licence (licencia de obra)
- It complies with all urban planning regulations for the area
- It meets minimum habitability standards (structural safety, sanitation, ventilation, accessibility)
- All required inspections have been passed
The LPO is primarily a new-build requirement. When a developer completes a new building or urbanisation, they must apply for the LPO before they can legally hand over properties to buyers. However, it is also relevant for resale properties, particularly older buildings, extensions, or properties that have been substantially renovated.
Without the LPO, utility companies may refuse to provide permanent (as opposed to temporary construction) water and electricity contracts. This means the property is, in practical terms, not legally habitable.
Why the LPO Is Critical for UK Buyers
The first occupancy licence matters to UK buyers for several interconnected reasons:
- Utility connections: Endesa, Iberdrola, and other energy companies require the LPO (or equivalent) to set up permanent supply contracts. Without it, you may be stuck with a temporary construction supply that can be cut off, or no mains supply at all.
- Mortgage approval: Spanish banks will not grant a mortgage on a property without a valid LPO. If you are relying on financing, the absence of this licence is a deal-breaker.
- Insurance: Some home insurance providers will not insure a property that lacks a first occupancy licence, or they may exclude certain claims.
- Resale value: When you come to sell, the next buyer (or their bank) will require the LPO. Buying without one creates a problem you will inherit and eventually have to resolve.
- Legal compliance: Occupying a property without the required licence can technically result in fines from the town hall, though enforcement varies by municipality.
In short, the LPO is not a nice-to-have — it is a fundamental document that affects your ability to live in, finance, insure, and eventually sell the property. Your lawyer's due diligence should always include checking the LPO status before you commit to any purchase.
New-Build Properties — What to Expect
For off-plan and new-build purchases, the developer is legally required to obtain the LPO before handing over keys and completing the sale. The typical process is:
- Building licence granted — The developer obtains a licencia de obra mayor from the town hall before construction begins
- Construction completed — The building is finished according to the approved plans
- Certificate of end of works (certificado de fin de obra) — The architect signs off that construction matches the licence
- Technical inspections — The town hall (or contracted inspectors) verify compliance
- LPO issued — The town hall grants the first occupancy licence, typically within 1–3 months of application (though some municipalities are notorious for delays of 6–12 months)
Key protection for buyers: Under Spanish consumer law, a developer who sells a property without the LPO is in breach of contract. If you have purchased off-plan and the developer cannot provide the LPO at completion, you have the right to:
- Refuse to complete and demand a full refund of all deposits paid, including those held in a bank guarantee (aval bancario)
- Negotiate a delay to completion while the developer resolves the issue
- Proceed with completion but negotiate a price reduction to compensate for the risk and inconvenience
Never agree to complete on a new-build without the LPO unless your lawyer has specifically advised that it is safe to do so and you have a legally binding commitment from the developer with a clear timeline.
Resale Properties — Checking the LPO Status
For resale properties, the LPO situation can be more complex. Many older properties on the Costa del Sol — particularly those built before the early 2000s — may never have had an LPO, or the licence may have related to the original structure but not subsequent extensions or modifications.
Common scenarios:
- Property has a valid LPO — Ideal. Your lawyer verifies this with the town hall. No issues.
- LPO was granted but is not on file — Common with older properties. The town hall may have a record in their archives, or the nota simple from the Land Registry may reference it. Your lawyer can investigate.
- Property was built legally but the LPO was never applied for — This happens frequently. If the building licence was granted and construction matches the approved plans, applying for the LPO retrospectively is usually straightforward (though it may take 2–6 months).
- Extensions or modifications were made without permission — This is where things get complicated. An unauthorised extension may need to be legalised (regularizada) before an LPO can be granted, which can involve technical reports, architects' fees, and potentially fines. See our guide on illegal builds in Spain.
- Property is on non-urban (suelo rústico) land — Rural properties often fall outside the standard LPO framework. Different rules apply, and your lawyer must verify the property's classification under the local urban plan (PGOU).
When buying a resale property, your lawyer should request the LPO (or its equivalent) as part of standard due diligence, alongside the nota simple, energy performance certificate, and urban planning compliance check.
How to Obtain or Regularise a First Occupancy Licence
If you are purchasing a property that lacks an LPO, or if you need to apply for one after completing renovations, here is the process:
- Appoint an architect (arquitecto) — A qualified architect must inspect the property and prepare a technical report (certificado técnico) confirming it meets habitability standards and complies with the building licence.
- Gather documentation — You will need the original building licence (or proof of age for very old buildings), the architect's certificate, proof of property ownership, and the cadastral reference.
- Submit the application to the local town hall's urban planning department (urbanismo). Fees vary by municipality but typically range from €200 to €800 depending on the property size and location.
- Town hall inspection — An inspector from the ayuntamiento may visit the property to verify the architect's report.
- Licence granted — If everything is in order, the LPO is issued. Timelines vary enormously: some town halls process applications in 4–6 weeks, while others (particularly along the busier parts of the Costa del Sol) can take 3–6 months.
Estimated costs for obtaining an LPO:
| Item | Estimated Cost |
|---|---|
| Architect's technical report | €500–€1,500 |
| Town hall application fee | €200–€800 |
| Legalisation of unauthorised works (if needed) | €1,000–€5,000+ |
| Lawyer / gestor coordination fees | €300–€600 |
If the property has unauthorised modifications, the process is significantly more complex and expensive. The architect must assess whether the works can be legalised under current planning regulations, and the town hall may require modifications or even partial demolition before granting the licence.
What Happens if You Buy Without an LPO?
It is technically possible to buy a property in Spain without a first occupancy licence — the sale can still be completed at the notary and registered at the Land Registry. However, you will face a series of practical problems:
- No permanent utility contracts — You may inherit a temporary construction supply or a supply in a previous owner's name, but you cannot establish your own permanent contracts without the LPO. If the existing supply is cut off, you could be left without water or electricity.
- No mortgage — Banks will not lend against a property without the licence, so you must pay the full price in cash.
- Difficulty selling — Future buyers and their banks will demand the LPO, so you will either need to obtain one before selling or accept a significantly reduced price.
- Potential fines — While enforcement is inconsistent, town halls have the power to fine property owners who occupy buildings without the required licence.
- Insurance complications — Claims may be rejected if the insurer discovers the property lacks an occupancy licence.
Some buyers knowingly purchase properties without an LPO because they are priced significantly below market value, with the intention of regularising the situation after completion. This can be a viable strategy only if your lawyer has confirmed that the LPO can realistically be obtained, and you have budgeted for the cost and timeline. It is never advisable to buy without an LPO unless you have taken professional legal advice and fully understand the risks.
Due Diligence Checklist — LPO Questions to Ask
Before committing to any property purchase in Spain, ensure your lawyer checks the following LPO-related points:
- Does the property have a valid first occupancy licence? — Request a copy and verify it with the town hall.
- Does the LPO match the current property? — If extensions, conversions, or structural changes have been made since the LPO was issued, the licence may no longer be valid for the property as it stands today.
- For new-builds: has the developer applied for the LPO? — Check the application status and get a realistic timeline. Do not rely on the developer's verbal assurances — ask for documentary evidence.
- Are there any open urban planning files (expedientes urbanísticos)? — The town hall can confirm whether there are any pending enforcement actions or infringement notices on the property.
- If there is no LPO, can one be obtained? — Your lawyer should commission a preliminary assessment from an architect before you commit to the purchase. The architect can identify any issues that would prevent the licence from being granted.
- What will it cost to obtain the LPO? — Get a written estimate from the architect and factor this into your purchase budget.
A reputable lawyer will check all of these points as a matter of course. If your lawyer does not mention the LPO, ask them directly — it is too important to overlook. For more on what your lawyer should check, see our guide on choosing a lawyer for Spanish property.
Related Resources
Are you a property agent on the Costa del Sol? List your properties on MUNDO and reach UK buyers actively searching for their Spanish home.
Disclaimer
This guide is for informational purposes only and does not constitute legal, tax, or financial advice. Property laws and tax regulations change frequently — always consult a qualified Spanish lawyer and tax advisor before making any property purchase decisions. Data sourced from Spanish Land Registry, Idealista, and MUNDO partner network. Last verified: March 2026.