Modelo 211: the 3% retention when you buy a property from a non-resident

Last updated 31 July 2026 · Reviewed by Jaime Piñeira Pardo, lawyer registered with the ICAM bar, no. 138826 · English version of our Spanish guide.

If you buy a property in Spain from a non-resident seller, the law requires you to withhold 3% of the agreed price and pay it to Hacienda (the Spanish tax authority) using modelo 211 within 1 month of the deed. If you do not, the property you have just bought answers for the payment. The seller later recovers any excess with modelo 210.

We handle the whole procedure for you, from start to finish.

You describe your case in a chat and sign; we file it with the Spanish authorities. Fixed price from €199.00 (21% VAT included), plus the tasa (official fee) where there is one.

See the procedure

What is new, and the law that applies

  • 23 June 2026: Orden HAC/623/2026, of 12 June, is published in the BOE (the Spanish official gazette), amending Orden EHA/3316/2010 governing modelos 210, 211 and 213 of the IRNR. It does not alter the 3% percentage or the 1 month deadline of modelo 211. The changes it introduces in modelo 210, with new annexes and fields, apply from 1 January 2027.
  • 8 November 2021: Real Decreto-ley 26/2021 adapted the consolidated text of the Ley Reguladora de las Haciendas Locales (the Spanish local government finance act) to the case law of the Constitutional Court on the plusvalía municipal. The coefficients in article 107.4 are updated each year by a rule with the rank of statute, so the amount the buyer assumes as substitute depends on the year in which the sale is signed.

What modelo 211 is and why the law puts it on the buyer

Modelo 211 is the self-assessment return through which the buyer of a property located in Spain pays Hacienda 3% of the price when the seller is not tax resident in Spain. The tax belongs to the seller: it is the Impuesto sobre la Renta de no Residentes (Spanish non-resident income tax). The duty to withhold it and pay it in belongs to the buyer. It is laid down in article 25.2 of Real Decreto Legislativo 5/2004 and developed by article 14 of Real Decreto 1776/2004.

The Agencia Tributaria (AEAT, the Spanish tax agency) states it without qualification on its electronic office: the person who acquires the property, resident or not, is obliged to withhold and pay into the Tesoro Público (the Spanish Treasury) 3% of the agreed consideration. It makes no difference that you are Spanish and live in Valencia, or Belgian and buying from Brussels. It makes no difference that the seller assures you he will sort it out himself.

The 3% is not a tax that you pay. It is the seller's money that you set aside from the price and hand to Hacienda on his behalf, as a payment on account of the tax the seller will settle later. You do not lose a single euro by withholding. You lose a great deal if you forget.

How much is withheld, and whose money is it?

You withhold 3% of the agreed consideration, that is, of the price stated in the deed of sale. Not the reference value of the Catastro (the Spanish property cadastre), not the cadastral value, not the bank's valuation. If the agreed price is €300,000, the withholding is exactly €9,000.

The money comes out of the seller. At completion the buyer hands the seller €291,000 instead of €300,000 and sets the remaining €9,000 aside for Hacienda, to be paid in with modelo 211 within the following month. The total price the buyer pays is the same: what changes is that part of it goes to the Tesoro Público and not into the seller's pocket.

That is why it is worth settling this in writing before you reach the notario (the Spanish notary who authorises the deed). Signing day is no moment to discover that the seller expected to receive 100% of the price. If you pay the full €300,000 and then have to pay in €9,000 out of your own pocket, you will not recover that money from anyone.

Nor is the 3% the seller's final tax. It is an advance. It can fall short and it can overshoot, and the adjustment is made afterwards with modelo 210.

Deadlines: 1 month from the deed for modelo 211, 3 more months for modelo 210

Article 14.3 of Real Decreto 1776/2004 sets a deadline of 1 month from the date of the transfer, and the transfer is the signing of the deed, not the handover of the keys or the entry in the Land Registry. Time runs from date to date: if you signed on 10 September, the last day to file and pay is 10 October. If that day falls on a Saturday, Sunday or public holiday, it moves to the next working day.

