How to Buy Property in Spain as a Foreigner: Land or a House

A foreign buyer’s complete guide·23 min read·Updated 16 November 2026
On this page

A foreign passport does not stop you buying land or a house in Spain. The one legal barrier is a military permit that non-EU buyers need in certain border, coastal and island zones. Everyone needs a tax number called a NIE, the sale is signed before a notary, and tax and fees add roughly 6–12% to a €300,000 home.

This is general information, not legal advice. Ask an independent Spanish lawyer about your purchase.

Who can buy, and where the limits are

Spanish law puts one restriction on foreign buyers, and it is about geography. A 1975 defence statute lets the state prohibit, limit or attach conditions to purchases by foreign nationals, and by companies under foreign control, in zones of restricted access (Law 8/1975). Inside such a zone a foreigner needs military authorisation to buy rustic or urban property, to take a mortgage or other right over land, and to build.

EU nationals are exempt

The law’s additional provision (paragraph 1) lifts the restriction for individuals who hold the nationality of an EU member state. Companies from a member state are treated like Spanish companies.

Non-EU buyers: check the zone before you pay anything

Find out whether the property lies in a restricted zone before you sign or transfer money. The zones are fixed by the regulation that implements the law (Royal Decree 689/1978, art. 32): every Spanish island, the Cartagena zone, the Strait of Gibraltar, the Bay of Cádiz, the Galician coast, the strips along the borders with Portugal and France, and Ceuta and Melilla. Annex II of the decree draws the boundaries of the mainland zones, and the government may create further zones by decree.

In centres and zones of national tourist interest, authorisation is treated as granted, within the limits Defence sets. A Defence service order of 2021 also exempts land that is already urbanised (suelo urbanizado). The exemption does not reach frontier localities or rustic land. In a registry appeal decided on 27 November 2025 and published on 9 March 2026, the registrar had refused to register the sale of a plot recorded as rustic because the buyer produced neither the permit nor an official certificate of how the land was classified. The refusal was upheld.

So a cadastral label reading “urban” is not enough. Before the deed you need the permit, or a certificate from the administration showing the land is urbanised. Our guide to restricted zones for non-EU buyers has the detail.

Buying does not give you residence

Until 2025 a property purchase could earn an investor’s residence visa. Organic Law 1/2025 repealed the articles of Law 14/2013 that created it, with effect from 3 April 2025. Earlier applications and visas already issued keep their validity.

Where to look for property

No portal checks title, boundaries or planning status. These are the ones to search.

  • Idealista is one of the large Spanish portals and has an English version.
  • Fotocasa advertises more than 1.5 million properties to rent or buy, with filters, alerts and a category for land.
  • Kyero is aimed at buyers from abroad and runs in many languages.
  • pisos.com has a terrenos (land) category and lets you draw your search area on a map.
  • habitaclia is strongest in Barcelona and Girona.

Auctions, including property, are published on the state’s Portal de Subastas, where you pick a province on a map. Read each lot’s conditions with a lawyer before bidding.

From every advert that interests you, copy the full address and the referencia catastral, the code that identifies the property in the cadastre. Every check below starts from it.

Reading an advert: four warning signs

The areas do not match

Spain keeps two records of every property, and they can disagree on surface area. The cadastre is presumed correct until someone proves otherwise, but on legal questions the Property Registry prevails (cadastre law, art. 3). If advert, cadastre and registry differ, have the seller explain in writing which figure is right and why.

“Building plot” or “rustic land with a house”

Whether land counts as urban depends on the municipal plan; the word “buildable” in an advert proves nothing. Get the land classification in writing from the town hall. For rural land, the regional government confirms whether building is authorised at all. Our guide to rustic and urban land explains the classes.

Buildings missing from the paperwork

Check that every building is declared in the registry and matches its licence, including the licence of first occupancy.

A building that is fuera de ordenación (outside current planning rules) can be sold, but the deed must state its planning situation. If it does not, the buyer may rescind within four years and claim damages (land law, art. 27). Older buildings without a licence can be registered once the time for ordering demolition has run out, on proof of when the work was finished: a certificate from the town hall or a technician, a notarial record or a cadastral certificate (art. 28(4)).

No clear access

At the town hall’s planning department (urbanismo), look at the plan for green zones, building restrictions or public paths crossing the plot. Have the seller describe in writing how the plot is reached.

Check the property against official records

Cadastre

