Buying a House in Spain as a Foreigner: NIE, Bank Account and Taxes

Buying a House in Spain as a Foreigner: NIE, Bank Account and Taxes
The process of buying a house in Spain as a foreigner attracts thousands of international buyers and investors every year, both EU and non-EU citizens, who are interested in establishing residence, acquiring a second home or diversifying their wealth in the Spanish property market. However, undertaking a real estate transaction in a different country requires a precise understanding of the current legal, administrative and tax framework.
Unlike national or resident buyers, those who are not tax residents in Spain must complete certain essential preliminary steps before signing any binding contract. From obtaining the Foreigner Identification Number (NIE) to opening a local bank account and meticulously analysing the tax burden, rigorously planning each stage ensures a secure, transparent and smooth transaction.
Essential Preliminary Steps: NIE and Bank Account in Spain
Before commencing a formal search for a property or paying any reservation fee or deposit, there are two mandatory operational requirements for any non-resident buyer.
Obtaining the Foreigner Identification Number (NIE)
The NIE is the personal, unique and non-transferable code that identifies foreign nationals in their dealings with the Public Administration in Spain. To buy a house in Spain as a foreigner, the NIE is entirely mandatory, as it must formally appear on the public title deed of sale and on the corresponding tax returns.
There are two main routes to apply for the NIE:
- In your home country: Through the relevant Spanish consular network or embassy corresponding to the applicant's habitual residence.
- In Spanish territory: At the General Inspectorate of Immigration and Borders or authorised Immigration Offices, managed directly by the applicant or through a legal representative accredited by power of attorney.
The process requires submitting the official printed application form, a valid original passport, documentary proof of the reason for the application (such as a preliminary contract or letter of intent to purchase), and prior payment of the administrative fee set by the State.
Opening a Bank Account in Spain
Although there is no legal prohibition against transferring funds directly from foreign accounts to the notary office, in practice having an account with a financial institution based in Spain is highly advisable and essential. All payments associated with the transaction, such as funds provided for notary and registry fees, tax settlements and the issuance of the bank cheque required for signing the deed, are processed far more smoothly from a local account.
Financial institutions in Spain are subject to strict anti-money laundering protocols. Therefore, the buyer must provide clear documentation verifying the legitimate origin of the funds, including:
- Tax or income tax returns submitted in the country of residence.
- Bank certificates of origin and bank statements.
- Payslips, employment contracts or dividend distribution certificates justifying the source of income.
In operations requiring mortgage financing, having the support of professionals registered on the official Banco de España registry (with ICI D-286 Banco de España accreditation) provides greater rigour in the assessment and structuring of the loan with lending institutions.
Taxes and Costs Associated with Purchasing Property in Spain
When structuring the financial budget for the acquisition, it is necessary to consider the applicable tax regime. The direct tax burden on the purchase varies depending on whether the property is new-build or second-hand, as well as the Autonomous Community in which the property is located.
Tax Differences Between New-Build and Resale Properties
The tax obligations associated with the execution of the public deed fall into the following categories:
- New-build properties: Value Added Tax (VAT / IVA) is levied, generally set at 10% of the purchase price stated in the contract (except in the Canary Islands, where IGIC applies). Furthermore, the buyer must pay Stamp Duty (IAJD), the percentage of which varies depending on the regulations approved by each Autonomous Community.
- Resale / second-hand properties: These are exempt from VAT and subject to Property Transfer Tax (ITP). The Autonomous Communities set the tax rate, which typically ranges between 6% and 11%, applied to the cadastral reference value or the actual agreed sale price.
Operational and Notary Fees
In addition to direct taxes, every property transaction incurs ancillary management costs:
- Notary fees: Statutory tariffs set by state regulations governing the execution of the public deed.
- Land Registry registration: Mandatory fees to register ownership of the property in the buyer's name and ensure legal land registry protection.
- Administrative management agency (gestoría): Fees arising from the processing of tax self-assessments and the submission of documents to the Registry.
Ongoing Taxation for Non-Resident Owners
Once the transaction is complete, owning property in Spain involves complying with recurring taxes:
- Council Tax / Municipal Property Tax (IBI): An annual local tax levied on property ownership based on its cadastral value.
- Non-Resident Income Tax (IRNR): If the property is kept for personal use and not rented out, the owner is taxed annually on imputed property income. If the property is rented out, the full rental income received must be declared on a quarterly basis.
Tax regime applicable to property acquisitions
Tax differences according to the type of property acquired in Spanish territory.
| Concept | New-build property | Resale property |
|---|---|---|
| Main tax | Value Added Tax (VAT / IVA) at 10% | Property Transfer Tax (ITP) |
| Stamp Duty taxation (IAJD) | Subject to the gradual rate scale of IAJD | Exempt from the gradual rate scale of IAJD |
| Main regulatory framework | Law 37/1992 on VAT | Royal Legislative Decree 1/1993 (TRLITPAJD) |
Concept
Main tax
New-build property
Value Added Tax (VAT / IVA) at 10%
Resale property
Property Transfer Tax (ITP)
Concept
Stamp Duty taxation (IAJD)
New-build property
Subject to the gradual rate scale of IAJD
Resale property
Exempt from the gradual rate scale of IAJD
Concept
Main regulatory framework
New-build property
Law 37/1992 on VAT
Resale property
Royal Legislative Decree 1/1993 (TRLITPAJD)
ITP and IAJD rates are regulated by the laws of each Autonomous Community.
The Step-by-Step Buying Process
To ensure the acquisition proceeds with full legal transparency, it is advisable to break the transaction down into clearly defined phases.
1. Property Search and Evaluation
Identifying properties that meet investment or personal criteria, analysing market prices, transport links, condition of repair and urban development prospects in the area.
2. Legal Analysis and Due Diligence
Before transferring any deposit, it is essential to request a Nota Simple from the Land Registry. This document allows you to check:
- The identity of the current registered owner(s).
- The existence of encumbrances, mortgages, liens or easements on the property.
- The consistency between the property's registry description and its physical and cadastral reality.
In the case of social or subsidised housing (VPO) subject to public protection schemes in the Comunidad de Madrid, the legal audit must meticulously verify the requirements of the regional protected housing regime, the validity of the maximum sale price and the technical viability of processing property disqualification (descalificación) when regional regulations permit.
3. Signing the Deposit Agreement (Contrato de Arras)
The preliminary deposit contract (contrato de arras) is the private agreement through which the buyer and seller formalise the reservation of the property, establishing the final price, completion deadlines, division of expenses and legal consequences in the event of withdrawal, in accordance with the Civil Code.
4. Execution of the Public Deed
The transaction concludes before a notary with the execution of the public deed of sale, payment of the remaining balance by bank cheque or supervised transfer, and the formal handover of the keys.
The Importance of Having a Personal Shopper Inmobiliario (PSI)
Navigating the legal and real estate system of a different country involves risks arising from a lack of technical knowledge, language barriers and information asymmetry. Traditionally, conventional estate agencies represent the interests of the seller, from whom they receive their sales mandate.
In contrast, a Personal Shopper Inmobiliario (PSI) acts exclusively on behalf of the buyer's interests. A PSI carries out a comprehensive search across the entire market, filters genuine opportunities, technically evaluates the condition of properties, and conducts negotiations to achieve the fairest price.
Furthermore, the backing of professionals recognised for legal excellence, such as those awarded at the Sky Law European Legal Awards 2023-2025, ensures that international buyers benefit from specialized legal advice throughout contract reviews, license verifications, and administrative handling of the NIE and bank accounts.
If you wish to navigate the purchase process with total legal certainty, saving time and protecting your interests at every stage, find out how our personal shopper inmobiliario (PSI) service can assist you at every step of your investment in Spain.
Frequently Asked Questions
Is the NIE mandatory to buy a property in Spain as a foreigner?
Fuente: BOE, Ley 36/2006, de 29 de noviembre, de medidas para la prevención del fraude fiscal
What VAT rate applies to the purchase of a new-build property?
Fuente: BOE, Ley 37/1992, de 28 de diciembre, del Impuesto sobre el Valor Añadido, art. 91.Uno.1.7º
How are penitential deposits (arras penitenciales) regulated in a property sale?
Fuente: BOE, Código Civil, art. 1454