Spanish tax residence certificate: how to get it
Updated for · figures checked
What the certificate is, how to request it from the Spanish Tax Agency in a few minutes, and which certificate you need if you now live in another country.
What is a tax residence certificate?
It is an official document from the Spanish Tax Agency (Agencia Tributaria) confirming that you are tax resident in Spain. You use it to prove your residence to another country’s tax authority, or to a bank or payer abroad, for example so that income from that country is not taxed twice.
There are two versions. If Spain has a tax treaty with the other country, the certificate says you are resident in Spain “in the sense of the treaty” with that country. If there is no treaty, it simply says you are resident in Spain. Both are issued in Spanish and English.
Who can get it?
Only people who are tax resident in Spain. The Tax Agency issues it when its own records show that you are resident, so if you have just moved, or your records say otherwise, it may not be issued straight away. Not sure whether you are resident this year? Use the tax residency calculator.
How to request it online
- Go to the tax residence certificates page on the Tax Agency’s website and choose to request the certificate.
- Identify yourself with Cl@ve, an electronic certificate or an electronic DNI.
- Fill in the form: who the certificate is for, what it is for and, if it is for a treaty, the country.
- Click “Validar solicitud”, tick “Conforme”, then “Firmar y Enviar”.
- Whenever possible the certificate is issued at once, as a PDF. You can download copies later under “Consulta de certificados expedidos”.
If it can’t be issued on the spot, the Tax Agency has up to working days. You can also request it in person at a Tax Agency office with form 01, ideally with an appointment.
How does the other country check it?
Each certificate has a secure verification code (CSV). The foreign authority enters it on the Tax Agency’s website to confirm the document is genuine, so a paper stamp is usually not needed. How recent the certificate must be is up to whoever asks for it, so check with them before you request it. If a country asks you to fill in its own form, such as France or Portugal, the Tax Agency recommends attaching the electronic certificate and noting on the form that it is attached separately.
What if it is refused?
If the Tax Agency’s records don’t show you as resident, you get a refusal document instead. You can reopen the request by sending documents that prove your residence in Spain, through the option “Presentar documentos y/o alegaciones”. A certificate can’t be appealed, but you can file a written disagreement within 10 days.
If you live abroad: get your new country’s certificate
The Spanish Tax Agency does not issue a “non-residence certificate”. If you no longer live in Spain, you prove it with a certificate from the tax authority of the country where you now live. It is valid for one year, and to use a tax treaty it must say you are resident “in the sense of the treaty”.
- United Arab Emirates: the Federal Tax Authority issues a Tax Residency Certificate through EmaraTax. For an individual it costs AED to apply plus AED for issuance, and takes about working days.
- United Kingdom: HMRC issues a certificate of residence online or by post, for countries with a tax treaty.
- United States: the IRS issues Form 6166; you request it with Form 8802 and the fee for individuals is $.
Keep proof of your days and your home too: a certificate shows where a country considers you resident, but Spain looks at its own rules. The tax residency calculator explains them.
Sources and last check
- Agencia Tributaria, certificados de residencia fiscal
- Orden EHA/3316/2010, disposición adicional segunda (BOE)
- Agencia Tributaria, acreditación de la no residencia
- UAE Federal Tax Authority, tax certificates
- IRS, Form 6166
Figures checked · next review January 2027 · How we check our figures