The Catastro is an administrative register under the Ministry of Finance. It describes each property and is not a register of ownership. Consulting it through the Sede Electrónica del Catastro is free. The owner’s name and the cadastral value are protected data.

Property Registry

The Registro de la Propiedad shows who owns the property and what charges it carries. You order an extract through the Colegio de Registradores, which offers an English translation for an extra fee.

The usual extract is the nota simple, a short summary of the current entries. It is informative only and does not certify what it says (Mortgage Regulation, art. 332). Only a registry certification proves against third parties that a property is free of charges. The notary must verify registered title and charges again before the deed is signed. Our guide compares the nota simple, the certificate and the copy.

Check four things in the extract: that the sellers are the registered owners, that the description matches the advert, that no mortgage or other charge appears and that no planning enforcement proceedings are noted.

Town hall

The town hall holds what neither register shows. Collect a written statement of the land classification, the paid receipt for the seller’s latest annual property tax (IBI) and a certificate that no local taxes are outstanding.

Flood and protected nature

The national flood mapping system, SNCZI, shows the mapped flood hazard of an area. It does not assess a single plot. The environment ministry publishes the Red Natura 2000 layer of protected sites at a scale of 1:50,000. Whether you may build is decided by the municipal plan, so take anything a map flags to the town hall.

Page 37 of the sample report for a plot in Xàbia/Jávea (Alicante): land class from the Ministry’s planning system, with source and date.
Page 37 of the sample report for a plot in Xàbia/Jávea (Alicante): land class from the Ministry’s planning system, with source and date.
Three sources, three different questionsCatastroIdentify the cadastral parcelRegistroRead ownership and registeredchargesAyuntamientoAsk about planning and licences
Three sources, three different questions.

Who you hire, and who pays whom

Lawyer. Not compulsory, but worth having. Choose one who is independent, meaning they work only for you and take no instructions from the agent or the developer, and who knows land and planning law. Check their registration number with the bar association (Colegio de Abogados).

Notary. A public official who prepares the deed and before whom it is signed, paid according to a state tariff. When the seller is a developer or another business, or sells on standard terms, the buyer chooses the notary. Between private parties the choice follows their agreement and, failing that, belongs to whoever pays most of the tariff (Notarial Regulation, art. 126). The notary must explain the deed impartially to both sides (art. 147), so ask for the draft in advance. With a mortgage you must also see the notary no later than the day before the loan deed, for free advice on the loan (Law 5/2019, art. 15).

Surveyor and translator. A survey is not required, though it is wise for a house. If you do not read Spanish, have every contract translated by someone independent of the seller and the agent.

You pay your own lawyer, translator and surveyor. None of them has an official tariff: a lawyer’s fee is agreed freely with the client (General Statute of the Legal Profession, art. 26), and translators, surveyors and estate agents also charge by agreement. Get an itemised written quote, and ask the agent in writing who pays the commission. The notary and registry tariffs are in the cost table below.

The paperwork, from tax number to registration

NIE

The Número de Identidad de Extranjero (NIE) is the identification number a foreigner needs for any transaction with tax consequences, which includes buying property and opening a bank account. It does not entitle you to live in Spain.

From abroad, apply at your nearest Spanish consulate or through a representative. At a police office in Spain the fee is €9.84, and the police procedure allows a maximum of five days from the day the application is lodged. Add the wait for an appointment.

Paying

Pay by bank transfer and keep every receipt. The deed has to state how the price was paid, and for a transfer that means the account details.

Cash is restricted by the anti-fraud law of 2012. A transaction of €1,000 or more may not be paid in cash when either party acts as a business or professional. The ceiling is €10,000 when the payer is a private individual who can show they have no tax domicile in Spain. Payments through a bank are outside the limit.

Preliminary contract and deposit

The first binding document is usually a private contract with a deposit, signed weeks before the deed. Under the Civil Code a contract has the force of law between the parties (art. 1091).

What the deposit means depends on what the contract says about it. Where arras or señal has been given, either side may withdraw at a cost: the buyer forfeits the deposit, or the seller returns double (Civil Code, art. 1454). The article does not say which payments qualify, so have the contract state expressly that either party may withdraw, and at what cost. In Catalonia, money handed over by the buyer is presumed to confirm the sale (arras confirmatorias), and the right to withdraw by forfeiting it (arras penitenciales) exists only if expressly agreed (Catalan Civil Code, art. 621-8).

