Monday 23 November 2026 Madrid

Search

Madrid and Spain news in English, from the capital outward.

Spain Tax Residency Rules: 183-Day Test and Certificate Steps

Spain treats anyone who spends more than 183 days a year in the country as a tax resident. Here is how the certificate works and how to report a move.

Mobile calculator app on tax documents.
Photo: Polina Tankilevitch / Pexels

A person who spends more than 183 days in Spain during a calendar year is a tax resident and must declare their income here, according to the property portal idealista, which summarised the rules in the Personal Income Tax Law. The Agencia Tributaria (Spanish Tax Agency) issues a certificate that proves this status, and it can be requested online or in person.

The rules matter for foreigners who split their time between Spain and another country, because residency decides where income is declared and helps avoid paying tax twice on the same earnings.

What does tax residency mean in Spain?

Tax residency is the status that obliges a person to declare income in a given country. The tax year matches the calendar year. Under Article 12.1 of the Personal Income Tax Law, all income earned in that year falls under the tax rules of the country of residence, even if part of it was earned abroad.

Double taxation agreements, many of them bilateral, set where a person with ties to two countries must declare income. Residents in Spain also declare income in their autonomous community, following Article 72 of the same law.

When does Spain consider someone a tax resident?

There are three circumstances. First, more than 183 days in Spain in a calendar year. Under Article 9.1, occasional absences count toward those days unless the person can prove tax residency in another country.

Second, family ties. Unless shown otherwise, the Tax Agency presumes habitual residence in Spain if the taxpayer’s spouse or dependent minor children habitually live here.

Third, economic interests. A person is a tax resident if the “main centre or base of their economic activities or interests, directly or indirectly” is in Spain.

Changing tax residence to lower a tax bill is legal if every requirement is strictly met. Spending fewer than 183 days of the tax year in Spain is among the factors.

How do you get a tax residency certificate?

The certificate can be requested on the Tax Agency’s website, or at any Tax Agency office with a prior appointment. The online process has three steps:

  • Log in with an electronic certificate, electronic ID card or Cl@ve Móvil (the government’s mobile identity app).
  • Fill in the form with your NIF or NIE number and your full name or company name, then choose the country with which Spain has an agreement, or “no agreement” if there is none, and validate.
  • Check the details and click “Sign and Send”. Idealista advises downloading the document as a copy in case of queries.

If the Tax Agency approves the request, it issues the certificate immediately, and the applicant must supply documents showing they meet the residency requirements. If it rejects the request, the applicant uses the “Submit documents and/or claims” procedure to provide evidence and reopen the case.

The certificate is particularly useful where double taxation is possible. A certificate from another country can show the Tax Agency that you are not required to pay tax in Spain.

How do you report a change of tax residence?

You update your tax address with Form 030. The address indicates your country of tax residence and therefore the tax system that applies. The change must be reported within three months. If the deadline for filing your tax return falls within those three months, the change is reported with the return.

What is the difference between tax domicile and tax residence?

Tax residence is the country or territory where you are required to pay tax. Tax domicile is the specific address registered with the Tax Agency for official notices and the administration of tax obligations. The two normally coincide.

Why it matters for people living in Spain

Moving a tax address abroad does not by itself prove tax residency in another country. A person who still meets the day-count, family or economic tests may remain a Spanish tax resident, and the Tax Agency may ask for proof of residency elsewhere.

Source: idealista/news