Digital key · Certificate and Cl@ve
Get your digital key: the FNMT certificate and Cl@ve
A digital certificate and Cl@ve let you deal with the town hall, Hacienda, Social Security, the DGT and the health service from home. The certificate is free: you request it online, prove who you are once at an office such as El Pósito in Vélez-Málaga, and download it. With an NIE or TIE you can't use the video options yet, so plan one short office visit.
Last updated: 2026-10-20
What the digital key is, and which one to get
Spanish public offices expect you to do more and more online. To prove who you are on their websites you need a digital key. There are two main kinds, and most people end up with both:
| Digital certificate (certificado digital FNMT) | Cl@ve | |
|---|---|---|
| What it is | A small file installed in your computer's browser that works like an electronic ID card. Issued free by the Royal Mint (FNMT). | A login system on your phone: you approve a login in the Cl@ve app, or type a code sent by text message. |
| Best for | Everything, including signing and sending forms to the council, Hacienda and the DGT. | Quick everyday logins: tax draft, Social Security, health, DGT. |
| Getting it | Request online, prove your identity once in person, download. | Register once. With an NIE, the easiest way is online using your certificate. |
| Lasts | Up to 4 years (see renewal below) | Your registration stays; logins are one-off |
Our advice: get the certificate first, then use it to register for Cl@ve from home at the higher (advanced) level. That avoids a second office visit.
A Spanish electronic DNI also works as a key, but foreign residents don't have one. Your TIE or green residency certificate is not an electronic ID.
Why it's worth the effort
Once you have a key you can do from your armchair what used to take a morning in a queue:
- Padrón certificates from your town hall's e-office (sede electrónica). In Vélez-Málaga the e-office needs a certificate and the free AutoFirma app to submit forms.
- IBI and car tax: check and pay bills and set up direct debits on the Patronato de Recaudación (PRP) online office.
- Income tax: see and file your Renta draft on the Agencia Tributaria website or app, and download your tax residence certificate for HMRC. See our tax, pensions and banking guide.
- Social Security: your record, health cover documents and pension letters on Import@ss.
- DGT: driving licence renewals, fines and vehicle paperwork on the DGT e-office and the miDGT app.
- Health: appointments and test results in ClicSalud+. See our healthcare guide.
- Official letters: Carpeta Ciudadana and DEHú collect notifications from every administration in one place.
One thing it won't do: the UK State Pension life certificate. That is a paper form the DWP posts to you, signed by an eligible witness and posted back to Wolverhampton. Only send it when the DWP asks.
Step by step: the FNMT certificate on your computer
The certificate itself is free. Allow a morning for the online part and one short office visit. Use your own computer (Windows, Mac or Linux) rather than a library PC, because the certificate ends up on the computer you request it from.
- Install the FNMT configurator. On the FNMT website (sede.fnmt.gob.es), choose Cert. Electrónico Ciudadano > Certificado con Acreditación Presencial > Configuración Previa and install the Configurador FNMT-RCM for your system. Use an up-to-date Chrome, Edge, Firefox, Safari or Opera. Antivirus programs can block it; on a Mac you may have to allow it in the security settings.
- Request the certificate. Enter your NIE (it starts with X, Y or Z), your first surname exactly as it appears on your document and your email address. You also create a password: write it down, because if you forget it you must start again. A request code (código de solicitud) arrives by email.
- Prove your identity in person at an accreditation office (see the next section) with the code and your documents.
- Download it on the same computer and the same user account, about an hour after your office visit. Enter your details exactly as before, plus the code and your password.
- Make a backup copy straight away (see below).
What to take to the office: the request code and your passport, plus your TIE, green EU residency certificate, or the official document that gave you your NIE. Bring originals, not ordinary photocopies. Since Brexit, British residents usually take the TIE and passport. Do not reformat or reset your computer between the request and the download.
Can't get to an office? Someone else can go for you only if your signature on the certificate contract has first been witnessed by a notary (legitimación de firma). A power of attorney is not accepted instead.
Where to prove your identity in the Axarquía
FNMT has over 2,400 accreditation offices in Spain. Use its office finder (linked from the identity step on sede.fnmt.gob.es) to check before you go, because not every town hall does it. Hacienda and Social Security offices only see you with an appointment; this certificate cannot be done at Correos.
| Office | How to book |
|---|---|
| Vélez-Málaga council: El Pósito citizens' office, Plaza de la Constitución 1. The only Vélez-Málaga council office that checks identity for the certificate (not Torre del Mar or the other district offices). | citaprevia.velezmalaga.es or 952 50 00 10 |
| Hacienda (Agencia Tributaria), Vélez-Málaga, Calle Romero Pozo 4. Can also register you for Cl@ve. | Appointment essential: Agencia Tributaria website or app, or 91 333 5 333 |
| Social Security office (CAISS), Vélez-Málaga, Calle Doctor Fernando Vivar 3 | Appointment essential: sede.seg-social.gob.es or 91 541 25 30 |
| Nerja Town Hall, citizens' office (OMAC) on the ground floor. Ask whether they check identity for the FNMT certificate. | Phone 952 548 400 first to check they do it and how to book |
| Other towns (Torrox, Rincón de la Victoria, Algarrobo and the villages) | Ask your town hall or check the FNMT office finder. If yours doesn't do it, go to Vélez-Málaga. |
Free help in English with the online part: the foreign residents' offices in Torre del Mar, Nerja, Torrox and Frigiliana can point you in the right direction. The free Guadalinfo digital help centres in Cómpeta and Frigiliana, and the Punto Vuela centre at Alcaucín library, help people set up digital certificates. Phone first and take your own laptop if you can.
Video identification and the FNMT phone app: can foreigners use them?
FNMT now offers two ways to skip the office visit, but neither works with an NIE or TIE yet:
- Video identification (vídeo identificación): you show your ID to your phone camera and record a short selfie video. It costs €2.99 plus VAT (2026) and is checked within about 48 working hours. FNMT says it is currently only available with a valid Spanish DNI.
- The Certificado Digital FNMT app (Android and iPhone) lets you request the certificate on your phone. Its video check needs a Spanish DNI; you can choose an office visit instead, but FNMT's app page only mentions the DNI, so if you have an NIE the computer method above is the safer route. Note that you can only hold one personal certificate at a time: requesting a new one in the app cancels your old one.
FNMT says other documents may be accepted in future. Until then, NIE and TIE holders go in person. Ignore websites that claim otherwise and charge for it.
Cl@ve: Cl@ve Móvil, Cl@ve PIN and Cl@ve Permanente
Cl@ve is the government's phone-based login. After you register once, you can choose how to log in each time:
- Cl@ve Móvil: the newest and easiest. On the website you scan a QR code or wait for a notification in the Cl@ve app, tap to approve, and you're in. No password to remember.
- Cl@ve PIN: a short-lived code sent to your phone, for occasional users. If you can't use the app, logins offer a PIN by text message instead.
- Cl@ve Permanente: a password that lasts, for frequent users. You need it (and the advanced level) for Cl@ve Firma, which lets you sign documents online without your own certificate.
There is now a single Cl@ve app (it replaced the old Cl@ve PIN app; you need Android 8 or iOS 15 or later). A mobile number can be linked to only one person's DNI or NIE, so a couple can't share one number for Cl@ve. A foreign mobile number is accepted.
How to register with an NIE
- With your new certificate (best): on the Agencia Tributaria's Registro Cl@ve page, log in with the certificate, add your mobile and email, and you're registered at the advanced level straight away.
- In person at a Cl@ve registration office such as Hacienda in Vélez-Málaga or Social Security (appointment needed). Take your NIE document, TIE or residency certificate, and passport. Advanced level. Nobody can register on your behalf.
- By invitation letter: ask online and a letter with a 16-character code is posted to your tax address on Hacienda's records. Basic level only.
The video options are not for you yet. Registering by video in the Cl@ve app is, for now, only for Spaniards with a valid DNI. Hacienda's separate registration by video call was showing as temporarily unavailable in October 2026.
Basic or advanced? The basic level doesn't open every service. If a site refuses your Cl@ve, it may need the advanced level: log in with your certificate to upgrade.
Backup, using it on your phone, and renewal
Make a backup
After downloading, export the certificate from your browser with its private key into a file (ending .pfx or .p12) protected by a password. Keep the file on a USB stick in a safe place, not in your email. If your computer dies, you install the backup on the new one instead of starting again. Never give the file and its password to anyone.
On your phone
You can install the backup file on a phone or tablet, or request the certificate through the FNMT app. For everyday logins on a phone, though, Cl@ve Móvil is usually simpler.
Renewal
- A citizen certificate is normally valid for 4 years. The expiry date is shown in the certificate details in your browser. FNMT's own help page says certificates from its current issuing authority (AC FNMT Usuarios) are valid until 31 December 2028 at the latest, so check yours rather than assume.
- You can renew online in the 60 days before it expires, logging in with the certificate itself. Put a reminder in your diary.
- Online renewal works only once in a row. Next time, you prove your identity in person again.
- If it has already expired, you can't renew: you request a new one from scratch.
Lost or stolen?
Cancel (revoke) it straight away: online on the FNMT site, by phone 24 hours a day on 917 40 68 48 or 913 87 83 37 (have your request code), or in person at an accreditation office.
Letting family or a gestor help safely
Many people hand their certificate and password to a son, daughter or gestor (administrative agent). Don't. Whoever holds it can sign anything in your name, with any administration, for years.
The safe way is a power to act for you (apoderamiento). The helper then logs in with their own certificate or Cl@ve and acts for you, and you can cancel it at any time.
- For all state offices: the Registro Electrónico de Apoderamientos (REA) of the central government. You can register it online with your key, or in person at a registry office (oficina de asistencia en materia de registros). El Pósito in Vélez-Málaga is one; phone first to check they can do it. Choose all procedures, one administration, or only certain procedures. It lasts at most 5 years.
- For tax: Hacienda has its own apoderamiento, granted online or in person at an Agencia Tributaria office with its form.
- For Social Security: its own register, online with your key or in person at a Social Security registry office in Málaga. A general power in the REA already covers Social Security.
A good gestoría will work this way; ask for it. For wider planning, such as a lasting power of attorney at a notary, see our care and support guide.
Scams and common mistakes
Scams to watch for
- 'Your FNMT certificate is expiring' emails with an attachment or link to 'renew'. These have carried software that steals your data. FNMT doesn't send you files to install.
- Fake 'new notification' emails from 'Hacienda' or 'DEHú' leading to a copy of the official site that asks for your login. INCIBE warned of a new wave in February 2026. Always go to the official site yourself, never through the link.
- Paid 'certificate' or appointment sites. The certificate is free and the office visit is free. The only charge is FNMT's €2.99 video service, which you can't use with an NIE anyway.
- Anyone asking for your certificate file, its password, your Cl@ve PIN or to approve a login you didn't start. Officials never ask.
If you clicked or typed something in: change your passwords, tell your bank, revoke the certificate, and call 017, INCIBE's free cybersecurity helpline.
Common mistakes
- Typing your surname differently from your document, or using a second surname.
- Requesting on one computer and trying to download on another, or on a different user account.
- Turning up at Hacienda or Social Security without an appointment.
- Forgetting the password you set at the request stage.
- Not making a backup, then losing the certificate when the computer is replaced.
- Missing the 60-day renewal window.
Sources and official links
- FNMT: get the citizen certificate (software)
- FNMT: configurator and supported browsers
- FNMT: proving your identity, documents and office finder
- FNMT: documents for EU and non-EU foreigners
- FNMT: video identification (DNI only, €2.99 + VAT)
- FNMT: certificate on a mobile device
- FNMT: renewing your certificate
- FNMT: how long a certificate is valid
- FNMT: cancelling a certificate
- FNMT: user support phone numbers and email
- administracion.gob.es: registering for Cl@ve
- Cl@ve: ways to register and levels
- Cl@ve: video registration in the app (DNI only for now)
- Cl@ve: advanced registration with a certificate
- Cl@ve: the Cl@ve app
- Agencia Tributaria: Cl@ve registration by video call (in English)
- administracion.gob.es: the electronic register of powers (REA)
- Agencia Tributaria: apoderamiento for online tax procedures
- INCIBE: fake FNMT and Hacienda emails (2023)
- INCIBE: fake Hacienda and DEHú notification emails (February 2026)
- GOV.UK: State Pension life certificate
Questions people ask
Is the FNMT digital certificate free?
Yes. The certificate and the in-person identity check are free. The only charge is FNMT's optional video identification (€2.99 plus VAT in 2026), which currently needs a Spanish DNI.
Can I get the certificate by video call with a TIE or NIE?
Not yet. FNMT's video identification is only available with a valid Spanish DNI, so NIE and TIE holders prove their identity in person at an accreditation office.
Where can I prove my identity in Vélez-Málaga?
At the council's El Pósito citizens' office (book on citaprevia.velezmalaga.es), or at Hacienda or the Social Security office in Vélez-Málaga, both by appointment only.
Do I need both a certificate and Cl@ve?
Not strictly, but it helps. The certificate opens almost everything and lets you register for Cl@ve from home; Cl@ve is handier for quick logins on your phone.
How long does the certificate last?
Normally up to 4 years; check the expiry date in your browser. You can renew online in the 60 days before it expires, but only once in a row before you must prove your identity in person again.
Can my son, daughter or gestor use my certificate?
They shouldn't. Give them an apoderamiento (power to act for you) instead, so they use their own key and you can cancel it at any time.
I got an email saying my certificate is expiring. Is it real?
Be very careful: fake FNMT expiry emails have carried malware. Don't open attachments or links; check the expiry date in your browser and go to sede.fnmt.gob.es yourself.