Digital Certificate
If you plan to live, work, study, or open a business in Spain, obtaining a Digital Certificate (Certificado Digital) is easily the single most important administrative step you will take.
In Spain, bureaucracy is heavily digitized. A Digital Certificate acts as an official, legally binding electronic ID file installed directly onto your web browser or phone. It completely eliminates the need to stand in physical lines, book hard-to-get appointments (citas previas), or print stacks of paper.
What Can You Do with It?
Virtually every interaction with the Spanish government can be completed online using your certificate:
- Taxes: File your quarterly and annual tax returns (Modelo 100, 303, etc.) directly with the Agencia Tributaria (Hacienda).
- Social Security: Register for healthcare, check your employment history certificate (vida laboral), or apply for maternity/paternity leave.
- Immigration: Renew your residency card (TIE) or check the status of a visa application.
- Local Administration: Register your address at the town hall (empadronamiento) or download your official census certificate.
How to Get Your Digital Certificate (Step-by-Step)
The most common and widely accepted digital certificate is issued by the FNMT (Fábrica Nacional de Moneda y Timbre — the Spanish Royal Mint).
Getting it requires a specific flow, and the process is notoriously rigid. If you deviate from the technical steps, the download will fail, and you will have to restart.
The FNMT Process
1.Prepare Your Browser & Install Configurator:10 mins.
You must use the exact same computer, user account, and browser for both requesting and downloading the certificate. Go to the FNMT website, download, and install the “FNMT-RCM Configurator” software for your operating system (Windows, Mac, or Linux). Do not update your browser or clear cookies during this multi-day process.
2.Request the Code Online:5 mins.
On the FNMT website, navigate to “Solicitar Certificado” (Request Certificate). Enter your NIE (foreigner identification number) or DNI, your first surname exactly as it appears on your document, and your email address. You will immediately receive an email containing a unique Application Code (Código de Solicitud).
3.Verify Your Identity In-Person:Requires Appointment.
Book an appointment (cita previa) at an accredited registry office. This can be a local town hall (Ayuntamiento), a social security office, or a tax agency office. Bring your passport, your physical NIE/TIE document, and a printout of the Application Code email. The officer will verify your identity and activate your code instantly.
4.Download and Install:5 mins (Available ~1 hour after verification).
Return to the exact same computer and browser you used in Step 2. Open the download link sent to your email, enter your NIE/DNI, first surname, and the application code. The certificate will install directly into your browser’s security settings.
⚠️ Critical Security Step: Export a Backup!
Because the certificate is tied directly to the browser you downloaded it on, it will be lost if your computer breaks or if you switch devices.
Open your browser settings (e.g., Settings > Privacy & Security > Certificates), locate your certificate under your name, and click Export. Save it as a password-protected
.pfxor.p12file and email it to yourself or save it on a USB drive. You can now double-click this file to install your digital identity onto your phone or a secondary laptop.
Alternative: The Cl@ve System
While a Digital Certificate is a physical file living on your device, you will also frequently see options to log in via Cl@ve.
Cl@ve is an identity platform that acts like a universal username and password for public administration.
- Cl@ve Móvil / PIN: Perfect for fast, sporadic tasks via a mobile app or an SMS code.
- Cl@ve Permanente: Aimed at frequent users, utilizing a durable password reinforced with a one-time SMS pin for high-security transactions.