The Chave Móvel Digital in Portugal in 2026 — A Practical Guide to Activating the State Digital Key, the PIN-and-SMS Login, the Qualified Signature and What Foreign Residents Need
The Chave Móvel Digital is the Portuguese State's free digital identity — one login for Finanças, Segurança Social and SNS 24, plus a legal e-signature. A practical guide to activating it, the PIN-and-SMS flow, and the NIF and in-person steps foreign residents need.
If you live in Portugal, sooner or later a website will ask you to log in with the Chave Móvel Digital — and everything from filing taxes to reading your health records suddenly depends on having one. The Chave Móvel Digital (Digital Mobile Key, CMD) is the Portuguese State's official digital identity: a single, government-certified login and legal signature that ties your identity to your mobile phone number. It is free, it works for foreign residents, and once activated it becomes the master key to Portuguese bureaucracy online. This guide explains what it does, how to activate it — including the extra step foreigners need — and how to actually use it.
What the Chave Móvel Digital is
The CMD is a means of authentication and digital signature certified by the Portuguese State, run through the official Autenticação.Gov platform. It does two distinct jobs. First, it logs you in to hundreds of public — and many private — online services with one credential, instead of a different password for each. Second, it lets you apply a qualified digital signature to PDF documents, which under EU eIDAS rules carries the same legal weight as a handwritten signature.
In everyday terms, the CMD is what you use to enter:
- The Portal das Finanças — the Tax Authority portal, for your IRS return, invoices and the NIF-linked tax life.
- Segurança Social Direta — the Social Security portal, for contributions, benefits and declarations.
- The SNS 24 / Área do Utente — your National Health Service portal, prescriptions and health data.
- gov.pt / ePortugal — the central public-services counter, plus municipal and utility portals, the Registo Automóvel (vehicle registry), ADSE and many others.
How logging in works
The CMD replaces a password with two-factor authentication. When a site offers "Autenticação com a Chave Móvel Digital," you enter your Portuguese mobile phone number and your four-digit CMD PIN. The system then sends a temporary security code by SMS (or generates one in the Autenticação.Gov app), and you type that in to complete the login. Phone number plus PIN plus one-time code — that is the whole flow, and it is why the key is tied to a mobile number you control.
There is no minimum age to hold a CMD — an adult, a child or even a baby can have one — but each person needs their own mobile phone number, because that number is the anchor of the credential.
The qualified digital signature
Beyond logging in, the CMD can sign documents. Using the Autenticação.Gov app or the signature tool in your web browser, you can apply a legally valid qualified electronic signature to a PDF — a lease, a contract, an official form — without printing anything. The signature uses a separate signature PIN (distinct from your login PIN), so it is worth setting and remembering both when you activate the key.
Activating it: Portuguese ID holders
If you hold a Cartão de Cidadão (Citizen Card), you have the fastest routes:
- The gov.pt app — install the official app, and use your phone's NFC to read the chip in your Cartão de Cidadão, then set your mobile number and PIN.
- The Autenticação.Gov website — activate online using a smartcard reader connected to your computer to read the Citizen Card.
- In person — at an Espaço Cidadão or Loja de Cidadão (Citizen Shop) counter, or an IRN (Instituto dos Registos e do Notariado, Registries and Notary Institute) conservatória.
Activating it as a foreign resident
This is where the process differs, and where many new arrivals get stuck. Foreigners can activate the CMD by associating it with either a passport or a residence document — the título de residência (residence permit) for non-EU citizens, or the cartão de residência (residence card) for EU citizens and their family members.
The key extra requirement: if you activate using a residence title or card, you also need a Portuguese NIF — the Número de Identificação Fiscal (tax identification number). In practice that means the NIF usually comes first; if you have not sorted it yet, see our guide to obtaining the NIF as a foreign resident.
Because a foreigner's activation cannot be done by simply tapping a chipped card at home, the usual route is in person: bring your passport or residence document (and NIF) to an Espaço Cidadão or Loja de Cidadão, an IRN counter, or — if you are outside Portugal — a Portuguese consular post. One caveat for those abroad: passport-based activation at consulates is currently available only at a limited set of posts, including Brussels, London, Paris and São Paulo. The validity of a CMD activated with a passport, residence title or residence card matches the validity of the document it is tied to — so when your permit is renewed, expect to refresh the association. For questions, the national Registry Line is 211 950 500.
Living with your CMD
A few practical habits save pain later. Keep your login PIN and signature PIN somewhere safe and separate; you will rarely change them, so they are easy to forget. If you get a new Portuguese mobile number, update it in your CMD settings before you lose access to the old SIM, since the security codes go to that number. And treat the CMD as you would online banking — anyone with your phone, PIN and access to your codes can act as you across tax, health and social security.
Once it is working, the CMD quietly removes a huge amount of friction from life in Portugal. It pairs naturally with the other essentials new residents set up — a Portuguese mobile number (which the CMD depends on), SNS registration, and the tax and employment paperwork that all now run through the same single login.
What This Means for Expats
- Get your NIF first: If you plan to activate with a residence permit or card, you will need a NIF. Sequencing NIF, then CMD, avoids a wasted trip to the counter.
- Expect an in-person step: Unlike Citizen Card holders, foreigners generally activate the CMD face-to-face at an Espaço Cidadão, Loja de Cidadão, IRN counter or consulate — bring the physical passport or residence document.
- It is free and one key opens everything: The same CMD logs you into Finanças, Segurança Social, SNS 24 and gov.pt — there is no separate paid credential to buy.
- Two PINs, one phone: Set and remember both the login PIN and the signature PIN, and keep the mobile number current — the SMS security code is the second factor that makes it all work.
- The signature has legal weight: The CMD's qualified digital signature is legally equivalent to signing by hand, so you can complete leases, contracts and official forms entirely online.