You can make the purchase conditional, for instance on a building licence. Set a deadline for the condition: once it passes, or it becomes certain the event will not happen, the obligation falls away. See our guide to conditional land purchases.

The deed

The sale is completed by public deed (escritura pública) before the notary. Notaries can handle some acts by video link, but a property sale is not on the closed list (art. 17 ter of the Notarial Law). A power of attorney for specific acts is on the list. A general power is not. If you cannot travel, grant a power limited to this purchase, as described in buying from abroad with a power of attorney.

Registration

The notary sends an electronic copy of the deed to the Property Registry on the day of signing or the next working day. The registry’s filing entry (asiento de presentación) protects your deed for 60 working days from the following day. The registrar has 15 working days to register. That period starts again if a defect has to be cured or an earlier title is pending, and can be extended by up to 15 days for exceptional reasons (Mortgage Law, art. 18). The statute says only “days”; registrars and the directorate that supervises them count these as working days (decision of 20 May 2026). Afterwards, check that the cadastre shows you as owner, following our guide on updates after purchase.

A purchase from first viewing to registered title

Step Who acts Time What you hold at the end
Registry and cadastre checks You or your lawyer About 1 week (our estimate) Nota simple, cadastral data
Planning questions at the town hall Your lawyer 1–3 weeks (our estimate), depending on the town hall Written statement of land classification
Military permit, non-EU buyers in a restricted zone You or your lawyer Before the deed Permit or certificate
NIE You or a representative 5 days maximum at a police office in Spain, plus the wait for an appointment NIE
Preliminary contract and deposit Buyer and seller Date of the deed fixed in the contract Signed contract, transfer receipt
Mortgage only: advice session with the notary You No later than the day before the loan deed Notarial record (acta)
Sign the deed and pay Buyer, seller, notary The agreed date Deed, proof of payment
Copy sent to the registry Notary Signing day or next working day Filing entry, valid 60 working days
Transfer tax return (ITP, or AJD on a new build) Buyer Set by the region: 30 working days under the national rule; one month in Catalonia, the Valencian Community, the Balearics and the Canaries; two months in Andalusia Proof of payment
3% retention, if the seller is non-resident Buyer 1 month from the deed Form 211 receipt
Registration Registrar 15 working days, with the extensions above Registered title

The 30 working days come from the national regulation (Royal Decree 828/1995, art. 102); Saturdays, Sundays and public holidays do not count. The regions administer this tax, and several set their own period. Madrid keeps the national rule (Madrid tax office). Catalonia allows one month from the date of the deed (Catalan tax agency), and so do the Valencian Community (Law 13/1997, art. 14 ter), the Balearic Islands (Legislative Decree 1/2014, art. 82) and the Canary Islands (Legislative Decree 1/2009, art. 39). Andalusia allows two months from the day after the deed (Law 5/2021, art. 69). Ask your lawyer which period applies where you buy.

Suggested order of checks before signingSuggested order of checks before signingIdentify the exact propertyRead title and planning filesResolve risks and conditionsSign and follow registration
Suggested order of checks before signing.

What it costs: taxes, fees and the bills that follow

The rates and tariffs below were read from the statutes and the official notary and registry tariffs on 16 November 2026. The example assumes a price of €300,000, with the buyer paying both tariffs in full.

Item Resale from a private seller New home from a developer Building plot from a business
Main tax ITP, set by each region: 6% in Madrid, 6.5% in the Canaries, 10% in Catalonia IVA 10% IVA 21%
Stamp duty (AJD) Not charged on top of ITP 0.5% where the region sets no rate; 0.75% in Madrid, up to 1.5% in other regions 0.75–1.5%, as for a new home
Notary tariff from about €388 from about €388 from about €388
Land registry tariff about €205 about €205 about €205
Example at €300,000 €18,000–30,000 tax + €593 = €18,593–30,593 €30,000 IVA + €2,250–4,500 AJD + €593 = €32,843–35,093 €63,000 IVA + €2,250–4,500 AJD + €593 = €65,843–68,093
Taxes and official tariffs, usually 6.2–10.2% of the price 10.9–11.7% of the price 21.9–22.7% of the price

How the figures are built

Transfer tax (ITP). Resales bear Impuesto sobre Transmisiones Patrimoniales at a rate set by each autonomous community, or 6% where a community has set none. The buyer is the taxpayer whatever the contract says (ITP and AJD law, art. 8). Our range of 6.2–10.2% runs from Madrid to Catalonia. Some regions charge a higher rate on more expensive homes: Catalonia applies 10% up to €600,000 and 11%, 12% and 13% on the bands above. The Finance Ministry’s report “Tributación Autonómica. Medidas 2026” lists the rates of the communities under the common tax regime, which leaves out the Basque Country and Navarre. Our table of ITP rates by region draws on it.

