Chapter
Buying property in Spain as a foreigner: who can buy
Quick answer
Yes. A foreigner can buy property in Spain, whether or not they live there. The one nationality-based restriction is a military authorization for non-EU buyers in a list of defence zones near some borders, coasts and islands. EU nationals who are individuals are outside it.
Applies toBuyers of any nationality and residence status. Non-EU buyers should read the section on restricted zones. Rules on residence permits, taxes and mortgages are covered elsewhere.
On this page: 6 sections
§ 1The short legal position
Spanish law does not stop foreigners from owning property. The restrictions that exist are tied to defence zones and not to nationality in general, and they sit in a 1975 law and its 1978 regulation. The law's additional provision says the restrictions do not apply to individuals who are nationals of a member state of the European Union. Companies are treated the same way as Spanish companies.
§ 2Who needs authorization
The 1978 regulation makes a military authorization necessary when a foreign individual or a foreign-controlled entity acquires property rights in a restricted zone. It also covers Spanish companies where foreign capital is a majority. The zones include islands, parts of the coasts and areas near the Portuguese and French borders, and the regulation sets a cap on how much of a zone can pass to foreign owners. In practice, a non-EU buyer should have a lawyer check whether the address is in a zone before any money moves.
Applicants apply to the Ministry of Defence through the regional military command. The regulation asks for a passport, a residence document if there is one, a conduct certificate, a location sketch and a plan of the property, with translations and legalisation for foreign documents. Notaries and registrars must see the authorization before they sign or register the deed.
§ 3What nationality and residence do change
Residence does not decide whether you can buy, but it changes what you must arrange. A foreign buyer needs a Spanish tax identification number, the NIE, which can be requested in Spain or at a Spanish consulate, and the applicant has to justify the reason, with a property purchase given as an example. A NIE obtained this way does not prove residence in Spain.
The notary also checks identities, capacity, ownership and charges, and a party who acts through an attorney must have a power of attorney that the notary examines. These checks apply to every buyer, and they are why paperwork from abroad needs to be ready early.
§ 4Three questions behind the main one
Most readers who ask whether they can buy have one of three situations in mind. The first is a buyer who does not live in Spain, which buying as a non-resident covers, including what residence status changes. The second is a buyer who plans to move, and buying a home to live in separates the right to own from the right to reside.
The third is what ownership gives you once the deed is signed. The rights of foreign owners covers the position of an owner compared with a Spanish owner, and where residence matters again.
§ 5Where this fits in a purchase
Eligibility is the first gate, and the rest of the process sits behind it. The buying process section shows the full order, and the sequence of a purchase places the eligibility check among the other steps.
Your purpose and your property type then narrow the questions. Buying for a second home compares the main reasons for buying, and choosing between new and resale explains which protections come with each.
For the decision itself, is it a good time to buy sets out the arguments, while the ways of holding a property covers couples, friends and companies.
§ 6Three misunderstandings to avoid
The first is that buying a home gives you the right to live in Spain. It does not: ownership and residence are separate questions with separate rules. The second is that holding an identification number means you are a resident. The official guidance says a number obtained at a consulate does not prove residence. The third is that a company avoids the defence-zone rule. The regulation also reaches Spanish companies with a majority of foreign capital, so the address should be checked whatever the structure. Keeping these three straight prevents most of the expensive errors in this area.
Keep the answer to the main question in mind: yes, you can buy. Everything else is about doing it correctly.
FAQRelated questions
Does a company owned by foreigners count as a foreign buyer?
It can. The regulation looks at foreign nationality and foreign control, and it reaches Spanish companies with a majority of foreign capital, while the 1975 law treats companies of EU states on the same terms as Spanish ones. Tell your lawyer who owns the company before you choose the property.
How long does a military authorization take?
The regulation gives the regional military command up to two months to send its report to the Minister, who then has two further months to decide. Applicants should plan for the process to take several months and avoid paying a deposit that depends on it.
What happens if I buy in a zone without authorization?
The regulation requires notaries and registrars to check the authorization before they sign or register the deed, so a purchase that needs it should stop at the notary. Do not rely on being told it is fine; ask your lawyer to confirm in writing.
Sources
- Boletín Oficial del Estado: Ley 8/1975 de zonas e instalaciones de interés para la Defensa Nacional (official source, opens in a new window), Disposición adicional (nationals of EU member states)Last checked 17 October 2026
- Boletín Oficial del Estado: Real Decreto 689/1978, Reglamento de la Ley 8/1975 (official source, opens in a new window), Articles 32, 37, 40, 41, 79 to 82Last checked 17 October 2026
- Ministerio de Asuntos Exteriores (consular service): Número de Identidad de Extranjero (NIE): where to apply and what to justify (official source, opens in a new window), Consular NIE page (Consulate General in the Netherlands)Last checked 17 October 2026
- Consejo General del Notariado: Houses and real estate properties (official source, opens in a new window), Steps, documents and the notary's roleLast checked 17 October 2026
Legal note. How the process works in general. It is not legal advice, and it never replaces an independent Spanish lawyer acting for you.