Who pays what: residence decides
Spain taxes the gain on a home in Mallorca whoever the seller is, because the property is here. What changes is the tax. If you are tax resident in Spain in the year of the sale, the gain goes into your Spanish income tax (IRPF, impuesto sobre la renta de las personas físicas). If you are not, it falls under non-residents’ income tax (IRNR, impuesto sobre la renta de no residentes). This guide covers individuals who own the home in their own name, not through a company.
You are Spanish tax resident if you spend more than 183 days in Spain in a calendar year, or if your main business or economic interests are here. You are presumed resident if your spouse and dependent children under 18 live here (Personal Income Tax Law 35/2006, art. 9). Owning a holiday home in Mallorca does not make you resident. Residency and the move itself are covered in moving to Mallorca.
| Profile | Who | Tax on the gain |
|---|---|---|
| Resident, main home | Tax resident in Spain, selling the home they live in | IRPF, 19% to 30%, with the main-home exemptions |
| Resident, second home | Tax resident in Spain, selling a holiday or let home | IRPF, 19% to 30%, no main-home exemptions |
| EU or EEA non-resident | Living in another EU country, Iceland, Norway or Liechtenstein | IRNR, flat 19%, reinvestment relief possible |
| Other non-resident | Living in the UK, the US, Switzerland or elsewhere | IRNR, flat 19%, no reinvestment relief |
How the gain is worked out
The rules are the same for residents and non-residents. The gain is the sale value minus the purchase value (Personal Income Tax Law, arts. 34 and 35; the non-residents’ law applies the same rules in its art. 24.4). Since 2015 there is no adjustment for inflation, so the whole rise in price is taxed. If the agreed price is below normal market value, the market value is used instead.
| Item | What counts |
|---|---|
| Sale value | The price in the deed, minus the costs and taxes of the sale that you paid yourself |
| Purchase price | The price in your purchase deed |
| Purchase costs and taxes | Added to the purchase price: transfer tax or VAT, stamp duty, notary, land registry and similar costs you paid. Mortgage interest does not count. |
| Improvements | Added to the purchase price: works that improve or extend the home. Repairs and upkeep do not count. |
| Depreciation if the home was let | Deducted from the purchase value: at least 3% a year of the higher of the building’s cost or its cadastral value (land excluded) for the periods it was let, even if you never claimed it |
| Gain | Sale value minus purchase value. A negative figure is a loss. |
- Inherited or gifted homes: the purchase value is the value used for Spanish inheritance or gift tax, capped at market value (art. 36). A home received under a succession pact (pacto sucesorio, an agreement on inheritance made during the owner’s lifetime, used in the Balearics) and sold within five years keeps the earlier owner’s value and date if those are lower. See inheritance and wills.
- Bought between 12 May and 31 December 2012: half the gain on urban property is exempt, unless you bought from, or sell to, a spouse, a close relative or a related company (additional provision 37).
- Bought before 31 December 1994: part of the gain built up before 20 January 2006 can be reduced, within a limit of €400,000 of sale value counted across all sales since 2015 that use it (transitional provision 9). This applies to residents and non-residents alike.
Residents: the 19% to 30% scale
For a Spanish tax resident, the gain joins the savings part of the income tax return (base del ahorro), together with interest, dividends and other gains of the same year. It is taxed on a banded scale made up of a state half (art. 66) and a regional half (art. 76). Both halves are set in the national law, so the combined rates are the same in the Balearics as in the rest of Spain. The top band of 30% has applied since 1 January 2025 (Law 7/2024).
| Savings income | Rate on that band |
|---|---|
| Up to €6,000 | 19% |
| €6,000 to €50,000 | 21% |
| €50,000 to €200,000 | 23% |
| €200,000 to €300,000 | 27% |
| Above €300,000 | 30% |
Residents do not pay tax at the time of the sale and the buyer holds nothing back, provided you give the buyer a certificate of Spanish tax residence from the Agencia Tributaria, the Spanish tax agency (Order EHA/3316/2010, additional provision 2). You declare the gain in your yearly return, modelo 100, during the campaign of the following year. For 2025 income that campaign ran from 8 April to 30 June 2026, with 25 June as the last day for paying by direct debit. The dates for 2026 income are set each spring.
A loss on a sale can be set against other gains of the same year, then against up to 25% of interest and dividends, and any rest carried forward for four years (art. 49). Non-residents do not have this option.
Residents: exemptions for a main home and for over-65s
For these reliefs, a main home (vivienda habitual) is one you have lived in continuously for at least three years. It still counts as your main home if it was one at any time in the two years before the sale (Income Tax Regulation, art. 41 bis). A home you used only for holidays or let to others never qualifies.
| Exemption | Who | Conditions |
|---|---|---|
| Main home sold by someone over 65 | Residents aged over 65, or in severe or great dependency | The whole gain is exempt and does not need to be declared. It does not apply where ownership is split between a bare owner and someone with the lifetime use (art. 33.4.b; tax agency guidance). |
| Reinvestment in a new main home | Residents of any age selling their main home | Reinvest the proceeds in a new main home within two years after the sale, or towards one bought in the two years before. Part reinvested means part exempt (art. 38.1; Regulation, art. 41). |
| Life annuity for over-65s | Residents aged over 65 selling any asset, a second home included | Put the proceeds into an insured life annuity for yourself within six months, up to €240,000 in total (art. 38.3). |
With the reinvestment exemption, the amount to reinvest is the sale proceeds less any loan on the old home still unpaid at the sale. If you reinvest in a later year, you state your intention to reinvest in the return for the year of the sale. If you then miss the deadline, you file a corrected return for that year and pay the tax with late-payment interest (Regulation, art. 41.1, 41.3 and 41.5).
Non-residents: 19%, the 3% retention and modelo 210
Non-residents pay 19% on the gain, whatever country they live in (Non-Residents’ Income Tax Law, art. 25.1.f). There are no bands and no tax-free allowance. Each sale is taxed on its own, so a loss on one property cannot be set against a gain on another.
Because the tax office cannot easily reach a seller abroad, the buyer must hold back 3% of the agreed price and pay it to the Agencia Tributaria within one month of the deed, on modelo 211 (art. 25.2). This happens whether you make a gain or a loss, and whether the buyer is resident or not. If you own the home with a Spanish resident, only the non-resident owners’ share of the price is subject to the 3%. The buyer must give you the copy of modelo 211 marked for the seller. If the buyer never pays it, the property stays liable for the lower of the 3% and your actual tax, so a careful buyer always makes the deduction. The buyer’s side is in buying costs and taxes.
Day of signing
The buyer pays you the price minus 3%. The 3% is worked out on the full agreed price, even if part of it clears your mortgage.
Within one month
The buyer files modelo 211 and pays the 3%. For a deed signed on 20 November 2026, the deadline is 20 December 2026.
The next three months
You file modelo 210 for the sale, whatever the result. In the example, from 21 December 2026 to 20 March 2027 (Order EHA/3316/2010, art. 5.a).
Balance or refund
If 19% of the gain is more than the 3%, you pay the difference. If it is less, or you made a loss, you claim the difference back to an account in your own name, in Spain or abroad.
Residents and non-residents compared
| Point | Resident, main home | Resident, second home | EU or EEA non-resident | Other non-resident |
|---|---|---|---|---|
| Rate on the gain | 19% to 30% in bands | 19% to 30% in bands | 19% flat | 19% flat |
| 3% held back by the buyer | No, with a Spanish residence certificate | No, with a Spanish residence certificate | Yes, modelo 211 | Yes, modelo 211 |
| Return and deadline | Modelo 100, campaign of the following year | Modelo 100, campaign of the following year | Modelo 210, three months after the buyer’s month | Modelo 210, three months after the buyer’s month |
| Over-65 exemption on a main home | Yes | Not a main home | Not listed by the tax agency | Not listed by the tax agency |
| Reinvestment in a new main home | Yes | No | Yes, for a former main home in Spain | No |
| Life annuity for over-65s, up to €240,000 | Yes | Yes | Not listed by the tax agency | Not listed by the tax agency |
| Losses set against other gains | Yes, and carried forward four years | Yes, and carried forward four years | No | No |
| 2012 half-exemption and pre-1995 reduction | Yes | Yes | Yes | Yes |
EU and EEA reinvestment relief. A seller living in another EU country, or in Iceland, Norway or Liechtenstein, who sells what was their main home in Spain and reinvests the proceeds in a new main home can exclude the gain, under the same conditions as residents (Non-Residents’ Income Tax Law, additional provision 7). The buyer still holds back 3% and you still file modelo 210. If you reinvest after filing, you claim the tax back on modelo 228. UK residents count as non-EU sellers for this rule.
Worked example: one sale, four sellers
Invented figures. A home is sold in 2026 for €800,000. The seller paid €25,000 of selling costs with invoices, so the sale value is €775,000. The purchase price plus buying costs and taxes came to €480,000, and improvements with invoices to €45,000, so the purchase value is €525,000. The home was never let. The gain is €250,000. For the resident on the scale, the figures assume no other savings income or losses in the year.
| Seller | How the tax is worked out | Tax on the gain |
|---|---|---|
| Resident, second home | €6,000 at 19% + €44,000 at 21% + €150,000 at 23% + €50,000 at 27% | €58,380 |
| Resident, main home, aged over 65 | Exempt | €0 |
| Resident, main home, under 65, reinvesting all the proceeds | Exempt if the new main home is bought within the time limits | €0 |
| EU or EEA non-resident, not reinvesting | €250,000 at 19% | €47,500 |
| Other non-resident | €250,000 at 19% | €47,500 |
For both non-residents, the buyer has already paid 3% of €800,000, so €24,000. On modelo 210 the seller pays the remaining €23,500. Had the gain been €100,000, the tax would be €19,000 and the seller would reclaim €5,000. A resident under 65 who reinvests only part of the proceeds pays tax on the share of the gain that matches the part not reinvested.
The year of sale and other points
- Deemed income for the days owned. A non-resident who did not let the home declares deemed income for the part of the year before the sale, at 19% (EU and EEA) or 24% (others), on a separate modelo 210. A resident does the same on a second home in their yearly return. The rules are in taxes for owners.
- Your home country. Spain taxes the gain first because the property is here. Your country of residence may tax it too and give credit for the Spanish tax under its tax treaty with Spain. How that works is a question for a tax adviser in that country.
- Changing residence around the sale. Your status is judged for the whole calendar year, so moving to or from Mallorca in the year of the sale can change which rules apply. This is worth raising with an adviser before a completion date is set.
- Co-owners. Each owner is taxed on their own share of the gain. A married couple who are both non-resident can file one joint modelo 210 for the sale.
The tax side of a sale is usually handled by the seller’s lawyer or tax adviser, who also checks the buyer’s 3% payment. See choosing a lawyer for what to ask before you instruct one.
Questions buyers ask
What is the capital gains tax rate in Spain for a non-resident?
A flat 19% on the gain, whether you live in the EU, the UK or elsewhere. The buyer holds back 3% of the price as an advance, and you settle the difference on modelo 210.
What do Spanish residents pay on the sale of a home?
Between 19% and 30% on the gain, in bands, as part of the following year’s income tax return. A main home can be exempt if you are over 65 or reinvest in a new main home.
Can I avoid the 3% retention?
Only by being Spanish tax resident and giving the buyer a certificate of tax residence. A non-resident seller always has 3% held back, even on a loss, and reclaims any excess on modelo 210.
Do British sellers pay more after Brexit?
Not on the gain: all non-residents pay 19%. What they lose is the EU and EEA reinvestment relief on a former main home, and they pay 24% instead of 19% on deemed income for the year of sale.
Is there an allowance before the tax starts?
No. There is no yearly tax-free amount on gains for residents or non-residents. Every euro of gain is taxed unless an exemption applies.
Sources
The official and published sources this guide relies on, checked in November 2026.
- Ley 35/2006 del Impuesto sobre la Renta de las Personas Físicas (consolidated text, last updated 7 October 2026) BOE
- Real Decreto 439/2007, Reglamento del Impuesto sobre la Renta de las Personas Físicas (consolidated text) BOE
- Real Decreto Legislativo 5/2004, texto refundido de la Ley del Impuesto sobre la Renta de no Residentes (consolidated text) BOE
- Orden EHA/3316/2010, modelos 210, 211 y 213 (consolidated text) BOE
- Ley 58/2003 General Tributaria (consolidated text) BOE
- Real Decreto-ley 29/2026, de 6 de octubre, medidas urgentes para la protección de la función social de la vivienda BOE
- Resolución de 12 de noviembre de 2026, del Congreso de los Diputados, por la que se ordena la publicación del Acuerdo de convalidación del Real Decreto-ley 29/2026, de 6 de octubre BOE
- Cuestiones específicas sobre tributación de inmuebles: ganancia patrimonial derivada de la transmisión (updated 26 September 2024) Agencia Tributaria
- Modelo 211: instrucciones (updated 9 June 2026) Agencia Tributaria
- Transmisión de la vivienda habitual por mayores de 65 años o por personas en situación de dependencia (updated 24 March 2026) Agencia Tributaria
- Manual práctico de Renta 2025: plazo y forma de presentación Agencia Tributaria
- Modelo 210: instrucciones (updated 2 July 2026) Agencia Tributaria
- Modelo 228: solicitud de devolución por exención por reinversión en vivienda habitual (contribuyentes de la UE y del EEE) Agencia Tributaria
General information, not advice. This guide explains how things usually work for buyers in Mallorca. Rules and rates change, and every purchase is different, so check the details for your own situation with an independent lawyer or tax adviser before you commit.