The return is filed with the AEAT Delegación or Administración (the local tax office) in whose territory the property is located, not the one covering the buyer's home address. It is a detail that gets overlooked and that holds files up.

The seller has his own clock, and it starts when the buyer's stops: article 14.4 gives him 3 months counted from the end of the deadline for paying in the withholding. In total, 4 months from the deed to file modelo 210 and settle the final tax.

Running past the deadline has a fixed price. Article 27 of the Ley General Tributaria (the Spanish General Tax Act) applies a surcharge of 1%, plus a further 1% for each complete month of delay. From 12 months onwards the surcharge is 15% and late payment interest accrues as well. The surcharge is reduced by 25% if the requirements of article 27.5 are met.

If you do not withhold, the property you have just bought answers for it

This is the part almost nobody reads. The third paragraph of article 25.2 of Real Decreto Legislativo 5/2004 says that, if the withholding or the payment on account has not been paid in, the assets transferred will be charged with the payment of whichever is the lower amount, that withholding or the corresponding tax. The charged asset is your house.

Article 14.5 of the implementing regulation adds the registry mechanism: the property registrar will record it by a marginal note on the relevant entry, stating the amount for which the property answers. That note stays in the registry history, appears on the nota simple (the Land Registry extract) and gets in the way of any later resale, inheritance or mortgage. It is cancelled by lapse of time, or by producing the payment receipt, or with an administrative certificate showing that the tax does not apply or that the debt is time barred.

The logic is simple and merciless. By the time the administration discovers that the payment is missing, the seller has been paid and is outside Spain. Chasing him there is slow and expensive. The property, by contrast, sits in a Spanish registry with a name on it: yours.

On top of the charge come the surcharges for late filing and the possible tax penalty for failing to pay in, which article 25.2 itself expressly mentions when it says that the charge applies without prejudice to any penalties that may apply.

When you do NOT have to withhold the 3%

Article 14.2 of Real Decreto 1776/2004 allows only two cases. The first: that the transferor proves that he is subject to the Impuesto sobre la Renta de las Personas Físicas (Spanish personal income tax) or to the Impuesto sobre Sociedades (Spanish corporation tax) by means of a certificate issued by the competent body of the tax administration. The second: the contribution of property on the incorporation or capital increase of companies resident in Spanish territory.

The first is the one that turns up in real life, and it is worth understanding what proof is demanded. The only proof is that certificate from the tax administration. A NIE (the foreigner identification number in Spain) is not enough. A certificate of empadronamiento (registration on the padrón, the town hall's roll of residents) is not enough. Nor is a Spanish bank account, nor an electricity bill, nor the fact that the seller has been coming to the house every summer for 15 years. If the seller states that he is resident but does not put the certificate on the table, the law still requires you to withhold.

The 1 month deadline does not stop while the seller applies for his certificate. The prudent course is to withhold and pay in on time, and if it is later proved that the seller was resident, ask the AEAT to correct the self-assessment. A payment that is corrected is recovered. A missed deadline cannot be undone.

Watch out for two cases that do require withholding even though it may look otherwise: when the seller is a non-resident company without a permanent establishment, and when the sale is made at a loss. In both, the 3% is withheld just the same.

The seller's side: how the 3% is recovered with modelo 210

For the non-resident seller, the 3% is an advance, not the bill. The real tax is 19% on the capital gain obtained, under article 25.1.f).3.º of Real Decreto Legislativo 5/2004.

The gain is worked out as a difference. The transfer value is the sale price less the costs and taxes inherent to the transfer that the seller has paid. The acquisition value is what he paid when buying, plus the taxes and costs of that purchase and any improvements, less depreciation if the property was let. The difference between the two, at 19%, is the tax due.

If that amount is lower than the 3% withheld, the difference is refunded. The claim is made in modelo 210 itself, within the 3 months following the month of the withholding. The administration has 6 months to pay and, once those pass without payment having been ordered, late payment interest applies without the taxpayer having to claim it.

There is one document without which this does not work: the copy of the modelo 211 that was filed. It is the proof that the withholding was paid in and that the money is in the seller's name. The buyer must hand it over. A seller without that copy has a problem proving €9,000 that he has already paid.

