Digital Certificate Spain: How to Get Your Certificado Digital (2026 Guide)

Key Takeaways

  • A Spanish digital certificate (certificado digital) lets you deal with every government agency online — tax returns, Seguridad Social, signing documents — without queuing in person.
  • The process has three steps: request online at the FNMT website, verify your identity in person at an authorised office, then download and install the certificate in your browser.
  • On the Costa del Sol, you can verify at Hacienda offices in Málaga, Fuengirola, Marbella, and Estepona — no appointment needed for identity verification at most locations.
  • Government notifications sent to your DEHú inbox become legally served after 10 days whether you read them or not. If you have a digital certificate, set up email alerts now.
  • Your certificate is valid for 4 years. You can renew it online in the final 2 months before expiry — do not let it expire or you restart the whole process from scratch.
  • Firefox is the recommended browser. Chrome works but causes more issues. Safari is not supported for installation.
  • Cl@ve PIN is easier to register for but only gives you limited access. For full government portal access, signing documents, or giving your gestor digital power of attorney, you need the full certificate.

🌊 Get the WaypointSur Briefing

Free weekly intel for expats on the Costa del Sol. Deadlines, workarounds, and admin shortcuts only long-term residents know.

Subscribe Free →

What Is a Certificado Digital and Why You Need One

A certificado digital (digital certificate) is a cryptographic file that proves your identity to Spanish government systems. Think of it as a digital passport installed in your browser — one that lets you access every government portal, file your tax return, check your Seguridad Social contributions, sign official documents, and handle bureaucracy without leaving your desk.

Without it, you are stuck booking in-person appointments (cita previa) for tasks that would take two minutes online. With it, you can file your declaración de la renta in 20 minutes from home, download your empadronamiento certificate on demand, check your social security record, and give your gestor digital power of attorney — all without setting foot in a government office.

For expats on the Costa del Sol, the certificate is close to essential once you are resident. The Spanish administration increasingly assumes all residents have one. Official notifications arrive via the DEHú digital mailbox, and — critically — those notifications count as legally delivered after 10 days regardless of whether you opened them. That means fines, tax demands, and administrative resolutions can expire or escalate while sitting unread in a mailbox you did not know you had.

If you are still working out your NIE and residency status, sort that first. You need a valid NIE to get the certificate.

FNMT: The Organisation That Issues the Certificate

The certificate is issued by the Fábrica Nacional de Moneda y Timbre (FNMT), Spain’s national mint and the official certification authority. Their portal is sede.fnmt.gob.es.

FNMT issues the most widely used certificate type: Certificado de Ciudadano (Software) — a software-based certificate that installs in your browser and works across most Spanish government portals. There is also a hardware version stored on a smartcard (for businesses and professionals who need it), but for most expats the software certificate is what you want.

The certificate you receive is a PKCS#12 file (.p12 or .pfx). Once installed in Firefox or Chrome, it authenticates you automatically when you visit government portals that require it.

Step-by-Step: Getting Your Digital Certificate

Step 1 — Configure Your Browser and Download the Software

Use Firefox for the entire process. This is not a preference — it is practical advice. The FNMT browser compatibility checker at sede.fnmt.gob.es/certificados/persona-fisica/configuracion-previa will tell you whether your setup is ready.

Download and run the FNMT-RCM Configurador application for your operating system (Windows, Mac, or Linux). This tool configures your browser to communicate securely with FNMT systems. Without it, the certificate request will fail silently.

After installing the Configurador, restart Firefox before proceeding.

Step 2 — Submit Your Certificate Request Online

  1. Go to sede.fnmt.gob.es → Certificados → Persona Física → Obtener Certificado Software → Solicitar Certificado
  2. Enter your NIE (or DNI if you have Spanish nationality) and your first surname as it appears on your identity document
  3. Provide an email address — FNMT will send your application code here
  4. Submit the form

You will receive an email within minutes containing a código de solicitud (application code). Do not close Firefox, do not clear your browser cache, and do not uninstall the Configurador until the process is complete. The certificate key is stored in your browser session — clearing it means starting over.

Step 3 — Verify Your Identity in Person