VAT (IVA) and stamp duty (AJD). A sale by a developer or a business bears IVA instead: 10% on homes, 21% on building land (VAT law, arts. 90 and 91). On top comes Actos Jurídicos Documentados, 0.5% where the community has set no rate and more where it has. Madrid charges 0.75% on a home worth more than €180,000 and on a plot (Madrid tax code, arts. 32 and 36), and Catalonia’s general rate is 1.5%. The Canary Islands, Ceuta and Melilla have no IVA and charge their own taxes, IGIC and IPSI.

Notary. The notaries’ tariff is a sliding scale: €90.15 on the first €6,010.12 of value, then 4.5, 1.5, 1 and 0.5 per thousand on the bands above, less a 5% rebate. At €300,000 that is €408.43 less 5%, about €388. The actual bill is higher: sheets of the deed from the fifth onward cost €3.01 per written side, authorised copies €3.01 per sheet, half that from the twelfth.

Registry. The registrars’ tariff works the same way: €216.20 less 5%, about €205, at €300,000.

The totals cover taxes and the two official tariffs, without sheets and copies. They leave out what is agreed by contract: your lawyer, translations, a survey, the estate agent and, with a mortgage, the bank’s valuation.

If the seller lives abroad: withhold 3%

When the seller is not resident in Spain, the buyer must keep back 3% of the agreed price and pay it to the tax agency as an advance on the seller’s tax (non-resident income tax law, art. 25(2)). On €300,000 that is €9,000. You pay it on form 211 within one month of the transfer. If you do not pay it, the property itself secures the lower of the retention and the seller’s tax.

Plusvalía municipal

The town hall taxes the rise in the value of the land since the seller acquired it. The seller owes it. But if the seller is a private individual not resident in Spain, the buyer is the substitute taxpayer and must pay it to the town hall (local finance law, art. 106(2)). Agree in writing who bears the cost.

Community debts on a flat

Unpaid community charges for the current year and the three calendar years before it attach to the flat. The seller must declare in the deed whether the charges are paid and attach the community’s certificate, unless the buyer waives it (Horizontal Property Law, art. 9). Do not waive it.

Every year: IBI and the non-resident return

An owner who lives abroad pays IBI and files form 210 for non-resident income tax (IRNR), even if the home is never let. A home kept for your own use is treated as producing an imputed income, calculated from its cadastral value. The liability arises on 31 December each year and is declared the following year, taxed at 19% for residents of an EU or EEA state that exchanges tax information with Spain and at 24% for everyone else. For 2025 the return can be filed at any time in 2026. From the 2026 tax year the filing window is 1 April to 31 December of the following year.

A mortgage as a non-resident

How much of the price a bank will lend a non-resident is each bank’s decision: the mortgage credit law regulates the procedure, not the percentage. The bank must give you the European Standardised Information Sheet (FEIN) at least ten calendar days before signing. It pays the notary’s tariff for the mortgage deed, the registration of the mortgage and the gestoría (the agency that handles the filings), and you pay the valuation (Law 5/2019, art. 14). Check with the Banco de España that the lender is authorised.

Inheritance

Under EU Regulation 650/2012, the law of the country where you are habitually resident when you die governs your whole estate (art. 21). You may choose the law of your nationality instead, in your will (art. 22).

How Spain differs from buying at home

The private contract binds. In England and Wales a sale becomes legally binding only when contracts are exchanged (GOV.UK). In Spain the private contract you sign weeks before the deed is already enforceable, and your exits are those written into it: a condition, or arras. Do not count on a cooling-off period.

The notary is not your conveyancer. The Spanish notary serves both parties impartially. The checks a solicitor or conveyancer would run for you remain yours to arrange.

The buyer handles the seller’s tax. Withholding 3% from a non-resident seller, and paying the plusvalía in their place, are obligations that land on you.

British buyers since Brexit

Since 1 January 2021 UK nationals count as third-country nationals in Spain, including those who hold residence under the Withdrawal Agreement. For property the consequence is the military permit described above, which applies to purchases and building works from that date in the listed areas. A UK resident also pays non-resident tax at 24% on a home kept for personal use.