If the sale produced a loss, the tax due is zero and the whole 3% is refunded, but it does not arrive on its own: modelo 210 has to be filed to claim it. Anyone who does not file is making a gift of the money.

The other bill the buyer inherits: plusvalía municipal

Modelo 211 is not the only obligation the law shifts onto the buyer when the seller is foreign. Article 106.2 of Real Decreto Legislativo 2/2004 turns the acquirer into the substitute taxpayer for the Impuesto sobre el Incremento de Valor de los Terrenos de Naturaleza Urbana, the plusvalía municipal (the local tax on the increase in urban land value), when the taxpayer is an individual not resident in Spain.

Translated: the plusvalía municipal is owed by the seller, but the town hall claims it from you. And the deadline is different and shorter than the modelo 211 one: 30 working days from the transfer for transactions between living persons, under article 110.2.a) of the same consolidated text.

The nuance matters. This rule is triggered only when the seller is a non-resident individual. If the seller is a non-resident company, there is no substitute and the person liable is still the seller. The 3% of modelo 211, by contrast, is withheld in both cases.

That is two administrations, two deadlines and two counters for a single purchase. At Managora we handle them together, so that neither of the two calendars slips past you.

Step by step

  1. 1

    Check the seller's tax residence before signing(Before the deed)

    Ask in writing whether the seller is tax resident in Spain and request the certificate issued by the tax administration. If he does not have it, you have to withhold. At Managora we review that point before signing, which is when it can still be put right at no cost.

  2. 2

    Withhold the 3% at the moment of signing, not afterwards(On the day of the deed)

    The buyer hands the seller the price less 3% and sets that amount aside for Hacienda. It is advisable for the deed to record expressly the withholding made and its amount, to avoid later arguments about the price received.

  3. 3

    Gather the copia simple and the tax details of both parties(The first few days after signing)

    You need the notarial copia simple (the unstamped notarial copy) of the sale, the NIF or NIE of the non-resident seller, the cadastral reference and the ownership percentages if there are several buyers or sellers. That is the documentation we ask you for when the procedure starts.

  4. 4

    Calculate the base on the price stated in the deed(Within the first month)

    The base is the agreed consideration, that is, the agreed price that appears in the deed. The Catastro reference value is not used. If there are several sellers, the share corresponding to each one is identified.

  5. 5

    File modelo 211 and pay in the 3%(1 month from the date of the deed)

    It is filed with the AEAT Delegación or Administración for the place where the property is located and the amount withheld is paid in. We prepare it and file it electronically; the 3% is charged to the account the buyer tells us to use, because that money is what has been withheld from the price.

  6. 6

    Give the seller his copy of modelo 211(As soon as it is filed)

    It is the receipt proving that the withholding was paid to Hacienda in his name. Without it, the seller cannot deduct it in modelo 210 or claim the refund. We send you the stamped receipt so that you can pass it to the other party.

  7. 7

    Settle the plusvalía municipal if the seller is a non-resident individual(30 working days from the transfer)

    In that case the buyer acts as substitute taxpayer before the town hall. It is a local tax, with its own by-law and its own deadline, much shorter than the modelo 211 one. We handle it together with the 211 so that the calendars do not clash.

  8. 8

    The seller files modelo 210 and claims the refund if there is one(3 months once the modelo 211 month has elapsed)

    The real gain is declared at 19%, the 3% already paid in is deducted and the refund of the excess is claimed or the difference is paid in. The AEAT has 6 months to refund before interest starts running in the seller's favour.

A worked example

