
Buying out the other half of the flat (from your ex, from your sibling): what dissolving shared ownership really costs
Two siblings inherit a flat and one of them wants to keep it. Or an unmarried couple bought a home together, they break up, and one of them keeps the house. In both cases the same question comes up, with the same fear behind it: if I pay out the other person’s share, is that like buying a flat from a stranger, with everything that costs?
The short answer is no, and the difference isn’t a nuance: Spanish civil law doesn’t treat it as a sale, but as the mechanism for splitting something that can’t be split. That changes which tax you pay, on what amount, and in one of the three cases, whether you pay anything at all. This is what dissolving shared ownership (extinción de condominio) really costs, with numbers, and the two places where people overpay simply because they didn’t know better.
It isn’t a sale: the law forces a split of what can’t be divided
When two people own a flat in equal shares (through inheritance, a joint purchase, it doesn’t matter which), the obvious route when one of them wants out would be to sell their share. The problem is that a flat can’t be physically split in half, so the Civil Code sets out a different solution: if the thing is indivisible, it’s awarded whole to one of the two owners, who pays the other the value of their share in cash.1
That’s what dissolving shared ownership is: it isn’t that one party “sells” their half to the other, it’s that the law resolves the indivision by specifying who keeps the whole asset and how much they owe the person who’s leaving. The difference between “selling” and “specifying a right you already had” sounds like lawyer talk, but it’s exactly what decides how much you pay under each of the next three taxes.
(Diego, Elena, Patricia and Marcos are made up; the numbers are rounded to keep the math readable.)
What you don’t pay: transfer tax (ITP)
Diego and Elena inherit a flat from their mother valued at €220,000, 50% each. Diego wants to keep it and live there; Elena would rather have the cash. If this were an ordinary sale, Diego would be buying Elena’s half (€110,000) and would pay transfer tax (Impuesto de Transmisiones Patrimoniales, ITP) on that amount, at his region’s rate.
But it isn’t a sale. The law that governs ITP expressly excludes from the tax the “excess allocations” that result from applying the Civil Code rule on indivisible things.2 Spain’s Directorate-General for Taxes (DGT) confirms this repeatedly: when one co-owner keeps the whole asset and compensates the other, “there is no transfer at all, only the dissolution of a community of property specifying a right that the co-owner who keeps the asset already held”, and that holds whether the compensation is in cash or by taking on the other person’s debt.3
Put plainly: Diego doesn’t pay ITP on the half he receives from Elena. In Madrid, where the general ITP rate is 6%, that’s €6,600 he doesn’t have to pay, simply because this is a dissolution of shared ownership and not a sale.
What you do pay: stamp duty (AJD), and only on the half that changes hands
Not paying ITP doesn’t mean the operation is free. The notarial deed that formalizes the split is subject to stamp duty (Actos Jurídicos Documentados, AJD), the other tax in the same family. The good news, and the part almost nobody explains well, is the base it’s calculated on: not the full value of the flat, but only the share that changes owner.4
Back to Diego and Elena: the AJD base is €110,000 (Elena’s half, not the full €220,000; or the land registry’s reference value for that half, if higher), and the rate is set by each autonomous region. In Madrid the general AJD rate is 0.75%, so Diego pays €825. Compare that with the €6,600 of ITP he avoids: dissolving shared ownership costs him, in tax, a fraction of what buying the flat from a stranger would. The exact rate depends on where the flat is: 0.5% in Navarre and the Basque Country, 0.75% in Madrid and the Canary Islands, and up to 1.5% in most other regions.
How you compensate matters: cash is fine, another property isn’t always
There’s a nuance worth knowing before proposing anything: the ITP exemption holds if you compensate in cash or by taking on a debt the other co-owner had (say, the remaining mortgage on their share). But if you compensate by handing over another asset that was already yours alone (not part of the shared property), the DGT treats it as a swap (permuta): each party pays ITP on the value of what they acquire.5 In other words, the “dissolved community, no tax” treatment only covers what was already shared; anything brought in from outside, even to balance the same split, is looked at differently.
Income tax (IRPF): this is where the person leaving may have to declare something
This is the part most often explained wrongly, and the mistake usually goes against you. Spain’s income tax law says there is no change in someone’s estate, and therefore no gain or loss, “in cases of division of jointly owned property” or “in the dissolution of communities of property or cases where co-owners separate”.6 Read on its own, that sounds as if the person leaving never declares anything. But the Supreme Court narrowed it in 2022: if the flat has gone up in value since it was acquired, the compensation the person leaving receives means they have “a capital gain subject to income tax”.7 What’s taxed is the difference between what they receive and what their share cost them.
With an inheritance that difference is usually small, because the acquisition value of what you inherit isn’t what your mother paid: it’s the value declared for inheritance tax.8 If Diego and Elena declared the flat at €220,000 when they inherited it and dissolve the co-ownership soon after at that same value, Elena’s half “cost” her €110,000 and she receives €110,000: no gain. If they wait a few years and the flat goes up, the rise since the inheritance does go on Elena’s tax return.
Paying the real market value is still the rule, but for a different reason: if Elena were paid less, it would no longer be a split by shares, and the tax authority can see an excess allocation in Diego’s favour.
One detail for the day Diego sells the flat: the law says these splits “cannot, under any circumstances, result in updating the value of the assets received”.6 The tax authority and the Supreme Court agree that, for the part matching his share, Diego keeps the value and date of the inheritance: dissolving the co-ownership doesn’t reset the clock.9 7 How the half he paid Elena for counts in that sale isn’t spelled out in the law: ask an adviser before you sell.
Municipal capital gains tax: the same exception, with a catch for when you sell
The third tax that usually comes up in these operations is the municipal capital gains tax (IIVTNU), which taxes the increase in value of urban land whenever there’s a transfer. The law has an explicit exception for spouses who divorce or separate by court order.10 But Diego and Elena aren’t married, they’re siblings: the same logic that applied to ITP applies to them too, with its own backing. The DGT confirms that when the excess allocation is unavoidable (the flat can’t be divided) and the person leaving is compensated, “the taxable event does not occur” for the municipal capital gains tax, under the same Civil Code rule we already saw.11
The catch is for later: when Diego sells the flat years from now, the period used to calculate the capital gains tax on that future sale runs from when he and Elena inherited the flat from their mother, not from the date of the dissolution.11 Dissolving the shared ownership doesn’t “reset the clock” on the municipal capital gains tax; it only changes who holds title.
If you aren’t married, it’s exactly the same mechanism
Patricia and Marcos bought a flat together years ago, 50/50, without being married. When they break up, Marcos keeps the home and pays Patricia her half at today’s value: the flat is now worth €180,000, so Marcos gives her €90,000. Even though the relationship is romantic rather than a matter of inheritance, for tax purposes it’s exactly the same case as Diego and Elena’s: an ordinary community of property, over an indivisible asset, dissolved by cash compensation. Marcos pays no ITP, and AJD is calculated only on Patricia’s €90,000.3 What isn’t free is Patricia’s tax return: her half cost her €75,000 and she receives €90,000, so under the Supreme Court’s criterion she declares a €15,000 capital gain in the savings base.7 There’s no inheritance here to update the value: what counts is what she paid when they bought.
What does change, if there’s a mortgage involved, is the bank: Patricia will remain liable for the loan until the bank agrees to a novation that removes her from the deed and leaves Marcos as the sole holder, something the lender isn’t automatically obliged to grant (it can require Marcos to show he qualifies for the loan on his own income). It’s worth starting that process before signing the dissolution, not after.
If they had been married, dissolving the marital community of property has its own mention in the income tax law and, when there’s a court ruling of separation or divorce, its own exemption from the municipal capital gains tax.6 10
Before you sign: the short checklist
- Get a valuation or reference value for the flat: the split has to follow each half’s real market value, not a figure invented to save tax.
- If you’re the one leaving, work out how much your share has gone up since you bought it (or since you inherited it): that difference may go on your tax return.7
- If you’re compensating with another asset (not cash, not an assumed debt), check first whether that counts as a swap: it can end up costing more than it looks.5
- If there’s a mortgage, start the novation process with the bank alongside the deed, not after it.
- Keep the dissolution deed together with the original purchase deed or inheritance acceptance: each half ends up with a different acquisition value and date, and you’ll need both the day you sell.
- The deadline to file and pay AJD is set by each autonomous region (usually around 30 working days from the deed): confirm it before you sign, not after.
How Cuéntamo helps
Once the split is settled, what’s left is a home that’s now yours alone, with its own acquisition date and value. In Net Worth, Cuéntamo Más lets you add it as another asset alongside your accounts, and if the mortgage gets renegotiated into your name, link it with its amortization schedule so you can watch your net worth evolve as you pay it down. If what you need is to see the cash hit of the AJD payment, and of any cash compensation, coming before it lands, a cash flow forecast lets you see it ahead of time.
Splitting an inheritance has its own article if what worries you is the inheritance tax that comes before you even reach this point: how much inheritance tax you pay in Spain. And if, instead of keeping an inherited or shared flat, you’d rather buy a new one, buying a home in Spain: the taxes and costs your mortgage won’t cover covers that other full account.
Frequently asked questions
Is dissolving shared ownership the same as selling my share of the flat?
Not for tax purposes. Civil law treats it as the mechanism for splitting an asset that can’t be divided, not as a sale, which is why it doesn’t trigger ITP or, if the flat can’t be divided, municipal capital gains tax. Income tax is the exception: the person leaving may have to declare what their share has gone up.1 3 7
How much AJD do you pay when dissolving shared ownership?
Only on the value of the share that changes owner, not on the full value of the flat, at whatever rate your autonomous region sets (from 0.5% in Navarre and the Basque Country to 1.5% in most regions).4
If I receive cash for my share, do I have to declare it on my tax return?
It depends on how much your share has gone up. According to the Supreme Court, if you receive more than your half cost you (or its inheritance tax value, if you inherited it), the difference is a capital gain that goes on your tax return. If you receive the same as it cost you, there’s nothing to declare.6 7 8
Do you have to be married or related for this to apply?
No. It applies to any community of property over something indivisible: siblings who inherit, unmarried couples who bought together, friends who bought at the same time. Marriage has its own extra rules on top, but they aren’t needed for the dissolution mechanism to work the same way.3
What if I pay with another flat instead of cash?
Be careful here: if you compensate with an asset that was already yours alone (not part of the community being dissolved), the tax authority treats it as a swap, and each side pays ITP on what they acquire, losing the advantage of a straight dissolution.5
AJD rates vary by autonomous region and are reviewed every tax year: confirm your region’s rate before signing. The underlying mechanism (that it isn’t a sale, that AJD is calculated only on the share that changes owner, that the person leaving pays income tax on what their share has gone up) is structural and doesn’t change with the tax calendar.
This article is checked against official sources and reviewed periodically. If you spot anything out of date, email us at [email protected].
Article 1062 of the Spanish Civil Code: “When a thing is indivisible, or would lose much of its value if divided, it may be awarded to one [co-owner], on condition of paying the others the excess in cash.” (Original: “Cuando una cosa sea indivisible o desmerezca mucho por su división, podrá adjudicarse a uno, a calidad de abonar a los otros el exceso en dinero.”) ↩︎ ↩︎
Article 7.2.B) of the consolidated Transfer Tax and Stamp Duty Act (Real Decreto Legislativo 1/1993): taxable transfers include “declared excess allocations, except those arising from compliance with articles 821, 829, 1,056 (second paragraph) and 1,062 (first paragraph) of the Civil Code, and regional [foral] provisions based on the same principle.” ↩︎
Settled doctrine of Spain’s Directorate-General for Taxes (DGT), among others in binding rulings V0724-23 and V2430-25: when the excess allocation is unavoidable because the asset is indivisible, “there is no transfer at all, only the dissolution of a community of property specifying a right that the co-owner who keeps the asset already held”, “regardless of whether the compensation is in cash [or] by taking on the other co-owner’s debts”, taxed under stamp duty and not under the transfer tax (onerous transfers) category. ↩︎ ↩︎ ↩︎ ↩︎
Binding ruling V2430-25 of the DGT: “The tax base for dissolving each community will be the share of the property’s value corresponding to the co-owner whose participation disappears through the operation and which is acquired by the other co-owner”, taking into account article 10 of the ITP and AJD law: the reference value set by the land registry rules applies “unless the value of the property declared by the parties or the agreed price is higher”. ↩︎ ↩︎
Binding ruling V0724-23 of the DGT: when the compensation is made by handing over a privately-owned asset (not part of the shared property), “the operation at hand constitutes a swap under the terms of article 1,538 of the Civil Code”, and “each of the parties to the swap must pay tax on the appraised value of what they acquire” under the onerous transfers category. ↩︎ ↩︎ ↩︎
Article 33.2 of Law 35/2006, of 28 November, on Personal Income Tax: “There is deemed to be no change in the composition of the estate: a) In cases of division of jointly owned property. […] c) In the dissolution of communities of property or cases where co-owners separate.” The same provision expressly covers “the dissolution of the marital community property regime” for married couples. ↩︎ ↩︎ ↩︎ ↩︎
Spanish Supreme Court judgment 1269/2022 of 10 October (cassation appeal 5110/2020), text published by INAP: the compensation received by the co-owner who doesn’t keep the asset “comportará para dicho comunero la existencia de una ganancia patrimonial sujeta al IRPF, cuando exista una actualización del valor de ese bien entre el momento de su adquisición y el de su adjudicación” (it means a capital gain subject to income tax for that co-owner whenever the asset’s value was updated between acquisition and allocation). The same judgment notes that, for future sales, “la fecha de adquisición no es la de adjudicación”. ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎
Article 36 of Law 35/2006 on Personal Income Tax: for acquisitions by gift or inheritance, the values used are “those resulting from applying the rules of Inheritance and Gift Tax, without exceeding market value”. ↩︎ ↩︎
Binding ruling V2430-25 of the DGT: when the allocation matches each co-owner’s share, the assets “will keep their original acquisition values and, for future transfers, their original acquisition dates”. ↩︎
Article 104.3 of the consolidated Local Government Finance Act (Real Decreto Legislativo 2/2004): “Nor will the tax apply in cases of transfers of real estate between spouses or in favour of their children, as a result of compliance with court rulings in cases of annulment, legal separation or divorce, regardless of the marital property regime.” ↩︎ ↩︎
Binding ruling V0123-24 of the DGT: when the excess allocation is “unavoidable” due to the asset’s indivisibility and the other co-owners are compensated financially, “the taxable event [of the municipal capital gains tax] does not occur”. For a future transfer of the awarded asset, “the start date of the generation period will be the date on which the siblings originally acquired ownership of the property” (by inheritance, in the case resolved), “and not the date on which” the 100% ownership “is awarded” through dissolving the shared ownership. ↩︎ ↩︎