Certificado digital: electronic signature in Spain 2026

In short. The FNMT electronic signature is issued free of charge to holders of an NIE or DNI and is valid until the date stated on the certificate: for those issued now, until 31 December 2028. The process has three steps: an online request on the FNMT website, a personal visit to an accreditation office with the code from the email, your NIE and passport, and downloading the certificate to your browser on the same day. Checked on 24 October 2026 against sede.fnmt.gob.es. Source: FNMT-RCM, Sede electrónica — FAQ 1038 “¿Es gratuita la obtención del certificado de persona física?”; documents and offices — /certificados/persona-fisica/obtener-certificado-software/acreditar-identidad; video identification — /certificados/persona-fisica/obtener-certificado-video-identificacion.

This is a task we handle

Digital certificate Message us on WhatsApp

A specialist will reply within 15 minutes

Certificado digital is an electronic signature that replaces trips to Spanish public offices: with it, your documents go to Hacienda (the tax office) and Seguridad Social (social security) straight from home. You need it to file Modelo 030 or to work as an autónomo; you can order it once you already have an NIE. We go through the whole process: where to order the certificate for free, how to pass the identity check at the office, how to install the signature in your browser and what to do if you have lost its password.
In this article
What is a certificado digitalTypes of electronic certificates in SpainHow to get an FNMT certificado digitalInstalling the certificado digital in your browserWhere to use the certificado digitalSecurity and storage of the certificateValidity and renewal of the certificado digitalMac vs Windows: are there any differences?Frequently asked questions

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.

What to choose as a foreign national: if you have an NIE rather than a DNI, get FNMT: it is accepted everywhere electronic signatures are accepted at all. Set up Cl@ve as a second, backup login: it will come in handy while the certificate is still being issued.

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

  1. Open sede.fnmt.gob.es → section “Certificado con Acreditación Presencial” → “Solicitar Certificado”
  2. Fill in the form: your NIE or DNI number, first surname (primer apellido) and email
  3. The system will assign a code (referencia) to your request
  4. 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:

  1. Go back to sede.fnmt.gob.es → “Descargar certificado”
  2. Enter your request code and details
  3. 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
  4. Make a backup: a .p12 or .pfx file (the certificate with the private key)
  5. 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
If you use Windows: import the certificate through the certificate manager (certmgr.msc): then all browsers on the computer will see the signature, and you will not have to repeat the import in each one. If the portal does not see the signature after the import, message us on WhatsApp: we will work out at which step it fails.

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.

Do not wait until the last day: you can order a new certificate at any time, even while the old one is still valid. If you have lost the password, the file is damaged or you have changed computers, and there is no backup and you cannot make one, request a new certificate; but when the new one is issued, the previous certificate is revoked automatically.

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?
It is completely free. FNMT issues certificates at public expense to all adult (or emancipated) holders of a DNI or NIE.
Do I need an NIE to get the certificate?
Yes, it is mandatory. The certificate is issued in the name of the holder of an NIE (for foreign nationals) or a DNI (for Spanish citizens). If you do not have an NIE yet, get it first and then order the certificate.
Can I get the certificate if I am a non-resident?
Yes, a non-resident with an NIE can also get the FNMT certificate. The process is the same: online request, office visit with documents, download. Being a non-resident is no obstacle.
How long does it take to get the certificate?
The active time is about 30–40 minutes: online request (5 min), office visit (15 min), download (5 min). But 1–3 weeks may pass between the request and the office visit while you wait for a cita previa. After the office visit, the certificate is ready within 1–2 hours.
Do I need a certificate for Cl@ve PIN?
No. Cl@ve is an alternative system that does not require installing a certificate. But Cl@ve is less universal: not all portals support it. The FNMT certificate works everywhere.
What should I do if I forget the certificate password?
Unfortunately, the password cannot be recovered. If you do not have a backup with a password you know and cannot make one, you need to request a new certificate through FNMT (free of charge). Remove the old one from your browser, then download and install the new one.
Can several certificates be used at the same time (for example, on different computers)?
Yes, you can install the same certificate (.p12 file) on several computers and browsers. When you install a copy, the system will ask for its password, and this is safe. But it is still one and the same certificate, just copied.
If I change my surname, do I need a new certificate?
Yes, you do. The certificate is issued in your current name. If it has changed (for example, after marriage), the old certificate loses its legal validity. Request a new one through FNMT after your details have been changed in the register.
We will take care of getting your signature issued
The FNMT certificate itself is free: the state does not charge for it. We take care of everything else: the request, booking the appointment at the accreditation office, installation in your browser and connecting you to your Hacienda, Seguridad Social and autónomo online accounts. Message us on WhatsApp and we will tell you what is needed in your case and how long it will take. We discuss the cost once we understand the scope.
Message us on WhatsApp

A specialist will reply within 15 minutes

This is a task we handle Digital certificate