A resident of Germany sells a flat in Málaga for €300,000. He bought it in 2015 for €210,000 and paid €18,000 at the time in taxes, notario fees and Land Registry fees. On selling he bears €12,000 of costs: €3,000 of plusvalía municipal and €9,000 of agency commission. The buyer is resident in Spain.

  • Buyer's withholding: 3% of €300,000 = €9,000. At signing he hands €291,000 to the seller and files modelo 211 with the remaining €9,000 within the month following the deed.
  • Seller's transfer value: €300,000 less €12,000 of costs and taxes borne by him = €288,000.
  • Acquisition value: €210,000 plus €18,000 of taxes and costs of the 2015 purchase = €228,000.
  • Capital gain: €288,000 less €228,000 = €60,000.
  • Tax due at 19%: €11,400. Less the €9,000 already withheld, the seller still has to pay in €2,400 with modelo 210.
  • Same flat, another scenario: if he had bought it in 2022 for €285,000 with €20,000 of costs and taxes, the acquisition value would be €305,000 and the transaction would produce a loss of €17,000. The tax due would be zero and the AEAT would refund him the €9,000 withheld, in full.

The 3% is not the tax: in the first scenario it falls short and the seller still owes €2,400; in the second it is entirely excess and he recovers the €9,000. For the buyer, in both cases the obligation is identical: withhold €9,000, file modelo 211 within the month following the deed and give the copy to the seller.

All the deadlines of a sale by a non-resident

ObligationWho complies with itLegal deadlineRule
Withhold the 3% and pay it in (modelo 211)The buyer1 month from the date of the deedArt. 25.2 RDLeg 5/2004 and art. 14.3 RD 1776/2004
Give the seller a copy of modelo 211The buyerNo legal deadline of its own: in practice, when it is filedCriterion published by the AEAT on its electronic office
Declare the gain and settle the tax (modelo 210)The non-resident seller3 months once the month of the withholding has elapsedArt. 14.4 RD 1776/2004
Settle the plusvalía municipal (IIVTNU)The buyer, as substitute, if the seller is a non-resident individual30 working days from the transferArts. 106.2 and 110.2.a) RDLeg 2/2004
Refund the excess withheldThe AEAT6 months; after that, automatic late payment interestArt. 16 RD 1776/2004 and art. 31 Ley 58/2003
Claim the refund if it was not declared in timeThe non-resident seller4 years from the end of the deadline for paying in the withholdingCriterion published by the AEAT on its electronic office

Surcharge for filing modelo 211 late (art. 27 Ley 58/2003)

Delay in filing modelo 211Surcharge on the amount to be paid in
Filed within the legal monthNo surcharge
Delay of less than 1 complete month1%
1 complete month of delay2%
2 complete months3%
6 complete months7%
11 complete months12%
More than 12 months15% and, in addition, late payment interest from the day after the 12 months
Surcharge paid on time (art. 27.5)25% reduction of the surcharge

When the 3% does NOT have to be withheld, and what proves it

SituationIs withholding required?What proves it
The seller is tax resident in SpainNoCertificate of liability to IRPF or to the Impuesto sobre Sociedades issued by the tax administration (art. 14.2.a RD 1776/2004)
The seller has a NIE, empadronamiento or a bank account in Spain, but does not produce that certificateYesNone of those documents replaces the certificate
Contribution of the property to the incorporation or capital increase of a company resident in SpainNoDeed of incorporation or of capital increase (art. 14.2.b RD 1776/2004)
The seller is a non-resident company without a permanent establishmentYesIt is withheld in the same way as from an individual
The buyer is also a non-residentYesThe obligation does not depend on the buyer's residence
The sale closes at a loss for the sellerYesThe withholding is made just the same; the loss is evidenced afterwards in modelo 210

The figures in the rules, with their article

ItemValueWhere it is written
Withholding percentage3% of the agreed considerationArt. 25.2 RDLeg 5/2004 and art. 14.1 RD 1776/2004
Base on which it is calculatedThe price agreed in the deed, not the Catastro reference valueArt. 25.2 RDLeg 5/2004, the wording agreed consideration
Rate of the tax on the seller's gain19%Art. 25.1.f).3.º RDLeg 5/2004
Amount for which the property answers if it is not paid inThe lower of the withholding and the corresponding taxArt. 25.2, third paragraph, RDLeg 5/2004 and art. 14.5 RD 1776/2004
Where modelo 211 is filedAEAT Delegación or Administración for the place of the propertyArt. 14.3 RD 1776/2004
Cost of filing modelo 211 with the AEATIt is a self-assessment: it carries no filing tasa (official fee)Electronic office of the AEAT