Mistakes that cost buyers money

  1. Paying a deposit before the checks. A deposit paid as arras is lost if you later find a mortgage, an unregistered extension or a public path and withdraw.
  2. Trusting the word “urban”. A cadastral label does not prove that you may build, and for a non-EU buyer it does not prove that the military permit is unnecessary.
  3. Forgetting the seller’s taxes. Even if you pay a non-resident seller in full, you still owe the tax agency the 3%, and perhaps the town hall the plusvalía.
  4. Waiving the community certificate. Someone else’s unpaid charges for the current year and the three before it come with the flat.
  5. Budgeting only for the purchase. IBI and the non-resident return come every year, even on a home that stands empty.

Checklist before you sign

Work through the list in order, and pay no deposit until the first five items are done.

  1. Note the full address and cadastral reference of the property.
  2. Non-EU buyers: establish whether the property lies in a restricted zone, and obtain the military permit or a certificate that the land is urbanised.
  3. Order a nota simple and compare owner, area, description and charges with the cadastre and the advert.
  4. Get the town hall’s written statement of the land classification, and check that every building is registered and matches its licence.
  5. Collect the seller’s paid IBI receipt, the certificate of no local-tax arrears and, for a flat, the community’s certificate of debts.
  6. For a plot, order a TerrenoCheck report to see flood, nature and planning data in one place.
  7. Appoint an independent lawyer, check their bar registration number and get an itemised written quote.
  8. Apply for your NIE.
  9. Have the preliminary contract state whether either side may withdraw against the deposit, the conditions and the date of the deed.
  10. Find out whether the seller is resident in Spain. If not, plan the 3% retention and settle who pays the plusvalía.
  11. Pay by bank transfer only, and ask the notary for the draft deed in time to read it before signing.
  12. File the ITP or AJD return within your region’s period (30 working days under the national rule, one month in Catalonia, the Valencian Community, the Balearics and the Canaries, two months in Andalusia), and pay any retention within one month.
  13. Confirm that the registry and the cadastre show you as owner.

Further reading

Your next step

Pick one property. Order the nota simple, compare it with the cadastre and the advert, and send all three to an independent lawyer with your questions for the town hall. For a plot, a TerrenoCheck report (from €29) puts the published maps and planning data next to those documents. Sign nothing and pay nothing until the answers are in writing.

This is general information, not legal advice. Ask an independent Spanish lawyer about your purchase.

Common questions

Can foreigners buy property in Spain?

Yes. The one restriction is a military permit that non-EU buyers need in restricted zones under Law 8/1975: border areas, parts of the coast, the islands, Ceuta and Melilla. EU nationals are exempt.

Can UK citizens still buy property in Spain after Brexit?

Yes, but since 1 January 2021 they buy as third-country nationals. In the restricted zones, which include the Balearic and Canary Islands, southern Alicante and Galicia’s coast, they need a military permit before purchase.

How much are taxes and fees when buying a house in Spain?

On a €300,000 resale, 6.2% of the price in Madrid and 10.2% in Catalonia: transfer tax of 6–10% plus notary and registry tariffs from about €593. A new home from a developer costs 10.9–11.7%, a building plot sold by a business 21.9–22.7%.

What is a NIE number and how long does it take to get one?

The NIE is the identification number a foreigner needs to buy property in Spain. It is not a residence permit. A police office in Spain has a maximum of five days from the application and charges €9.84. From abroad you apply at your nearest Spanish consulate or through a representative.

Does buying property in Spain give you residency?

No. The golden visa for property investors was abolished by Organic Law 1/2025 with effect from 3 April 2025.

What happens to my deposit if I pull out of a purchase in Spain?

If the deposit was given as arras or señal, article 1454 of the Civil Code applies: the buyer who withdraws loses it, and a seller who withdraws must return twice the amount. In Catalonia the right to withdraw by forfeiting the deposit exists only if the contract grants it expressly.

What is the 3% retention when buying from a non-resident seller?

The buyer must withhold 3% of the agreed price and pay it to the tax agency on form 211 within one month of the transfer, as an advance on the seller’s tax. On a €300,000 sale the amount is €9,000.

How long does it take to buy a property in Spain?

There is no official figure. Our estimate is 6 to 10 weeks from an accepted offer to the deed, depending on the NIE appointment, the town hall and the date agreed in the preliminary contract. After signing, the tax return is due within the period set by the region, one to two months (30 working days under the national rule), and the registrar has 15 working days to register.