The interaction between a mortgage on your primary residence and Spain's Second Chance [insolvency](/en/glossary/insolvency) procedure is one of the most emotionally charged and practically complex areas of personal insolvency law. The fear of losing the family home stops many people from seeking the debt relief they are legally entitled to — but the reality is more nuanced than the simple narrative of "insolvency means you lose the house".
The legal classification of mortgage debt in insolvency
In Spain’s insolvency framework, creditors are classified according to their security:
- Specially privileged creditors (acreedores con privilegio especial): creditors secured on specific assets — mortgage lenders on the mortgaged property, pledge creditors on pledged assets. They are paid first from the proceeds of the specific asset.
- General privileged creditors (acreedores con privilegio general): Social Security, AEAT, employee wage claims (up to specified limits).
- Ordinary creditors: unsecured creditors — banks (personal loans), credit card issuers, suppliers, guarantors.
- Subordinate creditors: related-party loans, contractual penalties, interest accruing after insolvency.
The mortgage lender is a specially privileged creditor. This means the mortgage debt is resolved primarily through the mortgaged property — not from your other assets. The EPI can discharge unsecured debts and the residual mortgage shortfall, but it does not extinguish the mortgage itself while the property exists and you wish to keep it.
The court stay: buying time from foreclosure
One of the most immediate practical benefits of initiating the Second Chance procedure is the stay of individual enforcement actions (paralización de ejecuciones individuales).
Art. 542 bis LEC provides: once the court notification reaches the executing court (juzgado de primera instancia handling the foreclosure), the foreclosure proceedings are suspended. The bank cannot proceed to auction while the stay is in force.
Duration of the stay:
- Pre-insolvency phase (Art. 583 TRLC notification): up to 3 months
- During the insolvency procedure: until the procedure concludes (may be 12–24 months)
This stay does not permanently prevent foreclosure — it provides negotiating time. Use this time to explore:
- Whether the mortgage can be restructured
- Whether dación en pago is available
- Whether the Código de Buenas Prácticas applies
Path 1: Keeping the home through restructuring
If you want to keep your primary residence, the procedure requires negotiating a new mortgage arrangement with the bank. The court cannot force a bank to restructure a performing mortgage — but the bank has a financial incentive: if they foreclose on a distressed property in the current market, the auction price may leave them with a larger loss than a restructuring would.
Typical restructuring elements negotiated during the Second Chance procedure:
- Interest rate reduction for a fixed period (interest holiday or rate reduction)
- Term extension (lengthening the mortgage to reduce monthly instalments)
- Capital grace period (paying only interest for 12–24 months, then returning to full capital + interest)
- Capitalization of arrears (adding arrears to the outstanding balance and restarting payments)
If the bank agrees and the court approves, the EPI is granted conditional on continuation of the restructured mortgage. The EPI discharges all unsecured debts. The restructured mortgage continues as the sole remaining obligation.
Key risk: if you default on the restructured mortgage after the EPI, the bank can resume foreclosure. The EPI protects unsecured creditors — it does not protect the mortgage if you stop paying.
Path 2: Surrendering the home
If the mortgage is unaffordable regardless of restructuring, or if the bank refuses to negotiate, the property enters the liquidation phase. Two scenarios:
a) Property covers the mortgage balance
If the property is sold at auction or transferred via dación en pago for a price equal to or greater than the outstanding mortgage balance, the mortgage debt is fully extinguished. No residual liability.
b) Property sale leaves a shortfall
This is the more common scenario for properties purchased at peak market prices. The shortfall — the difference between the outstanding mortgage balance and the sale price — becomes an ordinary creditor claim in the insolvency, dischargeable under the EPI.
This was a revolution in Spanish law. Before the Second Chance Law, mortgage shortfalls pursued homeowners indefinitely — sometimes for tens of thousands of euros on properties that had already been lost to foreclosure years earlier. The Second Chance Law terminated that cycle of perpetual debt.
Example: purchased for €220,000 in 2007 with a €180,000 mortgage. Current outstanding balance: €145,000. Foreclosure auction price: €95,000. Shortfall: €50,000. Under the EPI, that €50,000 residual is dischargeable as an ordinary creditor claim.
Dación en pago: transferring the property to clear the debt
Dación en pago is the voluntary transfer of the property to the bank in full settlement of the mortgage debt. Once accepted, the entire mortgage obligation — including any shortfall — is extinguished. The debtor leaves with nothing from the property but also owes nothing further to the bank.
When banks accept dación en pago:
- When the LTV (loan-to-value) is close to 100% and foreclosure costs would be high
- When the bank has access to a portfolio buyer for distressed properties
- In the context of the Código de Buenas Prácticas (Phase III — mandatory for qualifying debtors)
When banks refuse:
- High-equity properties where the bank expects a good auction result
- Multiple property owners
- Cases where the bank suspects the debtor has hidden assets
If the bank refuses dación en pago and proceeds to foreclosure, the shortfall is still dischargeable under the EPI. The refusal of dación en pago does not prevent discharge of the residual.
Joint mortgages: the co-debtor problem
When two people are jointly and severally liable for a mortgage (co-debtors), the EPI obtained by one affects only that person’s liability. The bank retains full recourse against the other co-debtor.
Practical consequences:
Separated/divorced couples: if both remain on the mortgage after separation, one spouse’s EPI discharge does not release the other from mortgage liability. The bank will then pursue the entire mortgage balance from the non-insolvent spouse.
Parents who guaranteed children’s mortgages: a parent who guaranteed a child’s mortgage remains fully liable even if the child obtains an EPI. The guarantee is a separate obligation from the principal debt.
Business partners who jointly guaranteed a property loan: each partner’s discharge covers only their personal obligations under the guarantee.
In most co-debtor situations, both parties need to enter the Second Chance procedure separately to achieve a complete solution.
The Código de Buenas Prácticas (CBP)
The CBP (RDL 6/2012, later extended) is a voluntary protocol binding on adhering lenders — which includes all major Spanish banks. For eligible debtors, it provides a three-phase protection framework:
Eligibility criteria (Phase I):
- Family income below €24,318/year (3× IPREM)
- Family financial situation changed significantly (job loss, medical event)
- Mortgage instalment represents more than 50% of net family income
- The mortgaged property is the family’s primary residence
Phase I: bank must offer a restructuring plan (payment reduction to 50% of income for 5 years via capital grace period and term extension).
Phase II: if Phase I is insufficient, bank must offer additional measures including capitalization of arrears and interest rate reduction.
Phase III: if Phases I and II fail, bank must accept dación en pago for the primary residence, fully extinguishing the debt.
The CBP can run parallel to or independent of the Second Chance procedure. If the CBP resolves the mortgage, the Second Chance procedure can focus on the remaining unsecured debts.
How BMC can help
Our insolvency advisory and Second Chance Law team has handled numerous cases involving mortgaged primary residences. We assess each case’s specific characteristics: outstanding mortgage balance, current property value, bank’s known negotiating position, and the debtor’s income capacity.
We advise on whether the CBP applies, negotiate with the bank during the insolvency stay, structure the EPI application to maximise dischargeable debts, and manage the co-debtor complexities that arise in divorce and separation situations.
If you are facing mortgage arrears alongside other debts, contact us for an initial assessment. The stay of enforcement that comes with the Second Chance procedure may provide more time than you think to find a workable resolution.