Selling an inherited property in Spain: the costs of the inheritance reduce the income tax you pay

Anyone who sells a property they have inherited in Spain pays income tax on the difference between the sale price and the value the property had when it was inherited. The Directorate General of Taxes (DGT) has confirmed, in binding ruling V1580-26 of 15 June 2026, that the costs paid to receive the inheritance are added to that value: the declaration of heirs, the deed of acceptance, registration at the Land Registry and even the title proceedings needed to register the property in the heirs’ name. The higher the acquisition value, the smaller the gain and the less tax is paid.
Inheriting a property is rarely free. Before it can be sold, the heirs have to go through the notary and the Land Registry and, sometimes, through longer procedures when the property is not registered in the name of the deceased. Many heirs write these costs off, yet they count when the property is sold years later.
This article explains what the DGT has decided, which costs can be added, how the gain on an inherited property is calculated and what is worth keeping from the moment the inheritance is accepted.
What the DGT decided in ruling V1580-26
The taxpayer had inherited from her grandparents, who left no will, a detached house that belonged to their community property. To receive the inheritance she had to pay:
- The notarial deeds (acta de requerimiento and acta de notoriedad) for the declaration of heirs on intestacy.
- The deed of acceptance and allocation of the inheritance.
- The Land Registry invoice for registering the inherited property.
- The notarial and registry costs of title proceedings (expediente de dominio), because half of the house was still registered in the name of the daughter of one of the people who had sold it to the grandparents, and the broken chain of title had to be restored.
She asked whether all those costs could be added to the acquisition value of the house when calculating the gain or loss on a future sale.
The DGT answered yes in every case. The notary’s fees for both deeds of the declaration of heirs and for the deed of acceptance, the Land Registry invoice and the costs of the title proceedings are costs inherent to the acquisition and increase the acquisition value of the property.
The basis: costs inherent to the acquisition
Selling a property gives rise to a capital gain or loss, calculated as the difference between the transfer value and the acquisition value (Articles 33 and 34 of Law 35/2006 on Personal Income Tax).
Article 35 of the Law provides that the acquisition value is made up of the actual amount paid plus the cost of investments and improvements and the costs and taxes inherent to the acquisition, excluding interest, paid by the acquirer. Article 36 extends this rule to acquisitions for no consideration, such as an inheritance, with one particular feature: the starting figure is not a price but the value resulting from the rules of Inheritance and Gift Tax, which may not exceed market value.
On that basis, the DGT notes that the costs added to the value of an inherited property generally include notary and Land Registry costs and, among taxes, the Inheritance Tax paid at the time, in the part relating to the property. What is new in this case is the title proceedings: although they correct a registry problem that predates the inheritance, the DGT treats them as a cost inherent to the acquisition, because they were necessary for the heir to register the house in her name.
Which inheritance costs can be added
In light of the ruling and of Article 35 of the Personal Income Tax Law, the costs and taxes paid by the heir to acquire the property can be added to its acquisition value, in particular:
- The declaration of heirs, where there is no will: the notarial deeds of request and of notoriety.
- The deed of acceptance and allocation of the inheritance.
- Registration at the Land Registry.
- Proceedings to register the property in the heirs’ name, such as title proceedings to restore a broken chain of title.
- Inheritance Tax, in the part relating to the property.
- The municipal capital gains tax (plusvalía municipal) paid on the inheritance. On an inheritance, the heir is the one who pays the Tax on the Increase in Value of Urban Land, so it is a tax inherent to the heir’s acquisition.
The ruling does not address the fees of lawyers, advisers or agencies involved in handling the inheritance. It is advisable to keep their invoices and assess in each case whether they are directly linked to the acquisition of the property.
Where the inheritance includes several assets, shared costs such as the declaration of heirs or the deed of acceptance do not relate entirely to a single property. The ruling does not deal with how to split them, as the inheritance consisted of a single asset; the reasonable approach is to apportion them according to the value of each asset and to record the method used.
The starting point: the value declared in the inheritance
The acquisition value of an inherited property is the value resulting from the Inheritance Tax rules, capped at market value. In practice, it is the value at which the property was declared in the inheritance. That figure, set when the inheritance is accepted, determines the income tax payable many years later.
This matters particularly in the Balearic Islands. Children, grandchildren, spouses and parents enjoy a 100 % relief on Inheritance Tax, so the tax that would be added to the acquisition value is usually nil. In addition, to apply the relief, the declared value of properties may not exceed the cadastral reference value plus 20 %. As a result, in Mallorca inheritances the notary, Land Registry and title regularisation costs may be the only items added to the declared value, and they are well worth keeping.
A worked example
A granddaughter inherits a house in Mallorca from her grandparents, declared in the inheritance at €250,000, with no Inheritance Tax payable thanks to the relief. She pays €2,000 for the notary, the declaration of heirs and the Land Registry, and another €2,500 for title proceedings. A few years later she sells the house for €330,000, with €9,000 of selling costs. We assume she has no other savings income in the year.
| Item | Without the inheritance costs | Including the inheritance costs |
|---|---|---|
| Transfer value (€330,000 less €9,000 selling costs) | €321,000 | €321,000 |
| Acquisition value | €250,000 | €254,500 |
| Capital gain | €71,000 | €66,500 |
| Income tax on the savings base | €15,210 | €14,175 |
Adding the €4,500 of inheritance costs reduces the income tax by €1,035. The savings base is taxed in bands from 19 % to 30 %, so the saving grows with the size of the gain.
Practical consequences
Keep the invoices from the outset. Many years may pass between the inheritance and the sale, and without the notary, Land Registry or title proceedings invoices it is hard to support the higher acquisition value if the tax authorities check it.
Selling costs count too. Article 35.2 of the Personal Income Tax Law allows the costs and taxes paid by the seller, such as the estate agent’s commission or the municipal capital gains tax on the sale, to be deducted from the sale price.
Later improvements add up. Works that increase the value of the property after it is inherited, other than mere repairs and maintenance, are also added to the acquisition value. If the property has been let, depreciation must be deducted, and the Supreme Court has recently clarified how to calculate it, as we explain in our analysis of depreciation when selling a let property.
Non-resident heirs apply the same rules. The gain of an heir who is not resident in Spain is taxed under Non-Resident Income Tax at 19 %, but it is calculated under the Personal Income Tax rules, so these costs can also be added. The buyer must withhold 3 % of the price.
Selling a main home may be exempt. Taxpayers over 65 who sell their main home do not pay tax on the gain, although only on the part they own outright, as we explain in our analysis of the sale of a main home by over-65s.
Documents worth gathering
- The deed of acceptance and allocation of the inheritance, with the value assigned to the property.
- The declaration of heirs deeds or the will, and the death and last will certificates.
- The notary and Land Registry invoices.
- Documents and invoices for any proceedings to regularise the property, such as title proceedings.
- The Inheritance Tax return and the municipal capital gains tax return for the inheritance, with proof of payment.
- Invoices for improvement works carried out after the inheritance.
Conclusion
Ruling V1580-26 confirms that the costs of receiving an inheritance are not lost: the declaration of heirs, the deed of acceptance, the Land Registry, the proceedings to register the property and the taxes paid on the inheritance are added to the value of the property and reduce the gain when it is sold. In the Balearic Islands, where children and grandchildren usually pay no Inheritance Tax, these costs are often the only items that increase the value declared in the inheritance. Keeping the invoices from the start and reviewing the calculation before selling can mean a significant saving.
Frequently asked questions
I have inherited a house in Spain and am going to sell it. How much income tax will I pay?
Tax is paid on the gain, that is, the difference between the sale price, less selling costs, and the acquisition value. For an inheritance, the acquisition value is the value declared for Inheritance Tax plus the costs and taxes of the inheritance. The gain is taxed in the savings base, at between 19 % and 30 % for residents and at 19 % for non-residents.
Which inheritance costs can I add to the value of the house?
The notary’s fees (declaration of heirs and deed of acceptance), the Land Registry, any proceedings needed to register the property in the heirs’ name, the Inheritance Tax relating to the property and the municipal capital gains tax paid on the inheritance.
What if the house was not registered in the name of the deceased?
That is the situation addressed by ruling V1580-26. The costs of title proceedings to restore the chain of title and register the property in the heirs’ name are also added to the acquisition value.
I paid no Inheritance Tax in the Balearic Islands. Can I still add anything?
Yes. Even if the 100 % relief brings the tax down to zero, the notary, Land Registry and title regularisation costs are still added to the acquisition value.
What if the inheritance included several properties?
Costs specific to each property, such as its registration or title proceedings on a particular plot, are added to that property. Costs common to the whole inheritance must be split between the assets; the reasonable approach is to apportion them according to their value.
Is this ruling binding on the tax authorities?
Binding rulings require the tax authorities to apply the same criterion to anyone in an identical situation. As regards notary, Land Registry and Inheritance Tax costs, the DGT is repeating a general criterion; the inclusion of title proceedings is this ruling’s most specific contribution.
How we work at Vicens Advisors
The Vicens Advisors team assists heirs in Mallorca, resident and non-resident, from accepting the inheritance to selling the properties. At the inheritance stage, the firm reviews the valuation of each asset, the application of Inheritance Tax reliefs and the documents needed to register the properties. At the sale, it calculates the gain with every cost the law allows to be added and coordinates the transaction with the notary and the other heirs. Each case is assessed individually, because the value declared in the inheritance and the costs that can be proven determine the final result.
Sources
- Directorate General of Taxes, binding ruling V1580-26 of 15 June 2026 (in Spanish)
- Law 35/2006 of 28 November on Personal Income Tax, consolidated text (BOE, in Spanish)
- Law 29/1987 of 18 December on Inheritance and Gift Tax, consolidated text (BOE, in Spanish)
- Royal Legislative Decree 2/2004 of 5 March, consolidated Local Finance Act (BOE, in Spanish)
LEGAL NOTICE
This content is for general information purposes only and does not replace advice on any specific case. This is a translation of the Spanish original, which prevails in the event of any discrepancy.
© Vicens Advisors, S.L. All rights reserved. Reproduction of this content, in whole or in part, by any means or procedure, is prohibited without the express written authorisation of its owner.




