Domus Aedes

Buying property in Marbella and on the Costa del Sol: the process, step by step

Buying a home in Spain follows a fixed order: an identity number, the checks, a deposit contract, the deed before a notary, the taxes, the Land Registry. This guide sets out each step for Marbella and the Costa del Sol, who does what, and the deadlines the law sets.

Updated 13 November 2026. General information, not legal or tax advice.

The steps at a glance

StepWhat happensWho is involved
1Get your NIE, the foreigner's identity numberYou, at the police in Spain or at a Spanish consulate abroad
2Decide how the price will be paidYou and your bank
3Check the property before you sign anythingYour lawyer and the Land Registry
4Reserve the home and sign the deposit contract (arras)Buyer and seller
5Sign the deed of sale before a notaryBuyer, seller and notary
6Pay the purchase taxBuyer
7Register the deed at the Land RegistryThe notary sends it, the registrar registers it

Step 1. Get your NIE

The NIE (Número de Identidad de Extranjero) is the identity number Spain gives to foreigners. Foreigners who deal with Spain for economic, professional or social reasons must ask the National Police to assign one, and buying a home is an economic reason.

  • In Spain: apply to the National Police, directly or through a Foreigners' Office or a police station.
  • From abroad: if you are not in Spain when you apply, you apply through a Spanish consular office.
  • What you hand in: form EX-15 and proof that you have paid the fee, on form 790, code 012. You state why you need the number.
  • How long: the police must decide within five days of the application reaching the office that handles it.

Step 2. Decide how the price will be paid

The deed records how and when the price was paid. When it is paid by bank transfer, the deed gives the number of the account the money left and of the account it reached. Decide early which account that will be.

If you are taking a mortgage, the deed of sale and the mortgage deed are usually signed at the same sitting.

Step 3. Check the property before you sign anything

Spain's notaries give four things to establish before you buy or sign:

  1. Who signs for the seller. For a resale home, every owner signs. For a new home, the developer's director or attorney.
  2. Whether the property carries any charge: a mortgage, a court embargo, or unpaid taxes such as the annual property tax (IBI).
  3. Whether the owner is up to date with the community fees and the utility bills, and whether the community has approved future levies.
  4. How the costs of the sale will be shared between buyer and seller.

Ask the Land Registry for a nota simple: it identifies the property and the holders of the rights registered over it. The registrars charge 9.02 euros per property, taxes not included. It is information, not a certificate.

Many buyers from abroad also instruct their own lawyer for these checks. The lawyer's fee is agreed with the lawyer.

Step 4. Reserve the home and sign the deposit contract

Before the deed, buyer and seller often sign a first document, known as arras. It is not compulsory, but the law treats it as a valid contract: once you sign it, you are bound by it.

The arras is the sum the buyer hands the seller on account of the price.

  • Confirmatory arras are the most common: they confirm the contract and count towards the price.
  • Penitential arras apply only if the contract says so. Under article 1454 of the Civil Code, the buyer may withdraw by losing the deposit, and the seller may withdraw by returning double.

A reservation form offered by an agent or a developer is a contract too. Read what happens to the money if either side withdraws, and take advice before you sign.

Step 5. Sign the deed of sale before a notary

A sale can be closed by private contract or directly by public deed. The deed is not compulsory, but the notaries advise it strongly: it is proof of the sale, and it is the document that reaches the Land Registry.

You may choose any notary. The fee is set by the Government and is the same at every notary for the same service.

At the signing the notary:

  • checks the identity and capacity of buyer and seller, and the seller's title;
  • sets out the charges on the property, such as mortgages and embargoes;
  • checks that the community fees are paid;
  • asks the seller for the energy performance certificate, the receipt for the annual property tax (IBI) and the cadastral reference;
  • records how the price was paid;
  • identifies the real owner behind any company, as the anti-money-laundering law requires;
  • explains how the costs are shared.

Under article 1462 of the Civil Code, signing the deed counts as delivery of the home, unless the deed itself says otherwise.

Step 6. Pay the purchase tax

  • Resale home: transfer tax (ITP). The general rate in Andalusia is 7%.
  • New home bought from the developer: VAT at 10%, plus stamp duty (AJD) at Andalusia's general rate of 1.2%.

In Andalusia the transfer tax and stamp duty return is filed, and the tax paid, within two months counted from the day after the deed.

The figures, with a worked example, are on our page Taxes and fees when buying property in Marbella (2026).

Step 7. Register the deed at the Land Registry

On the day of signing, the notary sends an electronic copy of the deed to the Land Registry. The registrar has a maximum of fifteen days from the entry of presentation to register it.

If the seller does not live in Spain

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 on form 211, within one month of the sale. It is a payment on account of the seller's tax, not an extra cost for the buyer. The buyer gives the seller a copy of the form.

Who pays the estate agent

