JustaLina Martínez

Blog

Selling property in Spain with a mortgage: how it works

Selling property in Spain with a mortgage still on it tends to raise the same questions. Does the bank have to agree, what happens to the loan on the day of the sale, and how much of the price will you actually keep? If you live in the UK or anywhere else outside Spain, add one more, because non-resident sellers have part of the price held back for tax.

It matters because the loan sets the lowest price you can accept and the order of the paperwork. Get a step wrong and completion can slip, or the mortgage can stay recorded at the Registro de la Propiedad (the Spanish Land Registry) after the buyer has paid, which no buyer or lender will accept.

The direct answer is that you can sell a mortgaged property in Spain without the bank's permission. In most sales the loan is paid off at the notary on the day the deed is signed, using part of the buyer's money. The other option, where the buyer takes over your loan, only works if the bank agrees.

In this guide, you'll learn the five steps from debt certificate to Land Registry, how much a Spanish bank can charge for early repayment, why paying off the loan and clearing the register are separate jobs, and what changes if you're a non-resident or selling to buy again.

The bank can't block the sale

A Spanish mortgage is security over the property, and it doesn't stop you selling. Article 104 of the Ley Hipotecaria (the Mortgage Act) says the mortgage stays attached to the property whoever owns it. A buyer who completed without the loan cleared would inherit that charge, which is why buyers and their lenders insist on receiving the property libre de cargas, free of charges.

What your bank wants is to be repaid, so the usual route is to settle the balance at the notary on completion day, out of the price, and hand the buyer a clean title.

When the price won't cover what you owe

If the sale price doesn't cover the outstanding debt plus any early repayment fee, you'll have to make up the difference from your own funds on the day. The bank won't sign the carta de pago (the receipt confirming the loan has been repaid) without the full amount, and the mortgage stays on the register. Before you agree an asking price, check what your property is really worth and put that figure next to your balance.

Steps one to four: from the bank's figures to the notary

Do these in order, as each step relies on the one before.

1. Ask the bank for a debt certificate

The certificado de deuda pendiente (outstanding debt certificate) shows the capital owed on a given date and, where they apply, the interest and the early repayment fee. According to the Banco de España, a bank may charge for issuing certificates if it tells you the cost in advance, unless the document is needed to meet a legal obligation. The certificado de deuda cero (zero-debt certificate), which proves the loan has been repaid in full, is free. Ask early, as the notary will need an updated one for the signing.

2. Check your early repayment fee

Spanish banks call this the comisión por amortización anticipada. Ley 5/2019, the law governing property loans, limits what they can charge if you repay early. The fee can never be higher than the financial loss the bank actually suffers (article 23.8), and it has these caps:

Loan signed, taken over or changed from 16 June 2019Maximum feePeriod
Variable rate, contract option A0.15% of the capital repaidFirst 5 years
Variable rate, contract option B0.25% of the capital repaidFirst 3 years
Variable rate, after those periods0%Rest of the loan
Fixed rate2% of the capital repaidFirst 10 years
Fixed rate1.5% of the capital repaidFrom year 11
Variable switched to fixed by changing the contract or lender0.15% of the capital repaidFirst 3 years, then 0%

The caps come from article 23, sections 5 to 8, and your contract will contain only one of options A and B. If your mortgage was signed before 16 June 2019 and hasn't been changed since, read the early repayment clause in your deed and ask the bank to show the exact fee on the certificate, because the limits depend on the date and wording of your contract.

3. Put the cancellation in the deposit contract

When you sign the arras deposit contract (contrato de arras, the private agreement in which the buyer pays a deposit to reserve the property), state in writing that the property will be handed over free of charges and that the mortgage will be cancelled with part of the price when the deed is signed.

4. Pay the bank at the notary

On completion day the buyer pays the bank the balance shown on the updated certificate and pays you the rest. A representative of the bank, the apoderado (the person authorised to sign for it), receives the payment and signs the receipt. The Banco de España says the bank has to send its representative to the notary without charging you for it, and that the cancellation can also be processed electronically.

Step five: clearing the mortgage from the Land Registry

