How to Buy Property in Spain as a Foreigner: Step-by-Step Guide

Spain is one of the most popular countries in the world for international property buyers. Sunshine, a high quality of life, good flight connections and a strong rental market draw buyers from across Europe and beyond. In the third quarter of 2026, foreigners accounted for a record 16% of all home purchases in Spain. This guide explains how to buy property in Spain as a foreigner, step by step, and what investors should consider before they choose a region.
The Spanish property market today
Spanish home prices have been rising for more than a decade. According to the land registrars, the average price reached a record €2,512 per square metre in the third quarter of 2026, with Madrid and the Balearic Islands above €4,500/m². At the same time, sales volumes are slowing as higher prices and borrowing costs weigh on local buyers. Read our news on foreign buyers in Spain for the latest figures.
The underlying driver is a shortage of new homes in the cities and coastal areas where people most want to live. For investors, that supports rents and makes well-located new developments especially attractive.
Can foreigners buy property in Spain?
Yes. There are no general restrictions on foreigners buying residential property in Spain, whether they live there or not. EU and non-EU buyers follow the same buying process. Note that Spain closed its “golden visa” route for property buyers in 2025, so buying a home no longer leads to residency on its own. Rules for non-EU buyers have been under political debate, so always confirm the current position with a Spanish lawyer before you commit.
Buying property in Spain: step by step
1. Set your budget, including costs
Allow roughly 10–15% on top of the purchase price for taxes, notary, land registry and legal fees. The exact figure depends on the region and on whether the home is new or a resale.
2. Get your NIE number
The NIE (Número de Identidad de Extranjero) is a tax identification number that every foreign buyer needs. You can apply at a Spanish consulate in your home country or at a police station in Spain, or authorise your lawyer to apply for you.
3. Open a Spanish bank account
A local account makes it easier to pay the purchase price, taxes and later utility bills and community fees by direct debit.
4. Appoint an independent lawyer
Your lawyer, who should be independent of the seller and the agent, checks the title at the land registry (Registro de la Propiedad), confirms that there are no debts or charges on the property, verifies planning status and licences, and reviews the contracts.
5. Reserve the property
Once you have chosen a home, you usually sign a reservation agreement and pay a small deposit to take it off the market while your lawyer completes the checks.
6. Sign the private purchase contract
The private contract (contrato privado de compraventa or contrato de arras) sets the price, the completion date and the conditions. A deposit of around 10% of the price is normal at this stage. If the buyer pulls out, the deposit is usually lost; if the seller pulls out, they typically have to return double.
7. Complete before a notary
The sale is completed by signing the public deed (escritura) before a Spanish notary and paying the balance. You can sign in person or through your lawyer under a power of attorney.
8. Register the property and pay the taxes
Your lawyer pays the purchase taxes and registers the deed in your name at the land registry. Registration is what protects your ownership against third parties.
Taxes and costs when you buy property in Spain
- Resale homes: transfer tax (ITP), set by each region and commonly between about 6% and 11% of the price.
- New homes bought from a developer: VAT (IVA) at 10% on residential property, plus stamp duty (AJD), usually between about 0.5% and 1.5% depending on the region.
- Notary, land registry and legal fees: often 1–2% in total.
- Annual costs: local property tax (IBI), community fees for apartments and complexes, insurance and, for non-residents, annual non-resident income tax.
Non-residents who rent out their property pay non-resident income tax on rental income: 19% for EU and EEA residents (who can deduct expenses) and 24% for other non-residents. If the property is not rented, a smaller tax is still due each year on a notional income.
Mortgages for non-residents
Spanish banks lend to non-residents, usually up to about 60–70% of the value, compared with higher loan-to-value ratios for residents. Expect to provide proof of income, tax returns and credit history from your home country. Many investors use cash or finance from their home market instead.
Renting out your property
Long-term rentals are in high demand in Madrid, Barcelona, Valencia and Málaga. Holiday rentals can earn more but are now tightly regulated: most regions require a tourist licence, many cities have stopped issuing new ones in central areas, and short-term lets must be registered nationally. Check the rules for the exact building and municipality before you buy with holiday income in mind.
The best regions to buy property in Spain
Costa del Sol (Málaga, Marbella, Estepona)
The Costa del Sol combines an international airport, year-round sunshine, golf and a strong luxury segment. Málaga has also become a technology and business hub, which supports long-term rental demand. Average prices in Málaga province reached about €3,400/m² in 2026.
Costa Blanca (Alicante, Benidorm, Jávea)
The Valencian Community, which includes the Costa Blanca, has one of the highest shares of foreign buyers in Spain. It offers better value than the Costa del Sol and is popular with British, Dutch and Scandinavian buyers.
Madrid
The capital is Spain’s largest economy and its most expensive region. It suits investors looking for long-term rentals and capital growth backed by jobs and population growth.
Barcelona
Barcelona has strong international demand and limited supply, but also some of the strictest rental regulation in Spain, so it suits long-term owners more than short-term letting.
Balearic and Canary Islands
The islands have the highest share of foreign buyers in the country and premium prices in Mallorca and Ibiza. The Canaries offer a warm winter climate and a different tax regime.
Checklist before you buy
- Confirm the property is legally registered and has the correct licences, including the first occupation licence for newer homes.
- Check there are no outstanding debts, mortgages or community fees.
- For off-plan homes, make sure every stage payment is protected by a bank guarantee or insurance.
- Calculate your net rental yield after Spanish and home-country taxes.
- Understand inheritance and wealth tax implications in your region.
Frequently asked questions
Do I need to live in Spain to buy property there?
No. You only need an NIE number and a way to pay; many buyers complete the whole purchase through a lawyer with a power of attorney.
Can I still get residency by buying property in Spain?
Not through the old golden visa, which closed in 2025. Other residence routes exist, such as the non-lucrative visa or the digital nomad visa, but they are not linked to buying property.
Is new build or resale better for investors?
New build costs more in VAT but offers modern standards, energy efficiency and lower maintenance, and is often easier to let. Read our off-plan property investment guide before buying from a developer.
Next steps
TALO is building its Spain property investment section, with Costa del Sol, Costa Blanca, Madrid and Barcelona projects to follow. Meanwhile, compare property markets worldwide, browse our property investment opportunities, or read the property investment UK guide if you are weighing Spain against the UK.