Dación en pago (a deed in lieu of foreclosure: handing the property back to the bank) is the legal mechanism by which a mortgage debtor hands their home over to the bank in exchange for the debt being cancelled in full. It sounds simple, but it has important nuances that affect both the debtor in difficulty and the investor considering buying assets in default situations. Understanding how it works explains why some flats reach the bank-asset market with complicated histories and how much real room for manoeuvre the debtor has before the process reaches auction.
Why dación en pago is not an automatic right
In Spain, unlike other countries such as the United States, someone whose mortgage is foreclosed can't simply hand the keys back to the bank and walk away free of debt. A mortgage is a loan contract secured on property: if the forced sale of the property doesn't cover the total outstanding debt, the bank can claim the difference from the debtor with all their present and future assets.
This was especially dramatic during the 2008-2014 crisis, when thousands of families lost their homes at auction for prices far below the mortgaged value and went on owing the bank the difference. A flat mortgaged for €200,000 and awarded at auction for €120,000 left the debtor with €80,000 of outstanding debt and no home. That situation created social and political pressure that led to significant legal reforms from 2012 onwards.
Nor is dación en pago regulated as a general right in the Código Civil (the Spanish Civil Code). It is a contractual arrangement: the bank or lender can accept it or not at its discretion, unless the specific conditions that do impose it are met.
When dación en pago is compulsory for the bank
The reform of the system for protecting mortgage debtors (Real Decreto-ley 6/2012, a Royal Decree-Law, and its subsequent development) set out specific conditions under which the bank is obliged to accept dación en pago. The debtor must meet all these requirements at the same time:
- Exclusion threshold: The debtor must be a private individual and be in a situation of particular economic vulnerability, which is defined by household income thresholds (in 2026, generally below three times the IPREM, the official income index used for public aid, for the household, or four or five times if a member has a disability, is dependent or has an illness that leaves them unable to work).
- Aggravating circumstances: In the previous four years, the burden of the mortgage on household income must have increased or at least one circumstance of particular vulnerability must have arisen: a large family, a single-parent family with dependent children, a minor in the household, a member with a disability above 33%, dependency or an illness that leaves them permanently unable to work, living with relatives in that situation, a victim of gender-based violence or of trafficking, or a debtor over 60.
- Mortgage payment above 50% of income: The monthly payment (including linked insurance) must exceed 50% of the household's net income.
- The home must be the main residence: It doesn't apply to second homes, investment properties or commercial premises. Only to the debtor's main residence.
- The mortgaged home must be the only home the debtor owns: If the debtor has other assets or rights of sufficient value to cover the debt, they don't meet the requirements.
When these conditions are met, the debtor can invoke the Código de Buenas Prácticas Bancarias (the Code of Good Banking Practice, which lenders must sign up to) and the bank is obliged to accept dación en pago as full cancellation of the debt, including interest, costs and any other outstanding charge. It can't even claim the difference if the value of the property is below the debt.
The step-by-step process for applying for dación en pago
If the debtor thinks they may qualify for this mechanism, the process has these stages:
- Proving the situation of vulnerability: Gathering documents that show the requirements are met: income tax return, certificate of unemployment benefits, certificado de empadronamiento (proof of registration on the local population register), libro de familia (the Spanish family record book), certificate of disability if applicable.
- Formal application to the bank: A written communication addressed to the lender's customer service department or mortgage debt department, formally applying to come under the Code of Good Practice and for dación en pago. The bank has a legal deadline of 1 month to assess the application.
- Prior negotiation: Before reaching dación en pago, the bank is obliged to consider other, less drastic measures: restructuring the debt (extending the term, a temporary repayment holiday), a write-down of the debt, or letting the handed-over home. Only if these measures aren't enough does dación en pago go ahead.
- Deed of dación en pago: If the bank accepts (because the law requires it or voluntarily), it is formalised by a public deed before a notary. The debtor hands over possession and ownership of the property to the bank, and in exchange the bank cancels the mortgage in the Registry and waives any further claim.
- Possibility of renting afterwards: The rules allow the debtor who hands over the home to ask to stay in it as a tenant for a limited period (two years, if requested when applying for dación en pago), paying an annual rent of 3% of the total amount of the debt at the time of the dación.
Tax consequences of dación en pago
Dación en pago has tax consequences for the debtor that are not always explained clearly enough. The main ones:
- IRPF (Spanish personal income tax) — capital gain: Dación en pago technically involves a transfer of ownership. If the value of the cancelled debt (which is the consideration) is higher than the acquisition value of the property, there would in principle be a capital gain subject to IRPF. The law provides a specific exemption for daciones en pago of a main residence made where the debtor is insolvent under the requirements of the Code of Good Practice. This exemption is total if the conditions are met.
- Plusvalía municipal: The town hall can assess the plusvalía municipal (IIVTNU, the local tax on the increase in the value of urban land) on the increase in the value of the land from purchase to the dación. Since the 2021 ruling of the Tribunal Constitucional (Spain's Constitutional Court), the plusvalía can't be charged when there is no real gain. In a dación en pago where the debtor is in financial ruin, it is possible to challenge the plusvalía assessment, but each case has to be weighed up individually with legal advice.
Voluntary dación en pago: when the bank accepts without being obliged to
Outside the cases covered by the Code of Good Practice, the bank can also accept dación en pago voluntarily in situations where it suits it to dispose of the asset more quickly than through a mortgage foreclosure that can take years.
This happens especially when: the property is easy to sell on the market and the bank can recover most of the debt through a direct sale, when the foreclosure process threatens to last more than 2-3 years (with all the associated costs), or when the debtor is able to negotiate actively by playing on the speed of the process.
For investors, this situation is one of the sources of bank assets that appear at the most attractive prices: a bank that has received a property through dación en pago has an asset it wants to dispose of quickly. That creates opportunities for direct negotiation that don't necessarily go through the servicers' portals.
Alternatives to dación en pago that are not always considered
Before reaching dación, there are options that in many cases better protect the debtor's position in the long term:
- Voluntary sale of the property: If the market value exceeds the outstanding debt, the debtor can sell on their own, pay off the mortgage with the proceeds of the sale and keep the surplus. It avoids losing the asset entirely and its negative tax consequences.
- Debt restructuring: Extending the loan term, a capital repayment holiday, or even a novation with improved terms. Always analyse this before exploring dación.
- Segunda oportunidad (the "second chance" mechanism, under the Ley de Concurso de Acreedores, the Spanish Insolvency Act): The second-chance mechanism for private individuals allows, in certain cases, the discharge of unpaid liabilities, including the remaining mortgage debt. It is a more complex procedure than dación, but it may be the only way out when there are multiple debts besides the mortgage.
What investors need to know about properties that come from dación en pago
When you buy a bank repossession or a servicer asset, there is a reasonable likelihood that the property reached the bank through dación en pago or through being awarded at auction. For the investor, what matters is not how it reached the bank but the current legal and physical condition of the asset. But there is one aspect that does need checking: whether there is any leaseback (the former owner's right to stay on as a tenant) still to expire. These social rental contracts have a limited duration, but you need to confirm that it is no longer in force before any purchase.
Related resources: To better understand the mortgage process from the creditor's point of view, the article on how court auctions work explains what happens when dación en pago doesn't come in time. If you're looking for assets that have already come out of processes of this kind, the inventory of bank repossessions includes assets from daciones and repossessions all over Spain, and the guide to embargoed flats explains how to buy one before it reaches auction. For the tax side, the article on taxes on property investment covers the main taxes affecting both the debtor and the investor who buys.
Buy with data, not gut feeling
RadarPro combines algorithmic calculations and artificial intelligence to analyse the market and spot the best property opportunities.
Create a free account →