Paying the bank is what Spanish lawyers call cancelación económica (financial cancellation). It settles the debt, but the mortgage stays recorded at the Land Registry until a second process, cancelación registral (registry cancellation), is done. That needs a cancellation deed signed before a notary, with the bank taking part, which is then registered where your property is recorded.

Financial cancellationRegistry cancellation
What it isPaying the whole debt to the bankRemoving the mortgage from the Land Registry
ProofZero-debt certificate or receipt of paymentRegistered cancellation deed
Where it happensAt the bank or the notaryNotary, then Land Registry
Does the bank do it on its own?Yes, once it's paidNo, someone has to request and process it

A nota simple (land registry extract) shows which registry holds your property, which is worth checking in Marbella, where there's more than one.

What it costs and who pays

The cancellation deed carries notary and Land Registry fees, plus a gestoría (an agency that handles the paperwork) if you use one. It's exempt from the graduated rate of the Impuesto sobre Actos Jurídicos Documentados (stamp duty on documented legal acts) under article 45.I.B.18 of Real Decreto Legislativo 1/1993.

If you've agreed to sell free of charges, cancelling the mortgage is your cost unless the contract says otherwise. Where the bank handles the registry cancellation for you, the Banco de España says it can only charge fees and processing costs up to registration, must tell you the cost first, and can't ask you for a nota simple before issuing the zero-debt certificate.

Can the buyer take over your mortgage?

Yes, through subrogación (subrogation), where the buyer replaces you as the borrower and the outstanding debt is deducted from the price. The bank has to agree, it isn't obliged to, and it will assess the buyer like any new borrower.

Under article 1205 of the Spanish Civil Code and article 118 of the Mortgage Act, you're only released from the debt if the bank consents, expressly or tacitly. If it doesn't, you remain personally liable for a loan on a property you no longer own. The Banco de España also points out that banks aren't obliged to change the holder of a loan and can charge whatever fee the contract sets for it.

Selling to buy another home

There are three ways to handle the mortgage when you sell to buy again, and two depend on your bank saying yes.

The simplest is to sell first, which cancels the mortgage and tells you exactly what you have for the next purchase. The hard part is lining up the two signings.

A bridge loan (préstamo puente) lets the bank finance the new home before you've sold, and you repay the relevant part out of the sale price. If you don't sell within the agreed period you're carrying both debts, and the term, grace period and amount vary from bank to bank.

The third route is a cambio de garantía (change of collateral), where the mortgage is cancelled on the property you're selling and set up on the one you're buying, keeping the same loan. It needs the bank's agreement, a valuation of the new property and deeds signed before a notary, so ask the bank and your lawyer what it will cost before you commit.

How much you'll actually take home

Start from the sale price and take off:

the outstanding mortgage balance

the early repayment fee, if your contract has one

the notary, Land Registry and any gestoría costs of the cancellation

tax on the gain, and the plusvalía municipal (the council's tax on the rise in land value), both covered in Spanish property taxes

If you're a UK resident selling property in Spain, or tax resident anywhere other than Spain, there's one more deduction. The buyer has to withhold 3% of the price and pay it to the Spanish tax authorities on account of your non-resident income tax, under article 25.2 of the Impuesto sobre la Renta de no Residentes law (non-resident income tax). That money can't go towards clearing the mortgage on the day, so if the gap between price and debt is narrow, work out your figures with the 3% already taken off.

Spanish tax residents who reinvest in a new main home may qualify for the reinvestment exemption, and where the home sold had a loan, article 41 of the IRPF Regulation (the resident income tax rules) only counts the price minus the capital you pay off. I explain this in capital gains tax on Spanish property. Confirm the current rules with an abogado (lawyer) or asesor fiscal (tax adviser) before you sign.

Selling property in Spain with a mortgage: where to start

Everything starts with two numbers: what you owe the bank, fee included, and what the market will pay for your home. The rest follows from those, and if you're a non-resident, the 3% withholding belongs in the sums from day one.

If you're selling in Marbella, Nueva Andalucía, Estepona, Benahavís or Sotogrande, I can prepare the valuation, coordinate the cancellation with your bank and the notary, and stay with you until the deed is signed. You can see how I help sellers or get in touch with the details of your property and your mortgage.

More guides