What is the NIE (Foreigner Identity Number)

· Last fact-check: 2026-08-24

Direct answer

The NIE is the unique number identifying a foreign person before the Spanish Administration for tax, employment and administrative procedures. It is not a residence document on its own.

Key facts

  • Format: letter + 7 digits + control letter (e.g. X1234567L).
  • Issued by National Police or authorised offices depending on procedure.
  • Different from the TIE, which is the physical residence card.
  • Often required before contracts, tax and many administrative steps.

Our explanation

Detailed explanation

The NIE lets the Administration identify non-Spanish persons in specific procedures: property purchase, Social Security registration, tax returns or residence applications. Obtaining a NIE does not automatically grant residence authorisation.

Difference between NIE and TIE

The NIE is the number; the TIE (Foreigner Identity Card) is the physical document proving residence or stay when applicable. You may have a NIE without a valid TIE in some cases.

How to obtain a NIE for the first time

In Spain, apply with form EX-15 at a National Police station with an appointment, bringing passport, proof of reason (purchase contract, employment, university enrolment) and fee 790 code 012. From abroad, many consulates assign the number before the visa.

Common procedures requiring a NIE

Tax registration (model 030), property purchase, bank account, employment contract, university enrolment and residence applications. Without a NIE, the Administration cannot link your tax obligations correctly.

Timelines and validity

Assignment may be resolved at the same appointment if documents are complete. The number itself does not expire, but NIE certificates have limited issue dates for specific procedures.

Common NIE mistakes

Confusing the NIE certificate with residence authorisation, submitting a generic reason without proof, or trying to work with NIE alone without a work permit when required.

Requirements

  • Application form for your case (EX-15 or others).
  • Valid passport or ID document.
  • Proof of reason for the request (contract, deed, etc.).
  • Fee 790 code 012 when applicable.

FAQ

Can I work with NIE only?

Only if you have valid residence or work authorisation. The NIE identifies you; it does not replace a work permit when the law requires one.

Does the NIE expire?

The number remains; what may expire is the linked residence authorisation or TIE.

Where do I apply for the NIE?

At National Police immigration desks, Foreigners Offices or consulates depending on whether you are in Spain or abroad.

Official sources

Verified primary references. Our explanation is independent and does not replace official regulations.