Healthplan Spain

HEALTHPLAN MAGAZINE
Person using laptop with cyber security displayed on screen

How To Get A Digital Certificate For Spain

Expat Tips

More and more everyday administrative tasks in Spain — from filing taxes to updating your residency status — can now be done online. But to access many of these services securely, you’ll need a digital certificate. With identity theft and online fraud on the rise, Spain has implemented a robust verification system to ensure that online processes remain safe, efficient, and legally binding.

Whether you're an expat applying for residency, self-employed and managing your taxes, or just tired of queuing at public offices, having a digital certificate will make your life easier. In this updated guide, we explain everything you need to know about getting your digital certificate in Spain in 2025.

What is a Digital Certificate?

The digital certificate — or Certificado Digital — is an encrypted electronic ID that proves your identity online. Issued by Spain’s official mint, the Fábrica Nacional de Moneda y Timbre (FNMT), it allows you to interact with Spanish public services and sign documents digitally with full legal validity.

The certificate is stored in your web browser and can also be exported to other devices. It is valid for three to four years, depending on the issuing body, and must be renewed upon expiry. It is widely used by Spanish citizens, residents, and foreign nationals alike.

Why You Might Need a Digital Certificate

Many Spanish government and local authority websites require a digital certificate for identification. Here are some of the most common uses:

Put simply, if you plan to live in Spain and handle your own admin, it’s a smart and often essential tool.

How to Get a Digital Certificate in 2025: Step-by-Step

Step 1: Download the FNMT Software

To begin the process, you’ll first need to install a small application from the FNMT website. This software generates a pair of secure encryption keys tied to your device.

Go to: https://www.sede.fnmt.gob.es/en/descargas/descarga-software/instalacion-software-generacion-de-claves

Select the version compatible with your operating system (Windows, macOS, or Linux), download it, and complete the installation process. You must use a compatible browser like Chrome or Firefox on a desktop computer — mobile devices and tablets are not supported during this step.

Step 2: Fill Out the Application Form Online

Once the software is installed, head to the following page to request your certificate:

https://www.sede.fnmt.gob.es/en/certificados/persona-fisica/obtener-certificado-software/solicitar-certificado

Fill out the short form with your personal details:

  • NIE Number
  • Surname (as per your ID document)
  • Email address (entered twice to confirm)

Accept the terms and conditions, then click “Enviar Petición”. The FNMT software you previously installed will activate and encrypt your application.

Step 3: Receive Your Application Code by Email

You’ll receive a confirmation email almost immediately containing a unique application code. Keep this code safe — you’ll need it when verifying your identity at an authorised office.

Step 4: Verify Your Identity in Person

Although the certificate is issued online, your identity must be verified in person before it can be finalised. You can do this at one of the following locations:

  • A local FNMT office
  • A branch of the Agencia Tributaria (Tax Agency)
  • Selected Social Security offices and local councils

Find your nearest verifying office here: http://mapaoficinascert.appspot.com/

Some offices require an appointment in advance. Bring your original ID (passport and NIE), and the application code from your email. Once verified, your certificate will be authorised for download.

Step 5: Download and Install the Certificate

After verification, you’ll receive another email with a download link. Use the **same browser and computer** you used for the original application — otherwise, the download will fail.

When you revisit the certificate page, you’ll enter your NIE, surname, and application code. Once validated, the certificate will be installed directly into your browser’s certificate store. No files are saved manually unless you choose to export it.

Step 6: Export the Certificate to Another Device (Optional)

To back up or install your digital certificate on another computer:

  • Go to your browser’s certificate settings
  • Locate your personal certificate under “Authorities” or “Personal”
  • Export it as a .pfx file (with the private key included)
  • Set a secure password when exporting
  • Use this file to import your certificate into a second device

This step is optional but recommended in case your primary device is lost or damaged.

Important Tips for 2025

  • Renewals: Certificates are valid for up to 4 years. Renew online before expiry to avoid repeating the entire process.
  • Mobile Access: Although you must use a computer to apply, once installed you can use your certificate via compatible mobile apps (like Cl@ve).
  • Browser Issues: The FNMT software sometimes fails in Safari or Edge. Stick with Chrome or Firefox for all steps.
  • Security: Never share your certificate or password with anyone. If you suspect compromise, revoke it immediately via the FNMT website.

Conclusion

Obtaining a digital certificate in Spain may take a bit of effort up front, but once you have it, you'll save hours of time dealing with government procedures. Whether you're renewing your residency, declaring taxes, or simply checking your social security records, this one digital key unlocks a wide range of secure services.

Want peace of mind with every admin step?

If you're navigating Spanish bureaucracy regularly, it's wise to ensure you're also protected on the healthcare front. Whether for ID-linked prescriptions, appointment systems, or general cover, having private health insurance gives you faster access and more control.

Sanitas Mas Salud Family Plan – ideal for expats managing health and legal processes online in Spain.

Alternatively, please check out our Quick guide to find the right policy for you or your family.

 

 

SOURCES