If you are in Mexico, Colombia, Argentina or any other Latin American country and wondering how to buy a flat in Madrid without being a resident, the answer is simpler than you think: it is completely legal, viable and increasingly common. In this guide we explain each step of the process so you arrive prepared and avoid any surprises.
Can a foreigner buy a property in Spain?
Yes. Spain does not require residency or nationality to acquire a property. Any foreign citizen—with or without a visa—can buy a property in Spanish territory. The only requirement is to obtain the NIE (Número de Identidad de Extranjero / Foreigner's Identification Number), which is the tax document that identifies you to the Spanish administration.
Step 1: Obtain your NIE
The NIE is the first procedure and the most important one. You can apply for it at the Spanish Consulate in your country of origin—the most convenient option if you have not yet traveled—or directly at a police station in Spain. The processing time varies between 1 and 4 weeks. Without a NIE you cannot sign any deed or open a bank account in Spain. Process it in advance: any delay in this step halts the entire process.
Step 2: Open a bank account in Spain
Although technically not legally required, in practice it is essential: notaries, banks and administrators require it to manage taxes, utilities and, where applicable, mortgage payments. The most accessible banks for non-residents are BBVA, Santander and CaixaBank, which allow non-resident accounts with basic documentation: passport, NIE and proof of income. Keep in mind that Spanish banks are required to verify the origin of funds under anti-money laundering regulations.
Step 3: Define your actual budget
To the purchase price you must add between 10% and 13% in additional costs:
- ITP (second-hand property in Madrid): 6% of purchase price.
- VAT (new build): 10%—or 4% for official protected housing.
- AJD (new build in Madrid): 0.75%.
- Notary and Land Registry: between €1,000 and €2,500 depending on price.
- Administration: approximately €300–600.
- Valuation (if you request a mortgage): between €300 and €600.
Step 4: Property search and selection
Madrid offers a very diverse market, from the elegant neighborhoods of Salamanca and Chamberí to the thriving areas of Retiro and Arganzuela. Having an Real Estate Personal Shopper allows the investor to filter the best opportunities, conduct technical visits and negotiate the price with real knowledge of the local market. At Ingezar España we offer this Real Estate Personal Shopper service aimed at international investors.
Step 5: Sign the earnest money contract
Once the property has been chosen, an earnest money contract is signed—equivalent to a purchase promise—and a deposit is paid which is usually 10% of the price. If the buyer backs out, the money is lost; if the seller backs out, they return double. This contract protects you and reserves the property while you arrange financing.
Step 6: Sign before a notary and register the deed
The purchase is formalized in a public deed before a notary. You can attend in person or appoint a representative through a notarial power of attorney from your country of origin (apostilled and translated into Spanish). After signing, the notary registers the property in the Land Registry so that ownership is public and fully effective against third parties. The complete process from earnest money to deed usually takes between 30 and 90 days.
Step 7: Post-purchase obligations
After deeding you have 30 business days to settle taxes. If you are not going to reside in Spain, you must file annually model 210 of the IRNR (Non-Resident Income Tax). If the property is empty or for your own use, you will be taxed on a percentage of the cadastral value; if you rent it, on actual rental income.
Frequently Asked Questions (FAQ)
Do I need to live in Spain to buy a flat?
No. Spain allows property purchases by non-residents with no minimum stay requirement.
What is the NIE and where do I apply for it?
The NIE is your tax number in Spain. You can apply for it at the Spanish Consulate in your country or at a Spanish police station. It carries a fee of about €10 (form 790-012) and is obtained in 1–4 weeks.
Can I get a mortgage as a non-resident foreigner?
Yes, although the conditions are somewhat more demanding. Spanish banks finance up to 60–70% of the appraised value for non-residents, compared to the usual 80–90% for residents.
What if I cannot travel to Spain to sign?
You can grant a notarial power of attorney to a trusted person to sign on your behalf. The power must be apostilled and translated into Spanish if executed outside Spain.
Does buying in Spain give me access to the Golden Visa?
No. The Golden Visa, which required a minimum investment of €500,000 in housing, was repealed on April 3, 2025 (Organic Law 1/2025). Since then, buying a property does not by itself entitle you to residency. Other routes exist, such as the non-lucrative visa; discuss your case with an immigration lawyer before deciding.