How to become a tax resident of Spain in 2026
More than 183 days in a calendar year, a centre of economic interests or family in the country, and a 24% rate for 6 years for people moving for work: a guide for foreigners.
In short: you become a tax resident of Spain if you spend more than 183 days in the country in a calendar year, have your main centre of activity or income in Spain, or your spouse and minor children live there. The status applies to the whole calendar year, and a resident pays tax on worldwide income.
| Item | In 2026 |
|---|---|
| Day rule | more than 183 days in a calendar year |
| Legal basis | Article 9 of Law 35/2006 on personal income tax |
| Centre of vital interests | yes: having the main part of your activity or income in Spain makes you resident even without 183 days |
| Special regime | people moving for work pay 24% on income up to $680,000 in the year of arrival and 5 more years |
| Is a residence permit needed | for non-EU citizens, yes; status by days arises without one, but you cannot stay more than 90 days without a permit |
| Residency certificate | Spanish tax agency, online with an electronic signature, free, valid for a year |
| Foreign income | always taxed: general scale of 19-47%, dividends, interest and capital gains at 19-30% |
Data checked 07.10.2026. Amounts in US dollars at the Central Bank of Russia rate on 7 October 2026.
Spain determines residency by calendar year and does not split the year: if a test is met, you are resident from 1 January to 31 December even if you arrived in July. A resident declares worldwide income and, with large foreign assets, also files a separate report on them.
There are three tests and any one is enough: days, centre of economic interests or family. People moving under an employment contract can use a regime with a fixed 24% rate. Below: how days are counted, how to become resident step by step, where to get the certificate and what citizens of particular countries should bear in mind.
We will review your situation for free
Describe your task in the chat and we will tell you where to start.
How days are counted in Spain
Under the day rule you are resident if you spend more than 183 days in Spain in a calendar year. The tax agency also counts temporary absences as days in Spain until you prove tax residency in another country with a certificate. A two-month trip home does not reset the count.
The other two tests work without counting days. Centre of economic interests: the main part of your business, work or income is directly or indirectly in Spain. The family rule: if your spouse, from whom you are not legally separated, and minor children habitually live in Spain, you are presumed resident until you prove otherwise.
| Situation | How it counts |
|---|---|
| More than 183 days in Spain in a calendar year | resident for the whole year |
| A 2-month absence without another country's residency certificate | the days away count as Spanish |
| Main business or source of income in Spain | resident without counting days |
| Spouse and minor children live in Spain | resident until proven otherwise |
| Arrival on 10 July, 175 days to year-end | non-resident for that year unless another test applies |
| Arrival on 1 June, 214 days to year-end | resident for the whole year, including January-May income |
Spain has no split year, so the date of the move decides the first year for which you declare worldwide income. You can count days by travel dates in our tax residency calculator.
How to become a tax resident of Spain: step by step
The status arises from the facts, but you must notify the tax agency, and the regime for inbound workers has to be claimed within a short window.
- Secure the right to live in the country. Non-EU citizens need a residence permit: for work, remote work, non-lucrative residence on passive income, study or family. EU citizens register in the foreigners' register.
- Get a foreigner's identity number. It doubles as your tax number: without it you cannot open an account, sign a lease or file a return.
- Register at your address. Registration with the municipality is the main proof that you live in Spain.
- Notify the tax agency of your residency. The registration form is filed online or at an office, stating your Spanish address and resident status.
- Apply for the inbound worker regime if you qualify. The application is filed within 6 months of starting work in Spain. After that the regime is not granted.
- File a tax return. The income tax return is filed from April to June of the following year. If foreign accounts, securities or property are worth more than $57,000 in any of the groups, a report on assets abroad is filed by 31 March.
- Request the residency certificate. It is obtained online on the tax agency's site with an electronic signature.
- Close residency in your previous country. Get confirmation of exit there and do not reach its day threshold, or both countries will demand a return.
Tax residency certificate and double tax treaties
The tax residency certificate is issued by the Spanish tax agency. The request is filed online with an electronic signature or through the electronic identification system, and the certificate is free. There are two kinds: a general certificate of residence in Spain and one for a specific double tax treaty. It is usually issued within a few working days and is valid for a year.
Spain has about a hundred double tax treaties. The certificate is needed to reduce withholding tax in another country and to show your previous country that you live in Spain. Spain credits foreign tax up to its own tax on the same income.
The treaty with Russia has applied since 2001, but in August 2023 Russia suspended its main articles: reduced rates on dividends, interest and royalties from Russia do not apply.
What changes in your taxes once you are resident
A Spanish resident pays income tax on worldwide income. Salary, business income, rent and pensions are taxed on the general scale from 19% to 47%, with a higher top rate in some regions. Dividends, interest and capital gains are taxed on a separate 19-30% scale. In addition, most regions levy a wealth tax, and assets above about $3.4 million are subject to the national solidarity tax.
The regime for inbound workers changes the picture for the year of arrival and the next 5 years: employment income up to $680,000 a year is taxed at 24% and above that at 47%, while foreign dividends, interest and capital gains are not taxed in Spain at all. The conditions: not having been a Spanish resident in the previous 5 years and moving under an employment contract, including for remote work, as a company director or as an entrepreneur with an innovative project. Below are the resident's rates by type of income.
| Income | Tax for a resident of Spain |
|---|---|
| Foreign income | always taxed |
| Dividends | 19-30% |
| Interest | 19-30% |
| Capital gains | 19-30% |
| Property sales | 19-30% |
| Crypto | 19-30% |
Gains on selling a main home are tax-free when reinvested in a new main home.
All rates, business taxes and worked examples are on the page taxes in Spain.
How to avoid becoming tax resident in two countries
Spain does not split the year, so in the year of a move it is easy to be resident in two countries at once: Spain for the whole year and your previous country for its first half. To avoid this, the move is planned so that you spend fewer than 184 days in Spain in the year of arrival or, conversely, leave your previous country's residency in advance.
If both countries treat you as resident, the treaty settles it: first where your permanent home is, then your centre of vital interests, then where you habitually live, then citizenship. Family and main income in Spain almost always decide the matter in Spain's favour.
The practical rule: get a residency certificate in the new country if you are leaving Spain, and keep evidence of days if you are arriving. Without another country's certificate the tax agency keeps treating absences as temporary.
Restrictions for certain nationalities
Spain's tax residency rules are the same for everyone, but citizenship affects the right to live in the country and the consequences of leaving.
EU citizens live and work in Spain freely and register in the foreigners' register. Non-EU citizens need a residence permit; the first step is a visa at a consulate, or an application from inside the country for remote workers.
A Spanish citizen who moves to a country on Spain's list of non-cooperative jurisdictions remains a Spanish tax resident for the year of the move and four more years.
The reduced rates of the treaty with Russia do not apply since Russia suspended its main articles in 2023. US citizens are taxed on citizenship wherever they live: Spanish tax is credited against US tax under the treaty.
Spanish tax residency means an unsplit calendar year, family and 6 months to claim the special regime
The law does not stop you from becoming a Spanish resident on your own. But mistakes cost more than fees: an arrival in June, and worldwide income for the whole year is taxed in Spain; family in Madrid, and you are resident though you spent 150 days in the country; the 24% rate application filed in the seventh month and the regime lost; the foreign assets report not filed. Murblz support removes these risks: Murblz specialists plan the date of the move, arrange the residence permit and registration, file for the inbound worker regime on time, prepare the return and the assets report and obtain the residency certificate. We guarantee professional work and a transparent process, and in most cases a result on the first filing.
The cost of support depends on the residence route and the make-up of your income; a manager will calculate it in the chat.
This topic in other countries
Tax residency in other countries:
- How to become a tax resident of Georgia in 2026
- How to become a tax resident of Kazakhstan in 2026
- How to become a tax resident of the UAE in 2026
- How to become a tax resident of Armenia in 2026
- How to become a tax resident of Monaco in 2026
- How to become a tax resident of Belarus in 2026
- How to become a tax resident of Turkey in 2026
- How to become a tax resident of Cyprus in 2026
- How to become a tax resident of Portugal in 2026
- How to become a tax resident of Thailand in 2026
- How to become a tax resident of Singapore in 2026
Relocation, taxes and business in this country:
- taxes in Spain
- moving to Spain
- how to get residency in Spain
- Spain remote work visa
- permanent residence in Spain
- self-employed in Spain
- Madrid guide
- cost of living in Spain
- company registration in Spain
Count your days and compare countries:
- tax residency calculator: 183 days by travel dates
- taxes around the world: rates compared
- the 183-day rule in plain words
FAQ
How do I become a tax resident of Spain?
How many days do I need to live in Spain for tax residency?
Can I be a Spanish resident for part of a year?
How do I get a Spanish tax residency certificate?
What is the regime for inbound workers in Spain?
What tax does a Spanish resident pay on foreign income?
Do I have to report foreign assets?
Does a Spanish residence permit give tax residency?
Don’t want to figure this out alone?
We handle the whole process end to end: we check your documents, match a program to your situation and give you honest timelines and costs. Ask your question in the chat: the free consultation starts right here. Legal representation before authorities and courts is handled by Murblz specialists together with locally licensed partners.
The Murblz consultant replies straight away in the chat on this page. Describe your situation and we will work it out together.
Free consultationPrograms