A tax residency certificate in Spain (certificado de residencia fiscal) is the Agencia Tributaria's proof that you're tax resident in Spain, for foreign tax authorities and payers. It's issued only if the Tax Agency's data show you're resident. Request it online with Cl@ve, a digital certificate or an electronic DNI: the Tax Agency answers on the spot when possible or within ten working days.
Has a foreign tax office, bank or client asked you to prove you're tax resident in Spain? You need a tax residency certificate in Spain (certificado de residencia fiscal), which the Agencia Tributaria, Spain's Tax Agency, issues in its online office (sede electrónica) when its data show you're resident.
It's a document in which the Spanish tax authorities certify that, to the best of their knowledge, you're resident in Spain, so you can prove your tax residency abroad. The AEAT issues it only if its data show it, and the official model mentions no tax year or period. It's informative and can't be appealed: residence depends on the legal tests (see who counts as a tax resident in Spain).
💡 Under the Beckham Law (the special regime for workers, professionals, entrepreneurs and investors who move to Spain)? You can get the certificate, but the treaty version only in the cases the finance minister sets, on condition of reciprocity.
Other documents mention “residence” but prove something else:
| Document | Issued by | What it proves | Fee |
|---|---|---|---|
| Tax residency certificate | Agencia Tributaria | Tax residency in Spain | None listed by the AEAT |
| EU registration certificate (form EX-18) | Immigration office or police station | An EU or EEA citizen's registration as resident, with their NIE | Police fee |
| TIE (foreigner identity card) | Policía Nacional | A foreigner's identity and legal status | Police fee |
| Padrón certificate (certificado de empadronamiento) | Town hall | Your address in the municipality | Ask your town hall |
| Police residence or non-residence certificate | Policía Nacional | Residence status for immigration purposes | Police fee |
Only the first is designed to prove tax residency abroad. For the police fee, see how to pay the fee 790 012.
Typical cases:
IRPF taxpayers (people living habitually in Spain) and Spanish-resident companies can request it. Working abroad? See double taxation if you work abroad.
The AEAT won't issue it. To apply a treaty in Spain (in your modelo 210, for example), you need a certificate from your own country's tax authority saying you're resident within the meaning of the treaty, valid for one year from issue. Arriving or leaving mid-year? You're resident that calendar year if, in it, you spend more than 183 days in Spain or have your main economic interests here, and you're presumed resident, unless you prove otherwise, if your spouse and dependent minor children live here. Spanish nationals who move to a tax haven stay IRPF taxpayers that year and the next four.
Prefer Spanish? Read our guide in Spanish.
No tax year is asked for. To download it again, log in with the same digital certificate and open “Consulta de certificados expedidos”.
If you're not obliged to deal with the authorities online, take modelo 01 and your ID to the Tax Agency office for your tax address, booking in “Asistencia y Cita” or on 91 333 5 333. The certificate reaches your DEHú (electronic notifications inbox), the e-office and your letterbox. A representative (apoderado) or colaborador social can apply for you, proving they represent you.
Their income tax is foral, run by their haciendas forales, not the AEAT.
| Topic | What to expect |
|---|---|
| Time | On the spot when possible; if not, up to ten working days to issue it or say no (20 for bulk requests). Silence isn't a yes |
| Language | Spanish and English |
| Validity | No general period in its own rules. For tax certificates in general, it's 12 months from issue for periodic obligations (3 months for one-off ones) unless specific rules say otherwise. The recipient decides what it accepts |
| Authenticity | Anyone can check it, and its copies, with its CSV code |
The AEAT refuses it when its data don't show you're resident. Online, you get a refusal document and can carry on without visiting an office:
📌 Laura lives in Madrid and receives dividends from a Portuguese company, which asks her for form 21RFI. She requests the certificate in the e-office choosing Portugal and notes in the form's AEAT box that it's attached separately.
It's the AEAT's proof of your Spanish tax residency, issued only if its data show it: pick the right version for the country asking and apply online. Being resident also means declaring your worldwide income in Spain.
Rather skip the e-office? In the TaxDown app we request it for you and, if the Tax Agency sends a notice before granting it, we reply on time. Get started with TaxDown.
TaxDown is the Spanish platform that helps you file your income tax return easily, quickly and with maximum savings. It's a social collaborator of the Agencia Tributaria (Spanish Tax Agency) and has more than 300 expert tax advisors who review every return.