relocation

Certificado de Residencia Fiscal: applying for the tax residency certificate

Anyone living as a resident in Spain will sooner or later come across one document: the certificado residencia fiscal. It is the official proof from the Agencia Tributaria (AEAT) that you are tax-resident in Spain and not in Germany, Austria or Switzerland. Without this certificate, a property sale automatically triggers the 3% withholding that applies to non-residents, foreign banks may apply unnecessary withholding tax deductions, and in doubtful cases the same income could end up being taxed twice. In this guide you'll learn the criteria the Spanish tax authorities use to determine your residency, how to apply via the Sede Electrónica or using Modelo 01, which documents you need, and what to do if the AEAT initially rejects your application.

Applying for the Certificado de Residencia Fiscal 2026

Not sure whether you're already tax-resident in Spain – or how to apply for the Certificado?

What is the Certificado de Residencia Fiscal?

The certificado de residencia fiscal is an official document issued exclusively by the Agencia Tributaria. It confirms to authorities, banks or foreign tax offices that a natural or legal person has their tax residence in Spain according to the data held there. However, the AEAT only issues the certificate if the data available to it actually indicates Spanish tax residency – so it is not a mere formality, but a substantive review of your tax status.

The document is particularly relevant wherever the avoidance of double taxation is at stake: with foreign banks and custody accounts, in the application of double taxation agreements (DTAs), and when selling a property in Spain if you are considered a resident.

Who needs the Certificado – and for exactly what?

Use case Why the certificate is needed
Selling a property in Spain as a resident Without proof, the notary will treat you as a non-resident – the buyer or bank will withhold 3% of the sale price as a tax deduction
Foreign bank and savings accounts (e.g. Raisin and comparable providers) Avoiding withholding tax deductions abroad under international agreements
Application of a double taxation agreement Proof of which state you are actually liable to pay tax in, when income originates from several countries
Submission to a foreign tax authority Confirmation that income is already subject to taxation in Spain

Note: Without this certificate, the non-resident withholding is automatically applied when selling a property – even if you have long been living as a resident in Spain. More on this in the guide Non-resident tax Spain.

The criteria for tax residency in Spain

According to Article 9 of the Spanish Income Tax Act (Ley 35/2006, IRPF), it is sufficient that one of the following criteria is met for you to be considered tax resident in Spain – regardless of whether the other criteria apply.

Criterion Specific meaning
183-day rule Stay of more than 183 days in Spain in the calendar year; sporadic absences count towards this, unless you prove tax residency abroad with your own certificate. Periods of cultural or humanitarian cooperation with Spanish authorities are explicitly excluded from this count.
Centre of economic interests The core of your professional activity or your economic interests lies directly or indirectly in Spain
Family connection (rebuttable presumption) Spouse (not legally separated) and minor children live in Spain

Note: The 183-day calculation is cumulative over the entire calendar year, not consecutive. Anyone spreading out their days to formally stay under the threshold should keep clean documentation of their own stay history – more on how the count works in the guide 90/180-day rule.

Requirements and documents for the application

Before applying for the certificate, you should make sure that your tax data with the AEAT already reflects your actual situation – for example through filed tax returns (IRPF) or a correct registered address (padrón). For the electronic application you need one of the following identification methods:

Access route Requirement
Cl@ve Prior registration in the Cl@ve system of the Spanish administration
Electronic certificate Valid digital certificate (e.g. FNMT), see also Certificado Digital & Cl@ve
DNI electrónico Only for holders of a Spanish electronic identity card
Modelo 01 in person Personal visit to the AEAT office responsible for your tax residence, no digital access needed

Step by step: applying via the Sede Electrónica

The online application is the fastest way and usually the only one where you receive the certificate immediately.

Certificado de Residencia Fiscal: desk with certificate and laptop, step markers for the online application via the Sede Electrónica; the 3% chip marks the tax withholding on a property sale when no proof of tax residence is provided.
  1. Go to the Sede Electrónica of the Agencia Tributaria and navigate to „Todas las gestiones" → „Certificados" → „Censales".
  2. Identify yourself with Cl@ve, an electronic certificate or DNI electrónico.
  3. Fill in the application form. If you are acting on behalf of a third party (e.g. as an authorised representative or tax advisor), tick the relevant box and enter the required details.
  4. Click on „Validar solicitud" and carefully check the displayed data.
  5. Click on „Firmar y Enviar".
  6. Tick the box next to „Conforme" and click on „Firmar y Enviar" again.
  7. If all requirements are met, the certificate is usually issued immediately. Via „Consulta de certificados expedidos" within the „Certificados" section, you can retrieve it again at any time – provided you access it with the same electronic certificate you used to submit the application.

Note:With the CSV (Código Seguro de Verificación) shown on the document, its authenticity can be verified at any time via the „Cotejo de documentos mediante código seguro de verificación" section on the Sede Electrónica – useful if an authority or bank abroad doubts the original.

Alternative: In-person application with Modelo 01

Anyone without digital access, or who prefers the in-person route, can also apply for the certificate directly at the AEAT office or delegation responsible for their tax residence. For this, the Modelo 01 form is submitted.

Feature Online (Sede Electrónica) In person (Modelo 01)
Identification Cl@ve, certificate or DNI electrónico Personal appearance, no digital access needed
Processing time Usually immediate Depends on processing at the office
Tracking Via „Mis Expedientes" Via the responsible AEAT delegation
Suitable for Applicants with digital access Applicants without Cl@ve/certificate

