Buying a foreclosed home in Spain

What a foreclosed home is, how it differs from a bank-owned flat or an auction, how to buy one and what risks it carries: charges and delays.

Ángel Visedo Tomás, Fundador de InvertirDeudaUpdated

What it means for a home to be under attachment

An attachment is a measure a court takes over an asset to secure the collection of a debt. If a home's owner does not pay, whether a mortgage, a personal loan, a tax debt or a judgment, the court can secure the property and order that it be recorded in the Land Registry. That record is called a preventive entry of attachment.

The entry expropriates nobody: the owner remains the owner and can keep living there. What it does is warn any third party that the property answers for a debt, and fix that creditor's position in the order of payment. That position, not the amount, is what most determines the risk of a deal on an attached property.

The entry expires, and that date matters

Preventive entries expire four years from the date of the entry itself, unless the law sets a shorter term. They can be extended for a further four years at the request of interested parties or by order of the authority that decreed them, provided the extension order is filed before the entry expires, and successive extensions are possible (article 86 of the Spanish Mortgage Act). Expiry is recorded in the registry at the request of the owner of the affected property.

Look at the date of the entry, not just the amount

A registry extract with a six year old attachment and no extension does not tell the same story as a recent entry. Before taking a charge at face value, check when it was entered, whether there is a marginal note of extension, and whether there is a note recording issue of the certificate of charges, which means the enforcement moved forward. The registry chronology is where the information nobody will summarise for you sits.

Foreclosed, bank-owned or at auction: not the same

It is worth not mixing concepts, because listings use the three terms interchangeably and they name different stages of the same story.

From unpaid debt to bank-owned flat: the stages of the same story
  1. Unpaid debtThe owner stops paying, whether a mortgage, a personal loan, a tax debt or a judgment.
  2. Foreclosed homeThe court secures the property and the attachment is recorded in the Land Registry as a preventive entry, but it usually still belongs to the debtor and nothing has been sold yet.
  3. Enforcement under wayThe marginal note recording issue of the certificate of ownership and charges shows the enforcement moved forward.
  4. Home at auctionThe court has called the sale of the asset to collect the debt, and the procedure is published on the BOE auction portal.
  5. Bank-owned flatThe institution has already taken it over, is the registered owner and resells it as an ordinary sale.

The three real routes to buying a foreclosed home

The three routes to buying a foreclosed home, compared
RouteWhat you buyWhat it requires
Judicial auctionthe property, through the best bid that clears the statutory thresholdslodging 20 per cent of the value of the asset, with a minimum of 1,000 euros (article 669.1 LEC), unless the auction notice says otherwise
Buying the debt firsta right to be paid: you step into the creditor's positionfar more analysis; the outcome may be a settlement with the borrower instead of the property
Agreeing with the ownerthe property, with part of the price used to clear the debt and lift the entrycoordination with the court and the creditor to obtain the cancellation order

1. The judicial auction of the property

The most direct route. The court puts the asset up for electronic auction and it is awarded to the best bid that clears the statutory thresholds. In ordinary enforcement the auction value is the appraisal minus the amount of prior senior charges shown in the registry certificate (article 666 of the Civil Procedure Act). To bid you must lodge 20 per cent of the value of the asset, with a minimum of 1,000 euros (article 669.1, as worded since Organic Act 1/2025); the court clerk may adjust that percentage, so the auction notice governs.

2. Buying the debt behind the attachment first

The professional route. Instead of waiting for the auction, you acquire the unpaid claim that prompted the attachment, which puts you in the creditor's position and gives you control over the pace of the procedure and the scope for settlement. It demands far more analysis, because you are buying a right to be paid rather than a flat, and the outcome may be a settlement with the borrower instead of the property.

3. Agreeing with the owner and lifting the attachment

