Inheritance

Selling an Inherited Property in Spain: Steps and Taxes

By the AbogadoAI editorial team · Updated 18 July 2026 · 13 min read

🇪🇸 Read the original in Spanish

Selling an inherited property is one of the most common legal and financial procedures in Spain, but it is also one of the ones that generates the most confusion and family disputes. Often, heirs believe that the flat or house automatically becomes their property after the relative's death, ignoring the fact that there is a strict legal and tax itinerary that must be completed before they can hang up the "For Sale" sign. Failing to carry out these steps correctly or ignoring tax deadlines can lead to heavy penalties from the Agencia Tributaria (Tax Agency) or the inability to register the sale in the Registro de la Propiedad (Land Registry). In this detailed guide, written by the legal team at AbogadoAI, we explain step-by-step, with regulatory rigour and in a simple way, everything you need to know to sell an inherited property with total legal security.

The transfer of assets by reason of death is regulated at a national level in the _Código Civil_ (Civil Code - Book III, Title III), although in Spain various regional laws coexist (such as those of Catalonia, Aragon, the Basque Country, Navarre, Galicia or the Balearic Islands) which introduce very important specialities in matters of succession.

According to Article 657 of the Civil Code, the rights to a person's succession are transmitted from the moment of their death. However, for heirs to be able to dispose of specific assets (such as a property) and sell them, they must first carry out the acceptance and partition of the inheritance.

The vacant inheritance and the hereditary community

From the death of the deceased until the inheritance is accepted, the assets form the so-called "herencia yacente" (vacant/unaccepted estate), which lacks legal personality but has the capacity to hold rights and obligations. During this phase, the property cannot be sold.

Once the inheritance is accepted by several heirs, a "comunidad hereditaria" (hereditary community) is generated. No heir can sell a specific part of the property (for example, "I am selling the living room") without the consent of the others. Article 397 of the Civil Code establishes that none of the co-owners may, without the consent of the others, make alterations to the common thing, which includes its sale. Therefore, to sell the property to a third party, the unanimity of all co-heirs is required.

Step-by-step to sell an inherited property

For the sale of a property acquired by inheritance to be fully valid and registerable in the Land Registry, it is mandatory to follow this chronological itinerary:

1. Obtaining the death and last will certificates

The first step is purely administrative. 15 business days must elapse from the death before you can request:

2. Obtaining the authorized copy of the will or declaration of heirs

3. Inventory and partition of the inheritance (Deed of Adjudication)

An inventory of the deceased's assets must be made (real estate, bank balances, vehicles, debts) and their valuation carried out. Subsequently, the _Escritura de Aceptación y Adjudicación de Herencia_ (Deed of Acceptance and Adjudication of Inheritance) is drafted and signed before a notary. In this act, the heirs formally accept the assets and are allocated ownership of the property (either in proindiviso [co-ownership] or in favour of one of them after making the appropriate financial compensations).

4. Settlement and payment of the corresponding taxes

The property cannot be registered in the name of the heirs in the Land Registry without first proving the payment (or exemption) of the taxes associated with the inheritance. (See tax section below).

5. Registration in the Land Registry

Once the taxes have been settled, the deed of adjudication of inheritance is presented to the Registro de la Propiedad (Land Registry) where the property is located. This step is fundamental: a buyer or a banking institution that is going to grant a mortgage will never acquire a property if the seller does not appear as the registered owner.

6. Signing the deed of sale

Once the property is registered in the name of the heirs, they can proceed to sell it before a notary by signing the escritura pública de compraventa (public deed of sale) and the subsequent delivery of the keys.

Taxes when inheriting and selling: The double tax toll

Selling an inherited property involves facing two distinct tax moments: the moment of inheriting and the moment of selling.

``` [ Death ] │ ▼ (Deadline: 6 months) [ 1. Inheritance Tax (ISD) ] ──► [ 2. Municipal Plusvalía (IIVTNU) ] │ ▼ (Registration in the Registry and subsequent Sale) [ 3. IRPF (Capital Gain) ] ──────► [ 4. Municipal Plusvalía on the sale ] ```

Phase 1: Taxes for INHERITING the property

In order to put the property in your name, you must settle two taxes within 6 months from the death (extendable for another 6 months if requested within the first 5 months):