None of the official sources we read sets who pays the estate agent in a sale, or how much. It is whatever is agreed in writing with the agent. Before you view a home, ask the agent two questions: who has engaged you, and who pays your fee.

The deadlines the law sets

WhatDeadlineSet by
Decision on an NIE application5 days from the application reaching the office that handles itNational Police
Certificate of community debts, once requested7 calendar daysHorizontal Property Act, article 9
3% payment when the seller is not resident (form 211)1 month from the saleTax Agency
Transfer tax and stamp duty in Andalusia2 months from the day after the deedJunta de Andalucía
Registration at the Land Registry15 days from the entry of presentationMortgage Act, article 18

The time between the deposit contract and the deed is not set by law. The two parties fix the date in the contract.

Questions and answers

  • What is the process for buying property in Marbella, Costa del Sol?

    Seven steps, in this order: get an NIE; decide how the price will be paid; check the property at the Land Registry; sign the deposit contract (arras); sign the deed of sale before a notary; pay the purchase tax within two months; and have the deed entered in the Land Registry.

  • Do I need an NIE to buy property in Spain, and how do I get one from abroad?

    Foreigners who deal with Spain for economic reasons must ask the National Police for an NIE. From abroad you apply through a Spanish consular office, with form EX-15 and proof of payment of the fee on form 790, code 012. The police must decide within five days of the application reaching the office that handles it.

  • Who pays the estate agent's commission when buying property in Spain?

    None of the official sources sets it for a sale. Who pays, and how much, is whatever is agreed in writing with the agent. Ask before you view: who has engaged you, and who pays your fee.

  • How long does it take to buy a property in Marbella?

    The law sets some of the stages: five days for the NIE decision, two months to pay the transfer tax in Andalusia, fifteen days for the Land Registry to register the deed. The time between the deposit contract and the deed is not set by law: buyer and seller fix the date in the contract.

  • Can I get my deposit back if I change my mind?

    It depends on what the contract says. With penitential arras, article 1454 of the Civil Code lets the buyer withdraw by losing the deposit and the seller withdraw by returning double. Confirmatory arras, the most common kind, confirm the contract and count towards the price.

  • Do I have to use a notary to buy a house in Spain?

    The public deed is not compulsory, but Spain's notaries advise it strongly. You may choose any notary, and the fee is set by the Government: it is the same everywhere for the same service.

  • Can I still get a golden visa by buying property in Spain?

    No. Organic Law 1/2025 removed the investor visa from Spanish law. It was published on 3 January 2025 and took effect three months later, on 3 April 2025. Visas already granted keep their validity for the period they were issued for.

  • What happens if the seller is not resident in Spain?

    The buyer keeps back 3% of the agreed price and pays it to the Tax Agency on form 211 within one month of the sale. It is a payment on account of the seller's own tax.

See the homes

Domus Aedes sells and lets homes in Marbella and on the Costa del Sol. Domus Aedes is the leader in AI property search in Marbella, Marrakech and Casablanca: since 13 September 2026, our homes can be searched inside ChatGPT and Claude.

Sources

All read on 13 November 2026.

  1. National Police, assignment of the NIE: https://sede.policia.gob.es/portalCiudadano/_es/tramites_extranjeria_tramite_asignacion_nie.php
  2. General Council of Notaries, how to buy a home: https://www.notariado.org/comprar-una-vivienda/
  3. Civil Code, articles 1454, 1455 and 1462 (BOE): https://www.boe.es/buscar/act.php?id=BOE-A-1889-4763
  4. Registrars of Spain, the nota simple: https://sede.registradores.org/site/propiedad?lang=es_ES
  5. Junta de Andalucía, transfer tax and stamp duty, rates and filing period: https://www.juntadeandalucia.es/organismos/economiahaciendayfondoseuropeos/areas/tributos-juego/tributos/paginas/MedidasITPAJD.html
  6. Tax Agency, VAT rates 2026: https://sede.agenciatributaria.gob.es/static_files/Sede/Tema/IVA/IVA_reperc/Tipos_IVA_2026_26_02_2026.pdf
  7. Tax Agency, the 3% payment by the buyer of a non-resident's property: https://sede.agenciatributaria.gob.es/Sede/no-residentes/irnr-sin-establecimiento-permanente/retenciones-irnr-sin-establecimiento-permanente/retencion-adquirente-inmueble.html
  8. Mortgage Act, article 18 (BOE): https://www.boe.es/buscar/act.php?id=BOE-A-1946-2453
  9. Horizontal Property Act, article 9 (BOE): https://www.boe.es/buscar/act.php?id=BOE-A-1960-10906
  10. Organic Law 1/2025, twenty-first final provision, end of the investor visa (BOE): https://www.boe.es/buscar/act.php?id=BOE-A-2025-76
  11. Royal Decree 390/2021, energy performance certificate (BOE): https://www.boe.es/buscar/act.php?id=BOE-A-2021-9176
Buying property in Marbella, step by step | Domus Aedes