Insights

Real Estate in Spain: Legal Guide for Foreign Buyers and Investors

2025-09-03 00:00 Spain

A foreign investor signs a private purchase agreement on a Barcelona apartment, transfers the deposit, and only then discovers the property carries an unregistered mortgage that Spanish civil procedure rules require clearing before title can pass. The transaction stalls. The deposit is at risk. This scenario plays out frequently enough that Spanish real estate lawyers treat pre-contract due diligence not as a formality but as the primary line of defence. This guide covers every stage of a Spanish property acquisition — from initial checks through tax obligations, financing, and ongoing compliance — with the specific pitfalls that trap international buyers who navigate the process without local legal support.

The regulatory landscape governing foreign property ownership in Spain

Spain permits non-residents and non-EU nationals to acquire real estate without prior governmental authorisation, subject to specific reporting obligations under foreign investment legislation and anti-money-laundering rules. The absence of blanket restrictions does not mean the process is frictionless. Spain's property market is governed by an interlocking body of civil legislation, urban planning law, tax legislation, land registry rules, and notarial requirements — each administered by separate authorities at national, regional (comunidad autónoma, or autonomous community), and municipal levels.

The layered competence structure creates a practical challenge: property regulations in Catalonia differ materially from those in Andalusia, and both differ from the Canary Islands. Coastal acquisition rules, rental licensing requirements, and land classification standards vary by region. Foreign buyers who rely on the national framework alone frequently encounter regional restrictions they did not anticipate — urban planning constraints that prevent renovation, tourist rental bans in certain municipalities, or mandatory heritage protection obligations on listed buildings.

Under Spain's civil legislation, a property sale is binding once there is agreement on the object and the price. Spanish courts consistently hold, however, that this principle does not protect a buyer from undisclosed encumbrances that pre-date the transfer, unless the buyer has examined the land registry extract — the nota simple (property registry extract) — and the cadastral certificate. Failing to obtain both documents before committing funds is the single most common and costly mistake by international purchasers.

For cross-border investors weighing the Spanish market alongside Portugal, our analysis of real estate acquisition for foreign investors in Portugal outlines the structural differences in how both Iberian jurisdictions treat non-resident ownership and tax residency triggering events.

Key instruments and procedures for acquiring Spanish property

NIE — Número de Identificación de Extranjero (Foreigner Identification Number). Every foreign buyer, whether resident or non-resident, must obtain a NIE before completing any property transaction in Spain. Without it, the notary cannot execute the deed and the Land Registry will not record the transfer. NIE applications are processed through Spanish consulates abroad or police stations in Spain. Processing takes from two weeks to two months depending on the consulate; applicants in Spain typically receive a temporary certificate on the same day.

Due diligence — what the land registry and cadastre reveal. The nota simple discloses registered ownership, mortgages, easements, usufruct rights, and any annotations of ongoing litigation. The certificado catastral (cadastral certificate) confirms the official surface area and land classification. Discrepancies between registry data and physical reality are common in older properties and rural land. Where the registered surface area differs substantially from the actual area, buyers face either renegotiation or a declaración de obra nueva (declaration of new construction or alteration) procedure before the deed can accurately reflect the asset being transferred. Practitioners in Spain note that unresolved cadastral mismatches frequently delay completion by two to four months.

Pre-contract arrangements. Spanish practice uses two instruments before the public deed: the contrato de arras (deposit agreement) and the private purchase contract. The arras penitenciales (penitential deposit clause) under Spain's civil legislation entitles the seller to retain the deposit if the buyer withdraws, and requires the seller to return double the deposit if the seller withdraws. Courts in Spain apply this mechanism strictly, and buyers who later discover defects that were not disclosed — but were discoverable through due diligence — rarely recover deposits on the basis of non-disclosure alone. This makes pre-signing investigation non-negotiable rather than advisable.

