How can
we help you?

Graffiti letters
  1. FAQ
  2. For non Spain citizen
  3. Fiscal residence

How do I get a tax residence certificate in Spain?

Last updated: November 19, 2026

You request a tax residence certificate (certificado de residencia fiscal) online at the electronic office of the Agencia Tributaria (the Spanish Tax Agency), logging in with Cl@ve or an electronic certificate. You can also request it in person or by phone, with an appointment.

To request it online:

  1. Go to the Agencia Tributaria’s electronic office.
  2. Click “All Procedures”, then “Certificates”, then “Tax Registers”.


RESIDENCIA_EN_1.png

  1. Select “Tax Certificates. Issue of Tax Certificates. Tax Residence” and click “Request”.


RESIDENCIA_EN_2.png

  1. Log in with Cl@ve or an electronic certificate (also called a digital certificate). If you don’t have one yet, see how to get a digital certificate.
  2. Fill out the form, validate it and sign it.

Can I request a tax residence certificate in person?
Yes. You can also get a tax residence certificate in person or by phone, by booking an appointment with the Agencia Tributaria.

What is a tax residence certificate used for?
A tax residence certificate (certificado de residencia fiscal) proves that you are a tax resident in Spain to another country’s tax authority, a foreign client or a financial institution. With the certificate, you can apply the Double Taxation Treaty (Convenio de Doble Imposición) between Spain and that country and avoid being taxed twice on the same income.

For example, an autónomo who is a tax resident in Spain and invoices a client in another country can give the client the certificate, so that no withholding tax is applied at source, or a reduced rate applies, depending on the treaty.

How long is a tax residence certificate valid?
A tax residence certificate is valid for one year. If you need to prove your tax residence after that period, request a new certificate by following the same steps.


Xolo helps expats who work as autónomos in Spain with their invoicing and taxes. Autónomos who have just moved to Spain can manage their taxes with Xolo.


Did this answer your question?