Within 10 days of receiving your application code, you must present yourself in person at an authorised registration office. You need to bring:

  • Your NIE certificate or TIE (Tarjeta de Identidad de Extranjero) — original, not a photocopy
  • Your passport
  • The application code from your FNMT email (printed or on your phone)

The office clerk will verify your identity and validate your application code in the system. The verification itself takes under five minutes.

Step 4 — Download and Install Your Certificate

After in-person verification, wait approximately 1 hour before proceeding. Then, on the same computer and browser you used for Step 2:

  1. Go to sede.fnmt.gob.es → Descargar Certificado
  2. Enter your NIE and application code
  3. The certificate installs automatically into Firefox
  4. Immediately export a backup: Firefox → Settings → Privacy & Security → Certificates → View Certificates → Your Certificates → select your cert → Backup → save the .p12 file to a secure location (cloud storage + external drive)

Set a strong password for the backup file. If you lose the browser-installed certificate and have no backup, you must request a new one and verify in person again.

Where to Verify Identity on the Costa del Sol

Any Agencia Tributaria (Hacienda) office can perform identity verification for the digital certificate. No appointment is required specifically for certificate verification — though you may still encounter queues, particularly in Málaga city.

Agencia Tributaria — Málaga Province Offices

Location Address Notes
Málaga City C/ Mauricio Moro Pareto 2, Edificio Eurocom, 29006 Málaga Largest office; morning queues can be long. Come early or use the afternoon session.
Fuengirola Av. Condes de San Isidro 22, 29640 Fuengirola Serves central Costa del Sol. Usually shorter queues than Málaga.
Marbella C/ Ramón Gómez de la Serna 4, 29602 Marbella Western Costa del Sol. Covers Marbella, San Pedro, Estepona residents.
Estepona Av. España 1, 29680 Estepona Smaller office; verify opening hours before visiting via sede.agenciatributaria.gob.es
Vélez-Málaga Av. Vivar Téllez 42, 29700 Vélez-Málaga Covers Axarquía residents (Nerja, Torre del Mar area)

Check current opening hours at agenciatributaria.es → Oficinas before you go. Hours change seasonally and some offices close on specific afternoons.

FNMT also has delegations that can perform verification, but the Hacienda offices above cover the entire Costa del Sol effectively. If you are in Málaga city and prefer the FNMT directly, their regional office is at the same Edificio Eurocom building.

If you need to book a cita previa for other Hacienda matters, do that separately — certificate verification does not always require advance booking but office procedures vary.

What You Can Do With Your Digital Certificate

Once installed, your certificate unlocks the full Spanish e-government ecosystem. Here is what matters most for Costa del Sol expats:

Tax Returns (Declaración de la Renta)

File your annual income tax return at sede.agenciatributaria.gob.es. With the certificate, you can access your borrador (draft return), review what Hacienda already has on file for you, and submit or modify the return — all without visiting an office. If you are working on establishing or managing your tax residency in Spain, this is the portal you will use for most filings.

Seguridad Social Access

At sede.seg-social.gob.es you can view your vida laboral (employment history and contributions record), check your cotizaciones, apply for benefits, and manage your Seguridad Social status. Freelancers and autónomos will use this portal to manage their self-employment contributions.

Sede Electrónica Portals

Every Spanish government ministry and regional authority has a Sede Electrónica (electronic office). With your certificate, you can submit applications, respond to requirements, track proceedings, and sign documents across all of them. The main state portal is sede.administracion.gob.es.

Empadronamiento and Padron Certificates

If your ayuntamiento supports electronic procedures (most Costa del Sol municipalities now do), you can download a certificado de empadronamiento (proof of registration at your address) on demand — no queuing, instantly available.

Signing Official Documents Electronically

The certificate lets you apply a legally valid electronic signature (firma electrónica) to documents. This is recognised across the EU under the eIDAS regulation and accepted by Spanish notaries, courts, and government bodies.

The 10-Day Notification Rule: Read This Carefully