The public deed — escritura pública de compraventa. Spanish property law requires that a transfer be executed before a Spanish notary (notario) and registered in the Registro de la Propiedad (Land Registry) to be enforceable against third parties. The notary verifies the parties' identities, confirms NIE numbers, reads the deed aloud, and certifies consent. Notarial fees are set by a regulated scale and vary with property value; they represent a modest but fixed cost. The notary does not conduct independent due diligence — that remains entirely the buyer's responsibility.

Land Registry registration. After execution, the deed must be submitted to the Land Registry, typically within thirty working days. Registration is what triggers full third-party protection. Until the deed is registered, the buyer holds a valid but incomplete title. In practice, the gap between signing and registration runs from three to eight weeks, and during this period the buyer's position is exposed to any encumbrances that a third party might register ahead of the transfer.

To receive an expert assessment of your property acquisition or investment structure in Spain, contact us at info@vlolawfirm.com.

Tax obligations that determine the true cost of ownership

Tax is frequently where Spanish property transactions become unexpectedly expensive for foreign buyers who focus only on the purchase price and notarial costs. The applicable taxes depend on whether the property is new or resale, whether the seller is a developer or a private individual, and the autonomous community in which the property is located.

New-build properties trigger Impuesto sobre el Valor Añadido (VAT, standard rate for residential property) and Actos Jurídicos Documentados — AJD (Stamp Duty on documented legal acts). AJD rates vary by region and have been subject to litigation in recent years; Spanish courts have clarified that in mortgage transactions the financial institution, not the borrower, bears the AJD on the mortgage deed — a position now settled in tax legislation amendments.

Resale properties from private sellers are subject to Impuesto sobre Transmisiones Patrimoniales — ITP (Property Transfer Tax) rather than VAT. ITP rates are set at the regional level and range from modest to substantial depending on the autonomous community, the buyer's age, and whether the property qualifies as a primary residence. Andalusia and the Canary Islands apply different rates from Catalonia and Madrid. Buyers who compare headline figures from different regions without accounting for ITP differences frequently misjudge the all-in acquisition cost.

Non-resident income tax. Foreign owners who do not rent their Spanish property are still subject to an annual imputed income tax charge under Spain's non-resident income tax legislation, calculated on a notional basis linked to the property's cadastral value. Those who do rent must declare actual rental income and file quarterly returns. A common mistake is assuming that owning property in Spain without establishing tax residency carries no ongoing tax obligation — it does, and penalties for non-filing accumulate from the first year of ownership.

Wealth tax — Impuesto sobre el Patrimonio. Spain's wealth tax legislation applies to non-residents on Spanish-sited assets above a threshold. The threshold and applicable rates vary by autonomous community. Several regions have effectively reduced or rebated wealth tax for residents, but non-residents are generally subject to the national scale. For buyers acquiring high-value properties, this obligation can represent a meaningful annual charge and must be modelled before the transaction closes.

Capital gains on disposal. When a non-resident sells Spanish property, the buyer is required by tax legislation to withhold a portion of the purchase price and remit it to the Spanish tax authority as a withholding on the seller's potential capital gain. The seller may reclaim any excess withholding by filing a non-resident capital gains return within a defined period. Sellers who miss this window lose the ability to recover the excess withheld. Legal experts recommend structuring the sale timeline to allow sufficient post-completion time to file the reclaim.

Municipal capital gains tax — Plusvalía Municipal. This local tax is levied by the municipality on the increase in land value during the period of ownership. Spain's Constitutional Court has ruled that the tax is inapplicable where the seller has not actually realised a gain on the land component — a significant change that practitioners now routinely raise in negotiations over who bears this cost. Many standard sale contracts still assign plusvalía to the seller, but the post-ruling landscape has made it a live point of negotiation.

Financing, mortgages, and the rights of non-resident borrowers

Spanish banks extend mortgage financing to non-residents, though on stricter terms than to residents — typically requiring a larger deposit, providing a lower loan-to-value ratio, and requiring evidence of foreign income that Spanish underwriters are willing to assess. The mortgage process adds a parallel track of legal requirements.

