Skip to main content

← Guides

How to Set Up Chave Móvel Digital (CMD) in Portugal - 2026 Guide

Step-by-step guide to setting up Chave Móvel Digital (CMD) - Portugal's free mobile digital signature for AT, SS, AIMA, and other government services.

By Andrew Kovalenko · · 4 min read
Contents
  1. Why use CMD instead of NIF + senha
  2. Eligibility
  3. The walkthrough
  4. What CMD also does
  5. Common issues
  6. CMD vs other auth methods
  7. Where you’ll use CMD most
  8. Sources

Chave Móvel Digital (CMD) is Portugal’s official digital signature system. Once set up, it lets you authenticate to any Portuguese government portal - Portal das Finanças, SS Direta, AIMA, NHR/IFICI portals, even sign legal documents - using just your phone number and a PIN, no senha or chip reader required.

It’s free, takes 10 minutes to set up at a Loja de Cidadão, and replaces the cumbersome NIF + senha flow forever.

Cost

€0

Free for all PT residents

Setup time

10 min

At any Loja de Cidadão

Works for

All gov portals

AT, SS, AIMA, IRN, etc.

Why use CMD instead of NIF + senha

Problem with NIF + senhaCMD solves
Senha mailed physically (5-14 days)Activated on the spot
Easy to forget the senhaPIN you choose, lock-out recoverable in person
Can’t easily reset remotelyReset at any Loja de Cidadão
Different senhas for each portalOne CMD for all gov services
No mobile-friendly loginWorks perfectly on phone (SMS confirmation)

The trade-off: CMD requires a physical visit to a Loja de Cidadão for the initial setup. After that it’s smoother in every way.

Eligibility

You qualify for CMD if you have any of:

  • Portuguese citizen card (cartão de cidadão)
  • EU citizen with a CRUE (certificate of registration as EU citizen)
  • Non-EU resident with TR (título de residência)
  • NIF + comprovativo de residência fiscal (basic NIF holder, even before residency)

Effectively: anyone with a NIF and any form of PT residence-related document can get CMD.

The walkthrough

Find a Loja de Cidadão

Lojas de Cidadão are one-stop government service centers. Most major cities have one. Search “Loja de Cidadão” on Google Maps for the nearest.

Alternative: any Espaço Cidadão (smaller branch) or AMA service point also processes CMD.

No appointment usually needed - walk-in works at most locations.

Bring documents

Take with you:

  • Photo ID (cartão de cidadão / passport / residence card)
  • NIF document or proof (your AT comprovativo)
  • Mobile phone that can receive SMS - ideally with a PT number, but foreign numbers usually work
  • Email address that’s currently active

Request CMD activation at the desk

Tell the agent: “Quero ativar a Chave Móvel Digital.”

They’ll:

  • Verify your identity against the AT/SEF/IRN systems
  • Ask for your mobile phone number
  • Ask for an email address
  • Ask you to choose a 4-digit PIN (or 6-digit, depending on location) - this is what you’ll type along with the SMS code at every login

Process takes ~5 minutes once you’re at the desk.

Confirm activation on your phone

You’ll receive an SMS with a confirmation code. Enter it at the desk to verify your phone number.

Then choose your PIN. Memorize it - there’s no email-based reset flow.

The agent prints a confirmation receipt with your CMD ID. Save this.

Test CMD on Portal das Finanças

Within an hour, your CMD is active. Test it:

  1. Go to portaldasfinancas.gov.pt → Aceda ao Portal
  2. Click “Chave Móvel Digital” option (instead of NIF + senha)
  3. Enter your NIF
  4. AT sends an SMS to your registered phone
  5. Enter the SMS code + your PIN
  6. You’re in

Same flow works for SS Direta, AIMA portal, and most other gov services. (If you don’t have a NIF or senha yet, start with the NIF and portal access guide.)

What CMD also does

Beyond gov-portal logins:

  • Digitally sign PDFs that have legal validity in PT
  • Authenticate at notaries for some property/business transactions
  • Login to private sites that accept Autenticação.Gov (banks, energy companies, telecoms increasingly support this)
  • Single sign-on across PT public services

The “PIN + SMS” pattern is the same for all uses.

Common issues

SMS doesn’t arrive. Carrier-side issue. Try again in a few minutes. If it persists, return to a Loja de Cidadão to update your registered phone number.

Forgot PIN. Visit any Loja de Cidadão with photo ID. They reset it on the spot.

Phone number changes. Update at any Loja de Cidadão before your old number is reassigned (PT carriers can recycle numbers after 6 months).

Foreign phone number. CMD officially supports foreign numbers but some carrier combinations are flaky. If you have one, get a PT SIM as backup.

International access. CMD works abroad - AT/SS portals work over any internet, SMS confirms via SMS roaming. Useful for diaspora managing PT affairs from elsewhere.

CMD vs other auth methods

MethodSetupUse experienceWhere it works
CMD10 min at LojaSMS + PINAll gov + many private
NIF + senha5-14 day mailType senhaMostly AT
Cartão de Cidadão chipFree with citizenshipInsert + PINAll gov
Multibanco / MB WAY loginBank-sideCard + PINLimited gov

CMD wins on convenience after the initial 10-minute setup. There’s no reason to skip it if you’ll be a PT resident long-term.

Where you’ll use CMD most

The portals where CMD pays for itself in saved time:

Sources

Try the numbers for your situation

Run your own scenario in the calculator.

Free, no signup. Same engine that powers the examples in this article.

Open calculator

Related guides