Deed in lieu of foreclosure in Spain: investor guide 2026

A deed in lieu of foreclosure (known in Spain as dación en pago) is an agreement under which a borrower hands a property over to the lender and, in exchange, the debt is cancelled in full or in part, without going through a mortgage enforcement. For investors in property-backed private debt it is a negotiated exit that can save time and costs, but only if the lender accepts it and the property comes without hidden surprises.

This guide looks at it from the lender’s side: how it differs from foreclosure, what to check before accepting it, the general tax picture, current trends and an illustrative, hypothetical example.

What a deed in lieu of foreclosure is and how it works in Spain

Spain’s Civil Code does not regulate the dación en pago in detail. It rests on the agreement between the parties and has been shaped by Supreme Court case law. The logic is simple: the borrower cannot repay and offers the lender the asset that secures the debt.

Three key ideas:

  • It is voluntary for the lender. No one can force a lender to accept a property instead of money, except under special regimes such as the banks’ Code of Good Practice for vulnerable households, which only binds the banks that have signed up to it.
  • It can be full or partial. In a full deed in lieu (pro soluto) the debt is extinguished when the asset is transferred. If the parties agree to cancel only part of it, the borrower still owes the rest. A different figure is the assignment of assets for payment (article 1175 of the Civil Code), where the debt is only reduced by what the asset fetches when sold.
  • It is executed before a notary and recorded at the Land Registry, like any property transfer.

In real estate private debt, a deed in lieu usually follows a period of default, when the borrower (normally a developer or property-holding company) concludes it will not be able to refinance or sell in time. To understand what happens before that point, see our guide to restructuring plans in Spain.

Deed in lieu, foreclosure and out-of-court sale: the differences

When a mortgage-backed loan defaults, the lender generally has three ways to recover its money through the property. The table sets out the main differences.

Source: Ondara Group, based on Spain’s Civil Procedure Act, Mortgage Act and Insolvency Act, November 2026
Aspect Deed in lieu Mortgage foreclosure Agreed out-of-court sale
How it starts Agreement between borrower and lender Court claim or notarial procedure Clause agreed in the loan deed
Indicative timing Weeks or a few months Often takes years In between, depending on the terms
Junior charges Remain: the property comes with them Charges ranking after the enforced mortgage are cancelled Depends on the structure
Possession Handed over voluntarily May require eviction Depends on cooperation
Main risk Hidden charges and clawback if insolvency follows Time, costs and depreciation Validity of the clause and valuation

We cover out-of-court sales in our article on bridge-to-term legal keys, and foreclosure at auction in Spain’s court property auctions.

Trends: what is happening worldwide and in Spain

  • United States: more troubled loans and more negotiated solutions. A PitchBook analysis published on 12 November 2026 notes that non-accrual loans at listed private credit vehicles (BDCs) have grown faster than the market itself over the past year, and that negotiated restructurings with lenders may be masking part of the stress (PitchBook). The takeaway for investors: out-of-court agreements such as a deed in lieu gain ground when defaults rise.
  • Euro area: bank non-performing loans remain contained. According to ECB Banking Supervision (release of 15 September 2026), the NPL ratio of significant institutions stood at 2.17% in the second quarter of 2026, compared with 2.22% a year earlier. Banks show no widespread stress, but that average does not reflect specific segments such as property development or SMEs.
  • Spain: more foreclosures on primary homes. On 16 September 2026, INE (Spain’s statistics office) reported 7,141 foreclosure certifications started in the second quarter, up 12.2% year on year; those on primary residences rose 27.5% to 3,703 (INE). The figures are provisional; third-quarter data are expected in December.

Aggregate default rates remain low, but defaults are rising in specific niches. There, the way they are resolved makes the difference to what the lender recovers.

What to check before accepting a deed in lieu

Residential building used as collateral in a deed in lieu of foreclosure

Accepting a property in payment is not the same as being repaid: it means swapping a loan for an asset that will need to be held and sold. Before signing, it is worth checking:

  1. Land Registry extract and charges. Unlike foreclosure, a deed in lieu does not cancel charges registered after the mortgage (attachments, second mortgages, tax liens). They must be identified and either cancelled or deducted from the value.
  2. Up-to-date valuation. A recent appraisal shows whether the property covers the outstanding debt. If it is worth less, the parties should agree whether the shortfall is forgiven or remains owed.
  3. Condition, possession and outstanding costs. Receiving it vacant, with property tax (IBI) and service charges paid, reduces the risk of occupation and extra costs.
  4. The borrower’s financial position. If the borrower enters insolvency within the following two years, the insolvency administrator can seek to unwind transactions that harmed the estate (articles 226 onwards of Spain’s consolidated Insolvency Act). A deed in lieu at fair value and properly documented reduces that risk.
  5. Tax cost of the acquisition. Depending on who transfers and the type of asset, the transfer is subject to transfer tax (ITP) or VAT, plus stamp duty on documented legal acts (AJD) if the VAT exemption is waived. It must be reviewed case by case.

Illustrative and hypothetical example: deed in lieu vs foreclosure