Under Spain's mortgage credit legislation, lenders must provide a binding mortgage offer — the FEIN (Ficha Europea de Información Normalizada, European Standardised Information Sheet) — at least ten calendar days before the deed is signed. The buyer must appear before the notary on a separate occasion before signing, specifically so the notary can verify that the borrower has read and understood the terms. This cooling-off requirement cannot be waived. Transactions that attempt to compress the timeline to fewer than ten days routinely fail at the notarial stage, causing completion delays and, in some cases, triggering deposit forfeit clauses.

The mortgage deed is registered separately from the purchase deed. Both must be executed on the same day before the same notary in most cases, but the registration of the mortgage lien occurs simultaneously with or immediately after registration of the title transfer. Buyers using foreign bank financing face additional complexity: Spanish land registry rules require the mortgage to be expressed in euros and governed by Spanish law to be registrable as a lien in Spain.

Specialists in Spanish property law point out that non-residents using offshore holding structures to acquire property — for asset protection or estate planning — face significant additional due diligence requirements from both lenders and notaries, and must demonstrate the ultimate beneficial ownership chain before execution can proceed.

For tax structuring considerations that intersect with Spanish property ownership through corporate vehicles, see our analysis of tax disputes and planning in Spain.

For a tailored strategy on structuring your Spanish property investment and mortgage financing, reach out to info@vlolawfirm.com.

Acquisition through corporate structures and investor visas

A meaningful share of high-value Spanish property acquisitions by non-EU buyers are structured through Spanish limited liability companies — Sociedad de Responsabilidad Limitada (SL) — or through non-Spanish holding vehicles. The SL structure offers some liability insulation and can simplify estate planning, but it triggers corporate tax obligations, annual accounts filing requirements, and — critically — the real estate transfer is treated differently for ITP purposes depending on whether the target company's assets are predominantly real estate. Spain's tax legislation contains anti-avoidance provisions that treat certain share transfers as equivalent to property transfers for ITP purposes where the target holds predominantly Spanish real estate. Buyers who assume that acquiring a Spanish SL that holds property avoids transfer tax are frequently surprised when the tax authority reassesses the transaction.

The Golden Visa — Visado de Inversor. Spain's investment visa legislation has historically granted two-year renewable residency permits to non-EU nationals who acquire Spanish real estate above a defined investment threshold. The programme has been subject to political debate and proposed reform. As of the publication date of this guide, the programme remains operative, but investors should treat its continuation as subject to legislative change and obtain current legal advice before structuring an acquisition around it. The visa itself does not confer tax residency; spending more than a defined number of days in Spain triggers non-resident or resident tax status under different rules, and the distinction has significant financial consequences.

Rural land acquisitions present a separate set of challenges. Spain's agricultural legislation restricts certain transfers of rural land to foreign entities in some autonomous communities. Urban planning legislation classifies land as developable, non-developable, or specially protected — and classification determines both what can be built and what the land is worth. Buyers of rural properties who intend to develop must verify classification at the municipal level before signing any commitment; reclassification petitions take years and succeed rarely.

Self-assessment: when to engage legal counsel and what to verify first

Legal support for a Spanish property acquisition is applicable and advisable in all of the following situations — but becomes operationally necessary when at least one of these conditions is present:

  • The buyer is a non-EU national and intends to apply for a Golden Visa linked to the acquisition
  • The property is located in a coastal zone subject to the Ley de Costas (Coastal Law) restrictions on private ownership and development
  • The purchase is being made through a corporate vehicle — Spanish or foreign
  • The property has been previously used for tourist rental and a licence transfer is part of the deal
  • The seller is a non-resident, triggering mandatory withholding obligations on the buyer

Before committing any deposit, verify the following in sequence. First, obtain and review the nota simple — confirm registered ownership matches the seller's identity and that no undischarged mortgages or annotations of legal proceedings appear. Second, obtain the cadastral certificate and cross-check surface area against the registry data and the private contract. Third, confirm the property's urban planning classification with the local municipality — a process that takes one to three weeks and frequently reveals restriction that the seller has not disclosed. Fourth, verify that any existing tourist rental licence is transferable and that the municipal authority has not imposed a moratorium on new licences in the area.