Buyer and seller: two different obligations over the same 3%

If you are BUYING from a non-residentIf you are SELLING as a non-resident
Form you fileModelo 211Modelo 210
Deadline1 month from the date of the deed3 months once that first month has elapsed
On what amount3% of the price stated in the deed19% of the real capital gain
Whose money it isThe seller's: you only set it aside from the priceYours: it is a payment on account of your tax
What you need from the other partyThe seller's NIF or NIE and his full detailsThe copy of the modelo 211 already filed
What happens if you do not do itThe property is charged with the payment and surcharges accrueYou lose the refund of the excess withheld
Plusvalía municipalYou settle it as substitute if the seller is a non-resident individualThe town hall turns to the buyer, not to you
Who it is filed withAEAT Delegación for the place of the propertyAEAT, with the withholding already offset against the tax due

Official forms and where it is filed

Frequently asked questions

Who pays the 3% when buying a house from a foreigner, the buyer or the seller?

The money is the seller's and the obligation is the buyer's. The buyer withholds 3% of the price stated in the deed, does not hand it to the seller and pays it to Hacienda with modelo 211 within 1 month of the deed. For the buyer it is not an added cost: he pays the same price, only part of it goes to the Tesoro Público. For the seller it is a payment on account of his tax.

What happens if I do not withhold the 3% when buying from a non-resident?

The property you have just bought is charged with the payment. Article 25.2 of Real Decreto Legislativo 5/2004 provides that, if the withholding is not paid in, the assets transferred answer for the lower of that withholding and the seller's tax, and article 14.5 of Real Decreto 1776/2004 requires the registrar to record it by a marginal note on the entry. Added to that are the surcharges for filing late and the possible tax penalty.

How long do I have to file modelo 211?

1 month counted from date to date from the day of the deed of sale, under article 14.3 of Real Decreto 1776/2004. If you signed on 10 September, the last day is 10 October, and if that day is not a working day it moves to the next working day. After that the surcharges start: 1%, plus a further 1% for each complete month of delay, and 15% plus interest from 12 months onwards.

How do I get back the 3% withheld when I sell my house in Spain?

With modelo 210, within 3 months once the month the buyer had to pay in the withholding has elapsed. You declare the real gain, apply 19% and deduct the 3% already paid in. If the withholding exceeded the tax due, the AEAT refunds the difference: it has 6 months and, once those 6 months have passed, it pays late payment interest without any need to claim it. You need the copy of the modelo 211 filed by the buyer.

How do I know whether the seller is resident or non-resident in Spain?

There is only one piece of proof that releases you from withholding: the certificate of liability to IRPF (Spanish personal income tax) or to the Impuesto sobre Sociedades (Spanish corporation tax) issued by the competent body of the tax administration, under article 14.2 of Real Decreto 1776/2004. The NIE, the certificate of empadronamiento, a Spanish bank account or the fact that the seller has been coming to Spain for years are not enough. If that certificate is not on the table on signing day, withhold.

Is the 3% calculated on the deed price or on the Catastro reference value?

On the price. The law speaks of the agreed consideration, that is, the amount agreed that appears in the deed of sale. The Catastro reference value affects the Impuesto sobre Transmisiones Patrimoniales (Spanish transfer tax), which is a different tax, regional and payable by the buyer. They are two separate calculations that do not mix.

I sold at a loss, do I get the whole 3% back?

Yes, but you have to claim it. The withholding is made just the same even if the sale produces a loss: the buyer cannot decide on his own not to pay it in. You file modelo 210 declaring the loss, the tax due comes out at zero and the AEAT refunds the 3% in full. If you do not file modelo 210, that money stays with Hacienda.

We handle the whole procedure for you, from start to finish.

You describe your case in a chat and sign; we file it with the Spanish authorities. Fixed price from €199.00 (21% VAT included), plus the tasa (official fee) where there is one.

See the procedure

Related procedures

The price, the tasa (official fee) and the current deadlines are on each procedure page.

Related guides