Tax residence and the exit tax
Law 35/2006, articles 8 to 10, 12 to 13, 14.3 and 95 bis: the two tests that make an individual Spanish tax resident — 183 days or the centre of economic interests — the family presumption, the calendar-year rule with no split year, the four extra years for Spaniards moving to tax havens, and the exit tax on shareholdings when a long-term resident leaves.
Resident for the whole year, or not at all
Spain has no split-year rule in this Act. Article 12 makes the tax period the calendar year, and article 9 asks whether the person is resident in that year. Someone who arrives in May and spends more than 183 days in Spain by December is resident for the whole year — and taxable on worldwide income from 1 January, subject to any applicable treaty. Someone who arrives in August is not resident that year by days, but may still be by the second test, if Spain is where their main economic interests lie. The impatriate regime on the next page changes how a new resident is taxed, not whether they are resident.
Title I, chapter II. Taxpayers
Article 8. Taxpayers
1. The following are taxpayers for this tax:
a) Natural persons who have their habitual residence in Spanish territory.
b) Natural persons who had their habitual residence abroad for any of the circumstances provided for in article 10 of this Act.
2. Natural persons of Spanish nationality who evidence their new tax residence in a country or territory regarded as a tax haven shall not lose the status of taxpayers for this tax. This rule shall apply in the tax period in which the change of residence takes place and during the following four tax periods.
3. Civil partnerships not subject to Corporate Income Tax, estates in abeyance, communities of property and other entities referred to in article 35.4 of Law 58/2003 of 17 December, the General Tax Act, shall not be regarded as taxpayers. Their income shall be attributed to the partners, heirs, co-owners or participants respectively, in accordance with section 2 of Title X of this Act.
Article 9. Taxpayers who have their habitual residence in Spanish territory
1. The taxpayer shall be deemed to have their habitual residence in Spanish territory where either of the following circumstances arises:
a) That they remain in Spanish territory for more than 183 days during the calendar year. To determine this period of stay in Spanish territory, sporadic absences shall be counted, unless the taxpayer evidences their tax residence in another country. In the case of countries or territories regarded as tax havens, the tax authorities may require proof of stay there for 183 days in the calendar year.
In determining the period of stay referred to in the preceding paragraph, temporary stays in Spain resulting from obligations assumed under cultural or humanitarian collaboration agreements, free of charge, with the Spanish public administrations shall not be counted.
b) That the main nucleus or base of their activities or economic interests is located in Spain, directly or indirectly.
It shall be presumed, save proof to the contrary, that the taxpayer has their habitual residence in Spanish territory where, in accordance with the foregoing criteria, the spouse from whom they are not legally separated and the minor children dependent on them habitually reside in Spain.
2. Foreign nationals who have their habitual residence in Spain shall not be regarded as taxpayers, on a reciprocal basis, where this circumstance results from any of the cases established in paragraph 1 of article 10 of this Act and the application of specific rules derived from the international treaties to which Spain is a party does not apply.
Article 10. Taxpayers who have their habitual residence abroad
1. For the purposes of this Act, persons of Spanish nationality, their spouse not legally separated and minor children who had their habitual residence abroad by virtue of their status as:
a) Members of Spanish diplomatic missions, including both the head of the mission and the members of the diplomatic, administrative, technical or service staff of the mission.
b) Members of Spanish consular offices, including both the head of the office and the official or service staff attached to it, with the exception of honorary vice-consuls or honorary consular agents and the staff dependent on them.
c) Holders of an official post or employment of the Spanish State as members of the delegations and permanent representations accredited to international organisations, or who form part of delegations or observer missions abroad.
d) Active civil servants who hold an official post or employment abroad that is not of a diplomatic or consular character,
shall be regarded as taxpayers.
2. The provisions of this article shall not apply:
a) Where the persons referred to in it are not active public servants or holders of an official post or employment and had their habitual residence abroad before acquiring any of the statuses listed in it.
b) In the case of spouses not legally separated or minor children, where they had their habitual residence abroad before the spouse, father or mother acquired the statuses listed in paragraph 1 of this article.
Chapter III. Tax period, accrual and timing of income
Article 12. General rule
1. The tax period shall be the calendar year.
2. The Tax shall accrue on 31 December of each year, without prejudice to the provisions of the following article.
Article 13. Tax period shorter than the calendar year
1. The tax period shall be shorter than the calendar year where the taxpayer dies on a day other than 31 December.
2. In that case the tax period shall end and the tax shall accrue on the date of death.
Article 14. Timing of income (paragraph 3)
3. Where the taxpayer loses their status as such by change of residence, all income pending allocation must be included in the tax base corresponding to the last tax period that must be declared for this tax, under the conditions set by regulation, a supplementary self-assessment being made, where appropriate, without penalty, late-payment interest or surcharge.
Where the move of residence is to another Member State of the European Union, the taxpayer may opt to allocate the pending income in accordance with the preceding paragraph, or to file, as each item of income pending allocation is obtained, a supplementary self-assessment without penalty, late-payment interest or surcharge, corresponding to the last period that must be declared for this Tax. The self-assessment shall be filed within the filing period for the tax period in which that income would have been allocated had the loss of taxpayer status not occurred.
Title X. Special regimes
Section 7. Capital gains on change of residence
Article 95 bis. Capital gains on change of residence
1. Where the taxpayer loses their status by change of residence, the positive differences between the market value of the shares or holdings of any type of entity owned by the taxpayer and their acquisition value shall be regarded as capital gains, provided that the taxpayer had that status for at least ten of the fifteen tax periods before the last tax period that must be declared for this tax, and either of the following circumstances arises:
a) That the market value of the shares or holdings referred to in paragraph 3 of this article exceeds, in total, 4,000,000 euros.
b) Where letter a) above is not met, that on the accrual date of the last tax period that must be declared for this tax the percentage holding in the entity exceeds 25 per cent, provided that the market value of the shares or holdings in that entity referred to in paragraph 3 of this article exceeds 1,000,000 euros.
In this case the provisions of this article shall apply only to the capital gains corresponding to the shares or holdings referred to in this letter b).
2. The capital gains shall form part of savings income in accordance with letter b) of article 46 of this Act and shall be allocated to the last tax period that must be declared for this Tax, under the conditions set by regulation, a supplementary self-assessment being made, where appropriate, without any penalty, late-payment interest or surcharge.
3. To compute the capital gain, the market value of the shares or holdings on the accrual date of the last tax period that must be declared for this tax shall be taken, determined in accordance with the following rules:
a) Securities admitted to trading on any of the regulated securities markets defined in Directive 2004/39/EC of the European Parliament and of the Council of 21 April 2004 on markets in financial instruments, and representing holdings in the equity of companies or entities, shall be valued at their quoted price.
b) Securities not admitted to trading on any of the regulated securities markets defined in Directive 2004/39/EC of the European Parliament and of the Council of 21 April 2004 on markets in financial instruments, and representing holdings in the equity of companies or entities, shall be valued, save proof of a different market value, at the greater of the following two:
The equity corresponding to the securities resulting from the balance sheet for the last financial year closed before the accrual date of the Tax.
That resulting from capitalising at a rate of 20 per cent the average of the results of the three financial years closed before the accrual date of the Tax. For this last purpose, dividends distributed and allocations to reserves, excluding those for revaluation or balance-sheet updating, shall be counted as profits.
c) Shares or holdings representing the capital or assets of collective investment institutions shall be valued at the net asset value applicable on the accrual date of the last tax period that must be declared for this tax or, failing that, at the last net asset value published. Where there is no net asset value, the value of the equity corresponding to the shares or holdings resulting from the balance sheet for the last financial year closed before that accrual date shall be taken, save proof of a different market value.
4. Under the conditions established by regulation, where the change of residence occurs as a result of a temporary move for work reasons to a country or territory not regarded as a tax haven, or for any other reason provided that in this case the temporary move is to a country or territory that has signed with Spain a convention for the avoidance of international double taxation containing an exchange of information clause, the tax authorities shall, at the taxpayer’s request, defer payment of the tax debt corresponding to the capital gains regulated in this article.
In that deferral, the provisions of Law 58/2003 of 17 December, the General Tax Act, and its implementing rules shall apply, specifically as regards the accrual of interest and the provision of guarantees for that deferral.
For the purposes of providing the guarantees indicated in the preceding paragraph, they may be provided, in whole or in part, provided that they are legally and economically sufficient, over the securities referred to in this article.
The deferral shall expire at the latest on 30 June of the year following the end of the period indicated in the following paragraph.
Where the person concerned acquires taxpayer status for this tax again at any time within the period of the five financial years following the last one that must be declared for this tax without having transferred ownership of the shares or holdings referred to in paragraph 1 above, the tax debt subject to deferral shall be extinguished, together with any interest that has accrued. In the case of moves for work reasons, the taxpayer may request the tax authorities to extend that period of five financial years where there are circumstances justifying a longer temporary move, the extension in no case exceeding five additional financial years.
That extinction shall occur at the time of filing the return for the first financial year in which they must be taxed under this tax.
In that case, the cost of any guarantees that may have been provided shall not be reimbursed.
5. If the person concerned acquires taxpayer status again without having transferred ownership of the shares or holdings referred to in paragraph 1 above, they may request rectification of the self-assessment in order to obtain a refund of the amounts paid corresponding to the capital gains regulated in this article.
The refund referred to in the preceding paragraph shall be governed by article 31 of Law 58/2003 of 17 December, the General Tax Act, except as regards the payment of late-payment interest, which shall accrue from the date on which the payment was made until the date on which payment of the refund is ordered. The request for rectification may be submitted from the end of the filing period for the first tax period that must be declared for this tax.
6. Where the change of residence is to another Member State of the European Union, or of the European Economic Area with which there is an effective exchange of tax information in the terms provided for in paragraph 4 of the first additional provision of Law 36/2006 of 29 November on measures for the prevention of tax fraud, the taxpayer may opt to apply the following special rules to the capital gains regulated in this article:
a) The capital gain must be self-assessed only where, within the ten financial years following the last one that must be declared for this tax, any of the following circumstances occurs:
1.º The shares or holdings are transferred inter vivos.
2.º The taxpayer loses the status of resident in a Member State of the European Union or of the European Economic Area.
3.º The obligation to notify referred to in letter c) of this paragraph is breached.
The capital gain shall be allocated to the last tax period that must be declared for this tax, a supplementary self-assessment being made, where appropriate, without any penalty, late-payment interest or surcharge.
The self-assessment shall be filed within the period between the date on which any of the circumstances referred to in this letter a) occurs and the end of the immediately following filing period for the tax.
b) In the case referred to in number 1.º of letter a) above, the amount of the capital gain shall be reduced by the positive difference between the market value of the shares or holdings referred to in paragraph 3 above and their transfer value.
For these purposes, the transfer value shall be increased by the amount of the profits distributed or any other receipts that have resulted in a reduction of the entity’s equity after the loss of taxpayer status, unless those receipts have been taxed under Non-Resident Income Tax.
c) The taxpayer must notify the tax authorities, on the terms established by regulation, of the option for the application of the special rules provided for in this paragraph, the capital gain arising, the State to which they move their residence, indicating the address and subsequent changes, and the continued ownership of the shares or holdings.
d) Where the person concerned acquires taxpayer status again without any of the circumstances provided for in letter a) of this paragraph having occurred, the provisions of this article shall cease to have effect.
7. The provisions of this article shall likewise apply where the change of residence is to a country or territory regarded as a tax haven and the taxpayer does not lose their status under paragraph 2 of article 8 of this Act.
In these cases the following special rules shall apply:
a) The capital gains shall be allocated to the last tax period in which the taxpayer has their habitual residence in Spanish territory, and the market value of the shares or holdings referred to in paragraph 3 on the accrual date of that tax period shall be taken for their computation.
b) Where the shares or holdings are transferred in a tax period in which the taxpayer retains that status, the market value of the shares or holdings taken into account to determine the capital gain provided for in this article shall be taken as the acquisition value for the purposes of calculating the capital gain or loss on the transfer.
8. In the case of taxpayers who opted for the special tax regime applicable to workers posted to Spanish territory, the period of ten tax periods referred to in paragraph 1 of this article shall begin to be counted from the first tax period in which that special regime does not apply.
Where this sits
The next page translates article 93 as it now stands: the special regime that lets a person who becomes resident on moving to Spain be taxed, for six years, largely as a non-resident.
Related on voixa.es: The EU counts your days, Spain counts them differently; Digital nomad visa, 120 days in Spain: where is he taxed?; Spain tax residency planning.
Nothing here is advice on your own position, and this reading is not the official text. Spain publishes no official English version of this Act; where the wording matters to a decision, read it against the Spanish original linked above.