Tax residency in Spain

When you become tax resident in Spain: the 183-day rule, centre of economic interests, modelo 720 on foreign assets, and the US and UK tax treaties.

Checked 26 November 2026 15 official and primary sources, listed alongside

This page is general information, not tax advice. For your own position, speak to a qualified tax adviser.

Why tax residency matters

If you are tax resident in Spain, you pay Spanish income tax (IRPF) on your worldwide income. The Agencia Tributaria's leaflets for residents with foreign income say you must declare income obtained anywhere in the world, subject to any tax treaty.

If you are not tax resident, you pay Spanish non-resident income tax only on income from Spanish sources.

Tax residency is separate from immigration status. The Agencia Tributaria's manual on non-residents says a person can have a residence permit in a country and not be tax resident there. Your TIE card does not decide your tax position.

The three tests

The tests are in article 9.1 of the IRPF law (Ley 35/2006). Meeting any one of the first two makes you tax resident.

1. The 183-day rule

You are tax resident if you stay in Spain for more than 183 days in a calendar year. This is article 9.1.a.

Sporadic absences count as days in Spain. The exception is if you prove you are tax resident in another country.

For countries classed as tax havens, the Spanish tax authority can ask you to prove 183 days of presence in that country.

Temporary stays in Spain under unpaid cultural or humanitarian cooperation agreements with Spanish public bodies are not counted.

2. Centre of economic interests

You are also tax resident if the main centre or base of your activities or economic interests is in Spain, directly or indirectly. This is article 9.1.b.

This test can apply even if you spend fewer than 183 days in Spain.

3. The family presumption

Spain presumes you are tax resident if your spouse (not legally separated) and your dependent minor children live habitually in Spain. You can rebut this with evidence. This is also in article 9.1.b.

Residence is decided for the whole year

Spain decides residence by calendar year. The Agencia Tributaria's manual says a person is resident or non-resident for the whole calendar year.

The same manual says a change of residence does not split the tax period.

Where two countries both treat you as resident in the same year, the tax treaty between them decides which one counts as your residence for treaty purposes. See the treaty section below.

Proving residence in another country

Residence in another country is proved with a certificate from that country's tax authority. The Agencia Tributaria's manual says these certificates are valid for one year.

The Beckham Law

If you become tax resident because you moved to Spain for work, you may be able to opt for the special regime known as the Beckham Law. It taxes general income at 24% up to €600,000. Read our Beckham Law guide for the conditions and the six-month deadline.

Modelo 720: assets held abroad

Modelo 720 is an information return on assets and rights held outside Spain. It is not a tax in itself.

The Agencia Tributaria's FAQ says the people who must file are individuals resident in Spain.

The return covers three groups of assets. These are set out in articles 42 bis, 42 ter and 54 bis of Real Decreto 1065/2007.

Bank accounts abroad. You do not need to report any account if the combined balances at 31 December, and the combined average balances for the last quarter, are each €50,000 or less. If either total is above €50,000, you report all accounts.

Securities, shares, funds and insurance abroad. You do not need to report if their combined value is €50,000 or less. Above that, you report all of them.

Real estate abroad. You do not need to report if the combined value is €50,000 or less. Above that, you report all of it.

The €50,000 limit applies to each group on its own, not to your total wealth.

The return is due between 1 January and 31 March of the year after the year it covers.

After your first return, you only have to file again for a group if its combined value has risen by more than €20,000 since the last return that you filed. You must also report assets you stopped holding during the year, as the regulation sets out for each group.

Cryptocurrency held abroad is not on modelo 720. It has its own return with the same €50,000 limit, under article 42 quater of Real Decreto 1065/2007.

People taxed under the Beckham Law do not have to file modelo 720, according to the Agencia Tributaria's FAQ.

The 2022 EU court ruling on modelo 720 penalties

Modelo 720 used to carry a special set of penalties. The European Commission challenged them at the EU Court of Justice.

On 27 January 2022 the Court ruled against Spain in case C-788/19.

The Court found three parts of the regime breached the free movement of capital (article 63 TFEU and article 40 of the EEA Agreement).

The first was taxing the value of undeclared foreign assets as "unjustified capital gains", with no time limit in practice.

The second was a proportional fine of 150% of the tax, which could be combined with fixed fines.

The third was fixed fines that were out of proportion to penalties for similar breaches in a purely domestic case, with no cap on the total.

Spain changed the law with Ley 5/2022, of 9 March. It came into force on 11 March 2022.

Its fourth final provision rewrote additional provision 18 of the General Tax Law. The reporting duty stayed, but the special penalty rules were removed from it.

Its fifth final provision rewrote article 39 of the IRPF law on unjustified gains. You can now defend yourself by proving you owned the assets since before the limitation period.

The Agencia Tributaria's penalties FAQ says late filing is now penalised under article 198 of the General Tax Law, and incorrect filing under article 199.

The FAQ adds that penalties apply separately to each of the three groups: accounts, securities and real estate.

Tax treaties: how double residence is settled

Spain has tax treaties with both the United States and the United Kingdom. A treaty decides which country may tax each type of income, and how double tax is relieved.