It exists and it is used, though almost nobody explains it. The owner can sell, but cannot hand over the property free of charges while the entry is alive, so the deal is structured so that part of the price clears the debt and obtains the cancellation order. In fact, the law lets the debtor free their assets by paying principal, interest and costs in full at any time before the award is approved (article 670.7). It is a route that requires coordination with the court and the creditor, and no improvisation.

How to check whether a home is under attachment

  1. Request the Land Registry extract for the property. That is where the preventive entry of attachment appears, with its date, its amount and its order relative to other charges.
  2. Look at the marginal notes: the one recording issue of the certificate of ownership and charges shows an enforcement is under way, and the extension note tells you whether the entry is still alive.
  3. Search for the property on the BOE auction portal. If it is already called, the notice includes the certificate of charges, the appraisal, the reduction for senior charges and the occupancy status if it appears in the file.
  4. Cross check the cadastral reference with the Cadastre to confirm floor area, use and reference value, which is the tax base.
  5. Ask the homeowners' association for the debt certificate and check the property tax. Those debts do not show in the registry extract and follow the property.

The nota simple is the first document to request and also the most misread one: it shows what is registered, not community fees or IBI, which follow the property all the same.

What a nota simple is

The risks: charges, occupancy and timelines

The discount on a foreclosed home goes hand in hand with its risks, and all of them can be bounded before entering if you put the time into the registry analysis.

  • Prior charges: if you buy at auction, charges and entries ranking ahead of the claim being enforced survive and the buyer assumes the liability arising from them. Later ones are cancelled by court order at the buyer's request.
  • Occupancy: the property may be lived in by the debtor, their family or third parties, and recovering possession has a cost and a calendar.
  • Lease: there may be a live rental contract that survives the forced sale.
  • Timelines: the court sets the pace. It can speed up, be suspended, or be set aside if the debtor pays.
  • Condition: in many cases you will not be able to see it inside before deciding.

The rank of the charge rules

Before valuing a foreclosed home, look at which debt drives the procedure and its rank relative to the other charges. Whoever holds the senior charge is paid first when it is enforced, and at auction what decides whether a charge is cancelled or becomes yours is its registry position, not its amount. A small attachment behind a large mortgage leaves very little headroom; a first rank mortgage over a property with no other charges is a completely different deal.

The tenant may have the right to stay

If the landlord's right is extinguished by a forced sale arising from mortgage enforcement or a court judgment during the first five years of the contract, seven where the landlord was a legal entity, the tenant has the right to stay on until that term is completed (article 13.1 of the Urban Leases Act). And if the lease was entered in the Land Registry before the right that triggers the extinction, it continues for the agreed term. Buying the property can mean buying its lease too.

Occupancy and the one year clock

Where the file shows occupants other than the debtor, they are notified of the enforcement so that within ten days they produce the titles justifying their situation, and the auction publicity must state the occupancy status of the property. If you are awarded an occupied flat, you can request the eviction of those who are occupants in fact or without sufficient title, but within one year of acquisition. After that year, eviction can only be sought in ordinary proceedings.

The expensive mistake is letting the calendar run

Many buyers spend months trying to reach a deal with the occupier and find out too late that the fast enforcement route is no longer available. The year runs from acquisition of the property, not from the day negotiations break down. If you have no plan or budget for the eviction, that asset is not within your reach yet.

What happens if the auction draws no bidders

If there is no bidder, the court clerk lifts the attachment at the debtor's request. Since the reform, the creditor can no longer request the award where there have been no bids: it is the debtor, alone or at the creditor's suggestion, who may name a person willing to take the asset for at least 50 per cent of the auction value, or for the amount sufficient to fully satisfy the creditor without falling below 40 per cent (article 671). For an investor, that means the opportunity in an empty auction lies in the negotiation, not in the bid.

Worked example, illustrative figures

