In almost every separation there’s one question that weighs more than the rest: what happens to the house in a divorce? The answer depends on three things: who owns the home, whether there are children and what mortgage remains. Here’s the full map of options, without legalese, to decide with a cool head.
First: who owns the house?
If the couple bought the property while married under community property (gananciales), the house belongs to both 50/50, even if only one person paid. Under separate property (or if bought before marriage), it belongs to whoever appears on the deed, in the percentage shown. This fact determines everything else: only what is jointly owned gets divided.
Second: use is not ownership
If there are minor children, the judge or the agreement usually grants the use of the home to the parent who stays with them, even though the house remains owned by both. It’s a temporary situation that freezes the sale but not ownership: the other person remains the owner (and usually continues paying their share of the mortgage). Increasingly, agreements set limits: use until a certain age of the children, or sale within a set period.
The three exits for the shared home
1. Sell it and split the proceeds
The cleanest option when neither can (or wants to) assume it alone: sell, pay off the mortgage at the notary and split the remainder according to the ownership percentages. The key is to do it methodically, not in a rush: a house sold “just to finish” easily loses 10% or more of its value.
2. One keeps it (termination of co-ownership)
One compensates the other for their half and keeps the whole house. Fiscally this is the most efficient route (taxed as AJD, not ITP), but it requires two things: agreeing a fair value —here a objective valuation avoids half the arguments— and the bank agreeing to release the person leaving the mortgage, because signing the agreement doesn’t remove your name from the loan.
3. Keep it jointly (rent it out or wait)
Possible, but it’s the option that creates the most conflicts in the medium term: shared expenses, decisions by two and lives that move in different directions. If chosen, better with a written pact on expenses, use and a review date.
The most expensive mistake: leaving the mortgage “as is”
Even if the agreement states that the house and its loan belong to one person, for the bank both holders still owe 100%. If the person who stayed in the house stops paying, the other is liable —and their ability to buy another home is blocked while that lasts. Releasing the co-debtor (novación) or the sale are the only real exits.
Decide with numbers, not in the heat of the moment
Before signing anything, gather three figures: what the house is really worth today, how much mortgage remains and what each option would cost. With that in front of you, the decision is usually obvious. At Mayrasa we give you the first —a free valuation based on real sales in your area— and if the chosen route is selling, we handle the entire sale, treating both parties equally, with the discretion these situations require. Tell us your case with no obligation.
How each exit is taxed
Each option has a different tax bill, and it’s worth considering before deciding. A summary for guidance:
| Exit | How it’s taxed | Note |
|---|---|---|
| Sell and split | IRPF on each person’s gain plus municipal capital gains tax (plusvalía) | If it’s the main residence and you reinvest in another, the gain can be exempt |
| Termination of co-ownership (one keeps it) | AJD, around 1.5%, instead of ITP | Paid by the person who is awarded the house |
| Keep it and rent it out | IRPF on the rental income each person receives | With a reduction if it’s the tenant’s habitual residence |
These are general criteria; the exact amount depends on your case, so it’s wise to confirm with a tax advisor before signing the agreement.
The mortgage: what the bank can do
The divorce agreement binds the former couple, but not the bank. If the loan is in both names, these are the real ways to separate:
- Release of co-debtor (novación): the bank removes one person from the loan. It only grants this if the person who keeps the house proves sufficient income to assume the payment alone.
- Subrogation or new mortgage: the person who keeps the house refinances the loan in their name, sometimes changing banks to improve terms.
- Cancellation upon sale: if you sell, the mortgage is cancelled at the notary with the sale proceeds and the problem disappears for both.
What the bank will not do is release you just because the agreement says so: without novación or sale, you remain liable for 100% to the lender.
Common mistakes with the house in a divorce
- Signing the agreement without talking to the bank and discovering later that you’re still tied to the mortgage.
- Confusing use with ownership and believing that the person living in the house is already its sole owner.
- Setting the house value “by eye” for the termination of co-ownership instead of using an impartial appraisal.
- Underselling to finish quickly and losing 10% or more of the value in the process.
- Keeping the house in common without a written pact on expenses, use and a review date.
Frequently asked questions
Can I be forced to sell if I don’t want to?
If the house is jointly owned and there’s no use attributed for minor children, either party can request division of the common property, which since the dwelling is indivisible ends in an auction. No one is obliged to remain co-owner, so it’s almost always better to agree a planned sale than to reach that point.
Do I keep paying the mortgage even if I leave the house?
Yes, while your name remains on the loan. Leaving the home does not release you from the bank: only novación with release of the co-debtor or sale with mortgage cancellation do.
Do I pay taxes if my ex buys my half?
The person who keeps the house pays the AJD for the termination of co-ownership. For the person leaving, if the compensation matches the real value of their share, generally there’s no capital gain for IRPF, but it’s wise to confirm based on the exact figures.
What happens to the use of the home when the children grow up?
Use granted because of minor children is temporary and reviewable. Many agreements set a limit —an age for the children or a term— after which the house is sold or liquidated. Putting this in writing avoids reopening the conflict years later.


