I just moved here — how do I get the national ID / tax / social-security number?
Everything — a job, a bank account, a doctor, a rental — needs the national identification number, so it is the first appointment after arriving. In Spain you get it from Ayuntamiento — Padrón / Registro Civil (mjusticia.gob.es) when you register your address or, for non-residents, from Agencia Tributaria — recursos y aplazamientos (901 200 345). Bring your passport or ID card, proof of address (a rental contract or a host's declaration) and, for non-EU citizens, the residence permit or visa from Oficina de Extranjería / Policía Nacional — extranjería (060). Appointments fill up: book before you arrive if the portal allows.
🗣️ What to say
"I moved to Spain on [date] and live at [address]. I would like to register and obtain my [national number / tax number / social-security number]. I have [passport/ID, rental contract / host declaration, permit]. Which documents do you need and can I book an appointment?"
🪜 Step by step
- Book the registrationAt Ayuntamiento — Padrón / Registro Civil: address registration and the number usually come together. Online booking where it exists; otherwise early morning in person.
- DocumentsPassport or ID, proof of address, birth certificate (sometimes with apostille), marriage certificate if relevant, permit or visa for non-EU citizens.
- Non-resident number: Agencia Tributaria — recursos y aplazamientosFor work or tax before you have an address — the tax office issues a provisional or non-resident number.
- Non-EU: Oficina de Extranjería / Policía Nacional — extranjería firstThe residence permit or the registration certificate may be a precondition; check the order for your case.
- Then everything elseBank, health insurance, employer, GP — all take the number. Keep the letter with it safe.
📇 All contacts
❓ Frequently asked
I have a job offer but no address yet
Ask the employer for a hosting letter or use the non-resident route at Agencia Tributaria — recursos y aplazamientos; the number can be converted when you register an address.
How long does it take?
Same day in some countries, weeks in others. The appointment is the bottleneck, not the processing.
EU citizen — do I need to register at all?
Yes, after three months in most countries (sooner in some), and for the number you need it anyway.
📎 Sources
- Ayuntamiento — Padrón / Registro Civil →
- Agencia Tributaria — recursos y aplazamientos →
- Oficina de Extranjería / Policía Nacional — extranjería →
- Defensor del Pueblo →
🔎 Common searches
Recognise your own search? The answer above covers all of these.
- “national id number new arrival Spain”
- “register address get number Spain”
- “tax number foreigner Spain”
- “social security number apply”
- “moving to Spain first steps”
🧭 Is this still correct?
We check this information carefully, but phone numbers, websites and rules change — and sometimes we get something wrong. Spotted a mistake or a change? Let us know below.
⚠️ Readers report that something here may have changed — we are checking it.
✅ Thank you — this keeps the page up to date for everyone.