When people picture settling in Spain, they think about the visa, the flight and the apartment. What surprises most new residents is how quickly they hit a wall the moment they try to actually use the Spanish state. Booking an extranjería appointment, filing a tax return, registering as self-employed, exchanging a driving licence or simply reading an official letter increasingly happens through a web portal that first asks you to identify yourself electronically. Without a digital certificate or Cl@ve, you are locked out of a large part of daily administrative life. This guide explains, in plain English, what these two tools are, who can get them, how to obtain them, and the mistakes that trip up newcomers most often.
On this page
Why you need a digital identity Certificate vs Cl@ve: what's the difference Who can get one Getting the FNMT certificate, step by step The in-person identity check Setting up Cl@ve Electronic notifications you must not miss Requesting from a consulate before you arrive Common mistakes Frequently asked questions
"New residents plan the visa, the flight and the flat, then hit a wall the moment they try to use the Spanish state. Sorting your digital certificate and Cl@ve early is the small step that keeps tax, extranjería appointments and the padrón from locking you out for weeks."
— Lola Jurado · Immigration lawyer, Ilustre Colegio de Abogados de Málaga (nº 10907)
Why you need a digital identity
Spain has spent the last decade moving its public administration online, and for a resident the practical effect is simple: a great many procedures can now only be started — or can only be done conveniently — with an electronic identity. Think about the ordinary rhythm of a first year in Spain. You will deal with the AEAT, the tax agency, when you file your annual income tax (the Renta) or an informational return on assets held abroad. You will encounter the Tesorería General de la Seguridad Social (TGSS) if you take a job or register as autónomo. You will use the extranjería system to book a cita previa for your TIE or to renew it. You may need the DGT to exchange or register a driving licence, your municipal town hall for the padrón, and your regional health service portal to manage appointments.
Each of these bodies has its own online office, and each one asks you to prove your identity before it will let you act. A digital certificate or Cl@ve is the key that opens all of them with the same credential. Just as importantly, it is how the administration reaches back out to you: increasingly, official communications are delivered electronically, and having the means to receive and read them is not optional. Setting this up in your first weeks — rather than the day you urgently need it — is one of the highest-value things a new resident can do, which is why it sits near the top of our first-90-days-after-arrival checklist.
Certificate vs Cl@ve: what's the difference
Newcomers often use the words interchangeably, but the FNMT digital certificate and Cl@ve are two different things, and understanding the distinction saves confusion later. The FNMT-RCM digital certificate — often just called the certificado digital — is an encrypted file issued by the Fábrica Nacional de Moneda y Timbre, the Spanish Royal Mint. Installed on your device, it acts as your legally-valid online identity at the highest assurance level: it can not only identify you but also sign documents and carry out actions in your name. It is the most powerful of the two tools.
Cl@ve is the government's shared identity platform, and it comes in flavours. Cl@ve PIN gives you a temporary, one-off code for a single session — handy but short-lived. Cl@ve Permanente is a lasting password reinforced by an SMS code, suitable for repeated use — which is one reason to have a Spanish mobile number in place first. Cl@ve Firma adds a cloud-based signature so you can sign without a certificate file on your machine. Many residents end up using both systems — the certificate for signing and for the more demanding procedures, Cl@ve for quick logins — and there is no need to choose one exclusively.
| Feature | FNMT digital certificate | Cl@ve PIN | Cl@ve Permanente |
|---|---|---|---|
| What it is | Encrypted file on your device | Temporary one-off code | Password + SMS code |
| Lifespan | Valid for years (then renew) | Single session | Ongoing, reusable |
| Can sign documents | Yes, highest level | Limited | With Cl@ve Firma |
| Setup effort | Higher (in-person check) | Lower | Moderate |
| Best for | Signing, demanding procedures | Occasional quick tasks | Frequent everyday logins |
| Cost | Free | Free | Free |
Who can get one
The good news for new residents is that both tools are open to foreigners and both are free of charge. As a general rule, anyone aged 18 or over who holds a NIE or TIE and is properly registered can obtain a digital certificate and set up Cl@ve. There is no requirement to be a Spanish national. What you do need is a valid, current foreigner's identity document — which is one reason the certificate process is tied so closely to your NIE and residency status.
If you have not yet dealt with your NIE, that is the logical first step; our note on how to get a NIE in Spain explains the sequence. Likewise, if your residence is documented by a TIE card, the card and the appointment behind it matter here too — see our guide to the TIE card appointment and fingerprints. Keep in mind that your identity data on the certificate must match your official document exactly, so the details on your NIE or TIE are not just bureaucratic trivia; they follow you into your electronic identity.
Getting the FNMT certificate, step by step
The FNMT certificate is obtained through a well-defined sequence, and the single most important thing to understand is that some steps are bound to a specific device and browser. Rushing or improvising here is the usual cause of failure. Broadly, the process runs as follows:
- Install the Configurador FNMT. Before anything else, download and install the FNMT's configuration software on the computer you intend to use. It prepares your browser to request and later store the certificate.
- Request the certificate online. On the FNMT website you request the certificate by entering your NIE, your surname exactly as it appears on your TIE, and an email address. Take care with the surname — spelling and word order must match the document.
- Receive your Código de Solicitud. The system issues a request code (Código de Solicitud). You will need this code at the identity-check stage, so save it.
- Verify your identity in person. With the código in hand, you attend a registration or acreditación office to prove who you are (covered in the next section).
- Download and install the certificate. Roughly an hour after the in-person check, you download the certificate — and here is the crucial part: you must do this on the same device and browser from which you originally requested it. It will not work otherwise.
- Back it up. Once installed, export a backup copy of the certificate and store it safely. If your computer fails or you want it on another device, this backup is what saves you from starting over.
The in-person identity check
Between requesting the certificate and downloading it sits a mandatory step that cannot be done online: verifying your identity face to face at a registration office, sometimes called an oficina de acreditación. This is where a real person confirms that you are who your request says you are, and it is the safeguard that lets the certificate carry legal weight afterwards.
A range of public offices act as registration points. In practice these commonly include AEAT tax offices, many Seguridad Social offices, and some town halls, though the network is broad and varies by location. When you go, take your passport, your TIE card or green residency certificate, and your Código de Solicitud. Some offices operate on a cita previa (appointment) basis while others take walk-ins, so it is worth checking in advance. Because the list of accredited offices changes and appointment rules differ locally, confirm the current procedure and nearest office on the official FNMT site before you set out. Once the office has confirmed your identity, you return to your own computer to complete the download about an hour later.
Setting up Cl@ve
Cl@ve is generally quicker to set up than the certificate, and for many everyday logins it is all you need. Registration in the Cl@ve system can be done in a few ways. You can register online if you request an invitation letter with a PIN code that arrives by post to your registered address; you can register in person at one of the many registration offices; or, if you already hold a digital certificate, you can use that certificate to register in Cl@ve without any further trip. In every case you need your NIE and to be registered in the system.
Once you are registered, you activate the level you want — Cl@ve PIN for one-off codes, or Cl@ve Permanente for a reusable password with SMS confirmation — and, if you wish, Cl@ve Firma for cloud signatures. A practical approach for a new resident is to get the certificate first, since it can then be used to register in Cl@ve, giving you both tools from a single in-person visit. As always, the exact registration channels and any changes to the platform should be checked on the official Cl@ve site, because the government periodically refines how the system works.
Electronic notifications you must not miss
Of everything on this page, this is the point most new residents underestimate. A large and growing number of Spanish administrative procedures notify you only electronically. A tax notice from the AEAT, a communication from Seguridad Social, or a message about an extranjería file may land in an electronic mailbox rather than a paper envelope. And crucially, an electronic notification can be treated as legally delivered after a set period even if you never opened it. The clock can start running on a deadline you did not know existed.
Your electronic identity is what lets you access these notification systems and read what has been sent to you. This is why setting up the certificate or Cl@ve is not merely a convenience for filing things — it is how you protect yourself from missing a communication that carries consequences. New residents who treat the whole topic as optional can find, months later, that a decision or a deadline passed without their ever seeing it. Checking your electronic notifications, or arranging for your lawyer to monitor them where appropriate, becomes part of ordinary residence in Spain. If your reason for moving is a retirement-based move, our overview of the non-lucrative retirement visa sits alongside these post-arrival steps.
An electronic notification can be legally delivered even if you never read it. Having — and checking — your digital identity is how you avoid a deadline you never saw.
Requesting from a consulate before you arrive
You do not necessarily have to wait until you land in Spain. In many cases you can request the FNMT certificate at a Spanish consulate or embassy abroad before you move. The typical arrangement is that you present your NIE and passport, sign a contract, and the consulate forwards your request to the FNMT, which lets you complete the identity step without a trip back to a Spanish registration office later.
For someone organising a move from the United States or Asia, doing this at the consulate that is already handling your visa can be an efficient use of a visit you were making anyway. That said, not every consulate offers the service in the same way, and procedures change, so confirm with your specific consulate whether it can process the certificate and what it currently requires before you rely on it. If it is not available where you are, the in-person check inside Spain remains the standard route.
Common mistakes
Most problems with digital identity are avoidable and come from a handful of recurring errors. Watch for these:
- Surname mismatch. Entering your surname differently from how it appears on your TIE — wrong spelling, missing a second surname, or reversed order — will cause the request or the identity check to fail. Copy the document exactly.
- Requesting and downloading on different devices. As above, the request and the download must be on the same computer and browser with the Configurador installed.
- Not exporting a backup. Failing to save a backup copy of the certificate means a lost or reset computer forces you to repeat the whole process, in person, from scratch.
- Letting your residency document lapse. An expired green certificate or TIE undermines the identity your certificate rests on. Keep your residence current and renew in good time.
- Browser incompatibility. Not every browser or operating-system combination plays nicely with the FNMT software. Check the supported configurations before you start rather than after it fails.
- Confusing Cl@ve with the certificate. They are related but not the same. Knowing which one a given portal is asking for saves a lot of circular frustration.
None of these is hard to avoid once you know about it, and getting the process right the first time is far less painful than unwinding a mistake. If you would like a lawyer to help you plan your first-year administration — including tax registration, your electronic identity and the deadlines that come with them — we are glad to help. You can reach us through our contact page, and our note on the Spanish tax calendar for new residents shows why the electronic identity and the tax year fit together.
There is one practical dividend worth mentioning here. A digital certificate lets you file a report of lost or mislaid documentation electronically with the Guardia Civil without having to attend in person to ratify it, and it is what makes electronic notification usable — so that an official letter follows you rather than your old letterbox. Both matter more than they sound: see replacing a lost card and reporting a change of address.
Frequently asked questions
Do I need a NIE or TIE to get a digital certificate in Spain?
Yes. Both the FNMT digital certificate and Cl@ve are available to anyone aged 18 or over who holds a NIE or TIE and is registered, and they are free of charge. The in-person identity check for the certificate typically requires your passport and your TIE or green residency certificate.
What is the difference between the FNMT certificate and Cl@ve?
The FNMT digital certificate is an encrypted file installed on your device that acts as your legally-valid online ID and can sign documents at the highest assurance level. Cl@ve is a government identity platform accessed with a PIN or a password plus SMS. Many residents use both.
Where do I complete the in-person identity check?
After requesting the certificate online you receive a Código de Solicitud, then verify your identity in person at a registration or acreditación office — commonly AEAT tax offices, many Seguridad Social offices and some town halls. Bring your passport, TIE or green certificate and the código, and confirm the current office list on the official FNMT site.
Can I get the certificate before I arrive in Spain?
Often yes. You can request the FNMT certificate at a Spanish consulate or embassy abroad by presenting your NIE and passport and signing a contract, which the consulate forwards to the FNMT. Confirm the current procedure and whether your consulate offers it before you travel.
Why do electronic notifications matter so much?
Many procedures notify you only electronically, and a notification can be treated as legally delivered even if you never open it. Missing one — a tax notice or an extranjería communication — can have real consequences, so a working electronic identity matters from your first weeks in Spain.
General information, not legal advice. The procedures for the FNMT digital certificate and Cl@ve, the network of registration offices, supported software, and the rules on electronic notifications are set by the Spanish authorities and change over time. Always verify the current procedure on the official FNMT, Cl@ve and administrative websites before acting, or take advice for your circumstances.