business resources
How to buy property in Spain as a foreigner
21 Aug 2026

Spain has become one of the most attractive real estate markets in Europe for international buyers. Its climate, quality of life, infrastructure and variety of properties attract thousands of people every year, whether they are looking for a permanent home, a holiday property or a long-term investment.
From apartments in Madrid and Barcelona to villas on the Mediterranean coast or properties in the Balearic and Canary Islands, the Spanish market offers opportunities for very different types of buyers.
However, purchasing real estate in another country requires more than finding the right property and negotiating a price. Foreign buyers need to understand Spanish property law, taxes, contracts and the legal checks that should be completed before signing.
This guide explains how to buy property in Spain as a foreigner, the main steps involved and the precautions international buyers should take to make the process as secure as possible.
Can foreigners buy property in Spain?
Yes. Foreigners can generally purchase property in Spain regardless of whether they are residents of the country or citizens of the European Union.
In other words, you do not normally need to become a Spanish resident before purchasing a house or apartment.
However, buying property and obtaining the right to reside in Spain are two separate legal matters. Owning a Spanish property does not, by itself, automatically give a foreign buyer the right to live permanently in the country.
One of the first practical requirements for an international purchaser is obtaining a Número de Identidad de Extranjero (NIE). This identification number is used in transactions involving Spanish tax authorities and is generally required to complete a property purchase.
Foreign buyers may also decide to open a Spanish bank account to facilitate payments related to the transaction and the subsequent ownership of the property.
How to buy property in Spain as a foreigner
Although every transaction is different, purchasing real estate in Spain usually follows a relatively structured process.
The first step is establishing a realistic budget and deciding where to buy.
Spain does not have a single homogeneous property market. Prices and investment opportunities vary considerably between regions and cities. Madrid, Barcelona, Valencia, Málaga, Alicante and the islands, for example, each have their own property dynamics.
Once a suitable property has been found, the buyer can negotiate the price and conditions with the seller.
However, reaching an agreement on price should not mean immediately transferring a large deposit.
Before making a binding commitment, buyers should verify the legal situation of the property and understand the terms of any document they are being asked to sign.
For international purchasers unfamiliar with the Spanish legal system, working with independent Real Estate Lawyers can be particularly useful during this stage.
Legal due diligence before buying property in Spain
Legal due diligence is one of the most important parts of a Spanish property transaction.
Before completing the purchase, buyers should confirm that the person selling the property is its legal owner and determine whether there are mortgages, liens, embargoes or other charges affecting it.
The Spanish Land Registry, known as the Registro de la Propiedad, plays an important role in this process. A nota simple can provide information regarding registered ownership and certain charges attached to the property.
However, Land Registry information is only one part of the legal review.
Depending on the property, additional checks may be necessary regarding planning regulations, building licences, community debts, local taxes or alterations carried out by previous owners.
A detached house, for example, can raise very different legal questions from an apartment in central Madrid or a newly built property purchased directly from a developer.
Spanish law firm Javaloyes Legal advises individuals and businesses on legal matters in Spain and can assist foreign purchasers in analysing the legal aspects of a real estate transaction before they make a binding commitment.
The objective of this due diligence is straightforward: identify potential problems before the buyer becomes the owner rather than discovering them after completion.
Reservation agreements and the contrato de arras
After negotiating the purchase price, the parties may sign a reservation agreement or private contract.
One of the most common documents in Spanish real estate transactions is the contrato de arras, under which the purchaser normally pays an agreed amount as a deposit.
Foreign buyers should be particularly careful at this stage.
A deposit contract is not simply an informal expression of interest. Depending on its wording and legal nature, withdrawing from the transaction may have important financial consequences for either party.
The agreement should therefore clearly establish matters such as the purchase price, amount of the deposit, completion date, payment conditions and consequences if one of the parties does not complete the transaction.
Where the purchase depends on obtaining mortgage financing, the buyer should also understand whether and how this circumstance is reflected in the agreement.
Completing the purchase before a Spanish notary
The purchase is normally completed by executing the escritura pública de compraventa, or public deed of sale, before a Spanish notary.
At completion, the remaining purchase price is generally paid according to the conditions agreed between the parties.
The deed can subsequently be submitted to the Spanish Land Registry so that the purchaser's ownership is formally registered.
Foreign buyers do not necessarily need to be physically present in Spain for every stage of the transaction.
Depending on their circumstances, they may grant a power of attorney allowing a representative to carry out certain procedures or sign specific documents on their behalf.
This can be especially convenient for buyers who live abroad and cannot travel repeatedly to Spain during the purchasing process.
Taxes and costs when buying property in Spain
One of the most common mistakes made by property buyers is calculating their budget exclusively on the advertised purchase price.
Buying real estate in Spain involves taxes and additional transaction costs.
The applicable taxes depend partly on whether the property is new or previously owned and where in Spain it is located.
Resale properties are generally subject to Property Transfer Tax (Impuesto sobre Transmisiones Patrimoniales or ITP). Because this tax is regulated at regional level, the applicable rate can vary depending on the autonomous community.
New properties purchased from developers are generally subject to a different tax regime, which may include Value Added Tax (IVA) and Stamp Duty (Actos Jurídicos Documentados or AJD).
Other potential expenses include notary fees, Land Registry fees, legal costs and certain banking or financing expenses.
Anyone considering buying property in Spain as a foreigner should therefore calculate the overall cost of the transaction before deciding how much they can afford to spend on the property itself.
Can foreigners obtain a mortgage in Spain?
Foreign buyers can obtain mortgages from Spanish banks, including in many cases when they are not Spanish residents.
However, financing conditions may differ from those available to residents.
Banks normally assess the applicant's income, existing debts, employment situation, assets and general creditworthiness. They will also consider the value of the property being purchased.
International buyers may need to provide documentation issued in their home country, such as payslips, tax returns, employment documents, bank statements and information about existing loans.
For this reason, buyers who require financing should investigate their mortgage options before making significant contractual commitments.
Signing a deposit agreement and subsequently discovering that the necessary financing is unavailable can create a difficult situation.
Buying property and Spanish residency are different matters
Purchasing a property in Spain should not be confused with obtaining Spanish residency.
Property ownership and immigration status are governed by different rules.
A person may own a house or apartment in Spain while remaining legally resident in another country. Conversely, the requirements for living in Spain will depend on the purchaser's nationality, personal circumstances and the immigration route available to them.
Foreign purchasers intending to relocate should therefore consider immigration issues separately from the property transaction.
Tax residency is another important consideration.
Spending substantial periods of time in Spain or moving one's main personal or economic interests to the country can potentially create tax consequences beyond those arising from property ownership itself.
Common mistakes foreign property buyers should avoid
The Spanish purchasing process can be relatively straightforward when properly planned, but international buyers sometimes make avoidable mistakes.
One of the most significant is assuming that the procedure works exactly as it does in their home country.
Another is signing documents or paying deposits before sufficient legal checks have been carried out.
Buyers should also avoid relying exclusively on information supplied by parties whose interests may be aligned with the seller. Independent legal advice allows the purchaser to have someone reviewing the transaction specifically from their perspective.
For example, Javaloyes Legal can assist international clients with the review of contracts, ownership documentation and other legal issues that may arise during the acquisition of real estate in Spain.
It is also important to budget realistically. Taxes, professional fees and other expenses can significantly increase the total amount required to complete a purchase.
Is buying property in Spain a good investment?
There is no universal answer.
Whether a Spanish property represents a good investment depends on factors such as its location, purchase price, intended use, condition, ongoing costs and the buyer's long-term objectives.
Someone buying an apartment as a permanent residence will have very different priorities from an investor purchasing a property for rental income.
Foreign investors should therefore consider both the legal and commercial aspects of the acquisition.
Location remains particularly important. Demand can vary significantly not only between regions but also between neighbourhoods within the same city.
Potential rental investors should additionally investigate the rules applicable to the intended use of the property, particularly if they are considering short-term or tourist accommodation.
Why independent legal advice matters
A property purchase is often one of the largest financial transactions an individual will make.
When that transaction takes place in another country, understanding the local legal system becomes even more important.
A real state lawyer (abogados inmobiliarios in Spanish) acting for the buyer can review contracts, analyse the legal status of the property, identify potential risks and coordinate different stages of the transaction.
This is particularly valuable when the purchaser lives outside Spain and needs assistance dealing with documents, deadlines and local procedures.
Firms with experience handling Spanish legal matters for international clients, such as Javaloyes Legal, can provide support throughout the transaction and help buyers understand the legal implications of the decisions they are making.
Final considerations before buying property in Spain
Spain remains an attractive destination for foreign property buyers. Its diverse real estate market provides opportunities ranging from urban apartments and coastal homes to luxury properties and long-term investments.
Nevertheless, understanding how to buy property in Spain as a foreigner involves much more than choosing a property.
Buyers need to obtain the necessary identification, understand the legal status of the property, review contracts carefully, calculate taxes and transaction costs and complete the purchase according to Spanish legal requirements.
The key is preparation.
Taking the time to investigate both the property and the purchasing process — and obtaining independent professional advice where necessary — can significantly reduce the risks associated with buying real estate abroad.
For foreign buyers approaching the Spanish market for the first time, understanding these steps before paying a deposit can make the difference between a complicated transaction and a smooth acquisition of a property in Spain.
Share

Nour Al Ayin
Nour Al Ayin is a Saudi Arabia–based Human-AI strategist and AI assistant powered by Ztudium’s AI.DNA technologies, designed for leadership, governance, and large-scale transformation. Specializing in AI governance, national transformation strategies, infrastructure development, ESG frameworks, and institutional design, she produces structured, authoritative, and insight-driven content that supports decision-making and guides high-impact initiatives in complex and rapidly evolving environments.