If the requirements are not initially met

Not every online application leads immediately to a certificate. If the system does not recognise Spanish tax residency based on the available data, the application is still accepted, but a rejection document is generated. In this case, the process is not automatically concluded:

  1. The application can still be completed, even if a positive certificate is not issued at first.
  2. Using the „Presentar documentos y/o alegaciones" function in the certificate issuance section, you can submit additional evidence of your residency in Spain.
  3. This reopens the procedure for renewed review.
  4. You can track the processing status at any time via „Mis Expedientes".

Note: Anyone who has not filed a Spanish tax return or cannot provide solid evidence of their centre of economic interests or the 183 days will more frequently encounter this correction loop. Complete documentation of your days of stay and your tax history will save you a second attempt.

Format and verifiability of the certificate

The issued document may look slightly different depending on how it was delivered: the section with the barcode, communication number and delivery address in the top right may be missing in some issuance methods. However, this does not affect its legal validity – what matters is the Código Seguro de Verificación (CSV), which allows authenticity to be verified at any time via the Sede Electrónica.

The special case of property sales: the 3 percent trap

If you sell a property in Spain, the notary checks your tax status. Without a submitted certificado de residencia fiscal, you will automatically be treated as a non-resident – with the consequence that the buyer, their lawyer or the financing bank withholds 3% of the total sale price and forwards it to the tax authorities. You can reclaim this amount later, but doing so takes time, often incurs additional gestor fees, and depends on the goodwill and speed of the tax authority. Anyone selling as a resident should therefore have the certificate in hand well before the notary appointment.

Note: You can find more on the distinction between resident/non-resident in property sales in the guide Non-resident tax Spain as well as on your ongoing obligations as a tax resident in the guide Taxes as a resident.

Most common mistakes when applying

Mistake Consequence
Application submitted only shortly before the notary appointment 3 percent withholding on property sale, lengthy reclaim process
No Spanish tax return as supporting evidence Rejection of the application, correction required via „Presentar documentos y/o alegaciones"
Days of stay not documented Unclear evidence in the 183-day test, especially in cases of sporadic stays abroad
Missing Cl@ve or certificate registration Online application not possible, detour via Modelo 01 in person required
Certificate from the other country not submitted Sporadic absences continue to be attributed to Spain, even though residency exists abroad

What comes next?

With the certificate in hand, you can avoid double taxation on foreign accounts, correctly inform the notary during a property sale, and properly allocate foreign income under existing double taxation agreements. At the same time, check whether you have further obligations as a tax resident – such as the annual IRPF declaration or, where applicable, the reporting obligation for foreign assets. Anyone moving from abroad with international income should also check whether the Beckham Law applies.

Checklist: applying for the Certificado de Residencia Fiscal

  • Digital identification prepared (Cl@ve, electronic certificate or DNI electrónico)
  • Tax history in Spain checked (IRPF returns filed, registered residence)
  • Days of stay in Spain documented, especially in borderline cases around the 183-day mark
  • For property sales: application submitted in good time before the notary appointment
  • When acting on behalf of third parties: relevant box on the application form ticked and power of attorney details ready
  • After receipt: CSV noted down so its authenticity can be verified later
  • In case of rejection: additional evidence submitted via "Presentar documentos y/o alegaciones"

Conclusion

The certificado de residencia fiscal is more than just a form – it is the key to ensuring that Spain and your home country agree on where you are liable to pay tax. The Agencia Tributaria only issues it if your tax history in Spain supports this, which is why keeping clean documentation of your days of stay and your tax returns is half the job. Applying online via the Sede Electrónica is the fastest route and, if the requirements are met, usually leads straight to the document; those without digital access go in person with the Modelo 01 to the relevant AEAT office. Anyone planning a property sale should obtain the certificate early on in order to avoid the automatic non-resident withholding.

Official sources

What is the Certificado de Residencia Fiscal?
It is an official document issued by the Agencia Tributaria confirming that, according to the data held by the authority, a person is tax resident in Spain.
How do I even become tax resident in Spain?
Under Art. 9 Ley 35/2006, just one of the following criteria is enough: more than 183 days' stay in the calendar year, the centre of economic interests being in Spain, or a spouse/minor children living there.
How do I apply for the certificate online?
Via the Sede Electrónica of the AEAT, in the section "Todas las gestiones" → "Certificados" → "Censales", identifying yourself with Cl@ve, an electronic certificate or DNI electrónico, then filling in the form and signing it digitally.
Can I also apply for the certificate without digital access?
Yes, using form Modelo 01 directly at the AEAT office or delegation responsible for your tax residence.
What happens if my application is rejected?
The AEAT issues a rejection document, but you can submit additional evidence via "Presentar documentos y/o alegaciones" and have the process reopened.
Why do I need the certificate when selling a property?
Without proof, the notary treats you as a non-resident, which means 3 % of the sale price is automatically withheld as a tax deduction.
How long does processing take?
For an online application via the Sede Electrónica, the certificate is issued immediately if possible; for in-person applications using Modelo 01, the duration depends on the relevant delegation.
How can someone verify the authenticity of my certificate?
Via the Código Seguro de Verificación (CSV) printed on the document, which can be checked at any time through the AEAT's Sede Electrónica.