Arraigo-logoArraigo

How to Get a Digital Certificate in Spain

EasyFree1-2 hours of setup, plus one in-person identity verification visit

The Digital Certificate (Certificado Digital or Certificado Electrónico) is the single most powerful tool an expat can have in Spain. It is a cryptographic file installed on your computer or phone that acts as your legally binding electronic signature. With it, you can skip the dreaded Cita Previa system for dozens of procedures, including downloading Padrón certificates, filing tax returns, registering for Social Security, checking traffic fines, and signing contracts remotely.

Without it, you are stuck in the physical queue system that causes so much frustration. Getting the Digital Certificate should be a top priority for every expat, but the process itself is technically demanding and unforgiving.

Critical RuleThe initial online request AND the final certificate download MUST happen on the exact same computer, same browser, and same user profile. If you change any of these, or if your browser clears cookies, or if your OS updates, the process fails permanently and you must start over from scratch.

Two Certificate Options

There are two main issuing bodies in Spain. Both certificates work identically across all government portals:

  • FNMT (national): Issued by the Fábrica Nacional de Moneda y Timbre. More widely known nationally but technically more fragile due to its strict browser-dependency.
  • ACCV (regional): Issued by the Autoritat de Certificació de la Comunitat Valenciana. Often faster and simpler in practice, as many local town halls in the Valencian Community can generate it directly.
  • Recommendation for Valencian Community ResidentsIf you are registered in the Valencian Community, strongly consider the ACCV certificate. Many local Ayuntamientos have direct ACCV integration and can often issue the certificate immediately onto a USB drive, bypassing the fragile browser-dependency of the FNMT process entirely.

    Step-by-Step: Getting the FNMT Certificate

    Step 1: Install the Required Software

    Before anything else, you must install the FNMT's cryptographic key-generation software on your personal computer. This software generates the public and private encryption keys that your browser uses. Download it from the official FNMT website (sede.fnmt.gob.es).

    Step 2: Submit the Online Request

    Visit the FNMT portal and initiate your certificate request. You will need to enter your NIE exactly as it appears on your official documents. The system generates a unique 9-digit Application Code (Código de Solicitud), which is sent to your email.

    Important TimingDo not complete this step until you have already booked your identity verification appointment (Step 3). The Application Code can expire or be invalidated by system updates. Ideally, generate this code no more than 24 hours before your scheduled verification visit.

    Step 3: In-Person Identity Verification (Acreditación)

    You must physically present yourself at an authorised Identity Verification Point (Punto de Registro de Usuario, or PRU). Most local Ayuntamientos serve as authorised PRUs for the ACCV, and many also handle FNMT verifications. Check the FNMT website for the list of authorised PRUs in your province.

    Bring: your 9-digit Application Code, your original valid passport, and your original physical NIE/TIE document.

    Step 4: Download and Back Up the Certificate

    Approximately 1–2 hours after verification, return to the exact same computer and browser you used in Step 2, and download your certificate. Immediately export a backup copy in .pfx or .p12 format, and store it in a secure location protected by a strong password. This backup is your insurance against computer failure.

    Required Documents Checklist

  • Valid passport: Original
  • NIE/TIE document: Original physical card or paper
  • 9-digit Application Code: From the FNMT online request (for FNMT certificates)
  • Computer with FNMT software installed: Same machine for request and download
  • Common Problems and How to Avoid Them

    Certificate download fails — "key not found"

    This is the most common and devastating error. It happens when any element of the chain changes between the online request and the download: different computer, different browser, cleared cookies, OS update, or browser update.

    PreventionDo not update your computer or browser between the online request and the download. Do not clear browser data. Use the exact same setup for both steps. If the download fails, the Application Code is permanently invalidated and you must restart the entire process from scratch.

    Needing an appointment to get the thing that removes the need for appointments

    This is the great irony of the Digital Certificate: you need a Cita Previa to verify your identity, but the whole point of the certificate is to avoid needing Cita Previas in the future.

    WorkaroundCall your local Ayuntamiento directly and ask about walk-in availability for certificate verification. Many smaller town halls — particularly outside major cities — process walk-ins without a formal appointment. The ACCV route through local town halls is generally much faster than the national FNMT system.

    Practical Tips

  • Book your verification appointment first, then generate your Application Code 24 hours before the appointment — not earlier.
  • The ACCV certificate can sometimes be issued immediately on a USB drive at the town hall, skipping the browser-dependent download step entirely.
  • Once you have your Digital Certificate, install it on your phone too — the Cl@ve system accepts it for mobile authentication across all Spanish government portals.
  • Create a calendar reminder for your certificate's expiry date (typically 2–4 years depending on issuer) so you can renew before it lapses.
  • Frequently Asked Questions

    What can I do with a Digital Certificate in Spain?

    Almost everything: download Padrón certificates, file tax returns, register for Social Security, check traffic fines, sign contracts, and access most government portals without needing an appointment.

    Is the ACCV certificate the same as the FNMT certificate?

    Yes, in practice. Both are legally valid and work across all national and regional government portals via the Cl@ve authentication system.

    Can I use my Digital Certificate on my phone?

    Yes. Once you have the .pfx file, you can install it on Android or iOS devices. This gives you mobile access to Spanish government portals.

    My certificate expired — what do I do?

    You will need to repeat the full process: new online request, new verification visit, and new download. Certificates are typically valid for 2–4 years depending on the issuer.

    Can someone else get a Digital Certificate for me?

    No. The identity verification step must be done in person by the certificate holder. No one can represent you for this step.