Spain has a mandatory digital notification system called DEHú (Dirección Electrónica Habilitada única), accessible at dehu.redsara.es. All Spanish residents who are tax-registered receive a DEHú address automatically. Government agencies — Hacienda, Social Security, traffic authority (DGT), and others — can send official notifications to this address.

The critical rule: if a notification sits in your DEHú inbox unread for 10 calendar days, it is legally deemed to have been delivered. Deadlines and consequences start from that point. This means:

  • A tax demand can expire and go to enforcement while you are unaware it arrived
  • A fine can become a debt while you think it is still pending
  • An administrative resolution you had a right to appeal becomes final

After installing your digital certificate, log in to DEHú immediately and configure email alerts so you receive a notification whenever something arrives in your inbox. Do not rely on checking it periodically — the 10-day window is too short.

Apoderamiento: Giving Your Gestor Digital Access

Apoderamiento digital is the system for granting your gestor, accountant, or lawyer access to your government portals on your behalf. Instead of sharing your certificate or credentials (which you should never do), you grant them formal digital power of attorney through the official system.

To set up apoderamiento:

  1. Go to sede.agenciatributaria.gob.es → Apoderamiento
  2. Log in with your digital certificate
  3. Create a new apoderamiento, specifying your gestor’s NIF and the specific powers you want to grant
  4. Your gestor can then act on your behalf for those specific procedures using their own certificate

You can grant broad access (all tax procedures) or narrow access (only the annual income tax return). You can revoke it at any time. This is the correct way to work with professionals — they have their own certificate and act through the formal delegation system, with a full audit trail.

Certificate Renewal: Do Not Let It Expire

FNMT digital certificates are valid for 4 years from the date of issue. You can renew online without visiting an office during a window of 2 months before expiry.

To renew online:

  1. Go to sede.fnmt.gob.es → Renovar Certificado
  2. Log in with your existing (still-valid) certificate
  3. Follow the renewal process — your identity is already verified, so no in-person visit is needed

If your certificate expires before you renew, you lose online renewal eligibility and must start from scratch: request a new certificate, verify in person, download and install again.

FNMT sends reminder emails before expiry, but set a calendar reminder yourself for 3 months before your certificate’s expiry date. Do not rely solely on FNMT to notify you.

Cl@ve PIN vs Certificado Digital: Which Do You Need?

Both systems verify your identity to Spanish government portals. They are not interchangeable.

Cl@ve PIN Certificado Digital
Registration effort Low — online or at INEM/Social Security office Medium — requires in-person identity verification
Code validity 10 minutes (PIN expires each use) 4 years (installed in browser)
Portal access Most common portals (tax status checks, some SS queries) Full access to all government portals
Document signing No Yes
Apoderamiento / gestor delegation No Yes
DEHú notifications Limited access Full access
Best for Quick one-off queries when you do not have the cert installed All regular use, filing, signing, delegating

Cl@ve is a reasonable starting point if you are waiting to complete your digital certificate process, but it is not a substitute. Read the full Cl@ve PIN guide for registration steps and a detailed comparison.

Common Problems and How to Fix Them

The certificate request page does not load or throws an error

Almost always a browser or Configurador issue. Check that you have installed the FNMT Configurador application, that you are using Firefox (not Chrome or Safari), and that Firefox is not blocking the FNMT certificate request page. Disable browser extensions temporarily if errors persist.

“Your certificate has not been found” when trying to download

This usually means one of three things: you are using a different browser or computer from the one you used to request the certificate; you cleared your browser cache or cookies between request and download; or less than 1 hour has passed since in-person verification. Try again after 2 hours on the exact same browser on the exact same machine.

If you have been around this loop more than once and the errors keep coming, the Navigator service can work through it with you in English, from request to installed certificate.

The certificate installs but government portals do not recognise it

Check that your browser is set to use FNMT root certificates. In Firefox, go to Settings → Privacy & Security → Certificates → View Certificates → Authorities, and verify FNMT certificates are present and trusted. If not, download and import the FNMT root certificate chain from sede.fnmt.gob.es.

The certificate works on one computer but not another

Your certificate needs to be exported from the original browser as a .p12 file and imported on the new machine. In Firefox: Settings → Privacy & Security → View Certificates → Your Certificates → select cert → Backup to export; then on the new machine, go to the same menu → Import to load it.

