Selling an Inherited Property in Spain: Tax, Procedure and Practical Pitfalls for Foreign Heirs

Inheriting a Spanish property is only the start. Most foreign families end up wanting to sell — because none of the heirs wants to live in Spain, because the property is too far from where the family has settled, or because the running costs (community fees, IBI, non-resident income tax) are not justified by the use the family makes of the house. Selling an inherited property in Spain is procedurally straightforward but tax-heavy if it is not planned, and the planning has to start with the inheritance, not with the sale. This article walks through the full sequence: how to make sure the property is properly registered in the heirs’ names before any buyer appears, how the Spanish capital-gains tax (IRNR for non-residents, IRPF for residents) is calculated, how the municipal plusvalía interacts with the sale, how to handle co-ownership when one heir wants to sell and another does not, and how to repatriate the proceeds without falling into the AEAT’s reporting regime. We also cover the most common error — selling before the inheritance is registered — and how a dedicated inheritance lawyer in Spain avoids it.

Salama Legal SLP

6/16/20266 min read

Salama Legal SLP
Salama Legal SLP

Why you cannot sell until the inheritance is properly registered

A Spanish property remains in the name of the deceased at the Land Registry until the notarial deed of acceptance is signed, the inheritance tax is paid, and the deed is presented for registration. Until that sequence is complete, the heirs are the legal owners of the share they inherited, but their ownership is not on the public register, and no notary in Spain will allow a sale to a third party. A buyer’s mortgage lender will refuse to fund. A title insurance company will refuse to insure. The transaction simply cannot close.

Some heirs try to short-cut by signing the inheritance and the sale on the same day at the notary’s office. This is technically possible but increases the risk of registration problems and can delay the transfer of funds to the heirs. The safer path is to complete the inheritance file fully — deed signed, tax paid, registry updated — before marketing the property. The full process for foreign heirs is described in our overview of the acceptance of a Spanish inheritance.

Capital-gains tax on the sale: how the base is calculated

The Spanish capital-gains tax on a sale is calculated as the difference between the transmission value (the price agreed in the sale deed, adjusted for transaction costs) and the acquisition value. For an inherited property, the acquisition value is the value declared in the inheritance — that is, the value used for inheritance-tax purposes — not the value at which the original owner had bought the property decades earlier. This is a substantial advantage for the heirs: the step-up in basis on death eliminates any capital gain accrued during the deceased’s lifetime.

The trap is to declare a low value for inheritance tax purposes in the hope of saving tax now, only to face a much higher capital-gains tax on the eventual sale. The two taxes are inversely related. Because regional reductions often eliminate inheritance tax entirely, the right strategy is usually to declare the inherited property at its full market value (or at the regional reference value, whichever is higher) — paying little or no inheritance tax — and then benefiting from a high acquisition value when the property is later sold. We address this trade-off in our guide to the cost of a Spanish inheritance.

IRNR for non-resident heirs: 19% and the 3% retention

A non-resident heir who sells a Spanish property pays Non-Resident Income Tax (IRNR) on the capital gain at a flat rate of 19% (for EU/EEA residents) or 24% (for residents of other countries — but in practice 19% for capital gains under the Spain-UK and Spain-US treaties). The buyer is required to withhold 3% of the gross sale price and pay it to the Spanish tax office within one month of the sale. The 3% is an advance payment of the seller’s tax. If the actual tax due on the gain is lower, the seller files for a refund within three months. If it is higher, the seller pays the difference.

The 3% retention is the buyer’s legal responsibility, not the seller’s. Buyers and their lawyers are usually careful about it because the buyer becomes personally liable for the tax if the retention is not made. Foreign sellers who allow the buyer to skip the retention (a common request from sellers who do not understand the system) leave themselves exposed if the buyer later disputes the tax position. The 3% should always be retained and paid through the standard Model 211 procedure.

Municipal plusvalía on the sale

The plusvalía municipal is a town-hall tax on the increase in the value of the land (not the building) between two transmissions. It applies on the death (when the heirs inherit) and again on the sale (when they transfer to a buyer). The Constitutional Court overturned the old formula in 2021 and the replacement formula introduced by Royal Decree-Law 26/2021 allows sellers to choose between an objective method (based on cadastral values) and a real-gain method (based on the actual increase in land value). If there has been no increase, no tax is due. The interaction of plusvalía with inheritance tax is technical and is covered in our guide to selling inherited property in Spain.

