Two different systems for proving who you are
Cl@ve is the shared sign-in system of the Spanish public administration. You register once against your DNI or NIE and a mobile number, and you then use that registration on the public services that accept it. Nothing is installed on your computer. You sign in with an app, a code sent to your phone or a password, so it goes wherever your phone goes.
An electronic certificate is a digital file issued in your name that you install on your own computer or phone. Most individuals use the free citizen certificate (certificado de persona física) from FNMT-RCM, Spain's national mint. It identifies you to online services, and you can also use it to sign documents and official forms electronically. Other accredited providers issue certificates too, on their own terms and prices. This guide covers FNMT only.
One term matters throughout. A Cl@ve registration has a level, either basic or advanced. A basic registration comes from an invitation letter or automatic video identification, and it opens many services but not all of them. An advanced registration comes from visiting an office, from using a certificate or DNIe (the Spanish electronic ID card), or from a video that a public employee has reviewed. Procedures that need more security require it. The level belongs to your registration, not to any one sign-in method, so Cl@ve PIN is not a "basic" product and Cl@ve Permanente is not an "advanced" one.
Both systems assume that you already have your number. If you do not have a NIE yet, sort that out first.
¿Cuál deberías usar?
Neither system is better in every case, and the trade-off is mostly convenience against reach. Cl@ve is quick to use from any device but depends on your phone number. The certificate takes more effort to set up and needs care with the file, but it does not rely on your phone and it can sign.
What decides it in practice is what you already have: a tax record, a usable address, a Spanish DNI, or the need to sign. These are the common situations.
You have just arrived and have no Spanish tax record
Register for Cl@ve in person. The invitation letter goes to the tax address the Agencia Tributaria holds for you, so it is unlikely to be an option until you have one. A visit also gives you the advanced level straight away.
Your tax address is up to date and you can wait for the post
The invitation letter saves you an office visit. It gives you a basic registration, which the Agencia Tributaria warns other bodies may not accept for everything. You can move up to the advanced level later.
You need to sign documents or forms electronically
Get the FNMT certificate. It signs on its own, whereas Cl@ve Firma has extra conditions on how you registered and needs its own certificates to be requested.
You want both, with one office visit
Get the FNMT certificate first, then use it to register for Cl@ve online. That gives you an advanced Cl@ve registration without a second visit.
You want an adviser to deal with the tax office for you
This does not automatically mean a certificate. The Agencia Tributaria's online power of attorney (apoderamiento) can be granted and accepted with either a certificate or Cl@ve. Other public bodies have their own rules, so check with the body concerned.
You live outside Spain
FNMT accepts the identity check at Spanish consular offices abroad, and it publishes a list of those offices. Cl@ve accepts a foreign mobile number. Check with the consulate before you travel, as this route has its own paperwork.
You hold a valid Spanish DNI
Video identification is open to you for both systems. For Cl@ve it runs in the app and gives you a basic registration immediately. The FNMT video service costs 2.99 euros plus taxes, while the certificate itself stays free.
Cl@ve
Once you are registered, there are three ways to sign in. Which ones appear depends on the service, so look at the options on its sign-in page.
Cl@ve Móvil is the newest method and the one the official site now puts forward. You install and activate the Cl@ve app. On the service's sign-in page you either scan a QR code with the app, or enter your NIE and support number and confirm the request in the app. You then confirm with your phone's unlock, such as a fingerprint or pattern. There is no password to remember.
Cl@ve PIN is a code that works once and expires after a few minutes. It has not been withdrawn: in June 2026 the Agencia Tributaria confirmed that the SMS option stays, and we found no end date for it. It may not appear as a separate option any more. On the Agencia Tributaria's site you choose Cl@ve Móvil, continue without the QR code, wait for the short countdown and then follow the link to receive the PIN by SMS. After you sign in, the session lasts until you log out or close the browser. Request the code when you are ready to use it.
Cl@ve Permanente is a password. Your username is your DNI or NIE. You activate it once using the activation code you received when you registered and an SMS code, and then you choose a password of at least eight characters that mixes upper and lower case, digits and symbols. A password of sixteen characters or more has no such restrictions. It expires after two years, and you renew it the next time you sign in. A service that needs more security also asks for a one-time SMS code, which requires an advanced registration. Keep your activation code safe: if you lose it or enter it wrongly more than five times, you may have to generate a new one or register again.
Cl@ve Firma is the signing option, separate from these sign-in methods. It keeps certificates for you centrally, so you can sign from any device, but you have to request those certificates and activate Cl@ve Permanente. It needs an advanced registration, and one that came from a letter, a video or a different certificate does not qualify. If you have not visited a registration office or used a DNIe for more than five years, you are asked to renew the registration before you can keep signing.
Registering with a NIE
A NIE alone is not enough to register. The system also asks for your support number (número de soporte), which is printed on your NIE document and proves that you hold it. There are five routes, and with a NIE only three are open to you at present.
Where to find your support number
On a foreigner's identity card (TIE) it is on the front: eight digits after the letter E, such as E87654321. On an EU citizen's registration certificate it is on the back of the card. Put a C in front and add zeros to reach eight digits, so 9999999 becomes C09999999. On older full-page certificates it is at the top right of the front. The official help does not explain where to find one on a white NIE certificate. If that is your only document, ask a registration office before you rely on the letter route.
For the in-person route, take your NIE document, your passport or travel document, your mobile phone and an email address. You can book at the Agencia Tributaria by phone on 91 333 5 333 or through its online appointment service, under Identificación electrónica and then Registro en Cl@ve. Other public offices also register people, and the government's general access point has an office finder.
For the letter route, you request the letter in your own name on the Agencia Tributaria's site with your NIE and support number. When it arrives, you go back to the same page and enter the code from the letter. The address must be up to date before you ask, because the letter goes only to your tax address. If the 60 days pass, you can request another letter or switch route.
Your mobile number can be Spanish or foreign, with the country prefix. Each registration has one number, and a number can serve only one person. If you register a number already linked to someone else, the system disables Cl@ve access for that other person, so a couple sharing one phone number cannot both use it. After registering, you receive a welcome SMS and can start using Cl@ve Móvil or activate Cl@ve Permanente. Keep the receipt that shows your activation code.
Certificado electrónico (FNMT / camerfirma)
Anyone aged 18 or over, or an emancipated minor, who holds a DNI or NIE can apply. The certificate is free. With a NIE, you can start the request from a computer or from FNMT's official app, but not from a phone's browser, and you always confirm your identity in person. The steps have to be done in this order.
Install the software FNMT specifies under Configuración previa. The request will not work without it.
Submit the request online. You set a password, which you will need later and which cannot be recovered, and FNMT emails you a request code (código de solicitud).
Take that code and your documents to an identity accreditation office, which you can find with FNMT's office locator. Offices of the Agencia Tributaria and Social Security, among others, require an appointment.
About an hour later, download the certificate with your request code. Use the same computer and the same user account as for the request, and enter your details exactly as you did then.
Make a backup copy of the certificate. You can use it to install the certificate on another computer or phone, and it protects you if your computer fails.
At the office you need the request code and one of the combinations below. Take your passport in any case. For EU citizens, a national identity card from your home country also works as the second document.
Foreigner's identity card (TIE)
With passportA card showing your NIE, normally with your passport. FNMT accepts a card on its own only if that type of card also proves identity.
EU citizen's registration certificate
With passport or IDThe certificate showing your NIE, with your passport or national identity card.
Official document granting your NIE
With passportFor example a white NIE certificate, with your passport (or national identity card for EU citizens). FNMT uses this to confirm that you hold a NIE, whatever the validity of the document itself. It is meant for people who have never held a card, or whose NIE was issued for administrative, economic, professional or social reasons.
The certificate lasts four years. You can renew it online from 60 days before it expires, as long as it has not been revoked. Once it has expired, renewal is no longer possible. Renewal online is limited: if the certificate was already renewed once, or was obtained with another certificate or a DNIe, you have to confirm your identity in person again for a new one. So even if you renew on time, expect another office visit by the end of the second four-year term, and put the renewal date in your calendar. Each person can hold only one citizen certificate, and requesting a new one through the app automatically revokes the old one. Treat the file as you would a signature: it signs in your name, so avoid installing it on a shared computer.
Herramientas relacionadas
Our two services cover the practical steps above, and the portal link takes you straight to the official site. If you do not yet have a NIE or a tax record, the other guides cover what comes first.
¿Quieres ayuda práctica?
Si has leído esta guía y quieres apoyo con los siguientes pasos, nuestro equipo puede ayudarte, desde el papeleo hasta las citas previas.
Esta guía ofrece información general y no constituye asesoramiento jurídico. Los requisitos varían entre oficinas y cambian con el tiempo, así que confirma los detalles con la institución correspondiente antes de confiar en ellos. EnterSpain es una consultora de reubicación y no un despacho jurídico acreditado.