Lost certificate with no backup

If you have lost your certificate and have no backup .p12 file, you cannot recover it. You must request a new certificate through the full process: online request → in-person verification → download. The previous certificate is automatically revoked when a new one is issued for the same identity.

Certificate shows as revoked or expired in government portals

Certificates can be revoked by FNMT in some circumstances (e.g. if you reported it lost). Check the status at sede.fnmt.gob.es → Estado del Certificado. If revoked, you need a new one. If expired, you need a new in-person verification unless you renewed before expiry.

Related Guides


Frequently Asked Questions

Can I get a digital certificate without a NIE?

No. The FNMT certificate is issued against a Spanish identity number. EU citizens and non-EU residents both need a NIE before applying. If you are still working through the NIE process, use our NIE guide to get that sorted first, then come back to the certificate.

Can I use my digital certificate on multiple devices?

Yes, but you need to export the certificate as a .p12 file from your original browser and import it on each additional device. The certificate itself is not tied to one machine — only the initial installation process requires the same browser/machine you used for the request. Once you have the backup .p12, you can install it anywhere.

Do I need an appointment to do the in-person identity verification?

For identity verification specifically, most Hacienda offices accept walk-ins. However, office procedures vary and some may require a cita previa during busy periods. Check the specific office’s current procedure at sede.agenciatributaria.gob.es or call the office before you go. Fuengirola and Marbella offices generally have shorter waits than Málaga city.

I am British — can I still get a Spanish digital certificate after Brexit?

Yes. British residents of Spain who have a valid NIE/TIE can get a digital certificate exactly like any other non-EU resident. Your Brexit withdrawal agreement residency status does not affect eligibility. You need your TIE and passport for the in-person verification.

How much does it cost?

The FNMT digital certificate for individuals is free. There is no charge for the software certificate, the application, the identity verification at Hacienda, or the download. If someone charges you to process the application on your behalf, they are charging for their service (as a gestor), not for the certificate itself.

Can my gestor get a digital certificate on my behalf?

No. The certificate must be requested and downloaded by you personally, because you need to be present in the browser session from start to finish (the private key is generated in your browser). Your gestor cannot complete this process for you. What they can do is help you set up apoderamiento after you have the certificate, which gives them delegated access to your tax portals using their own certificate.

What happens if I miss the 10-day DEHú window?

The notification is legally deemed delivered. Any deadline attached to that notification starts counting from day 10 — not from when you read it. If it was a tax notice with a response window, you may have already lost time. Open the notification immediately and check if you can still respond or appeal. If the deadline has passed, a gestor may be able to submit a late response with justification (recurso de reposición), but this is not guaranteed to succeed.

Can I use the digital certificate on a Mac?

Yes. The FNMT Configurador is available for macOS. Use Firefox on Mac — Safari is not supported for the certificate installation process, and Chrome sometimes has compatibility issues with older portal software. Once installed via Firefox, the certificate file can be exported and used in other applications on Mac.

What is the difference between a software certificate and a DNIe?

The DNIe (electronic DNI) is a hardware certificate embedded in the Spanish national identity card, used mainly by Spanish nationals. As a foreign resident with a NIE, you get a software certificate from FNMT instead. They provide equivalent access to government portals. The software certificate is actually easier to use day-to-day since it works in any browser without a card reader.

Andrew Lawrence

About the Author

Andrew Lawrence

A.J. Lawrence is the founder of WaypointSur. After a career spanning development, operations, and growth marketing, he moved to the Costa del Sol in 2022. WaypointSur is the guide he wished existed when he arrived — built from direct experience navigating Spanish bureaucracy, banking, property, and tax as an English-speaking professional.

Waypoint Sur

The Costa Del Sol in your inbox. No fluff.
For the residents who stay — not the tourists who leave.

Subscribe

Get our free weekly newsletter — practical intelligence about life on the Costa del Sol.


© 2026 Waypoint Sur · Newsletter · Guides

Privacy Policy · Terms & Conditions · Cookie Policy