Assume a defaulted mortgage-backed loan with EUR 650,000 outstanding (principal and interest) and a property currently valued at EUR 650,000. We compare two routes that end the same way, with the lender selling the property:

  • Deed in lieu: 4 months to the deed and 6 months to sell (10 months in total); notary, registry and handling costs of EUR 6,000; sale at current value.
  • Mortgage foreclosure: 24 months to award and possession and 6 months to sell (30 months in total); court and legal costs of 3% of the debt (EUR 19,500); the property loses 5% of its value through time and condition.
  • In both cases: marketing costs of 3% of the sale price and EUR 1,000 a month in holding costs during the 6-month sale. Acquisition taxes are excluded, as they depend on each case.
Illustrative example prepared by Ondara Group, November 2026
Item Deed in lieu Mortgage foreclosure
Months until the money is recovered 10 30
Sale price EUR 650,000 EUR 617,500
Marketing (3%) EUR 19,500 EUR 18,525
Legal or completion costs EUR 6,000 EUR 19,500
Holding costs (6 months) EUR 6,000 EUR 6,000
Net amount recovered EUR 618,500 EUR 573,475
% of the debt recovered 95.2% 88.2%

Under these assumptions, the deed in lieu recovers EUR 45,025 more and 20 months earlier. But the outcome changes completely if the property carries undetected junior charges or if the borrower becomes insolvent and the transaction is unwound. Real timings and costs vary widely by court, property and borrower. The share of the debt that is not recovered is known as loss given default; we explain it in what LGD is.

Tax treatment of a deed in lieu: general points

For an individual borrower, handing over a property may produce a capital gain for personal income tax (IRPF). Article 33.4.d) of Spain’s Personal Income Tax Act exempts the gain on a deed in lieu of the borrower’s or guarantor’s primary residence to cancel mortgage debts owed to credit institutions or other entities that grant mortgage loans professionally, provided the owner has no other assets sufficient to pay the debt (BOE, Spain’s Official Gazette). The municipal capital gains tax has an equivalent exemption with its own requirements.

For a corporate borrower, the result of the transaction is included in corporate income tax. For the lender, besides the acquisition tax, the difference between the cancelled loan and the value of the property also has tax effects. Tax advice before signing is advisable.

Risks to consider

  • Default risk and loss of capital. A deed in lieu is a way out of a default, not a way to avoid one. If the property is worth less than the debt, the investor may lose part of the capital, or all of it in extreme cases.
  • Hidden charges and debts. The property comes with whatever charges it carries. An incomplete registry review can prove very costly.
  • Insolvency risk. If the borrower becomes insolvent, the deed in lieu can be reviewed and, if it harmed other creditors, unwound.
  • Illiquidity, timing and valuation. Until the property is sold the money does not come back, and a falling market can reduce the price.
  • Collateral mitigates, it does not eliminate. Having a property as security reduces risk, but does not make it disappear.

How Ondara Group works

Since 2018, Ondara Group has structured private debt transactions secured by real assets. We analyse each transaction before offering it: the value and registry status of the property, the LTV, the borrower’s repayment capacity and the exit plan, including what would happen if the property had to be recovered. We seek target double-digit returns, never guaranteed, and diversification across transactions. Investors deal directly with the management team and the minimum investment is EUR 25,000.

Frequently asked questions

Is the lender obliged to accept a deed in lieu of foreclosure?

No. It is a voluntary agreement. Only under special regimes, such as the Code of Good Practice for vulnerable mortgage borrowers with participating banks, can it be required in certain conditions.

Does a deed in lieu cancel the whole debt?

It depends on the agreement. In a pro soluto deed in lieu the debt is fully extinguished; if partial cancellation is agreed, the borrower still owes the difference.

Which is better for the investor, a deed in lieu or foreclosure?

It depends on the case. A deed in lieu is usually faster and cheaper, but the property comes with its charges and there is insolvency risk. Foreclosure is slower, although it cancels junior charges.

Can a deed in lieu be unwound?

If the borrower enters insolvency within the following two years, the insolvency administrator may seek to unwind it if it harmed the estate. An independent valuation and solid documentation reduce that risk.

In summary

  • A deed in lieu of foreclosure transfers a property to the lender to cancel all or part of a debt, without enforcement.
  • It is voluntary and comparatively fast and cheap, but it does not cancel junior charges and can be unwound if the borrower becomes insolvent.
  • In the illustrative example, the deed in lieu recovers 95.2% of the debt in 10 months, against 88.2% in 30 months through foreclosure.
  • Foreclosures on primary homes rose 27.5% in Q2 2026 according to INE, and troubled loans are growing in US private credit.
  • Property collateral mitigates risk, but does not eliminate it.

If you would like to know how we invest, register as an investor and we will explain how it works. The minimum investment is EUR 25,000.

This article is for information purposes only and does not constitute an investment recommendation or financial advice. All investments carry risks, including the possible loss of the capital invested, and past or target returns do not guarantee future returns. Analyse each opportunity with a professional before investing.

Otros artículos