What costs are involved in selling a house with a mortgage?

Selling with an outstanding mortgage does not create a magic list of expenses: you simply add the costs of any property sale to those required to cancel (or manage) the loan. What changes is that part of the sale price goes straight to the bank, and your net proceeds may be lower than the asking price suggests.
Standard seller costs
- Agency fees, if selling through an estate agency (depending on the agreement).
- Municipal plusvalía tax (Tax on the Increase in Value of Urban Land), where applicable according to the town hall and your specific case.
- IRPF: any capital gain from the sale, if applicable, is declared according to the relevant tax rules.
- Energy performance certificate and, where applicable, other certificates or administrative steps prior to the sale.
- Outstanding community fees or IBI (property tax) debts, which usually need to be fully paid up to avoid delaying the transaction.
We do not set fixed percentages or amounts here: they vary by city, municipal plusvalía, tax base and contract terms. The best approach is to request simulations using your actual figures.
Mortgage-related costs
Early cancellation fee
Many mortgages include a fee if you pay off the loan early. The amount (if any) is specified in your title deed and loan conditions. Ask the bank for a detailed breakdown alongside the outstanding balance certificate: sometimes the 'total amount to cancel' already includes interest up to the completion date and this fee.
Land Registry cancellation costs
After paying off the bank, the cancellation must be recorded in the Land Registry. Notary and registry services carry costs for this procedure. Who pays these costs can be agreed upon, but the seller is usually involved as the encumbrance was theirs.
Bank coordination
There is not always a visible 'fee', but it involves time and potential delays: certificates, administrative steps between entities if the buyer finances with another bank, etc. An unplanned delay can cause extensions to the earnest money agreement (arras) or tension on completion day.
If there is debt forgiveness: a different cost (or impact)
If the bank forgives part of the debt, that amount may have tax implications as a capital gain. It is not a 'notary expense', but it is an effective cost you must anticipate when calculating the outcome of the sale.
How to do the sums before signing an earnest money agreement (arras)
- Agreed (or estimated) sale price.
- Minus mortgage balance at the scheduled completion date (with early cancellation fee if applicable).
- Minus agency fees, estimated municipal plusvalía, indicative IRPF and certificates.
- Minus any shortfall you must contribute if the sale price does not cover the debt.
The result is your approximate net liquidity. If it turns out negative or very tight, you will need to rethink the price, request debt forgiveness, or, in extreme cases, a dation in payment. Details of these options can be found in selling a house with debt or mortgage.
Common mistakes
An example breakdown (without making up amounts)
Imagine an agreed sale price, a certified balance as of the completion date, and an early cancellation fee specified in your contract. To that, you add municipal plusvalía according to your town hall, IRPF based on your capital gain, agency fees if contracted, and certificates. The net result is what you actually take home (or what you must pay if the outstanding balance exceeds the sale price).
Do these calculations twice: once with today's balance and once with the estimated balance on the planned completion date. The difference in interest between the two dates is often small, but in tight transactions, it can determine whether you complete or not.
- Calculating only 'sale price minus mortgage' and forgetting municipal plusvalía and IRPF.
- Using a balance from months ago: interest continues to accrue.
- Not asking about the early cancellation fee until the week of completion.
If you would like a combined assessment of debt, property value and exit costs, at Sky Real Estate we can review it with you. When the case requires detailed tax or document review, Sky Law steps in (European Legal Awards in Real Estate Law, 2023-2025).
Who pays what at the notary
In property sales between private individuals in Spain, it is common for the seller to pay the municipal plusvalía tax and certain costs linked to cancelling their mortgage, while the buyer pays most of the fees for their deed and new mortgage. The exact split is agreed upon: do not improvise on completion day. Agree it in the earnest money agreement (arras).