Three typical scenarios illustrate how the process plays out in practice. In the first scenario, an individual buyer from outside the EU acquires a resale apartment in Málaga for personal use. The process runs twelve to sixteen weeks from offer to deed if due diligence is clean. The timeline extends to twenty-plus weeks where cadastral mismatches or undisclosed charges require resolution before the notary will proceed. In the second scenario, a family office acquires a commercial property in Madrid through a Spanish SL. Corporate formation takes two to four weeks; the property transfer then runs through the normal deed and registration process, but with additional tax analysis required to confirm whether anti-avoidance ITP provisions apply. In the third scenario, a non-EU investor acquires a residential property above the Golden Visa threshold in Valencia. The visa application itself runs three to five months from deed completion and requires separate consular engagement; property completion and visa grant are separate events, and financing the acquisition while the visa is pending requires advance planning.

For existing owners considering sale, the sequencing of tax withholding reclaims, plusvalía disputes, and capital gains filings creates a post-completion legal workload that runs three to six months beyond the deed date. Owners who disengage their legal adviser immediately after signing frequently miss reclaim deadlines and forfeit legitimate refunds. Specialists in Spain consistently recommend maintaining legal engagement through the full post-sale tax cycle.

Frequently asked questions

Q: How long does a standard property purchase take in Spain from offer to completion?

A: For a straightforward resale transaction where due diligence is clean, the process from accepted offer to notarial deed typically runs eight to twelve weeks. That window accommodates NIE processing, due diligence, contract negotiation, and notary scheduling. Complex transactions — those involving corporate buyers, mortgage financing subject to the mandatory ten-day cooling-off period, or properties with title defects requiring regularisation — routinely extend to sixteen to twenty-four weeks. Buyers who plan around a twelve-week timeline without legal support frequently find themselves committed to a deposit before due diligence is complete.

Q: Do non-residents pay more tax than residents when buying property in Spain?

A: The main acquisition taxes — ITP or VAT plus AJD — apply at the same rates regardless of residency. The difference emerges in ongoing ownership: non-residents pay imputed income tax on vacant properties and are subject to wealth tax on the national scale rather than potentially reduced regional rates available to residents. On sale, non-residents face mandatory withholding by the buyer, whereas residents do not. The belief that non-residents are taxed identically to residents across the ownership lifecycle is a common misconception that leads to significant underprovision for annual tax costs.

Q: Can a non-EU buyer use a foreign company to purchase Spanish real estate?

A: Yes, subject to foreign investment reporting requirements and anti-money-laundering compliance. The notary and land registry will accept a foreign entity as the purchaser provided the entity's legal existence, powers of representation, and ultimate beneficial ownership are documented to the notary's satisfaction. However, using a foreign company does not eliminate Spanish tax exposure — the property remains subject to Spanish non-resident property taxes, and share transfers of the foreign entity may trigger Spanish ITP under anti-avoidance provisions if the entity's principal asset is Spanish real estate. Legal experts strongly recommend a tax structure analysis before committing to a foreign holding vehicle.

About VLO Law Firm

VLO Law Firm brings over 15 years of cross-border legal experience across 35+ jurisdictions. Our team provides comprehensive legal support for real estate acquisitions, investment structuring, and property-related disputes in Spain — with a practical focus on protecting the interests of international buyers, family offices, and corporate investors. Recognised in leading legal directories, VLO combines deep local expertise in Spanish civil, tax, and planning law with a global partner network capable of coordinating cross-border holding structures and investor visa applications. To discuss your property acquisition or investment situation in Spain, contact us at info@vlolawfirm.com.

To explore legal options for your real estate investment or acquisition in Spain, schedule a call at info@vlolawfirm.com.

Elena Moretti, International Legal Counsel

Elena Moretti is an International Legal Counsel at VLO Law Firm specializing in European regulatory frameworks, tax structuring, and M&A transactions. With a background spanning civil law systems across Continental Europe, she supports international businesses navigating cross-border investments and compliance.

Published: September 3, 2025