The plusvalía at sale is paid by the seller for resident sellers, but for non-resident sellers the buyer is legally responsible for retaining the plusvalía from the sale price and paying it to the town hall, because the town hall cannot easily enforce against a non-resident. This is one of several practical reasons why foreign sellers should use a Spanish lawyer to coordinate the closing rather than relying on the buyer’s lawyer or the notary alone.

Co-ownership: when one heir wants to sell and another does not

When several heirs jointly own an inherited property and not all want to sell, Spanish law gives the unhappy co-owner a powerful tool: the action for division of common ownership under article 400 of the Civil Code. Any co-owner can request, at any time, that the co-ownership be dissolved. If the others cannot agree to buy out their share at the surveyor’s value, the property goes to a public auction (subasta) and the proceeds are divided. The threat of auction is usually enough to force a negotiated buy-out, but where the family is genuinely deadlocked the auction does proceed. The practical handling of these disputes is discussed in our article on Spanish inheritances with multiple heirs.

For a typical international family, the conversation about sale should happen as part of the partition, not afterwards. If two siblings will keep the property and the third wants to be bought out, the partition deed itself can structure the buy-out, with the property being attributed to the two siblings and a compensating cash payment (exceso de adjudicación) being made to the third. This avoids a later sale, the associated capital-gains tax, and the risk of a court-ordered auction.

Repatriating the proceeds: bank transfers and reporting

Once the property is sold, the proceeds usually need to be transferred from the seller’s Spanish bank account to a foreign account. Spanish banks routinely handle large international transfers but the bank will ask for documentation supporting the source of funds: the inheritance deed, the sale deed, the inheritance tax return, and the IRNR return for the capital gain. Without this paper trail, the bank may delay the transfer for weeks while the compliance team reviews the file. The simplest preparation is to assemble the full pack in advance and to schedule the transfer with the bank before the closing.

For the receiving country, reporting depends on the heir’s residence. In the UK, a non-domiciled heir is broadly outside the scope of UK inheritance tax on the Spanish proceeds, but UK income tax may apply if there is any continuing income. In the US, the heir must file Form 3520 to report the receipt of a foreign inheritance above the threshold, and an FBAR for any Spanish bank account that briefly held the funds. These reports are informational, not tax-generating, but failure to file carries substantial penalties.

Selling to another family member

A sale between heirs is treated as an ordinary sale for tax purposes, even if no real money changes hands. The Spanish tax authority will look at the transaction substance: if the “buyer” is one heir and the “seller” is another, and the price is below market, the transaction may be re-characterised as a gift, with gift tax due. The safer route is usually to structure an inter-heir transfer as part of the partition deed itself, where the compensating cash payment is treated as a normal partition element and not as a sale. The technical distinction is covered in our overview of the cost and structure of a Spanish inheritance.

When a sale to another family member is unavoidable — typically because the partition has already been signed — the price should be set at the surveyor’s market value and supported by a contemporary valuation report. Anything below the regional reference value will trigger a complementary inheritance- or transfer-tax assessment within four years, when the tax office reviews the file. Setting a defensible price up front saves a year of dispute later.

Common errors and how to avoid them

The most common error is selling before the inheritance is registered, which causes the closing to fall through at the notary. The second most common is undervaluing the property at inheritance to save inheritance tax, only to face capital-gains tax on the inflated gain at sale. The third is failing to make the 3% retention as buyer (or accepting the buyer’s refusal to make it as seller). The fourth is closing the deceased’s Spanish bank account before the inheritance is settled, which forces the heirs to open new accounts to receive the proceeds. The fifth is forgetting the foreign-side reporting — Form 3520 for US heirs, Model 720 for Spanish-resident heirs holding foreign accounts, and the various EU country-specific equivalents.

All of these errors are entirely preventable with planning. The cost of a lawyer to manage the sequence is a small fraction of the tax and time penalty of getting it wrong. To start a file, contact our team with the death certificate, the property details and a list of the heirs, and we will set out the sequence and timing for your specific case.