A home appraised at 160,000 euros carries a prior senior mortgage of 40,000, so the auction value comes out at 120,000. To bid you lodge 24,000, 20 per cent. You offer 86,000, which is 71.7 per cent of the auction value and above the 70 per cent threshold, so the award is approved the day after the close and you lodge the remaining 62,000 within the following twenty days. From there you assume the 40,000 prior charge, which is not cancelled. If the Cadastre reference value were 150,000 and the region's transfer tax rate were 8 per cent, the tax is 12,000 euros. Add 1,000 of registry and agency fees and 4,000 of outstanding association fees and property tax. Total cost: 143,000 euros. The margin against a value of 160,000 is 17,000 euros before refurbishment, occupancy and however long it takes. The figures and the tax rate are invented to illustrate the method.

When it pays off

Buying a foreclosed home makes sense when the discount on the real value is enough to absorb the charges you inherit, the tax calculated on the reference value, the cost of resolving any occupancy and the wait of the timelines. The key is not the discount percentage you see, but the total cost against the value of the property on the day you can actually use it.

And there is a precondition met less often than it seems: understanding the file. If you do not know which debt drives the attachment, its rank, what stage the procedure is at and who lives inside, you are not buying at a discount, you are buying blind at a low price.

Where we fit in

At InvertirDeuda we organise the information behind many attachments: the debt that originates them, the collateral, the rank of the charge, the judicial phase and the occupancy of the property. We do not buy for you or promise an outcome. And what is missing we do not fill in: you will see No data, so you know where your gaps are before deciding.

This guide is informational and does not replace legal or financial advice. Investing in foreclosed property carries a risk of loss and uncertain timelines.

Tell me about new assets in my province

New assets enter the catalogue every week: mortgage-backed debt, judicial auctions and foreclosure assignments. We send you the ones in your province, with the judicial stage explained, no account needed.

Controller: Hispania Data Solutions, S.L. Purpose: emailing you the new assets in your province. Basis: your consent, confirmed in the email and withdrawn any time with one click. Rights: privacidad@hispaniasolutions.com. More in the privacy policy.

Frequently asked questions

Can you buy a foreclosed home directly from the owner?
You can buy it, but the owner cannot hand it over free of charges while the attachment entry is alive. The deal is structured so that part of the price clears the debt and the cancellation order is obtained. The law also lets the debtor free their assets by paying principal, interest and costs at any time before the award is approved.
What is the difference between a foreclosed home and a bank-owned flat?
A foreclosed home has a recorded attachment and usually still belongs to the debtor: nothing has been sold yet. A bank-owned flat already belongs to the institution, which is the registered owner and resells it as an ordinary sale. They are different stages of the same process.
How do I know whether a home is under attachment?
By requesting the Land Registry extract for that property. The preventive entry of attachment appears there with its date, its amount and its order relative to the other charges, and the marginal notes tell you whether the certificate of charges was issued and whether the entry has been extended.
Does an attachment over a home expire?
Preventive entries expire four years from the date of the entry, unless the law sets a shorter term, and can be extended for a further four years if the extension order is filed before the entry expires, with successive extensions possible. Expiry is recorded at the request of the owner of the property.
Is buying a foreclosed home risky?
It has specific and boundable risks: prior charges that survive if you buy at auction, possible occupancy, a lease that can survive the forced sale, and court timelines you do not control. The discount compensates for those risks only if you analyse them before entering.
What happens to the tenant if I buy a foreclosed home?
They may have the right to stay. If the landlord's right is extinguished by a forced sale arising from mortgage enforcement or a court judgment during the first five years of the contract, seven where the landlord was a legal entity, the tenant stays until that term is completed. And if the lease was registered before the right triggering the extinction, it continues for the agreed term.
Can I view the home before bidding?
You can ask. During the bidding period any interested party can ask the court to inspect the property, and the court passes the request to whoever is in possession, seeking their consent. It is not automatic, but the law encourages that cooperation with a possible debt reduction for the debtor.
What happens if the debtor pays before the auction?
The deal disappears. The debtor can free their assets by paying principal, interest and costs in full at any time before the award is approved, and the auction is then cancelled or set aside. It is a normal outcome worth allowing for before investing time in a file.

Sources