Authority responsible for the information
Ministry of Finance
State Tax Office (AEAT)
Department of Tax Management
Sub-Directorate General for Information and Assistance
Last update: 23-03-2026
How you are taxed depends on where you are a tax resident.
Your tax obligations are different depending on whether you are a resident for tax purposes in Spain or overseas. Taxpayers who are tax residents in Spain pay tax on their worldwide income. By contrast, taxpayers who are resident overseas are only taxed in Spain on the income considered to be obtained in Spanish territory. In both cases, taxation must take account of the provisions of any applicable double taxation agreement.
Natural persons who are resident for tax purposes in Spanish territory must pay personal income tax (Impuesto sobre la Renta de las Personas Físicas – IRPF). The tax year coincides with the calendar year, with no interruption due to a change of residence. Therefore, a natural person is either resident or non-resident for the whole tax year.
Natural persons and entities who are not resident in Spanish territory but who earn an income there must pay non-resident income tax (Impuesto sobre la Renta de no Residentes – IRNR). How this tax is imposed depends on whether the income is obtained through a permanent establishment located in Spanish territory or without such a permanent establishment .
Natural persons are considered resident in Spanish territory in any of the following cases:
Natural persons of Spanish nationality who provide proof of their new tax residence in a country or territory considered a non-cooperative tax jurisdiction will retain their status as IRPF taxpayers. This rule shall apply in the tax year in which the change of residence occurs and for the four subsequent tax years.
On the contrary, a natural person will be considered to be non-resident in Spain if they do not meet any of the above requirements.
Note (1): With effect from 11 July 2021, references to tax havens are understood as referring to the definition of a non-cooperative jurisdiction (Annex IV).
A person may be considered to be resident in two countries where the national legislation of both countries applies. In such cases, the situation will be governed by the convention signed by the two countries, if one exists. Such conventions establish rules to prevent a person being considered resident for tax purposes in both countries. In general, under such rules persons are resident:
You can prove that you are a non-resident by means of a certificate of residency in another country issued by the tax authorities of that country. Such certificates are valid for one year.
However, the validity of the certificate is undefined if the taxpayer is a foreign State, any political or administrative subdivision thereof or local authority thereof.
A person may have a residence permit or administrative residence in a country but not be considered a resident for tax purposes in that country.
Declaration by the IRPF
IRPF tax returns
The legislation on IRPF governs the circumstances in which you must file a personal income tax return. This must be checked every year as it is subject to amendments.
Use form 100 to file tax returns. Tax returns and confirmation of the draft tax can be online via the Tax Agency's website. Taxpayers who meet certain requirements may also confirm and file the draft tax return by telephone or at the Tax Agency's offices, by appointment in both cases.
The deadlines for filing are generally from April to June, although they should be checked every year in case of slight changes.
Every year there is an information campaign on personal income tax returns, with a special section on the Tax Office website containing information on all these aspects.
IRNR tax returns in the case of income obtained without a permanent establishment.
Non-resident taxpayers must file an IRNR self-assessment for income obtained in Spanish territory. However, in general, they do not have to file a tax return for the following income:
If a tax return has to be filed, form 210 must be used. The filing deadline varies depending on the type of income and the outcome of the tax return. It may be filed using the printed form generated from the Tax Office portal or directly online.
IRNR tax returns in the case of income obtained through a permanent establishment.
A person is deemed to be carrying out economic activities operating through a permanent establishment in Spanish territory where, for whatever purpose, they have, continuously or habitually, facilities or workplaces of any kind in that territory in which all or some of their activity takes place, or where they act in that territory through an agent authorised to conclude contracts, in the name of and on behalf of the non-resident, who habitually exercises those powers.
In particular, the following are considered to constitute a permanent establishment: places of management, branches, offices, factories, workshops, warehouses, shops or other establishments, mines, oil or gas wells, quarries, agricultural, forestry or livestock operations or any other place of exploration or extraction of natural resources, and construction, installation or assembly works lasting more than 6 months.
Where non-resident taxpayers carry out economic activities in Spain and have the right to invoke the application of a double taxation agreement signed between Spain and their country of residence, the specific article of the agreement defining a permanent establishment should be used to determine if the taxpayer is operating through a permanent establishment.
The form for filing a return is the same as the one used for corporation tax (form 200) and the same deadlines apply, but form 206 is used for the payment or refunding of tax and the specific identifier code of the permanent establishments must be used.
Natural persons who acquire tax residency in Spain as a result of being posted there may opt to pay their taxes by filing an IRNR return, whilst retaining their status as IRPF taxpayers, during the tax year in which the change of residence took place and for the five subsequent tax years if, under the conditions laid down in the regulations, they meet the following conditions:
The taxpayer’s spouse and children under 25 years of age, or of any age in the case of a disability, may also benefit from this category; when a couple have children together but are not married, the other parent of those children may also benefit, provided that certain conditions are met.
To exercise this option, taxpayers must submit form 149 to the Tax authorities. They should also use this form if they wish to opt out of this category, or if they are no longer eligible to file under this category because of not meeting the applicable requirements.
Personal income tax returns are filed using form 151.
Workers moving to Spain.
mployees who are not liable for IRPF, but who will become liable to pay it following a move to Spanish territory, may notify the tax authorities of their change of status using form 147.
Following the notification, where applicable the tax authorities will send the employee a statement showing the date from which IRPF tax will be withheld from his or her salary.
The employee gives the document to the payer of their income from employment so that, for the purposes of withholding tax, the employee is classified as an IRPF taxpayer.
Workers posted abroad by their employer
Employees who become liable for IRNR as a result of being posted abroad by their company may notify the tax authorities of their change of status using notification form 247.
Following the notification, where applicable the tax authorities will send the employee a statement showing the date from which IRNR tax will be withheld from his or her salary.
The employee gives this statement to the payer of their salary so that, for the purposes of withholding tax, the employee is classified as an IRNR taxpayer.
There is an optional category for IRNR taxpayers who meet the following requirements:
The aim is for actual taxation in Spain to be calculated in accordance with the rules on IRPF, without the person thereby losing their status as an IRNR taxpayer.
The resulting average tax rate will be applied to the part of the taxable amount corresponding to the income earned in Spanish territory.
If the above results in an amount lower than the amounts paid during the tax period by the non-resident taxpayer as IRNR on income obtained in Spanish territory, the excess will be refunded.
The corresponding average tax rate will be determined by the tax authorities. To this end, it checks that:
This rate is determined taking into account:
The activity of the tax authorities is regulated.
Tax legislation provides that tax assessments issued by the tax authorities may be challenged by the parties concerned in the event of a disagreement, pursuant to Article 222 et seq. of the Spanish General Tax Law, and the relevant implementing regulation on administrative review. The statements notifying the result of a tax assessment always state how to appeal and include the relevant deadline.
Anyone wishing to challenge the assessment must choose, within a maximum period of 1 month from the day following the date of notification, between:
Both appeals may be filed via the Tax Office website, using the digital signature systems permitted.
Select the Autonomous Community corresponding to your province
Ministry of Finance
State Tax Office (AEAT)
Department of Tax Management
Sub-Directorate General for Information and Assistance