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.
Contents
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 + senha | CMD solves |
|---|---|
| Senha mailed physically (5-14 days) | Activated on the spot |
| Easy to forget the senha | PIN you choose, lock-out recoverable in person |
| Can’t easily reset remotely | Reset at any Loja de Cidadão |
| Different senhas for each portal | One CMD for all gov services |
| No mobile-friendly login | Works 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:
- Go to portaldasfinancas.gov.pt → Aceda ao Portal
- Click “Chave Móvel Digital” option (instead of NIF + senha)
- Enter your NIF
- AT sends an SMS to your registered phone
- Enter the SMS code + your PIN
- 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
| Method | Setup | Use experience | Where it works |
|---|---|---|---|
| CMD | 10 min at Loja | SMS + PIN | All gov + many private |
| NIF + senha | 5-14 day mail | Type senha | Mostly AT |
| Cartão de Cidadão chip | Free with citizenship | Insert + PIN | All gov |
| Multibanco / MB WAY login | Bank-side | Card + PIN | Limited 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:
- Filing IRS via Modelo 3 - annual tax declaration, the single most common use
- Updating your fiscal address - every move within Portugal
- Opening or closing freelance activity
- Quarterly Segurança Social declarations
- Requesting a certidão of non-debt - needed for some benefits and contracts
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
-
general
Working as Both an Employee and a Freelancer in Portugal - Tax Guide 2026
How Portuguese tax works when you have both a salary and freelance side income - englobamento, the year-1 trap, SS rules, and worked examples.
-
general
How to File Your IRS in Portugal - Modelo 3 Step-by-Step (2026)
Complete walkthrough of filing your annual IRS in Portugal - Auto-IRS vs manual Modelo 3, joint filing, deadlines, and the mistakes that delay refunds.
-
general
Foreign-Source Income in Portugal - Anexo J Step-by-Step (2026)
How to declare foreign-source income on Anexo J of your Portuguese IRS. Bank interest, dividends, foreign salary, double-taxation treaties, and tax credits.