Editorial transparency and use of artificial intelligence
This article forms part of the CostaLuz Lawyers blog and is published for general informational and educational purposes only. It was prepared with the assistance of artificial intelligence tools and is pending substantive review and editorial approval by Maria de Castro, a Spanish-qualified lawyer registered with the Cádiz Bar Association under number 2745, founder of CostaLuz Lawyers and the person responsible for the editorial review of the published content.
This article does not constitute legal, tax, immigration, employment, estate-planning or investment advice and does not replace an individual assessment and the professional work of the appropriate CostaLuz Lawyers specialist. No action or omission should be based solely on this information.
Spain’s hotel investment sector hit a record €2.46 billion in the first half of 2026 — up 26.5% year on year, across 88 hotel assets and more than 12,000 rooms, according to figures published by Idealista. Behind every transaction in that boom — the headline ones and the quiet ones — there is a legal process that either protects the buyer or leaves them exposed.
Nobody writes a news story about the due diligence. They write about the price.
Every Spanish property transaction — residential, commercial or hotel — requires independent legal due diligence covering civil, commercial, tax, urban planning, administrative and, for foreign buyers, immigration law. A single gap in this review can turn a profitable investment into a multi-year dispute. CostaLuz Lawyers has litigated these disputes for over 20 years.
The complexity behind a “simple” property purchase
Prefer to talk? Call us (EN/ES) on +34 919 499 342
Most buyers arrive with a mental model borrowed from home: you find a property, a lawyer checks the title, you sign, you own it. In Spain that model is incomplete, and the gap is where the money is lost.
A Spanish property is not one legal object. It is a bundle of positions held simultaneously under different branches of law, each with its own registry, its own regulator, and its own way of going wrong. The Land Registry can show a clean title while the Town Hall holds a disciplinary file on the building. A company can own the asset legitimately while carrying debts that follow the shares you are buying. A rental licence can exist on paper and be worthless in practice because the community of owners voted it out.
None of these contradictions are exotic. They are ordinary. What makes them dangerous is that each one lives in a different place, and a review that only checks one place will pass a property that a review of all six would have stopped.
This is as true of a one-bedroom apartment as it is of a landmark hotel. The scale changes; the branches of law do not. That is why the record investment figures in Spain’s hotel sector matter to a private buyer on the Costa del Sol: the same six reviews sit under both transactions, and the same six gaps produce the same litigation.
We know, because we have spent two decades on the other side of that litigation — recovering money for buyers whose purchase was never properly reviewed.
Six areas of law your lawyer must cover
If your legal review does not touch all six of these, it is not due diligence. It is a title check with a due-diligence invoice attached.
1. Civil law — title and encumbrances
Who actually owns this, and what travels with it? The Land Registry entry, the nota simple, mortgages, embargoes, easements, rights of way, usufructs, and the position of any co-owner or heir who never signed. Encumbrances follow the property, not the seller. If you buy a property carrying a charge, you have bought the charge.
A real mortgage risk to check: the 2026 single-premium insurance ruling
2. Commercial law — corporate structures
Many Spanish assets — and virtually every hotel — are held inside a company. Buying the shares is not the same as buying the building. Share purchases carry the company’s whole history: its debts, its employment liabilities, its tax exposure, its past contracts. An asset deal and a share deal look similar on a term sheet and are entirely different animals in law. The choice between them belongs in the legal review, not the negotiation. Personal name or a Spanish company? We look at that decision here.
3. Tax — planning before you sign
Spanish transaction tax depends on what you buy, how you buy it, who buys it, and where they are resident. The structure is fixed at signature. After that you are optimising inside a box someone else built. This is the single most expensive area to get wrong, because the error is discovered years later by an inspector rather than at the notary. Tax planning is a pre-purchase activity or it is not planning at all.
4. Urban planning — what the building really is
The urbanistic status of a property is its legal identity: is the land classified for what stands on it, is the construction declared, is it inside its permitted volume, is there a disciplinary file open, is the whole thing simply out of ordinance? A building can be physically perfect, registered, insured, mortgaged — and still be, in planning terms, an infraction. The Land Registry will not tell you. The Town Hall will. On rustic land this is the whole transaction — see the rural due diligence guide.
5. Administrative law — licences and permits
Occupancy licence, first-occupation certificate, activity licence, tourist rental registration, hotel classification. Licences are conditional, revocable, and frequently tied to conditions the current owner has quietly stopped meeting. A licence in the file is not a licence in force.
6. Immigration law — your residency status matters
For a non-EU buyer, the purchase and the permission to live in Spain are separate legal questions that constantly get confused. Buying property gives you an asset. It does not give you the right to reside. Your residency route — and your tax residency, which is a different thing again — changes how the purchase should be structured, how the income is taxed, and what you are allowed to do with the property once you own it. US citizens carry a further layer: American tax obligations follow citizenship, not residence.
The same cross-border logic applies close to Gibraltar: how the July 2026 Gibraltar treaty changes affect property residents.Real problems we see — practical examples
These are categories of problem, not case reports. Each can arise; in our experience, most transactions that end in litigation contain at least one of them, undetected before signature.
Hidden encumbrances
A charge, embargo or mortgage still registered against the property, or a debt that runs with the asset rather than the seller. Outstanding debts attached to a Spanish property do not disappear at the notary; they change owner.
Urban planning irregularities
Extensions, pools, terraces or entire floors built without licence, or a property whose land classification does not permit what has been built on it. Legalisation may be possible, expensive, or impossible — and which of the three you face is knowable before you buy.
Missing or invalid licences
No first-occupation licence, a lapsed activity licence, or a tourist licence that was never validly granted. For a commercial or hotel asset, the licence is the business. Buy it broken and you have bought a building, not an operation. The commercial and hotel due diligence in detail.
Unpaid taxes and unexpected liabilities
Municipal capital-gains liability, unpaid IBI, and the tax consequences of a structure chosen for the seller’s convenience rather than yours.
Community of owners issues
Arrears attached to the unit, a pending special levy for a roof or a lift, or statutes that restrict what you intend to do. Community fees and who pays them is one of the most common post-completion surprises we are asked to unpick.
Short-term rental restrictions
An investment case built on holiday-rental income that the community, the municipality or the region does not permit. The regulatory ground here has moved repeatedly — including a Supreme Court ruling striking down the unified national rental registry — and regional regimes now govern. Verify the licence route that actually applies before the income assumption goes into your model.
If that rental income also crosses a border — UK to Spain, for example — the double-taxation treaty determines where and how it is taxed.Developer default
Off-plan deposits paid to a developer without the legally required bank guarantee, and buildings delivered late, differently, or not at all. This is the terrain of Law 57/1968 and the bank’s liability for buyers’ deposits — and it is the terrain on which we have spent twenty years.
Bank and mortgage abuse
Floor clauses, IRPH indexing, set-up costs and imposed insurance premiums, embedded in mortgage deeds that buyers signed without independent advice. See our guide to abusive mortgage clauses in Spain.
Registry discrepancies
The property in the deed, the property in the Land Registry, the property in the Cadastre and the property you walked around are four descriptions that are supposed to agree. Frequently they do not, and the differences are the boundary dispute you inherit.
Immigration and residency mismatch
A buyer who structures a purchase around a residency plan that the purchase itself does not deliver, or who becomes tax-resident in Spain without having modelled what that means for their worldwide income.
The cost of due diligence versus the cost of litigation
We will not publish a price here, because we do not have one: every matter is quoted individually, as a fixed fee agreed before we start, once we know what the transaction actually involves.
What we can tell you is the shape of the comparison, and it is not close.
A pre-purchase legal review is bounded. It has a defined scope, a defined timeline and a fee you know before you commit. Litigation is unbounded in every one of those dimensions. It runs for years, not weeks. Its cost is a function of the other side’s conduct, not your budget. It consumes attention you had allocated to the investment itself. And it is fought over a document you already signed — which means the strongest arguments available to you were determined before the dispute began, by the quality of the review you did or did not commission.
A client once told us, after a matter that ran for years, that the review he skipped would have cost less than his first month of proceedings. We have heard versions of that sentence more times than we would like.
The asymmetry is structural. Due diligence is the cheapest point in the transaction at which a problem can be discovered, because it is the last point at which you can still walk away.
Why litigation experience matters in due diligence
Most legal reviews are performed by lawyers who have never had to litigate the consequences of a bad one.
That distinction matters more than it sounds. A lawyer who only closes transactions learns to recognise the documents that are normally present. A lawyer who has spent twenty years suing banks, developers and operators learns something different: which documents were present in the files that later exploded, and what was quietly missing from them.
CostaLuz Lawyers has spent over 20 years litigating against banks, developers and operators, across 620+ cases. We have recovered deposits from banks that argued they owed nothing. We have taken developers through the courts over buildings that were never delivered. We have had mortgage clauses struck down that the borrower had been assured were standard.
Every one of those cases began as a transaction that somebody reviewed and approved.
So when we conduct due diligence, we are not working from a template of what a file should contain. We are working from a memory of what the files looked like in the cases we later had to fight. That is the difference between a checklist and a defence.
What to do before you sign anything
Not after the reservation. Not after the deposit. Before.
- Instruct an independent lawyer. Independent means not recommended by, related to, or paid by the seller, the developer or the estate agent. If the same person is on both sides of the table, you do not have a lawyer; you have a witness.
- Sign nothing and transfer nothing first. A reservation contract is a contract. A deposit is a legal position. Both are routinely signed before anyone has looked at the property’s legal file.
- Demand the full legal file. Nota simple, title deed, cadastral certificate, planning certificate from the Town Hall, licences, community statutes and minutes, energy certificate, and — if a company is involved — its accounts, tax standing and corporate history.
- Fix the tax structure before signature, not after. It cannot be retrofitted.
- Verify licences with the issuing authority, not with the vendor’s file copy.
- Test the income assumption against the actual regional and community rules if your case depends on rental income.
- Separate the property question from the residency question and answer both.
- Ask your lawyer what they would sue over if this purchase went wrong. If the answer is vague, the review was too.
The boom in Spanish property and hotel investment is real, and it is not, in itself, a warning. Capital is flowing into Spanish real estate for sound reasons. But a rising market is also the market in which the least due diligence gets done, because speed feels like an advantage and caution feels like a cost.
It is the opposite. The transactions we end up litigating are almost never the ones where somebody took an extra three weeks to read the file.
Further reading: our complete legal guide for foreign buyers, the 2026 conveyancing timeline, and the legal guide to buying luxury property in Spain. Two of the practical steps inside that timeline are worth their own read: what actually happens at the notary and what a structural survey should check before you buy. If you are considering a repossessed or bank-auction property instead of a standard resale, see the risks to check before you bid. Two other situations worth knowing about before you buy: a boundary or wall dispute with a neighbour, and what to do if you find the property occupied. If you are buying to run your own business rather than as an investment, see what is different about that purchase. And if you believe the agent’s own description of the property was itself the problem, see your options when an estate agent misrepresents a property.
Frequently asked questions
What does legal due diligence cover when buying property in Spain?
Six branches of law: civil (title and encumbrances), commercial (corporate structures), tax, urban planning, administrative (licences and permits) and, for non-EU buyers, immigration. A review that checks title alone is not due diligence.
Is due diligence different for a hotel or commercial asset than for a home?
The scale differs; the six branches of law do not. Commercial and hotel assets are more often held inside a company, which makes the commercial-law and tax legs heavier, and the operating licence becomes the value of the business rather than a formality.
Can hidden debts on a Spanish property become mine?
Yes. Encumbrances such as mortgages, embargoes and certain charges attach to the property, not the seller. Community-fee arrears and municipal taxes can also follow the asset. This is why the registry, cadastral and community position must all be checked before signature.
What is the difference between buying the asset and buying the company that owns it?
Buying shares means inheriting the company’s entire history — its debts, tax exposure, employment liabilities and past contracts — not just the building. Asset deals and share deals look similar commercially and are entirely different in law.
Do I need my own lawyer if the seller or agent provides one?
Yes. Independent means not recommended by, related to, or paid by the seller, developer or estate agent. If the same adviser sits on both sides of the transaction, you do not have independent legal protection.
Can tax be planned after I sign?
No. The tax structure of a Spanish purchase is fixed at signature by what you bought, how, through what vehicle, and as what kind of resident. After completion you are optimising inside a structure that can no longer be changed without cost.
Does buying property in Spain give me the right to live there?
No. Buying property gives you an asset, not a residency permit. The purchase and the right to reside are separate legal questions, and your residency and tax-residency status change how the purchase should be structured and how any income is taxed.
Planning to live in Spain too? The Non-Lucrative Visa: complete 2026 checklist
When should the legal review happen?
Before you sign a reservation contract and before you transfer any deposit. Both create legal positions. Due diligence is the last point in a transaction at which you can still walk away.
Contact CostaLuz Lawyers before you sign any document or transfer any deposit.
Send us the property details and any document you have been asked to sign, to marialuisa@costaluzlawyers.es. Our team gives you a free written assessment of what the transaction needs reviewed and what is already visible as a risk. An optional free introductory call can follow.
Email your transaction → · WhatsApp · Book the optional call
This article describes categories of legal risk that can arise in Spanish property transactions; it does not report on any individual case and asserts no specific figures, deadlines or tax rates. Every transaction turns on its own documents and on the rules in force in its region at the time. It is general information and does not constitute legal advice — every case requires individual analysis. Reviewed by María Luisa de Castro, CEO at CostaLuz Lawyers (ICA Cádiz 2745), advising international clients on Spanish property, mortgage and tax matters since 2006.
New guide: buying property in Spain — a legal guide for UK buyers →
New guide: buying property in Spain — a legal guide for Latin American buyers →
One document worth checking on any new build is the first occupation licence and what to check before you complete.
If a fault only surfaces after completion, see what to do if you find a hidden defect after buying.
Developer insolvency is one of the risks a full due-diligence review should weigh — see our guide to off-plan buyer protection if it happens.
Whether statutory consumer protection applies at all depends on who is selling — see our guide to consumer protection rights when buying property in Spain.
Getting the keys is the final visible milestone of the process — see the practical keys handover protocol that follows completion.
Anti-money-laundering checks are part of the legal due diligence on every purchase — see our guide to proving the source of your funds for what is actually required.
Ownership structures sometimes need to change after completion — see our guide to removing a co-owner from a Spanish property title.
