Digital certificate (FNMT) and Cl@ve
The two keys to doing Spanish admin online: the free FNMT digital certificate and the Cl@ve system. How foreigners with an NIE get them.
Last checked:
On this page
What it is
Most Spanish procedures can be done online, but you need a way to prove who you are:
- FNMT digital certificate (certificado digital de persona física): a file installed in your browser or computer, issued free by the Spanish Royal Mint (FNMT). It lets you sign documents and log in to almost every government site.
- Cl@ve: a government login system (Cl@ve Móvil app, Cl@ve PIN, Cl@ve Permanente) linked to your NIE/ID number. Easier on a phone; accepted by most (not all) services.
Who needs it
Anyone who wants to file taxes, book DGT procedures, pay regional taxes, register with Social Security or fetch certificates online without queuing.
Documents to bring
FNMT certificate, identity check in person:
- Non-EU citizens (including British): the TIE (or older foreigner's card) showing your NIE, plus your passport; or the official NIE assignment document plus passport.
- EU citizens: the EU registration certificate or NIE document plus passport or national ID.
- The request code emailed to you after applying online.
Cl@ve, in-person registration:
- Non-EU: TIE (or residence permit) plus valid passport. EU: registration certificate plus passport or national ID. Originals only.
- You cannot register for Cl@ve with only an NIE assignment certificate (no card with a support number).
Official forms
| What | Link |
|---|---|
| FNMT certificate for individuals | FNMT: persona física |
| FNMT: get the certificate as a file (steps) | FNMT: obtener certificado software |
| Cl@ve registration options | clave.gob.es: registro |
| Cl@ve for foreigners, in person (documents) | administracion.gob.es: registering in Cl@ve |
Fees
Free (both).
Step by step
FNMT certificate
- Prepare your computer as the FNMT explains (supported browser/settings). Use the same computer and browser for every step.
- Apply online with your NIE; you receive a request code by email.
- Prove your identity in person at an accreditation office (there are over 2,400: many tax agency and Social Security offices, by appointment; post offices do not do this).
- Download the certificate from the same computer, about one hour after your identity is confirmed. Make a backup copy (export it with a password).
Cl@ve
Choose one route:
- By letter: request online; the AEAT posts an invitation letter with a code to your tax address; you have 60 days to use it. You will be asked for the support number on your ID document.
- With your digital certificate: if you already have the FNMT certificate, you can use it to register for Cl@ve online.
- In person at a registration office (e.g. AEAT or Social Security offices) with the documents above.
- Video identification: the AEAT says automatic video registration is currently only for Spanish citizens with a DNI; the clave.gob.es page mentions an NIE. Try it, but do not rely on it.
Then install the Cl@ve app to approve log-ins on your phone.
Where to go
Online, then an accreditation/registration office by appointment (book the AEAT via "Asistencia y Cita" on its sede).
How long it takes
FNMT: mostly the wait for the identity appointment, then about an hour. Cl@ve by letter: as long as the post takes.
Murcia notes
National systems. The Región de Murcia's online tax forms (e.g. Modelo 620) accept a digital certificate, DNIe or Cl@ve.
Common pitfalls
- Applying for the FNMT certificate on one computer and trying to download it on another.
- Not backing up the certificate, then losing it when the computer is replaced.
- Trying to register for Cl@ve with an old paper NIE certificate: it needs a card with a support number (TIE or EU registration certificate).
Sources
- FNMT, certificate for individuals (any Spanish or foreign adult with DNI or NIE; free): https://www.sede.fnmt.gob.es/certificados/persona-fisica
- FNMT, steps and download about 1 hour after identity check: https://www.sede.fnmt.gob.es/certificados/persona-fisica/obtener-certificado-software
- FNMT, identity accreditation (documents for foreigners; offices; not post offices): https://www.sede.fnmt.gob.es/certificados/persona-fisica/obtener-certificado-software/acreditar-identidad
- Cl@ve, registration methods: https://clave.gob.es/clave_Home/registro.html
- administracion.gob.es, registering in Cl@ve (foreigners' documents; not with NIE assignment only): https://administracion.gob.es/pag_Home/en/Tramites/ServiciosElectronicosFrecuentes/Necesito-Registrarme-en-clave.html
- AEAT, Cl@ve by invitation letter (support number; 60 days): https://sede.agenciatributaria.gob.es/Sede/ayuda/consultas-informaticas/firma-digital-sistema-clave-pin-tecnica/registrarse-clave-pin/registro-internet-csv.html
- AEAT, Cl@ve video identification (currently Spanish DNI holders only): https://sede.agenciatributaria.gob.es/Sede/en_gb/ayuda/firma-electronica-sistema-clave-ayuda-tecnica/clave-ayuda-tecnica/registrarse-clave-pin/registro-clave-automatico-internet-videoidentificacion-clave.html