Key Takeaways
- Cl@ve is Spain’s digital identity system with two tiers: Cl@ve PIN (temporary SMS codes for one-off queries) and Cl@ve Permanente (username + password for regular use).
- Cl@ve PIN is easier to register for than a full digital certificate — you can do it online with your NIE details or in person at Seguridad Social or Hacienda offices.
- On the Costa del Sol, you can register at Agencia Tributaria offices in Málaga, Fuengirola, and Marbella, or at Seguridad Social offices in those same cities.
- Cl@ve gives you access to tax status checks, Seguridad Social queries, and many common government portals — but it cannot sign documents, enable apoderamiento, or access DEHú fully.
- If you need to sign an official document, give your gestor digital access, or use advanced Sede Electrónica features, you need a full digital certificate.
- Cl@ve PIN codes expire 10 minutes after generation. Generate them only when you are ready to use them.
- Since 26 March 2026, Cl@ve is also the key to Andalucía’s public health system online: activating the SAS virtual health card and managing your record in ClicSalud+ both authenticate with Cl@ve or a digital 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.
Last verified: 9 August 2026, against clave.gob.es and Servicio Andaluz de Salud official pages.
What Is Cl@ve?
Cl@ve (stylised with an @ — “clave” means key in Spanish) is the Spanish government’s unified digital identity system. It gives residents a way to authenticate to government portals without needing a full digital certificate installed in a browser.
The system has two main modes:
- Cl@ve PIN — Temporary codes sent by SMS or generated by an app. Valid for 10 minutes. For occasional use where you need to access a portal once and do not want to deal with certificates.
- Cl@ve Permanente — Username and password, optionally with 2FA. For regular access to government portals where you want to log in repeatedly without generating a new code each time.
Both modes give you access to a wide range of Spanish government portals. The key limitation compared to a full digital certificate is what you can do once you are logged in: Cl@ve does not allow document signing, does not support apoderamiento (delegated access for your gestor), and has limited access to DEHú notifications.
For many expats, Cl@ve is a useful bridge — you can use it while you are working through the digital certificate process, or for occasional quick queries when you are on a device that does not have your certificate installed.
2026 update: Spain began unifying Cl@ve PIN and Cl@ve Permanente into a single app-based system, Cl@ve Móvil, deployed progressively from July 2026. Logins move toward push approvals in the official Cl@ve app. Both existing modes keep working during the transition and no re-registration is needed.
Cl@ve PIN: Temporary Codes for One-Off Access
Cl@ve PIN works like a bank’s OTP (one-time password) system. When you need to access a government portal:
- Go to the portal and select “Acceder con Cl@ve”
- Choose Cl@ve PIN
- Enter your NIE and date of birth to request a PIN
- Receive the PIN via SMS to your registered mobile number
- Enter the PIN on the portal — it is valid for 10 minutes
You can also use the official Cl@ve app (iOS and Android) to generate PINs without SMS — useful if your registered Spanish SIM is not in your current phone or if you are abroad temporarily.
Cl@ve PIN is genuinely convenient for tasks like downloading a certificate of tax residency, checking a single Seguridad Social figure, or accessing a portal you visit once every few months. For anything you do regularly, Cl@ve Permanente or the full digital certificate saves the friction of generating a new code every time.
Cl@ve Permanente: Regular Access Without a New Code Every Time
Cl@ve Permanente gives you a persistent username and password. Once set up, you log in at clave.gob.es and access portals without generating a fresh SMS code each time.
Cl@ve Permanente supports optional two-factor authentication via the Cl@ve app, which functions as an authenticator for your account. If you enable 2FA, you will need to approve logins through the app — which is a sensible precaution given that Cl@ve Permanente gives access to your tax records, social security information, and other sensitive government data.
Access level is the same as Cl@ve PIN for most portals, but without the 10-minute code expiry.
How to Register for Cl@ve
Option 1: Online Registration (With Digital Certificate)
If you already have a Spanish digital certificate installed in your browser:
- Go to clave.gob.es → Registro
- Select “Con certificado electrónico o DNI electrónico”
- Your identity is verified automatically via the certificate
- Set up your Cl@ve PIN phone number and optionally your Cl@ve Permanente credentials
- Registration is instant — no in-person visit required
This is the fastest route if you already have the digital certificate. If you do not yet have a certificate, use Option 2 below.
Option 2: Online Pre-Registration Without a Certificate
You can pre-register online without a digital certificate, but you must then complete activation in person:
- Go to clave.gob.es → Registro
- Select “Sin certificado electrónico” → “Registro previo”
- Enter your NIE, name, and email address
- You receive a letter with an activation code at your registered address — OR you can activate in person at a registration office
- Bring the activation code (from letter) or your NIE/passport to a registration office to complete the process
The postal letter route takes 7-10 days. The in-person activation route is faster if you are near an office.
Option 3: Full In-Person Registration
Walk into a Cl@ve registration office with your NIE/TIE and passport. The clerk will verify your identity, register you on the spot, and activate your Cl@ve account immediately. You leave with Cl@ve PIN working on your registered mobile number.
Option 4: Online Video-Identification (Added 2026)
During 2026, clave.gob.es added registration by video-identification: you verify your identity online with your NIE/TIE document and a live camera check, with no certificate and no office visit. The automatic check grants basic-level registration; the manually reviewed version grants advanced level. If you have been putting off Cl@ve because of the office queue, this is now the path of least resistance.
One correction worth making explicit: Correos does not register Cl@ve accounts. Its only role in the system is delivering the postal invitation letter used in Option 2. Registration happens online or at the official registration offices listed below.
Where to Register on the Costa del Sol
Both Agencia Tributaria offices and Seguridad Social offices are authorised Cl@ve registration points. Most allow walk-ins for Cl@ve registration, though procedures vary.
Agencia Tributaria (Hacienda) Offices
| Location | Address |
|---|---|
| Málaga City | C/ Mauricio Moro Pareto 2, Edificio Eurocom, 29006 Málaga |
| Fuengirola | Av. Condes de San Isidro 22, 29640 Fuengirola |
| Marbella | C/ Ramón Gómez de la Serna 4, 29602 Marbella |
Instituto Nacional de la Seguridad Social (INSS) Offices
| Location | Address |
|---|---|
| Málaga City | Av. de la Aurora 47, 29002 Málaga |
| Fuengirola | C/ Palangreros 3, 29640 Fuengirola |
| Marbella | C/ Jacinto Benavente 2, 29602 Marbella |
| Vélez-Málaga | C/ Canalejas 16, 29700 Vélez-Málaga |
Verify current opening hours before visiting at seg-social.es → Oficina or agenciatributaria.es → Oficinas.
If you need to book an appointment for a combined visit (e.g. Seguridad Social query plus Cl@ve registration), read our cita previa guide — the appointment system is the same across agencies.
Cl@ve vs Certificado Digital: Use the Right Tool
The two systems overlap significantly but are not interchangeable. Here is a practical breakdown:
| Task | Cl@ve PIN/Permanente | Digital Certificate |
|---|---|---|
| Check tax status / pending payments | ✅ | ✅ |
| View Seguridad Social vida laboral | ✅ | ✅ |
| View Seguridad Social cotizaciones | ✅ (limited) | ✅ (full) |
| Download empadronamiento certificate | ✅ (most ayuntamientos) | ✅ |
| File annual tax return (Renta) | ✅ (basic) | ✅ (full) |
| Sign official documents electronically | ❌ | ✅ |
| Set up apoderamiento (gestor access) | ❌ | ✅ |
| Full DEHú notification access | ❌ (limited) | ✅ |
| Modelo 720 (foreign assets declaration) | ❌ | ✅ |
| Submit official appeals (recursos) | ❌ | ✅ |
Practical rule: Use Cl@ve for quick queries and checks. Use the digital certificate for anything that involves submitting, signing, or delegating. If you are doing tax returns through a gestor, you and your gestor both need digital certificates and a formal apoderamiento in place.
Cl@ve works well as a stopgap while your digital certificate is in process. Once you have the certificate, Cl@ve becomes a backup option for devices where the certificate is not installed.
Common Uses on the Costa del Sol
Your SAS Health Record and the Virtual Health Card
Since 26 March 2026, Andalucía’s health service (SAS) issues a tarjeta sanitaria virtual — a virtual health card carried in the free Salud Andalucía app and in ClicSalud+, shown as a QR code at health centres and pharmacies. The physical card remains valid alongside it. Activating the virtual card requires secure identification: a digital certificate, Cl@ve, or a QR-móvil login that itself has to be generated with one of those two. In practice, no Cl@ve and no certificate means no virtual card.
Cl@ve also unlocks ClicSalud+, the SAS online patient portal, where you can check and correct the contact details SAS holds for you. The mobile number on that record is where appointment reminders and cancellation notices (the AviSAS system) are sent, and records registered years ago often still carry a pre-Spanish-SIM number. The in-person alternative is your health centre reception desk with your TIE. In summer 2026, with most Málaga-province health centres closing at 15:00 until 11 September, the online route is frequently the only counter still open in the afternoon.
Checking Tax Status
At sede.agenciatributaria.gob.es, Cl@ve gives you access to your tax calendar, pending notifications (limited), and basic filing history. If you need to see your full fiscal history or respond to a Hacienda requirement, you will need the digital certificate or your gestor’s intervention.
Seguridad Social: Cotizaciones and Vida Laboral
At sede.seg-social.gob.es, Cl@ve lets you view your cotizaciones (contribution records), request your vida laboral (full employment and contribution history), and check your pension points. This is the most common reason expats register for Cl@ve — it is the quickest way to verify your contribution record without a full certificate.
Padron and Municipal Certificates
Most Costa del Sol municipalities (Málaga, Marbella, Fuengirola, Estepona, Benalmádena) allow you to download your empadronamiento certificate via their sede electrónica using Cl@ve. Check your specific ayuntamiento’s portal — the link is usually under “Sede Electrónica → Padrón Municipal.”
DGT: Vehicle and Driving Licence Checks
The Dirección General de Tráfico portal at sede.dgt.gob.es accepts Cl@ve for checking driving licence points, vehicle registration, and outstanding traffic fines.
Related Guides
- Digital Certificate Spain — The full digital certificate gives you everything Cl@ve does, plus document signing and gestor access
- Cita Previa Spain — How to book appointments at the Hacienda and Seguridad Social offices where you can register for Cl@ve
- Tax Residency in Spain — What digital identity you need for tax filings once you are resident
- Social Security in Spain — Understanding cotizaciones and the vida laboral you can check with Cl@ve
Frequently Asked Questions
Do I need a Spanish mobile number to use Cl@ve PIN?
You need a mobile number registered in the Cl@ve system to receive SMS PINs. This can be any number — Spanish, UK, or other EU number. However, some government portals require a Spanish number for SMS delivery. Using the Cl@ve app instead of SMS avoids this limitation entirely once you are registered.
Can I register for Cl@ve without a digital certificate?
Yes. You can register in person at any Agencia Tributaria or Seguridad Social office using your NIE/TIE and passport. No digital certificate needed. The in-person route is the most reliable option if you do not yet have a certificate.
What is the difference between Cl@ve and the digital certificate?
Cl@ve is an authentication system — it lets you log in to government portals. The digital certificate is a cryptographic identity tool that lets you log in, sign documents, delegate access to a gestor, and access advanced features. Cl@ve is easier to get but does less. If you are only checking records occasionally, Cl@ve is fine. If you are filing taxes, signing anything official, or working with a gestor on your behalf, you need the full certificate.
My Cl@ve PIN SMS is not arriving. What do I do?
First, wait up to 5 minutes — SMS delivery can be slow. If nothing arrives, check that the mobile number registered with Cl@ve is correct (you would have confirmed this during registration). If the number is wrong or no longer in service, you need to update it at a registration office in person. The Cl@ve app is a better long-term solution since it does not depend on SMS delivery.
Is Cl@ve Permanente safe?
It is reasonably safe with 2FA enabled via the Cl@ve app. Without 2FA, it is just a username and password protecting access to your tax records and government data — enable two-factor authentication. As with any government portal credential, do not use the same password anywhere else and do not share it with anyone, including your gestor. Use apoderamiento (which requires the digital certificate) for legitimate gestor access.
Can I use Cl@ve to access DEHú (digital notifications)?
Partially. Cl@ve gives limited access to DEHú at dehu.redsara.es, but some notification types require the full digital certificate for full management access. Given that DEHú notifications become legally delivered after 10 days, use the digital certificate for full access to ensure you never miss a notification with legal consequences.
Do I need Cl@ve for the SAS virtual health card?
Effectively yes. Andalucía’s virtual health card (launched 26 March 2026 in the Salud Andalucía app and ClicSalud+) activates only with a digital certificate, Cl@ve, or a QR-móvil login that must itself be generated using a certificate or Cl@ve on another device. There is no route with neither. Under-18s need Cl@ve registered in person with proof of legal representation before a parent can carry their card in the app.
How long does Cl@ve registration take?
In-person registration at a Hacienda or Seguridad Social office takes around 10–15 minutes including queue time (during off-peak hours). Online registration with a digital certificate is instant. Online pre-registration without a certificate followed by postal activation takes 7–10 days for the activation letter.
Add WaypointSur as a preferred source in Google Search:

