Cl@ve System Explained: Accessing Spain Government Services Online
You need a work history report for a job application, a tax document from the Agencia Tributaria or a form from Social Security, and every website tells you to “identify yourself with Cl@ve”. For many newcomers, that is where the process stops. This guide explains what Cl@ve is, how foreigners register, which access methods exist and how to use it for the government services you actually need.
Disclosure: This post may contain affiliate links. We may earn a commission at no extra cost to you if you make a purchase through these links. Read full disclosure.
What Cl@ve Is and Why You Need It
When I first arrived in Spain, I did everything in person: queues at the tax office, queues at Social Security, queues for papers I later learned I could have downloaded in two minutes. The thing that changed my relationship with Spanish bureaucracy was Cl@ve.
The Government’s Shared Login
Cl@ve is the Spanish government’s common identification system for online public services. Instead of every administration creating its own username and password, Cl@ve gives you one identity that works across many electronic offices, called sedes electrónicas. When a government website asks you to identify yourself, Cl@ve is usually one of the options, alongside a digital certificate and the electronic national identity card (DNIe).
What You Can Do With It
With Cl@ve, you can access a long list of services online, including:
- Tax Agency (Agencia Tributaria, AEAT): file your income tax return, download tax certificates, check notifications and update your tax address. See Cl@ve and Digital Certificate: Accessing AEAT (Tax Agency) Online.
- Social Security (Seguridad Social): download your work history report (informe de vida laboral), request your Social Security number and access benefit services.
- Public employment service (SEPE): register as a job seeker and manage unemployment benefits.
- Traffic authority (DGT): check your driving licence points and vehicle details.
- Carpeta Ciudadana: a personal citizen folder that shows information held about you by different administrations.
- Electronic notifications: receive official notifications online through the government’s shared notification address. How to Set Up AEAT Online Notifications (DEHú) in Spain explains how this works.
- Some regional services, depending on your autonomous community, including certain health and education portals.
Not every service accepts every Cl@ve method, and some services require a higher level of registration. I explain both below.
Cl@ve Compared With a Digital Certificate
You will often see Cl@ve and the digital certificate (certificado digital) presented as alternatives. They do overlap, but they are not the same thing.
| Feature | Cl@ve | Digital certificate |
|---|---|---|
| What it is | A login system using codes, passwords or an app | An electronic file or card that proves your identity |
| How you use it | Enter your details and confirm with a code or the app | Install it in your browser or use a card reader |
| Signing documents | Limited, depending on the service | Yes, widely accepted for electronic signatures |
| Works on mobile | Yes, easily | Possible, but more complicated |
| Typical use | Quick access to personal information and procedures | Formal applications and signatures, including many immigration filings |
Many expats end up with both. If you want a certificate as well, see How to Get a Digital Certificate in Spain Without a Spanish ID.
How to Register for Cl@ve as a Foreigner
Registration is the step that confuses most foreigners, because there are several ways to do it, each with its own requirements.
What You Need Before You Start
| Requirement | Why it matters |
|---|---|
| An NIE | Cl@ve identifies foreigners by their foreigner identity number; see How to Get a Spanish NIE Number: In Spain vs Abroad |
| A valid identity document | Your TIE, EU registration certificate or passport, depending on your situation and the registration method |
| A Spanish mobile phone number | Used to send verification codes, although some methods work with an app |
| An email address | For confirmations and notifications |
| A postal address known to the Tax Agency, for some methods | Needed if you register using a letter sent by post |
If you are still waiting for your residence card, How to Get the TIE Card in Spain: Fingerprints, Fees, and Pickup explains that process.
Registration Methods
There are several ways to register, and their availability can depend on the document you hold.
- In person at a registration office. You can register at many offices of the Tax Agency, Social Security and other administrations that act as Cl@ve registration offices. You usually need an appointment and must bring your identity document and NIE. Registering in person is the most reliable route for foreigners, because an official checks your identity directly.
- Online with a digital certificate or DNIe. If you already have a digital certificate, you can register online using it, which confirms your identity electronically.
- Online with a letter by post. You can request registration online, after which the Tax Agency sends a letter containing a secure verification code to your registered tax address. You then complete the registration with that code. This only works if your address is known to the Tax Agency.
- Online by video identification. The Tax Agency offers registration through a video call or a recorded video in which you show your identity document. Whether this option works with your type of foreigner document can vary, so check the instructions on the Cl@ve website before you start.
Registration Levels
Cl@ve registrations have different levels, generally described as basic and advanced. Some services can be used with any Cl@ve registration, while others, especially those involving sensitive personal data, require the advanced level.
The level you receive depends on how you registered and how your identity was verified. Rather than guessing, check your registration details once you are registered: the Cl@ve website and your account show which level your registration has, and the help pages explain how to raise it if a service requires a higher level. If you are refused access to a service because of your level, the simplest solution is usually to verify your identity in person at a registration office.
Step-by-Step: Registering in Person
Because it is the most reliable route for foreigners, here is how an in-person registration usually goes:
- Book an appointment at a Tax Agency or Social Security office that handles Cl@ve registration, using the office’s online appointment system or phone line.
- Bring your NIE, your TIE or other identity document, and your Spanish mobile phone.
- At the appointment, tell the official that you want to register for Cl@ve (“darme de alta en Cl@ve”).
- The official checks your identity and enters your details, including your phone number and email.
- You receive a confirmation, sometimes on paper, and an SMS or email.
- Activate Cl@ve Permanente, if you want it, by following the activation link or code you receive.
- Install the Cl@ve app on your phone if you want to use it as your access method.
Cl@ve Access Methods Explained
Once you are registered, you choose how to log in. Cl@ve offers several methods, and you can usually use more than one.
Cl@ve PIN
Cl@ve PIN is a temporary access code. When you log in to a service, you enter your NIE and confirm the request, and a short-lived PIN is sent to your phone, via the Cl@ve app or by SMS depending on your setup. You enter the PIN and you are in. It is ideal for occasional use because there is no password to remember.
Cl@ve Permanente
Cl@ve Permanente is a permanent username and password system. Your username is your NIE, and you choose a password during activation. For many services, you also receive a one-time code by SMS for additional security. It is useful for frequent use and for services that do not accept Cl@ve PIN. The password must be renewed from time to time, following the instructions on the Cl@ve website.
Cl@ve Mobile App
The Cl@ve app on your smartphone lets you confirm logins directly in the app, rather than typing codes. When you try to access a service, you get a notification and confirm it on your phone. For many people, this is now the most convenient method.
Which Method to Use
| Method | Best for | Things to know |
|---|---|---|
| Cl@ve PIN | Occasional access | Codes are temporary; you need your phone at hand |
| Cl@ve Permanente | Frequent access and services that require it | Keep your password secure and renew it when asked |
| Cl@ve app | Everyday convenience | Requires a smartphone with the official app |
| Digital certificate, through the Cl@ve gateway | Signatures and formal applications | Must be installed on each device |
For a deeper comparison of the first two, see What Is Cl@ve PIN vs Cl@ve Permanente? Which One You Need.
Using Cl@ve for Common Tasks
Here is how Cl@ve fits into the tasks expats deal with most.
Getting Your Work History Report
Your work history report (informe de vida laboral) is a document from Social Security that lists every period you have been registered as working in Spain. Employers, banks and immigration offices often ask for it.
- Go to the Social Security electronic office (sede electrónica de la Seguridad Social).
- Choose the service for the work history report.
- Select Cl@ve as your identification method and log in.
- Download the report as a PDF, or have it sent to your registered address.
How to Request a ‘Vida Laboral’ Report for Job Applications in Spain has more detail.
Tax Tasks
With Cl@ve, you can access your tax data and draft income tax return in the Tax Agency’s electronic office, download certificates of tax residence or income and check notifications. The Tax Agency also uses its own reference number system for some services, but Cl@ve is often the simplest route.
Immigration Procedures
Many immigration procedures, including applications and renewals through the government’s electronic immigration platform, can be filed online. Some require a digital certificate rather than Cl@ve, especially when you are signing an application. You can, however, often use Cl@ve to check the status of an application; see How to Track Your Spain Residency Application Status Online.
When you upload documents in a foreign language, you usually need an official translation into Spanish. A sworn translation service such as Translayte can produce translations in a digital format that you can upload. How to Get a Sworn (Jurado) Translation for Immigration in Spain explains the requirements. Some residence applications also require proof of health insurance, and if you need a policy that meets the requirements, a broker that works with expats, such as Innoinsure, can help you compare options before you file.
Updating Your Address After a Move
When you move house in Spain, you need to update your address with several administrations. If you used a comparison platform such as Sirelo to find a removal company, that takes care of the furniture; Cl@ve takes care of the paperwork, because you can update your tax address with the Tax Agency online and check your details in other services. Your town hall registration and residence card details may need separate steps, explained in Spain Address Change for Residents: Updating Padrón and TIE Records.
Health Services
In some regions, Cl@ve can be used to log in to the regional health portal, where you can view prescriptions, test results and reports. For how those portals work, see Medical Records in Spain: Accessing and Sharing Your History.
Troubleshooting Common Problems
| Problem | Likely cause | What to do |
|---|---|---|
| “You are not registered in Cl@ve” | Registration not completed or not linked to your NIE | Check your registration details or register again in person |
| “Insufficient level of registration” | The service requires the advanced level | Verify your identity in person at a registration office |
| No SMS arrives | Wrong or outdated phone number | Update your phone number in your Cl@ve details |
| Password expired | Cl@ve Permanente password needs renewing | Follow the renewal process on the Cl@ve website |
| App does not show notifications | App not activated or notifications disabled | Reactivate the app and check phone settings |
| New NIE or TIE document | Cl@ve uses the NIE as your identifier | Check that your details are still valid and update them if needed |
If none of this helps, the Cl@ve help pages and the information phone lines of the Tax Agency and Social Security can assist, although waiting times vary.
Using Cl@ve From Abroad
Once you are registered, you can usually use Cl@ve from anywhere, which is a lifesaver if you travel often or have left Spain but still have tax or Social Security matters there. The main obstacle is the phone: if your method relies on SMS codes, you need your Spanish number to receive messages while roaming. The Cl@ve app avoids this problem in many cases, so set it up before you leave. If you are moving away permanently, update your contact details first, because changing them later without access can be difficult.
Keeping Your Access Secure
Cl@ve gives access to sensitive personal and financial information, so treat it like your online banking login.
- Never share your PIN, password or SMS codes with anyone, including people who claim to be calling from a government office.
- Only log in through official government websites, and check the address in your browser before entering your details.
- Be wary of emails or text messages with links asking you to “verify” your Cl@ve account.
- If you lose your phone, update your registered number as soon as possible.
- If you use a gestor or adviser, ask them to use their own professional access or an authorised representation, rather than giving them your Cl@ve details.
Final Thoughts
Cl@ve is the key that opens most of Spain’s online government services. As a foreigner, you register using your NIE and identity document, either in person, which is the most reliable route, or online with a digital certificate, a postal letter or video identification where available. Your registration has a level, which determines which services you can use, so check it once you are registered and verify your identity in person if a service asks for a higher level. Then choose the access method that suits you, whether Cl@ve PIN, Cl@ve Permanente or the Cl@ve app, and keep a digital certificate for signatures and formal applications. Once it is set up, you will save yourself countless hours in queues.
Disclaimer
This article is for general informational purposes only and does not constitute professional advice. Laws, prices and regulations vary by location and change over time. Consult a qualified professional for guidance on your specific situation.