Certificado digital: electronic signature in Spain 2026
This is a task we handle
Digital certificate Message us on WhatsAppA specialist will reply within 15 minutes
In this article
What is a certificado digital
A certificado digital is an electronic security certificate that contains your digital signature and encryption keys. It acts as your “electronic identity” in Spain: you can sign documents, log in to government portals, and submit applications to Hacienda, Seguridad Social, Extranjería (the immigration office) and other bodies.
The principle is the same as for electronic signatures in other countries, but in Spain it is built into the whole bureaucracy: almost every public authority has a portal that lets you in with a certificate or with Cl@ve. Without them, there is usually only one way left: booking an appointment and going to the office. With a signature, the same procedures are done from a laptop.
Types of electronic certificates in Spain
FNMT-RCM (Certificado Electrónico de Persona Física)
The main type of certificate, the very one that almost all government portals ask for. FNMT stands for Fábrica Nacional de Moneda y Timbre: the state mint, which is also the certification authority. The FNMT certificate is issued free of charge to every adult (or emancipated minor) who has an NIE or DNI.
- You can get it online (request on the FNMT website) or in person at an office
- It is valid until the date stated on the certificate itself: for those issued now, until 31 December 2028
- A foreign national with an NIE needs one in-person visit to an accreditation office, where the documents are checked
- It is stored in the browser, but it can be exported to a password-protected .pfx file
DNIe (Documento Nacional de Identidad electrónico)
This is the Spanish ID card with a built-in chip. If you have Spanish nationality, the certificate is already inside your DNIe, and you do not need to order anything separately. This option is not available to foreign nationals with an NIE; they have to use FNMT.
Cl@ve PIN / Cl@ve Permanente
An alternative to the certificate: you log in with a one-time PIN code or a permanent password, and nothing needs installing. Cl@ve helps when you need a signature urgently and just once. But not all portals accept it: for complex procedures you will still end up needing FNMT.
Recent on this topic: “Cl@ve for foreign nationals with an NIE: how to register”
How to get an FNMT certificado digital
The road to the certificate has three steps: online request → cita previa (appointment) and identity check at an authorised office → downloading the certificate to your browser. The bottleneck here is not the form but the appointment: in big cities, free slots are taken quickly.
Step 1: Online request on the FNMT website
- Open sede.fnmt.gob.es → section “Certificado con Acreditación Presencial” → “Solicitar Certificado”
- Fill in the form: your NIE or DNI number, first surname (primer apellido) and email
- The system will assign a code (referencia) to your request
- You will receive an email with instructions and this code
Step 2: Booking a cita previa and visiting an administrative office
After the online request, you are expected in person: your documents will be checked. Several types of offices handle this:
- Oficina de la Agencia Tributaria (Hacienda)
- Oficina de la Seguridad Social
- Ayuntamiento (the town hall, in some cities)
- Oficina Consular de España (if you are abroad)
Bring your passport, your NIE and the printed email from FNMT: without the code from the email, the appointment will not go ahead. The procedure itself takes 10–15 minutes: checking the documents and the details of the request. If you cannot find an appointment, or at the office you are asked for documents you do not have, message us on WhatsApp: we check your set of documents before booking and see the procedure through to a ready certificate in your browser.
Recent on this topic: “Where to verify your identity for a certificado digital if you have an NIE”
Step 3: Downloading and installing the certificate
The certificate is usually ready an hour after your office visit, at the latest by the end of the day. You will receive instructions by email; then follow these steps:
- Go back to sede.fnmt.gob.es → “Descargar certificado”
- Enter your request code and details
- Download the certificate: the FNMT program (Configurador FNMT-RCM) will ask for the password you set during the request and will install the certificate in the certificate store for you
- Make a backup: a .p12 or .pfx file (the certificate with the private key)
- Enter a password to protect the certificate
Recent on this topic: “The FNMT certificate will not download after the office visit: what to check”
Installing the certificado digital in your browser
Chrome (Windows and macOS)
- Menu → Settings → Privacy and security → Manage certificates (or Security)
- Windows: certificates imported from Windows → “Personal” tab → Import, then the Windows import wizard guides you; macOS: Chrome takes the certificate from the keychain, and the import is the same as for Safari below
- Select the .p12 or .pfx file → enter the password
- After the import, the browser will offer the certificate itself when you log in to the Hacienda or Seguridad Social portal
Firefox (Windows, Linux, macOS)
- Menu → Settings → Privacy & Security
- Scroll down to the “Certificates” section
- Click “View Certificates” → “Your Certificates” tab
- Click “Import” → select the .p12 file → password
Safari (macOS)
- Open Keychain Access via Spotlight search
- File menu → Import Items → select the .p12 file
- Enter the password to protect the keys
- The certificate will be available in Safari automatically
Where to use the certificado digital
- Hacienda: Filing Modelo 030, IRPF (income tax return), tax refund claims, certificate requests
- Seguridad Social: Requests for contribution certificates, managing your self-employed profile, updating your details
- Extranjería: Residence permit applications, document renewals, certificate requests; we submit our clients' documents through this same online account
- Catastro (property tax register): Requests for property certificates, address updates
- Ayuntamiento: Requests for padrón (municipal register) extracts, certificates and statements, payment of administrative fees
- Bancos: Some banks accept an electronic signature for signing contracts online, which saves you a visit to the branch
- Notarías (notaries): Digital certification of documents, secure exchange
- Suscripción a notificaciones (electronic notifications): Subscribing to official notifications from Hacienda and other bodies: letters arrive in the electronic notifications inbox on the authority's website or in DEHú (by email you only get an alert about a new letter), rather than by post to your home address
Security and storage of the certificate
Password protection
When requesting the certificate, you set a password for the private key. Write this password down: you will be asked for it when downloading the certificate, and it cannot be recovered. If you forget the password, you have to get the certificate issued again, going through the booking and the office visit once more.
Export and backup
Make a backup straight after installation, otherwise reinstalling your system will mean another trip to the office:
- Export the certificate from the browser to a secure place (external drive, encrypted cloud storage)
- Keep a copy of the original .p12 / .pfx file in a safe place
- If you reinstall the browser or the system, the certificate can be restored from the copy; there is no need to obtain it again
Recent on this topic: “How to move a certificado digital to another computer or phone”
Security on shared computers
If you are using someone else's computer or a shared one:
- Do not let the browser save the password (“Never”)
- Always log out of the browser and your accounts
- Where possible, use Cl@ve PIN instead of the certificate on shared machines
Validity and renewal of the certificado digital
The validity period is written in the certificate itself: for those FNMT issues now, it is until 31 December 2028. You can renew the certificate online once, in the last 60 days before it expires; once it has expired, you go through the whole process again: online request, cita previa, office visit, download.
A few months before the end of the validity period, FNMT will send you a reminder by email. Do not put it off: you cannot submit anything with an expired signature, and the cita previa queue has a life of its own. If the expiry date is approaching and there are no free slots in sight, message us on WhatsApp, and we will take care of the booking and support you through the process.
Recent on this topic: “How to renew an FNMT certificado digital online and what to do if it is no longer possible”
Mac vs Windows: are there any differences?
The road to the certificate is the same on any system; only the installation differs:
- Windows: It can be installed in the system certificates (certmgr.msc) and will then work in all browsers. It can also be imported into each browser separately.
- macOS: It is imported into Keychain, and browsers access it automatically. The process is a little simpler than on Windows.
- Linux: There is no single system store here, so the import is done in each browser separately: in Chrome/Chromium through the settings, in Firefox with its own import.
If you would rather not deal with forms and imports, we arrange your digital certificate from start to finish: we fill in the FNMT request, find and book the cita previa, prepare you for the appointment and install the ready certificate in your browser. From you: your passport, NIE and one visit to the accreditation office. We discuss the cost once we understand the scope.
Frequently asked questions
How much does the certificate cost?
Do I need an NIE to get the certificate?
Can I get the certificate if I am a non-resident?
How long does it take to get the certificate?
Do I need a certificate for Cl@ve PIN?
What should I do if I forget the certificate password?
Can several certificates be used at the same time (for example, on different computers)?
If I change my surname, do I need a new certificate?
A specialist will reply within 15 minutes