Real estate law · Lawyers in Madrid
Last reviewed:
We assist you in buying, selling or renting a property in Spain, with particular attention to buyers and sellers who do not live here: legal review of the property, contracts, taxes on the transaction and subsequent tax obligations.
What we do
- Property due diligence: land registry extract, charges, planning status, owners' association, leases and debts.
- Contracts: Spanish arras agreement (setting out the initial payment linked to the purchase and its conditions), sale and purchase, purchase option, residential and commercial leases.
- Taxes on the purchase: transfer tax (ITP) or VAT and stamp duty (AJD), depending on the type of property and seller.
- Sales by non-residents: withholding on account, return for the gain and municipal capital gains tax (plusvalía municipal).
- Property owned by non-residents: annual non-resident returns, rentals and Wealth Tax.
- Investment structures: direct purchase or through a company, and their taxation.
- Representation before the notary and the owners' association, under a power of attorney.
Foreign investment after the abolition of residence by investment
Since 3 April 2025, buying a property no longer opens a new route to residence by investment, without prejudice to the transitional cases (for example, where the visa was applied for before that date). We advise the foreign investor on the transaction and, if they want to live in Spain, guide them to coordinate with an immigration specialist.
Who we work for
- Non-resident buyers and sellers.
- Foreign nationals settling in Spain.
- Families with property in Spain and other countries.
- Asset-holding companies and developers.
How we work
- First meeting free of charge with the founder, René Dechamps Azanza, abogado, in Madrid or by video call.
- Written proposal in phases; each phase is quoted at a fixed fee before it starts.
- We can sign on your behalf under a power of attorney if you cannot travel.
Illustrative cases
- A Belgian buyer of a home in Madrid. Review of the property, arras agreement, sale and annual tax obligations as a non-resident.
- Non-resident heirs who sell. Withholding by the buyer, return for the gain and municipal capital gains tax.
- An investor unsure whether to buy personally or through a company. We compare the taxation of both options over the medium term.
Frequently asked questions
Do I need an NIE to buy a property in Spain?
You will need a Spanish tax identification number for the deed and for taxes. For a foreign individual, this is normally the NIE; a foreign company needs an NIF. If you do not yet have an NIE, the tax authorities can assign you a provisional NIF (starting with M) for the first tax formalities, which does not replace the NIE for the deed.
What taxes does the buyer pay?
For a resale home, normally transfer tax (Impuesto sobre Transmisiones Patrimoniales) at the rate of the autonomous community; for a new home, VAT and stamp duty (Actos Jurídicos Documentados). Add the costs of the sale that fall on the buyer and, if there is a mortgage, the costs that the law places on the borrower (not all of them, since Law 5/2019).
What withholding applies if a non-resident sells?
If the non-resident seller acts without a permanent establishment, the buyer must withhold 3% of the price and pay it on account of the seller's tax (art. 25.2 of the consolidated Non-Resident Income Tax Law). The seller then files a return for the gain and can recover any excess.
Do I pay tax on a home in Spain that I do not rent out?
If you are a non-resident individual and the home is available for your use, normally yes: if it is an urban property that is not let or used in a business, you must declare each year, under Non-Resident Income Tax (IRNR), deemed income calculated on the cadastral value in accordance with art. 85 of the IRPF Law, to which art. 24.5 of the consolidated Non-Resident Income Tax Law refers. Non-resident companies are subject to other rules.
Can I buy through a company?
Yes. It has tax advantages and disadvantages (taxes on the purchase, annual taxation, future sale, the shareholders' Wealth Tax). We compare it with a direct purchase before you decide.
Can I obtain residence by buying a home?
No longer by this route: the residence-by-investment regime was abolished with effect from 3 April 2025, without prejudice to the transitional cases.
Related guides: Buying a property in Spain: personally or through a company? · Selling an inherited property in Spain as a non-resident · Wealth Tax for non-residents
Related guides
- Buying a property in Spain: personally or through a company?
- Selling an inherited property in Spain as a non-resident
- Wealth Tax for non-residents
Let's discuss your matter
A first meeting to understand the case and give you a clear starting view. Free of charge and without obligation.
Tell us about your caseOr call us on +34 91 308 71 73 · rda@rdalex.com
