Buying a home in Spain as a foreigner is very doable, but the rules, paperwork and taxes are different from what you may be used to. Here is a calm walk-through of how it actually works, from your first ID number to the day you get the keys.
Getting your NIE: the number you cannot skip
Before you can buy anything in Spain, you need an NIE (Número de Identidad de Extranjero). It is the tax and identification number that links you to every official transaction here. Without it, you cannot sign the deed, pay taxes or open most bank accounts.
You can usually apply at a Spanish consulate in your home country or in person in Spain, often through a police station or the relevant immigration office. Many buyers give their lawyer power of attorney to handle this and the rest of the purchase while they are abroad. The exact documents and appointment system change from time to time, so confirm the current process before you travel.
- Decide whether to apply at home or in Spain.
- Check whether you also need a Spanish bank account to pay taxes and utilities.
- Consider a power of attorney so things keep moving if you are not in the country.
Due-diligence checks before you commit
This is the stage where a good lawyer earns their fee. In Spain, what you see is not always what you get, and problems with a property pass to the new owner if they are not caught in time. The core check is the Nota Simple, an extract from the Land Registry that shows who legally owns the property and whether there are mortgages, charges or court orders attached to it.
Beyond ownership, your lawyer should look at:
- Whether the property is registered correctly and matches what is physically there, including any extensions or pools.
- Outstanding debts such as unpaid community fees, local taxes or utility bills, which can follow the property.
- Planning and licence status, especially for rural or recently built homes, where some construction may not be fully legalised.
- The energy performance certificate and habitation or occupancy licence.
Do not hand over any reservation or deposit money until someone independent has confirmed the seller actually owns the property and it is free of debts. Recovering a deposit later is slow and not always possible.
The purchase process step by step
Once checks are clear, the deal usually moves through a few defined stages. The names matter because each one carries different legal weight.
- Reservation: a small payment takes the property off the market for a short period.
- Private purchase contract (contrato de arras): you pay a larger deposit and agree the price and timetable. If you walk away you typically lose the deposit; if the seller walks away they often owe you double. Read it carefully before signing.
- Completion at the notary: you sign the public deed (escritura) before a notary, pay the balance, and receive the keys.
- Registration: the deed is registered at the Land Registry so the property is officially in your name.
The notary is a neutral public official who confirms the signing is lawful; they do not represent your interests the way your own lawyer does. That distinction trips up many foreign buyers.
A local lawyer can run the checks and explain the contract before you sign anything.
Taxes and costs to budget for
The headline price is never the full cost. On top of the purchase price you should budget for taxes, notary and registry fees, and legal fees. Which taxes apply depends on whether you are buying a brand-new home from a developer or a resale property from a private owner, and the rates vary by region.
Resale homes usually attract a transfer tax, while new builds typically involve VAT plus a stamp duty. There are also annual costs once you own, including a local property tax and, in some cases, community fees. Because rates differ between regions and change over time, treat any number you read online as a rough guide only and confirm the current figure with a lawyer or tax adviser for your specific area.
- Purchase tax (transfer tax or VAT plus stamp duty, depending on the property type).
- Notary and Land Registry fees.
- Legal fees and, if you use one, a mortgage broker.
- Ongoing annual property tax and community charges.
Financing, currency and ownership structure
Spanish banks do lend to non-residents, though they often lend a smaller share of the value than they would to residents and ask for more documentation about your income. Get a clear idea of what you can borrow before you make an offer, so a mortgage condition does not collapse the deal late on.
Two extra points worth raising with an adviser: how you move money into Spain, since exchange rates and bank fees can quietly add up on a large transfer, and how you hold the property, for example in joint names or through a company. The right structure can affect your future tax and inheritance position, so it is worth a short conversation early rather than fixing it later.
Frequently asked questions
Do I need to be a resident to buy property in Spain?
No. Foreigners who are not resident can buy property in Spain. You will still need an NIE and, in practice, a way to pay taxes and bills locally. Buying a home does not by itself grant you the right to live in Spain, so keep your immigration position separate from your property plans.
Do I really need my own lawyer if there is a notary?
It is strongly advisable. The notary checks that the signing is legally valid but stays neutral. Only your own independent lawyer works purely for you, running the due-diligence checks, reviewing the contract and protecting your interests if something is wrong.
How long does the whole process take?
It varies with the property and your financing, but many purchases move from offer to completion over a number of weeks once checks are underway. Delays usually come from missing paperwork, mortgage approval or issues found during due diligence, which is another reason to start the legal review early.
This article is general information, not legal advice. Rules, taxes and procedures change and vary by region, so confirm the current details with a qualified Spanish lawyer for your situation.