Your NIE is your tax number
For people who do not hold Spanish nationality, the tax identification number (NIF) is the NIE. It is the number you use to file the income tax return, Form 720 or Form 210. If you do not have an NIE and are going to carry out a transaction with tax consequences, the route is to apply to the Tax Agency for an NIF beginning with the letter M (article 20 of the Tax Management and Inspection Regulation). If you live abroad and need a tax number to deal with an inheritance in Spain, see what to include when asking for a quote.
No immigration document decides your tax residence
Having a TIE or an EU registration certificate does not make you tax resident, and not having one does not make you non-resident. Under article 9.1 of the Personal Income Tax Act, you are tax resident in Spain for a calendar year if either of these two conditions is met:
- More than 183 days in Spain during the calendar year. Sporadic absences count as days in Spain unless you prove tax residence in another country.
- The main centre or base of your activities or economic interests is in Spain, directly or indirectly.
There is also a presumption: if your spouse (not legally separated) and your dependent minor children usually live in Spain, you are presumed to be resident too, unless you prove otherwise. If another country treats you as resident at the same time and there is a double taxation treaty between the two states, the conflict is resolved by the treaty, not by the document you hold.
Tax residence when moving to Spain →
If you are resident: what changes
You are taxed on your worldwide income
A resident pays Spanish income tax on all of their income, regardless of where it arises and where the payer is resident (article 2 of the Personal Income Tax Act). A salary from a foreign company, a pension from another country or interest on an account abroad all go into the Spanish return. If you receive a Dutch AOW or a workplace pension from the Netherlands, see our guide to Dutch pensions in Spain.
Whether you must file a return
For the 2025 tax year ending on 31 December, the general filing threshold was €22,000 if your only income was gross employment income. In certain cases it was €15,876, for example if the second and subsequent payers together paid more than €1,500, or if the payer had no obligation to withhold Spanish tax. The latter can apply to a foreign pension subject to Spanish income tax if the payer does not operate in Spain (article 96.3(a) and (c) of the Personal Income Tax Act). You must file if you were registered as self-employed at any point during the year or if you claim the foreign tax credit on your return (article 96(2) and (4) of the Act and article 61(1) and (2) of its Regulations).
Assets abroad: Form 720
A resident with accounts, securities, insurance or property outside Spain may have to file the Form 720 information return (eighteenth additional provision of the General Tax Act). Virtual currencies held in custody abroad are reported separately, on Form 721 (modelo 721). Thresholds and deadlines are in our Form 720 guide.
Joint return only if everyone is a taxpayer
A joint return is available to the family unit, whose make-up is fixed at 31 December, and only if all its members are taxpayers for Spanish personal income tax (IRPF) (articles 82 and 83). If one spouse is still non-resident that year, a joint return is in principle not available; a non-resident from the EU or EEA who takes up the article 46 option of the Non-Resident Income Tax Act may ask for the joint taxation rules to be applied, on the conditions set by the regulations (article 46.8 of that Act).
If you are coming to work: the Beckham Law deadline
The special regime for workers moving to Spain taxes the taxable base, which includes employment income, at 24% up to 600,000 euros for the year you become tax resident and the following five years, provided you were not resident in Spain in the five tax years before the year you moved and you move because of an employment contract (including remote work with an international remote-work visa), as a director of an entity, under the conditions of article 93, for an entrepreneurial activity or as a highly qualified professional working for start-ups or R&D&I (article 93 of the Personal Income Tax Act). You opt in by notification within six months of the start date of the activity shown in your Spanish Social Security registration or in the document confirming that you remain covered in your previous country. If registration is not compulsory, use the date shown in the evidence that you started the activity (article 116.1.a of the Personal Income Tax Regulation). It is a maximum period and does not wait for your TIE: once it has passed, the option can no longer be exercised. Your spouse and children under 25, or of any age if they have a disability, can also opt in, if they meet the conditions of article 93.3, within six months of arriving in Spain or within the main taxpayer’s deadline, whichever ends later.
Beckham Law: requirements and deadline →
If you are not yet resident but own a home in Spain
While you are not tax resident, as a general rule you do not file the Spanish income tax return (IRPF): you are taxed as a non-resident on what you obtain in Spain, with Form 210 (modelo 210) where applicable. There is one exception: a resident of another EU state (or an EEA state with effective exchange of tax information), other than a tax haven, who has obtained at least 75% of their income in Spain from employment or business activities, or whose income in and outside Spain is below 90% of the personal and family allowance, in both cases with Non-Resident Income Tax actually paid, may opt to be taxed under the IRPF rules without ceasing to be non-resident (article 46 of the consolidated Non-Resident Income Tax Act). If you leave Spain after having been resident, what changes is explained in our guide to leaving Spain and tax residence.
What we handle
We analyse your tax residence for each year and apply for the tax residence certificate when another country requires it; we file your income tax return or Form 210; we handle Form 720 and the Beckham Law notification within the deadline; and, if there are years that were not filed or were filed incorrectly, we put your Spanish taxes in order.