Get a digital certificate and Cl@ve
Your FNMT digital certificate (Certificado de Persona Física, issued by Spain's Royal Mint) and Cl@ve login unlock nearly every online government portal in Spain: fast-track UGE-CE permits, Mercurio, Beckham (Modelo 149), annual tax returns (Renta), padrón downloads, and Social Security. Get the free FNMT certificate first, then activate Advanced Cl@ve online in 2 minutes.
The worked examples use Madrid. Other provinces differ in small ways.
- Prerequisite
- TIE card, EU certificate, or official NIE sheet + passport
- Official cost
- Free in person (€2.99 Video ID is Spanish DNI only)
- Validity
- 4 years (renewable online in the final 60 days)
- Your time
- 45 minutes + 1 brief AEAT or town hall visit
- Unlocks
- UGE-CE, Mercurio, Beckham Modelo 149, Renta & Padrón
FNMT digital certificate vs Cl@ve: which one should you get?
| Your situation | Recommended credential |
|---|---|
Filing permits (UGE-CE, Mercurio), Beckham (Modelo 149), autónomo (RETA), or holding only a white-paper NIE | FNMT Digital Certificate (free in person) Follow Steps 2 to 5 below, then unlock Advanced Cl@ve in Step 6. |
Quick phone/QR sign-in for annual Renta taxes, Import@ss Social Security, and town halls | Advanced Cl@ve ( Cl@ve Móvil)Activate online in 2 minutes in Step 6 once your FNMT certificate is installed. |
| Holding a TIE card or green EU certificate, with no personal computer | In-person Advanced Cl@ve registration ( Registro en Cl@ve at Spain's tax agency, AEAT) |
| No NIE yet (only a passport or consular visa sticker) |
Not sure if you are ready? Check 3 quick prerequisites
Yes, this step-by-step guide fits your situation.
How to get a digital certificate and Cl@ve (6 steps)
- Install Configurador FNMT-RCM · 10 minutes
Download and install the official
Configurador FNMT-RCMhelper app on your computer before opening the request form. - Request your Código de Solicitud online · 10 minutes
Submit your NIE, first surname, and email on the FNMT request form, create a local password in
Configurador FNMT, and receive your 9-digit code by email. - Verify your identity in person (free) · 30 minutes in person
Book a quick free accreditation slot at an
Agencia Tributaria(AEAT) tax office or municipalOACand show yourCódigo de Solicitud, passport, and NIE document. - Download your certificate and save a .p12 backup · 10 minutes
Back on the same computer, open
Descargar Certificado, enter your Step 3 code and password, and export an encrypted.p12/.pfxbackup copy. - Activate Advanced Cl@ve online in 2 minutes · 5 minutes
Use your newly installed FNMT certificate on
clave.gob.esto activateNivel Avanzado(Cl@ve Móvil) immediately with an SMS code.
What you need before starting
Have these four items ready before starting Step 2:
- A personal computer (Windows, Mac, or Linux) that you will keep using without resetting between Step 3 and Step 5.
- Valid original passport (or EU national ID card for EU citizens).
- Accepted NIE document: your TIE card, green EU registration certificate, or official A4 NIE assignment certificate (a visa sticker alone is not on FNMT's accepted list).
- Email address (plus an SMS-capable mobile number if activating
Cl@vein Step 6).
What unlocking adds to each step
Free overview (above)
Step 3 of 6: Request your Código de Solicitud online
Step title, plain-English summary, and direct official links.
Unlocked step-by-step guide
Step 3 of 6: Request your Código de Solicitud online
FNMT · Solicitud de Certificado de Ciudadano explained box by box (6 numbered boxes: what to fill in, tick, leave blank or avoid), plus portal screenshots and checklists.
You have the Arrival Pack (€49). Upgrade to the Relocation Pass (12 months) for €50 (your €49 is credited in full).
Unlock the step-by-step guide
Above are the steps and official links. Unlocking gives you every step in detail with portal screenshots, short videos and box-by-box form help:
- Every step in detail, with official links, portal screenshots and short videos
- Your ticked progress saved in this browser as you go
The blank official forms are free from the Spanish government. Visa route overviews, guide overviews, Which visa fits me?, My plan, and the calculators stay free.
Form box colour key
Blue: fill in · Green: tick or choose · Grey: leave blank · Red: not this one.
Key Spanish terms
- Certificado digital FNMT
- A cryptographic identity file stored on your computer/browser (and exportable to your phone) for signing in and signing forms across Spanish portals.
- Configurador FNMT-RCM
- The official desktop helper app installed in Step 2 that generates your private key locally.
- Código de Solicitud
- The 9-digit request code emailed to you in Step 3, shown at your in-person check and entered again when downloading.
- Copia de seguridad (.p12 / .pfx)
- An encrypted backup file containing your certificate and private key so you can install it on other computers or mobile devices.
- Cl@ve Móvil / Nivel Avanzado
- Spain's mobile QR/PIN login system; activating it with your FNMT certificate immediately grants high-security
Nivel Avanzado.
Where this fits in your journey
You need a NIE first (on your TIE card, green EU certificate, or white paper NIE). Once your digital certificate and Cl@ve are active, you can file taxes, Beckham Modelo 149 and online applications from home.
- Get your TIE card (non-EU)
- Get your EU registration certificate
- Get a paper NIE (EX-15)
- Get a digital certificate and Cl@ve (you are here)
- Opt in to the Beckham regime (Modelo 149)
- File your first tax return (Renta)
- Register on the padrón
Common problems and how to fix them
The FNMT request page says Configurador FNMT-RCM is not running
Quit and reopen your browser after installing Configurador FNMT-RCM, avoid incognito/private windows, and stay on the same computer and user account.
I forgot the password I created inside Configurador FNMT
FNMT cannot recover that local key password. Submit a fresh request in Step 3 to generate a new Código de Solicitud and verify again.
AEAT booking rejects my brand-new NIE ("No ha sido posible identificar el NIF introducido")
Police-issued NIEs are not automatically added to the AEAT tax census (Modelo 030), so AEAT's Para quién screen may reject a brand-new NIE. Book Option B instead (a town hall citizen office, OAC, or Social Security office on the FNMT map): town halls do not require AEAT tax-census registration to verify your FNMT certificate.
AEAT booking shows "Sus Citas" instead of open calendar slots
You already hold an active AEAT appointment for this service (limit 1 at a time). Click Modificar to reschedule or Anular to cancel.
FNMT download shows "No existe solicitud de certificado para los datos que ha introducido"
Either a newer request replaced that code or the NIF/surname does not match Step 3. Submit a fresh request in Step 3 and use the newest code.
My browser never prompts me to pick my certificate when signing in
Antivirus HTTPS scanning (such as Avast or AVG) frequently blocks client-certificate prompts. Disable HTTPS connection scanning in your antivirus, and restart your browser.
A government portal rejects my Cl@ve sign-in with Error (66)
Your Cl@ve account is at basic security (Nivel Básico, from a postal letter). Upgrade to Nivel Avanzado in the Cl@ve app (Gestiones → Mis datos en Cl@ve → Obtener un nivel de seguridad superior con certificado) or at an AEAT desk.
Cl@ve says my white-paper NIE has no "número de soporte"
White A4 EX-15 NIE sheets have no support number. Complete Steps 2 to 5 for your FNMT certificate first, then use that certificate in Step 6 to activate Cl@ve online without a support number.
I requested a second FNMT certificate and my existing one stopped working
FNMT allows only one active citizen certificate per person: issuing a new certificate permanently revokes the previous one.
My certificate expired or Cl@ve rejects it (Error 23718246)
Online renewal is open during the 60 days before expiry (once per in-person verification). Once expired or revoked, repeat Steps 3 to 5 with a fresh in-person check.
Stuck, or does your case look different from the standard steps? That's the point to speak with a licensed specialist. Everything up to there you can handle yourself.
Official sources
- FNMT: Certificado de Persona Física (sede.fnmt.gob.es)
- FNMT: In-person identity verification documents (sede.fnmt.gob.es)
- FNMT: Download and renew certificate (sede.fnmt.gob.es)
- FNMT: Accreditation office map (mapaoficinascert.appspot.com)
- FNMT: Troubleshooting FAQs (sede.fnmt.gob.es)
- Cl@ve: Registration guide and FAQs (clave.gob.es)
- Cl@ve Permanente: Password and unlock rules (clave.gob.es)
- AEAT: Common browser certificate errors (sede.agenciatributaria.gob.es)
Your progress and answers are saved on this device only.