When both countries treat you as resident, the treaty has a tie-breaker. In the UK-Spain treaty, article 4.2 applies these tests in order.

First, where you have a permanent home available to you.

If you have a permanent home in both countries, the country where your personal and economic relations are closer (your centre of vital interests).

If that cannot be decided, or you have a permanent home in neither, the country where you have a habitual abode.

If you have a habitual abode in both or neither, the country of which you are a national.

If you are a national of both or neither, the two tax authorities settle it by mutual agreement.

The Agencia Tributaria's manual describes the same order of tests for treaties in general.

Spain and the United Kingdom

The treaty in force is the Convention signed in London on 14 March 2013. The Agencia Tributaria's UK leaflet cites it as published in the BOE on 15 May 2014.

HMRC's Spain tax treaties page lists the 2013 convention as in force from 12 June 2014.

The UK decides its own residence with the Statutory Residence Test. You can be resident in both countries under their own rules in the year you move.

UK private-sector pensions. Paid to a Spanish resident, these are taxable only in Spain under article 17, according to the Agencia Tributaria.

UK government service pensions. These are generally taxable only in the UK under article 18.2. Spain exempts them but takes them into account when setting the rate on your other income (exemption with progression). If you are a Spanish national, they are taxable only in Spain.

UK rental income. Both countries may tax it under article 6. Spain gives a credit for the UK tax.

UK dividends. Spain taxes them. The UK may also tax them, capped at 10% or 15% of the gross amount for a Spanish-resident beneficial owner.

UK interest. For a Spanish-resident beneficial owner, interest is taxable only in Spain under article 11.

The Agencia Tributaria's UK leaflet does not cover the UK State Pension on its own. Ask an adviser how it applies to you.

Spain and the United States

The treaty in force is the Convention signed in Madrid on 22 February 1990. It was amended by a Protocol signed on 14 January 2013. The BOE's consolidated text shows the Protocol changes in force from 27 November 2019.

The treaty has a saving clause. The Agencia Tributaria's US leaflet says it lets the US tax its citizens and residents as if the treaty were not in force.

The leaflet says US tax charged under that clause does not give you a Spanish double tax credit. In that case it is for the US to relieve the double tax.

US private-sector pensions. These are generally taxable only in Spain under article 20, according to the leaflet.

US Social Security. The leaflet says the US may also tax these payments. Spain gives a credit only where the US taxed them on a basis other than citizenship.

US government service pensions. These are generally taxable only in the US under article 21.2, with exemption with progression in Spain. If you are a Spanish national, they are taxable only in Spain.

US dividends. Spain taxes them. US tax for a Spanish-resident beneficial owner is capped at 15% of the gross amount, and Spain gives a credit up to that limit.

US interest. Spain taxes it. Where the US can tax it, the cap is 10% of the gross amount for a Spanish-resident beneficial owner.

Gains on US shares. Gains on shares in a US company (other than those tied to US real estate) are taxable only in Spain if you are a Spanish resident, under article 13.6.

What to do in your first year

Count your days. Keep travel records that show when you entered and left Spain.

Decide with an adviser whether you will be tax resident in your arrival year, and whether the Beckham Law is worth applying for.

Get your NIE early. You need a tax number to file anything.

List your foreign accounts, investments and property, and check each group against the €50,000 modelo 720 limit at 31 December.

A tax adviser (asesor fiscal) handles residence questions and treaty claims. A gestoría can file routine returns.

Questions people ask

How many days do I need to spend in Spain to be tax resident?
You are tax resident if you spend more than 183 days in Spain in a calendar year. Sporadic absences count as days in Spain unless you prove tax residence in another country. You can also be resident with fewer days if your main centre of economic interests is in Spain.
Is tax residency in Spain the same as having a residence permit?
No. The Agencia Tributaria says a person can hold a residence permit in a country and not be tax resident there. Tax residence is decided by the tests in the IRPF law.
Can I be tax resident in Spain for only part of a year?
Spanish domestic law treats you as resident or non-resident for the whole calendar year. A tax treaty can decide which country has the right to tax you where both countries treat you as resident.
What is modelo 720?
An information return on assets held outside Spain: bank accounts, securities and insurance, and real estate. Spanish tax residents must file it between 1 January and 31 March if any of those groups is worth more than €50,000 at the end of the year.
Are the modelo 720 penalties still in force?
The special penalties were struck down. On 27 January 2022 the EU Court of Justice ruled in case C-788/19 that the 150% fine, the fixed fines and the rule on unjustified gains breached EU law. Ley 5/2022 removed them, and the general penalty rules in articles 198 and 199 of the General Tax Law now apply.
Do US citizens living in Spain still pay US tax?
Yes, the US taxes its citizens wherever they live. The Spain-US treaty has a saving clause that lets the US tax its citizens as if the treaty did not exist. The Agencia Tributaria says Spain does not give a credit for US tax charged only because of citizenship.
How is a UK private pension taxed if I live in Spain?
Under article 17 of the UK-Spain treaty, as the Agencia Tributaria explains it, a UK private-sector pension paid to a Spanish resident is taxable only in Spain. UK government service pensions are generally taxable only in the UK.