If you buy a Spanish property with outstanding debts, some of those debts can follow the property to you and others stay with the seller. The answer depends on the type of debt and on what is registered. Mecan Legal explains how mortgages, embargoes, property tax and community arrears are treated, and what a foreign buyer should check before paying a deposit.
Key Takeaways
- A registered mortgage may affect a buyer until it is cancelled in the Land Registry, and a mortgage can stay registered after the loan is repaid. Seizure annotations (embargos) have their own validity, expiry and renewal rules. Paying a debt is a separate step from removing the entry.
- The unpaid IBI or community fees themselves are not registered charges, so a nota simple will not normally show them unless an embargo for them has been annotated.
- In an apartment building, the property you buy is legally charged with the previous owners’ unpaid general community expenses for the part of the year of purchase already due and the three previous calendar years.
- On a change of ownership, the property is charged with unpaid IBI on a subsidiary basis under article 64.1 of the Local Finance Law. The notary must request information and warn about it, but the buyer should still verify it with the town hall.
- If the seller is not resident in Spain and has no permanent establishment here, the buyer generally must withhold 3% of the agreed price and pay it to the tax office as a payment on account of the seller’s tax. If it is not paid, the property is charged with the lower of that amount and the seller’s tax.
- The purchase contract should say who settles each debt and when, and the funds for the seller’s lender should be handled at completion.
What Happens When You Buy a Spanish Property With Outstanding Debts?
Spanish law separates debts that are tied to the property from debts that belong to the seller personally.
Registered mortgages
A mortgage binds the property it is registered on, whoever holds it. But buying a mortgaged property does not automatically make the buyer personally liable for the seller’s mortgage loan. The property may remain subject to the lender’s registered security, but personal assumption of the underlying debt is a separate matter requiring appropriate agreement and, where the seller is to be released, the lender’s consent under article 118 of the Mortgage Act. Article 104 of the Mortgage Act says that the mortgage directly and immediately subjects the property to the obligation it secures, whoever possesses it. If the seller’s mortgage is still registered when you complete, the lender keeps its right against the property. The usual route is that the lender is paid from the sale price and then consents to cancellation, because, as a general rule, article 82 allows an entry made by public deed to be cancelled only by a final judgment or by a deed or other authentic document in which the person in whose favor it was registered consents to cancellation. A mortgage may also remain registered after the loan has been repaid without the debt still being enforceable, so the buyer’s lawyer should check that the entry is properly cancelled.
Embargoes and other registered annotations
When a creditor has obtained an embargo, it is normally annotated in the Land Registry. Article 71 of the Mortgage Act allows the property to be sold, but without prejudice to the right of the person in whose favor the annotation was made. In plain terms: you can still buy it, but the creditor’s right may travel with it. Preventive annotations are subject to expiry and renewal under article 86 of the Mortgage Act: as a general rule they lapse after four years and can be extended for further four-year periods, but only if the order extending them is presented to the Registry before the entry expires. So not every seizure annotation keeps its effect indefinitely until someone orders its cancellation. The buyer’s lawyer should verify whether each entry remains effective and how it will be cleared before completion. An embargo annotation is a reason to stop and plan the clearance before the deposit, not after.
Property tax (IBI)
IBI is the annual municipal property tax. Under article 64.1 of the Local Finance Law, when ownership changes the property remains charged with payment of the full IBI tax quota on a subsidiary basis, under the General Tax Law. The same article tells notaries to request information about IBI debts linked to the property and to warn the parties about them in the deeds they authorize. Do not rely on the notary alone: ask for the latest IBI receipts and a position from the town hall, and compare them with what the notary reports.
Community of owners arrears
For an apartment or other unit in a building, article 9.1.e of the Horizontal Property Act is the key rule. The buyer answers with the property for the general expenses owed by previous owners, up to the amounts attributable to the part of the year of purchase that had already fallen due and the three previous calendar years. The flat itself is legally charged with this obligation. In the deed, the seller must declare that they are up to date or state what is owed, and must provide a certificate of debt from the community, issued within seven calendar days of the request. Without it the deed cannot be authorized, unless the buyer expressly exempts the seller. A buyer may expressly waive the certificate, but that waiver does not in itself remove the statutory liability affecting the property for qualifying unpaid community expenses. Buyers should therefore avoid waiving the certificate merely to accelerate completion without understanding the financial exposure. Approved but unpaid special levies and the reserve fund are worth asking the administrator about separately, and the contract should say who pays them.
Non-resident sellers: the 3% withholding
If the seller is not resident in Spain and has no permanent establishment here, article 25.2 of the Non-Resident Income Tax Law makes the buyer responsible for withholding and paying 3% of the agreed price, or making the payment on account, as an advance on the seller’s tax. If it is not paid, the property is charged with the lower of that amount and the seller’s tax. This is one route by which a seller’s tax liability can reach the buyer’s property, and it depends on the seller’s tax residence, not nationality, so check where the seller is resident for tax purposes. The 3% is not the only tax point. If the seller is a non-resident individual and the sale is subject to the municipal land-value tax (plusvalía municipal), article 106.2 of the Local Finance Law makes the buyer the substitute taxpayer. The calculation, filing, payment and any price retention should be agreed in the contract. Our guide to selling property in Spain as a non-resident explains the seller’s side.
The seller’s personal debts
A seller’s unsecured debts, such as a loan with no mortgage, do not become the buyer’s debts by law just because the buyer bought the seller’s home. The risk is different: creditors may challenge a sale made in fraud of creditors. Article 1291.3 of the Civil Code lists contracts made in fraud of creditors as rescindable when the creditors cannot otherwise collect. This action is a last resort, available only when the creditor has no other legal remedy (article 1294), and it must be brought within four years (article 1299). Article 1297 presumes fraud in sales for value made by someone against whom an adverse judgment had already been given at any instance, or an embargo order issued, and a buyer who acquired in bad faith may have to compensate the creditors under article 1298 if the property cannot be returned. Article 1295 bars rescission where the property is lawfully held by third parties who did not act in bad faith. Whether and how that protects a buyer who contracted directly with the debtor depends on the facts, so a sale that is unusually fast, unusually cheap or paid to an unfamiliar account needs legal review.
Other Charges, Ownership Restrictions and Title Issues
Mortgages and unpaid property-related debts are not the only legal risks a buyer should investigate. A property may also be affected by seizure annotations (embargos), tax liability notices (afecciones fiscales), easements, usufructs, restrictions on disposal, contractual rights or outstanding urban-development obligations.
Each must be examined individually to determine whether it requires cancellation, third-party consent or specific contractual protection, because some registry entries may no longer be effective or may not represent an outstanding debt.
Ownership history also matters. Where a property has been inherited, the buyer’s lawyer should verify the succession documentation, the chain of title and the authority of all parties whose participation is necessary to complete and register the sale. An inheritance is not itself a property charge, but unresolved succession matters or third-party rights may prevent a straightforward transfer.
Not every restriction will appear in the Land Registry. Municipal planning records, community statutes and other relevant documentation may reveal development obligations, unauthorised alterations, restrictions on permitted uses or limitations affecting planned renovations or tourist letting.
For these reasons, a satisfactory nota simple should be treated as the starting point of the legal review, not as a guarantee that the property is free from every legal restriction. Any material issue should be identified before the buyer becomes unconditionally committed, with the purchase contract clearly addressing the documents, cancellations, consents or other measures required before completion.
How to Check Before You Pay a Deposit
The sequence matters because a deposit commits you before the diligence is complete. Our due-diligence checklist for foreign buyers covers the whole review. For debts, the practical steps are:
- Obtain a recent nota simple and read the charges section, including mortgages, embargo annotations and any other registered limits.
- Ask the seller for the latest IBI receipts and check the position with the town hall.
- Request the community’s debt certificate and the minutes of recent meetings, to see approved works or levies.
- Confirm who the registered owner is, and whether the person selling has the authority to sell.
- Repeat the nota simple shortly before signing, because a charge can be registered between your first check and completion.
- Put the debt position into the contract, including who settles each item and the consequence if a new charge appears.
If you pay a reservation deposit before these checks, read how the deposit is treated in our guide to the arras contract and reservation checklist and, if the deal fails, the guide on arras deposit refunds.
How Completion Works When the Seller Has a Mortgage
A common arrangement is that the sale price covers the seller’s remaining mortgage balance, and the lender is paid at completion so the mortgage can be cancelled. The balance should come from a written certificate from the lender, not from the seller’s verbal estimate. Two separate steps are involved: the economic cancellation, which means the debt is paid, and the registry cancellation, which means the entry is removed from the Land Registry. The buyer’s lawyer should confirm how both will be done and who is responsible for the second one. The lender’s certified outstanding balance should normally be settled directly through agreed completion payment arrangements, such as a bank draft or an appropriate bank transfer. The buyer’s lawyer should verify the beneficiary and payment instructions independently and arrange for the subsequent formal cancellation of the mortgage in the Land Registry. Any alternative custody arrangement must be expressly agreed and verified for the specific transaction.
Defects that are not debts, such as planning irregularities or building problems, are a separate topic covered in our guide to hidden defects after buying property in Spain.
Frequently Asked Questions
Can I lose a Spanish property I bought because of the seller’s old debts?
In some cases, yes. A registered mortgage can be enforced against the property after the sale, whoever owns it, and an effective seizure annotation can also affect a purchaser. Some unregistered items follow the property by law: unpaid IBI (article 64.1 of the Local Finance Law), community arrears within article 9.1.e of the Horizontal Property Act and, with a non-resident seller, an unpaid 3% withholding (article 25.2). Other personal debts of the seller need a separate check.
Does a nota simple show every debt on the property?
Not always. A nota simple reports what is registered at the date it is issued, such as mortgages and embargo annotations. Unpaid IBI or community arrears are not registered charges, so they will not normally appear unless an embargo for them has been annotated. Those two need their own documents from the town hall and the community administrator.
Who is liable for unpaid community fees when I buy an apartment?
Under article 9.1.e of the Horizontal Property Act, the flat you buy is legally charged with the previous owners’ unpaid general expenses, up to the amounts attributable to the part of the year of purchase that had already fallen due and the three previous calendar years. The seller must declare the position in the deed and provide a debt certificate from the community, unless the buyer expressly waives it.
Should the price be paid in full if the seller has a mortgage?
The usual approach is that the seller’s lender is repaid from the sale price at completion, so the charge can then be cancelled in the Land Registry. How this is arranged, and whether part of the price is held back, should be set in the purchase contract and checked with your lawyer before signing.
Is a very low price from a seller in difficulty a red flag?
It can be. A sale made to defraud creditors can be challenged under article 1291.3 of the Civil Code, and article 1297 presumes fraud when the seller already had an adverse judgment or an embargo order. A buyer who acted in bad faith may have to compensate creditors (article 1298). Article 1295 bars rescission where good-faith third parties lawfully hold the property. Whether that covers a buyer who dealt directly with the seller depends on the facts. An unusual discount deserves a legal check before any deposit.
Next Step
If you are comparing offers or have already been asked for a deposit, a legal review of the registry position and the debt documents comes before the money moves. Talk to a Spanish property lawyer at Mecan Legal. We will review what you have, tell you what is missing and confirm the scope of work in writing before starting.
Sources
- Mortgage Act, articles 71, 82, 86, 104 and 118 (BOE consolidated text).
- Horizontal Property Act 49/1960, article 9.1.e (BOE consolidated text).
- Local Finance Law, Royal Legislative Decree 2/2004, articles 64 and 106 (BOE consolidated text).
- Civil Code, articles 1291, 1294, 1295, 1297, 1298 and 1299 (BOE consolidated text).
- Non-Resident Income Tax Law, Royal Legislative Decree 5/2004, article 25.2 (BOE consolidated text).
This article provides general information about Spanish law and is not legal advice. Rules, taxes and procedures change over time and differ by region and municipality. Your purchase should be assessed individually under a written engagement.
Reviewed by Juan Diego Muñoz Espada, Spanish lawyer (ICAB no. 46968), on 26 November 2026.