Grupo AvanzaConsultores

Foreign nationals’ taxes · Spain

NIE, TIE or EU registration: what changes for your taxes

By Grupo Avanza Consultores

Español · Русский

For the Spanish Tax Agency, your NIE is your tax number. But neither the NIE, nor the TIE, nor the EU registration certificate makes you tax resident in Spain: that is decided by article 9 of the Personal Income Tax Act, based on the days you spend here and where the centre of your economic interests lies. That answer determines whether you declare your worldwide income in the Spanish income tax return (IRPF), whether Form 720 (modelo 720) applies to you, or whether you file as a non-resident.

Grupo Avanza Consultores, based in Paterna (Valencia), handles the tax side of your move to Spain: tax residence, the income tax return, Form 720, the special regime for workers moving to Spain, Form 210 (modelo 210) and putting earlier years in order. We reply in writing in English.

Updated 13 November 2026 · Grupo Avanza Consultores

The three documents, in brief

NIE: identification number

A personal, unique number identifying a foreign national, which can appear on different documents. Being assigned an NIE is not the same as being granted permission to live or work in Spain.

Royal Decree 1155/2024, article 205; Organic Law 4/2000, article 36.1.

TIE: foreign national identity card

The card certifies a foreign national’s legal status under the applicable rules. It does not replace a passport as proof of identity, and applying for the card is not the same as obtaining an authorisation.

Royal Decree 1155/2024, article 209.

EU registration certificate (CUE)

It records the registration of EU, EEA or Swiss nationals in the Central Register of Foreign Nationals. It includes the NIE; to prove your identity you also need your passport or national identity document.

Royal Decree 240/2007, articles 7 and 12; National Police guidance.

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.


Questions about the NIE, TIE and your taxes

Does an NIE, TIE or EU registration certificate make me tax resident in Spain?

No. None of these documents decides tax residence. Article 9.1 of Spain’s Personal Income Tax Act does: more than 183 days in Spain in the calendar year, or having the main centre or base of your activities or economic interests here. If another country also treats you as resident, the double taxation treaty applies.

Do I need an NIE to file Spanish tax returns?

For a foreign national, the tax identification number (NIF) is the NIE (article 20 of the Tax Management and Inspection Regulation). Anyone without an NIE who is going to carry out transactions with tax consequences applies to the Tax Agency for an NIF beginning with the letter M.

When do the six months for the Beckham Law start?

From 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. Your arrival date and the date you receive your card do not start the clock (article 116.1.a of the Personal Income Tax Regulation). It is a maximum period: once it has passed, the option can no longer be exercised.

If I am tax resident, do I have to declare what I earn outside Spain?

Yes. A resident pays Spanish income tax on all of their income, wherever it arises and wherever the payer is resident (article 2 of the Personal Income Tax Act). If you also hold accounts, securities, insurance or property abroad, Form 720 may apply.

Related guides and services

Official sources and scope of this guide

General information: the outcome depends on your dates, your family and your income. Tax legislation consulted in the consolidated Official State Gazette (BOE) on 27 October 2026 (article 96 of the Personal Income Tax Act and article 61 of its Regulations, on 13 November 2026); immigration legislation and official guidance, on 20 October 2026. The linked official sources are in Spanish.

Tell us about your tax situation in Spain

When you arrived, where your family lives, where your income comes from and whether you hold assets abroad. We reply in writing in English, by WhatsApp or email. We work remotely.