Digital Certificate
Digital Certificate in Spain: How to Get a Certificado Digital and Use It
A digital certificate in Spain — certificado digital or certificado electrónico — allows you to identify yourself securely online and complete many Spanish government procedures without visiting an office in person.
For foreigners living, working, studying, owning property or doing business in Spain, it can become one of the most useful administrative tools to obtain.
With a valid digital certificate, you may be able to access government records, file applications, submit documents, check notifications, deal with taxes and Social Security, sign electronic forms and complete many other procedures online.
For most individual newcomers, the certificate they are looking for is the FNMT Citizen Certificate — Certificado Electrónico de Ciudadano.
The important point for foreigners is this:
You can obtain an FNMT Citizen Certificate with an NIE, but having an NIE does not mean every identification method offered to Spanish DNI holders is available to you.
What Is a Digital Certificate in Spain?
A digital certificate is an electronic credential that connects your verified identity with a cryptographic key.
When installed correctly on your computer, browser or supported device, it can allow an electronic administration system to confirm that the person accessing or signing a procedure is really you.
You may see several names used for the same general concept:
- certificado digital;
- certificado electrónico;
- certificado de ciudadano;
- certificado de persona física;
- FNMT certificate.
For an individual dealing with Spanish public administration, these terms often refer to an electronic identity certificate used to authenticate yourself and, where supported, sign electronically.
What Is the FNMT Digital Certificate?
FNMT stands for Fábrica Nacional de Moneda y Timbre – Real Casa de la Moneda.
The FNMT Citizen Certificate is one of the most widely used electronic certificates in Spain.
It can be used with many public administrations and electronic offices.
For newcomers, it can substantially reduce the number of procedures that require an in-person visit.
Instead of repeatedly proving your identity at different offices, your installed certificate can authenticate you electronically when the government service accepts certificate-based access.
What Can You Do With a Digital Certificate in Spain?
Depending on the government portal and procedure, a digital certificate can help you:
- access your personal administrative records;
- submit applications;
- present documents electronically;
- sign certain official forms;
- file or manage tax procedures;
- access Social Security services;
- consult administrative notifications;
- access municipal services;
- obtain certain certificates;
- check traffic-related information;
- submit appeals or administrative requests;
- access electronic registers;
- interact with government departments;
- complete some immigration-related online procedures;
- manage business or self-employment administration where applicable.
It does not mean every Spanish administrative procedure can be completed entirely online.
Some processes still require:
- fingerprints;
- original documents;
- biometric identification;
- physical attendance;
- interviews;
- notarial acts;
- police appointments.
Think of the digital certificate as your electronic identity for Spanish administration, not as a replacement for every in-person procedure.
Who Can Get an FNMT Digital Certificate?
The FNMT Citizen Certificate is available to qualifying Spanish and foreign individuals.
A foreign applicant generally needs an NIE — Número de Identidad de Extranjero — assigned by Spain.
This distinction is important.
You do not necessarily need to be a Spanish citizen to obtain the certificate.
You also should not assume that simply having a passport is enough.
For a foreign applicant, the FNMT process is connected to the applicant’s Spanish identification number.
If you do not yet have an NIE, read How to Get an NIE Number in Spain before starting the digital-certificate process.
Do You Need Spanish Residency to Get a Digital Certificate?
Not necessarily.
The important issue is generally whether the foreign applicant has the required Spanish identification, particularly an assigned NIE, and can complete the applicable identity-accreditation process.
This means the concepts should not be confused:
NIE → identification number
TIE → physical residence card for qualifying foreign residents
Digital Certificate → electronic identity credential
They serve different purposes.
If you are still organizing your residence documentation, see TIE Card in Spain.
Can a Foreigner Get a Digital Certificate With an NIE?
Yes.
Foreign citizens with an assigned NIE can apply for an FNMT Citizen Certificate if they meet the applicable identification requirements.
However, your NIE number alone is not normally the complete proof of identity required at the identity-accreditation stage.
You should expect to provide documentation that connects:
you → your passport or identity document → your Spanish NIE
The exact documents depend partly on whether you are an EU citizen or another foreign national.
What Documents Do EU Citizens Need?
For in-person identity accreditation, an EU citizen may generally need:
- the FNMT application code;
- documentation showing the NIE; and
- a valid passport or national identity document from the country of origin.
The NIE may appear on documents such as an EU Citizen Registration Certificate or another official document assigning the NIE.
Bring the original valid documents required for your situation.
Do not assume that simply showing the NIE number written on a piece of paper or in an email will be sufficient.
What Documents Do Non-EU Foreigners Need?
A non-EU foreign applicant may generally need:
- the FNMT application code;
- an appropriate official Spanish document showing the NIE; and
- a valid passport.
Depending on immigration status, the relevant NIE evidence may appear on a foreigner identity document or another official document confirming assignment of the NIE.
A TIE can therefore be relevant evidence in many cases, but the key issue is satisfying the FNMT identity requirements for your particular situation.
How to Get a Digital Certificate in Spain as a Foreigner
For many foreigners, the most reliable route is:
prepare your computer → request the certificate → receive your application code → verify your identity → download the certificate → create a backup
Step 1: Prepare Your Computer
Before requesting the software certificate, complete the technical preparation required by FNMT.
The process may require installation of FNMT configuration software.
Do this before submitting the certificate request.
For the computer-based software route, continuity matters.
Avoid:
- changing computers during the process;
- changing operating-system users;
- reinstalling the operating system;
- deleting relevant browser or certificate data;
- making major configuration changes before downloading the certificate.
The safest approach is to begin and finish the process on the same computer and user profile.
Step 2: Submit the Certificate Request
You submit an online request using your personal information.
Foreign applicants should enter their identification details exactly as required.
Pay particular attention to:
- NIE;
- surname;
- email address.
After the request is successfully generated, you receive a Código de Solicitud — application code.
Keep this code safe.
You will need it during later stages of the process.
Step 3: Verify Your Identity
This is the stage that causes the most confusion for foreigners.
For an NIE-based foreign applicant, in-person identity accreditation is often the practical route.
You attend an authorized identity-accreditation office with:
- your application code;
- the required NIE documentation;
- your passport or qualifying identity document;
- any additional documents applicable to your case.
Some accreditation offices require an appointment.
Check the requirements of the particular office before travelling there.
Step 4: Download Your Certificate
After successful identity accreditation, you can complete the download when the certificate becomes available.
For the computer-based software route, use the same computer and user environment used when making the original request.
Once downloaded and installed, test that the certificate appears correctly and can be selected on a compatible government service.
Step 5: Make a Backup Immediately
This is one of the most important steps.
After installation, create a secure backup copy that includes the certificate and its private key where the system permits it.
Protect the exported file with a strong password.
A backup can make it much easier to:
- move the certificate to another computer;
- reinstall it after a computer problem;
- use it on another compatible device;
- recover after replacing a computer.
Do not casually send your digital certificate or private-key backup by email.
Anyone who gains access to the certificate together with the necessary credentials may potentially impersonate you electronically.
Where Can You Verify Your Identity?
FNMT uses authorized identity-accreditation offices — Oficinas de Acreditación de Identidad.
Depending on location and office type, accreditation may be available through participating public administrations such as certain:
- tax offices;
- Social Security offices;
- government registration or citizen-service offices.
Availability and appointment requirements vary.
Do not assume that every government office can perform FNMT accreditation.
Check the correct office before booking or travelling.
Also note that the ordinary FNMT Citizen Certificate identity-accreditation procedure is not simply available at any Correos post office.
Can You Get a Spanish Digital Certificate From Outside Spain?
Potentially, yes.
If you are outside Spain and already have the required Spanish identification, identity accreditation for an FNMT Citizen Certificate may be available through participating Spanish consular offices abroad.
This can be valuable for someone who needs to begin Spanish administrative procedures before returning or relocating to Spain.
However:
- not every consular service is identical;
- appointment procedures can differ;
- documentation should be checked before attendance.
If you are planning your move from abroad, it can be useful to coordinate the digital certificate with your wider immigration and relocation process in Spain.
Can Foreigners Get the FNMT Certificate by Video Identification?
This requires particular care.
FNMT offers video-identification options, but the current video-identification routes are not a general shortcut for a foreign applicant who only has an NIE.
The current FNMT web video-identification process requires a valid electronic Spanish DNI.
The mobile-app video-identification service is also currently limited to applicants with a valid DNI.
Therefore, a foreigner with an NIE should not assume that they can avoid in-person identity accreditation simply by selecting video identification.
This is an important difference between:
being eligible for an FNMT Citizen Certificate with an NIE
and
being eligible for every FNMT identity-verification method.
For many foreign applicants, in-person accreditation remains the clearer route.
Is the FNMT Digital Certificate Free?
The FNMT Citizen Certificate itself is generally issued free of charge to individuals.
Some optional identification services may carry a separate charge.
For example, FNMT’s eligible video-identification service has its own service fee.
Foreign applicants should focus first on which identification route is actually available to them rather than paying for a method that does not fit their identity documents.
Digital Certificate vs Cl@ve: What Is the Difference?
Newcomers often assume Cl@ve and a digital certificate are the same thing.
They are not.
| Feature | Digital Certificate | Cl@ve |
|---|---|---|
| Purpose | Electronic identification and signing | Electronic identification system |
| Stored certificate | Yes, normally installed or available on a device/system | Not the same local certificate model |
| Useful across government portals | Yes | Yes |
| Can support electronic signatures | Yes | Certain Cl@ve services can support signing |
| Requires separate registration | Certificate issuance process | Cl@ve registration |
| Best option | Depends on procedure | Depends on procedure |
In practice, it can be useful to have both.
Some procedures work more conveniently with Cl@ve.
Others may specifically offer or work better with a digital certificate.
The correct option depends on the electronic service you are trying to use.
For a broader overview of Spain’s online administration, see Essential Spanish Government Websites.
Digital Certificate vs AutoFirma
These are also different.
Digital Certificate
Your digital certificate proves your electronic identity and contains the credentials used for authentication and signing.
AutoFirma
AutoFirma is an application used by Spanish electronic administration to perform electronic-signature operations.
A government procedure may therefore require:
digital certificate + AutoFirma
rather than one replacing the other.
If an application says that AutoFirma is required, having a valid certificate installed does not necessarily remove the need to install the signing application.
Where Is the Digital Certificate Stored?
A software certificate may be stored within a certificate store used by your:
- operating system;
- browser;
- device;
- compatible certificate application.
The precise behaviour depends on how you obtained and installed it.
This matters because users frequently believe their certificate exists “on the FNMT website.”
For a downloaded software certificate, you are responsible for securely maintaining your installed certificate and private key.
That is why making a password-protected backup is so important.
Can You Install the Digital Certificate on Another Computer?
Usually, if you have properly exported a backup containing the necessary certificate and private key, you can import it into another compatible device or certificate store.
The safe sequence is:
- successfully obtain the certificate;
- confirm it works;
- export a protected backup;
- store the backup securely;
- import it onto another trusted device when necessary.
Do not remove the original working certificate until you know your backup works correctly.
Can You Use the Digital Certificate on a Phone?
Depending on the certificate format, operating system and relevant applications, a certificate may be usable on compatible mobile devices.
However, not every Spanish government procedure works equally well from a phone.
Some electronic processes work much more reliably on a computer, particularly where:
- AutoFirma is required;
- documents must be uploaded;
- multiple electronic signatures are required;
- browser compatibility is important.
For important immigration, tax, company or administrative submissions, a computer often provides a more manageable working environment.
What Is an Electronic Signature?
An electronic signature is not simply an image of your handwritten signature pasted into a PDF.
A digital signing system uses electronic credentials to associate the signer with the document and help demonstrate integrity and authenticity.
Depending on the procedure, your FNMT certificate can be used to create an electronic signature accepted by the relevant Spanish administration.
The exact signing method varies by portal.
Do You Need a Digital Certificate for Immigration Procedures?
Not every immigration process requires one.
However, a digital certificate can be extremely useful for people who regularly interact with Spanish electronic administration.
Depending on the procedure and system, it may help with:
- electronic submissions;
- checking files;
- receiving notifications;
- presenting additional documents;
- administrative appeals;
- dealing with related government services.
Your immigration status itself is separate from your digital certificate.
Obtaining a digital certificate does not grant:
- residency;
- a visa;
- a TIE;
- permission to work;
- Spanish citizenship.
It is an administrative access tool.
Do You Need an NIE Before the Digital Certificate?
For a foreign applicant seeking the FNMT Citizen Certificate, yes, an assigned NIE is generally central to the application.
This creates a logical administrative sequence for many newcomers:
Immigration status → NIE → TIE where applicable → Empadronamiento → Digital Certificate → online administration
The exact order can vary depending on the person’s immigration route.
For example, some applicants receive an NIE during the immigration process before ever applying for a TIE.
Others need a standalone NIE for a particular Spanish transaction.
Read NIE Number in Spain if you are unsure whether you already have one.
How Does Empadronamiento Relate to the Digital Certificate?
Empadronamiento and a digital certificate are different procedures.
Empadronamiento records your habitual address in the municipal population register.
A digital certificate verifies your identity electronically.
However, once you have a digital certificate, some municipalities provide online services that can make it easier to:
- access padrón information;
- request certain municipal certificates;
- submit local administrative requests.
If you have recently arrived in Spain, see Empadronamiento in Spain.
How Does Social Security Relate to the Digital Certificate?
Spain’s Social Security system provides extensive online services.
A valid digital identification method can make it easier to access certain personal records and complete available electronic procedures.
For a newcomer beginning employment or self-employment, it is important not to confuse:
NIE → foreigner identification
NUSS → Social Security number
Digital Certificate → electronic identification
Each serves a different administrative purpose.
Read How to Get a Social Security Number in Spain for the NUSS process.
How Long Is a Digital Certificate Valid?
Do not rely on an old blog post or a generic validity period.
Check the actual expiry date shown in your certificate.
Certificate policies and technical requirements can change, and the date recorded in your own certificate is what matters for planning renewal.
Set yourself a reminder well before expiration.
How Do You Renew an FNMT Digital Certificate?
An eligible FNMT Citizen Certificate can generally enter the online renewal process during the 60 days before its expiry date, provided it has not already been revoked and the applicable renewal conditions are satisfied.
However, not every certificate can simply be renewed repeatedly online.
Depending on how the existing certificate was originally obtained or previously renewed, FNMT may require a new identity-verification process rather than another ordinary online renewal.
The practical rule is:
Do not wait until the certificate expires before checking renewal eligibility.
Once it has expired, you may need to begin a new issuance process.
What Happens If Your Certificate Expires?
An expired certificate can no longer be used as a valid current electronic identity certificate.
If renewal was not completed in time, you may need to request a new certificate.
This can mean repeating:
- the application;
- identity verification;
- download;
- installation;
- backup.
Check the expiry date periodically rather than discovering the problem when an urgent government deadline arrives.
What If Your Certificate Is Lost or Compromised?
Security matters because your certificate represents your electronic identity.
Consider revocation if:
- your computer is stolen;
- your certificate backup is stolen;
- someone obtains access to your private key;
- you believe the certificate has been copied without permission;
- you otherwise lose control of the credentials.
Do not continue using a certificate that you reasonably believe has been compromised.
Common Digital Certificate Problems
Using a Different Computer for Download
For the traditional computer-based request, switching equipment or user profiles can prevent successful download.
Losing the Application Code
Keep the FNMT application code until the process is fully completed.
Entering Personal Information Differently
Your NIE and identity details need to correspond with the official records used for verification.
Assuming NIE Means Video Identification Is Available
Having an NIE makes a foreign applicant eligible for the certificate, but it does not make the current DNI-based FNMT video-identification options available.
Going to the Wrong Office
Not every public office performs FNMT identity accreditation.
Verify the office first.
Arriving Without the Correct Documents
Bring the original identity and NIE documentation required for your nationality and status.
Failing to Make a Backup
This is one of the most avoidable problems.
Make a secure backup immediately after successful installation.
Forgetting the Backup Password
A backup you cannot open may be useless.
Use a secure password-management method.
Sending the Certificate by Unsecured Email
Treat the certificate and private key as sensitive identity credentials.
Waiting Until Expiration to Renew
Check renewal eligibility during the 60-day window before expiry.
Digital Certificate Checklist for Foreigners
Before starting:
- Confirm that you already have an NIE
- Check that your passport or identity document is valid
- Identify the correct NIE document for accreditation
- Prepare the computer or device
- Complete the required FNMT configuration
- Submit the certificate request
- Save your application code securely
- Find an authorized identity-accreditation office
- Check whether an appointment is required
- Bring original identification
- Complete identity accreditation
- Download the certificate using the correct device/user environment
- Test the certificate
- Create a password-protected backup
- Store the backup securely
- Check the certificate’s expiry date
- Plan renewal before expiration
Do You Really Need a Digital Certificate After Moving to Spain?
For someone who intends to live in Spain long term, it is usually extremely useful.
Newcomers often begin their move with immigration documents and then discover that everyday Spanish administration involves multiple systems:
NIE → TIE → padrón → Social Security → healthcare → taxes → government notifications → electronic administration
A digital certificate helps connect you to many of those online services.
It is therefore better viewed as part of your post-arrival administrative infrastructure rather than as an isolated technical document.
How Newcomer.es Can Help
Getting the certificate itself is only one part of settling into Spain.
The difficulty for many newcomers is determining the correct order of administrative procedures.
Newcomer.es helps coordinate practical relocation and administration, including:
- NIE procedures;
- TIE preparation;
- empadronamiento;
- Social Security administration;
- immigration documentation;
- digital-certificate preparation;
- Spanish administrative procedures;
- document coordination;
- post-arrival relocation support.
We can help you understand what needs to happen first and prepare the documentation for each stage.
For assistance organizing your Spanish administrative setup, contact Newcomer.es.
Frequently Asked Questions About the Digital Certificate in Spain
What is a digital certificate in Spain?
A digital certificate is an electronic credential used to identify yourself securely online and, where supported, electronically sign documents and government procedures.
What is a certificado digital?
Certificado digital is the common Spanish term for a digital or electronic certificate used for online identification.
Can foreigners get a digital certificate in Spain?
Yes. Foreign applicants with the required Spanish identification, including an assigned NIE, can obtain an FNMT Citizen Certificate if they complete the applicable identity requirements.
Do I need an NIE for a digital certificate?
Foreign applicants for the FNMT Citizen Certificate generally need an assigned NIE.
Do I need a TIE?
Not necessarily. NIE and TIE are different. The specific identity documentation required depends on the applicant’s nationality and status.
Can I get a digital certificate without being a Spanish resident?
Potentially yes. Foreigners with the required NIE and qualifying identity documentation can apply, and identity accreditation may also be possible through certain Spanish consular offices abroad.
Can I get the FNMT certificate online with an NIE?
You can begin the application online, but a foreign applicant with only an NIE should not assume the entire process can be completed remotely. Current FNMT video-identification routes require a valid DNI.
Is the digital certificate free?
The FNMT Citizen Certificate itself is generally free. Optional identification services may have separate charges.
Is the digital certificate the same as Cl@ve?
No. Both are electronic identification tools, but they operate differently. Many residents find it useful to have both.
Is AutoFirma the same as a digital certificate?
No. AutoFirma is a signing application. A digital certificate provides electronic identity credentials. Some procedures use both together.
Can I use my digital certificate for taxes?
A digital certificate can be used for many electronic tax services where certificate authentication is accepted.
Can I use it for Social Security?
Yes, many Spanish Social Security electronic services support digital identification, including certificate-based access.
Can I use it for immigration?
It can be useful for certain electronic immigration and administrative procedures, but it does not replace your visa, residence authorization, NIE or TIE.
Can I install the certificate on more than one device?
A properly exported backup may generally be imported into other compatible trusted devices. Protect the backup and private key carefully.
What happens if I lose my computer?
If you have a secure working backup, you may be able to install the certificate on another compatible device. If the certificate or private key may have been compromised, consider revocation.
When can I renew my FNMT certificate?
Eligible FNMT Citizen Certificates can generally enter the renewal process during the 60 days before expiry, subject to FNMT’s renewal conditions.
What happens if it expires?
If the certificate expires before successful renewal, you may need to request a new certificate and repeat the required identity-verification process.
Make the Digital Certificate Part of Your Spain Setup
The Spanish Digital Certificate may look like a minor technical procedure, but for a newcomer it can become one of the most useful tools for dealing with Spanish administration.
The best sequence is simple:
Get the correct Spanish identification → prepare the application correctly → verify your identity → install the certificate → make a secure backup → use it for compatible online procedures → renew it before expiry.
Once your NIE, padrón, Social Security and digital access are organized, managing life in Spain becomes considerably easier.