LugarliaOpen the guide

Step · Digital ID

Register for Cl@ve (electronic ID for government services)

Cl@ve is the Spanish state’s shared login system for online government services (Agencia Tributaria, Social Security, DGT, many others); foreigners with a NIE can register online with an invitation letter or electronic certificate, or in person at a registration office.

When
You have a NIE and want to deal with Spanish public administrations online.
How long it takes
Invitation-letter route: the mailed letter’s code is valid 60 days (AEAT); delivery time is not stated. In-person registration: immediate once the appointment is attended (no stated delay).
Official page
Registrarte en Cl@ve
Last checked
30 Oct 2026

In plain words

Foreigners with a NIE can register online with an invitation letter or an electronic certificate, or in person at a registration office.

Why it matters: Some processes, such as booking appointments or filing taxes, are much easier with it.

Remember: The invitation-letter code is valid for 60 days. The time the letter takes to arrive is not stated.

Common questions

Who needs it?

It is for people who have a NIE and want to deal with Spanish public administrations online.

What happens if I skip it?

Without it, some processes, such as booking appointments or filing taxes, are harder; the in-person route and a digital certificate are other ways to identify yourself.

How is it different from “Obtain an FNMT digital certificate”?

The FNMT certificate is a free electronic certificate that lets you log in and also sign documents electronically: you request it online, prove your identity at an accreditation office, then download it. Both open tax, Social Security and other procedures online.

In the guide: the 4 steps, what to bring (5 items), and tips and what to watch for, with every official source.

See the full stepsWhat a pass includes

Do these first