#### A) Impuesto sobre Sucesiones y Donaciones (ISD - Inheritance and Gift Tax) This is a state tax transferred to the Autonomous Communities. The amount to be paid depends on:

#### B) Municipal Plusvalía (Impuesto sobre el Incremento de Valor de los Terrenos de Naturaleza Urbana - IIVTNU) This tax levies the increase in value of the urban land where the property is located from when the deceased acquired it until their death. It is paid to the Town Hall where the property is situated.

Phase 2: Taxes for SELLING the inherited property

Once the property is yours and you decide to sell it to a third party, you must pay tax again:

#### A) Impuesto sobre la Renta de las Personas Físicas (IRPF - Personal Income Tax) The sale of a property generates a capital gain or loss that must be declared in the savings taxable base of the IRPF for the tax year in which the sale is made.

The capital gain is calculated by subtracting the Acquisition Value from the Transmission Value:

The tax rates applicable to capital gains in the IRPF for the year 2024 are progressive:

> Exemptions in IRPF: > If the seller is over 65 years old and the property sold was their primary residence (vivienda habitual), the capital gain is 100% exempt from IRPF. > If the seller is under 65 years old but reinvests the money obtained in the purchase of another primary residence within a maximum period of 2 years, they can also benefit from the exemption for reinvestment.

#### B) Municipal Plusvalía on the sale This municipal tax is paid again, but this time for the period elapsed between the date of death of the deceased (when the heir acquired the flat) and the date of sale to the new buyer. If the property is sold for a price lower than the value for which it was inherited (real capital loss), according to the jurisprudence of the Constitutional Court, this tax is not accrued.

Practical examples of taxation

To understand the impact of these taxes, we will analyse two common scenarios:

Example 1: Sale with capital gain (Carlos' Case)

Carlos inherits a flat in Madrid after his father's death.

Example 2: Quick sale without capital gain (Sofía's Case)

Sofía inherits an apartment in Alicante.

Mistakes you must avoid

Frequently Asked Questions (FAQ)

Can an inherited property be sold without being registered?

No. Although under civil law you are the owner from the acceptance of the inheritance, *Article 20 of the Ley Hipotecaria (Mortgage Law) establishes the principle of successive tract (tracto sucesivo*). This means that to register the transfer of a right (the sale), the right of the person granting it (the heir) must be previously registered. No notary will authorize the deed of sale and no bank will grant a mortgage to the buyer without this requirement.

What happens if an heir does not want to sell the house?

No one is obliged to remain in co-ownership (according to Article 400 of the Civil Code). If a co-heir refuses to sell, the others cannot force them to sign the sale, but they can initiate a judicial procedure for the division of a common thing (división de cosa común). The judge will order the public auction of the property to distribute the money obtained, which is usually the worst financial option for everyone due to the depreciation of the flat's value in an auction. Another alternative is for the heir who does want to keep the property to buy out the shares of the others (retracto de coherederos).

Is there any time limit to sell after inheriting?

Previously, there was the famous Article 28 of the Mortgage Law, which limited the protection of a third-party purchaser during the two years following the death of the deceased if there were no forced heirs (in case a secret child or a later will appeared). However, this article was repealed on September 3, 2021. Currently, the inherited property can be sold immediately after registering it in the Land Registry, without having to wait for any legal limitation period.

What taxes does a non-resident heir in Spain pay when selling?

If the heir resides outside of Spain (whether Spanish or foreign), the sale of the property is taxed under the _Impuesto sobre la Renta de no Residentes_ (IRNR - Non-Resident Income Tax). The tax rate applicable to the capital gain is 19% if they reside in the European Union, Iceland or Norway, and 24% for residents of the rest of the world. In addition, the buyer has the legal obligation to withhold 3% of the sale price and pay it to the Spanish Treasury as a payment on account of the non-resident seller's tax.

In summary

General legal information, not personalised legal advice. For your specific situation, ask your question for free at AbogadoAI — answers grounded in Spanish law (BOE), in English.

Have a specific legal question?

Ask AbogadoAI and get an answer based on Spanish law (BOE), with sources — in English.

Ask for free

This is general information, not legal advice. Verify on the BOE or consult a lawyer for your specific case.