← Back

How to Get Your NIE in Spain

The NIE is the number Spain assigns to foreigners for anything official. Here's how to get it, whether you need it as a stand-alone number or as part of your residency process.

Quick note: This is a plain-English guide based on official sources and real experience — not legal advice. Requirements vary by region and change often; confirm the current process with the official office before acting.

Two main routes

Stand-alone NIE: For people who need the number for a one-off reason — buying property, signing a contract, opening some bank accounts, or getting things in order before a move. Apply at the extranjería (foreigners' office) or a Spanish consulate abroad.

NIE through residency: If you're moving to Spain, your NIE is assigned automatically during the residency process. EU citizens get it with their EU registration certificate; non-EU citizens get it with their TIE card.

What you'll typically need

The typical stand-alone process

  1. Book an appointment at the nearest extranjería office or Spanish consulate. Slots can be scarce, so check early and often.
  2. Fill in the form (usually EX-15) and print it.
  3. Pay the fee using form 790-012 at a bank or online where available. Keep the receipt.
  4. Attend the appointment with your documents and a clear reason for needing the NIE.
  5. Collect your document — either on the spot or by return appointment, depending on the office.

EU vs non-EU

EU/EEA/Swiss citizens usually apply for the EU registration certificate, which includes a NIE. The stand-alone NIE is mainly for non-residents or one-off needs.

Non-EU citizens typically receive their NIE as part of a visa or residency application. A stand-alone NIE before residency is possible in some cases, but the rules vary.

Common mistakes to avoid

After the NIE

The NIE is just the start. Once you have it, the next steps depend on your situation: residency registration, social security, health card, bank account, and more. Each has its own form, office, and local rules.

See the full Spain checklist — your first step is free →

Planning guidance based on official sources and real experience — not legal advice. Rules vary by region and change often; confirm with the official office before acting. Verified 2026.