Top
Open article sections
⌕

Documents

Chave Móvel Digital for Foreigners: How to Activate and Sign Documents

Activate Portugal’s Chave Móvel Digital with a passport or residence card. Fix missing SMS codes, blocked PINs, phone changes and digital signature errors.

Important note: This guide explains Portuguese processes in simple terms based on official sources. It is not legal or professional advice.

Illustration of a smartphone, passport and signed document representing Portugal’s Chave Móvel Digital for foreigners, with LiveinPT branding
  • NIF
  • Residence Card

You do not need Portuguese citizenship or a Portuguese Citizen Card to get a Chave Móvel Digital (CMD). A foreign passport or an eligible Portuguese residence document can be used instead. But the document you choose matters: some residence certificates let you log in to public services without allowing you to sign documents digitally.

If you have only a foreign passport or residence document, activate CMD in person. The government’s activation service was updated on 19 October 2026.

CMD is Portugal’s state-backed digital identity service, also called the Digital Mobile Key. It can replace passwords on participating websites and, when signing is enabled, let you sign a PDF remotely. Activation is free.

Which document should you use to activate CMD?

Choose the document based on what you need CMD to do, not simply which document is easiest to take to the counter.

Document used for CMDPortuguese NIF needed?Digital signing supported?
Valid foreign passportNo, but add it if you have oneYes
Título de Residência (non-EU residence permit)YesYes
Cartão de Residência (residence card)YesYes
Certificado de Residência Permanente, including the permanent EU residence certificateYesYes, subject to signing activation
Certificado de Residência for EU citizens and their non-EU family members, including ordinary CRUEYesNo
Certificado de Autorização de ResidênciaYesNo
Temporary-protection residence grant certificateYesNo

Signing support in the table means the document type permits activation of the signature function. It is not a promise that every holder or website will accept a particular signature; age, activation and the receiving service’s requirements still matter.

No residence card yet, or only a CRUE?

If you are waiting for AIMA to issue your first card, you can ask for CMD using your valid passport. A residence card is not a universal prerequisite for passport-based activation. A visa or an AIMA appointment receipt is not itself listed as a standalone activation document.

For an EU citizen with a CRUE issued by the Câmara Municipal, the distinction is particularly important. Registering with the ordinary residence certificate is useful for authentication, but if you need to sign contracts or forms, ask to use your passport instead. Do not assume that a document described as a residence certificate is equivalent to a permanent residence certificate. Show the officer the actual document.

If you have NIF, NISS and SNS user numbers, bring them even when registering with a passport. A CMD created without these identifiers may work on one site and fail on another.

Brazilian citizens with a Portuguese Citizen Card under the Porto Seguro Treaty

There is a specific exception to the standard foreign-passport route. Autenticação.gov permits activation with the Citizen Card issued under this treaty at a service desk or through its online portal. The Finanças route also has specific card requirements, including the NIF printed on the card. The mobile biometric and video-call activation routes are not available for this card according to the official FAQ.

How to activate Chave Móvel Digital in person

1. Find a counter that actually provides CMD

Use the official activation page and counter locator. Look for a service offering CMD activation, such as an Espaço Cidadão. Other official channels include participating criminal-record services, Portuguese consular services and regional citizen-service desks. A Loja do Cidadão is a building that may contain several separate service counters; check which one performs CMD.

Contact the chosen location before travelling to ask whether it accepts walk-ins or requires a booking, and whether it processes foreign identification documents. Do not confuse ordinary CMD activation with the separate combined NIF, NISS and SNS registration service available at designated locations.

If you live outside Portugal, contact a Portuguese consulate that offers CMD and ask whether it serves holders of your foreign document and whether an appointment is required. Do not assume that every consulate provides the same service to foreign nationals.

2. Bring the right documents and your working phone

  • Your original, valid passport or qualifying residence document.
  • Your Portuguese tax number (NIF), with proof if available; it is required for residence-document registration.
  • Your own mobile phone and access to its number, so you can receive the first SMS.
  • NISS, SNS user number and a personal email address, if you have them.

Each CMD is associated with its own phone number. The same number cannot be used for your CMD and your spouse’s or child’s CMD. If you add an email, it also needs to be unique to that registration.

The published requirements do not list a rental contract as a universal requirement for passport-based CMD. If an officer asks for proof of address or another document, ask whether it relates to CMD registration itself or to a different service you are requesting.

3. Ask to activate authentication and signing together

At the counter you can say:

Quero ativar a Chave Móvel Digital com o meu passaporte ou título de residência. Também quero ativar a assinatura digital qualificada, se o documento o permitir, e associar o meu NIF, NISS e número de utente.

The officer verifies your identity and registers the chosen document and mobile number. Check your name, document type, number, country code and linked identifiers before leaving. Follow the officer’s instructions to establish the authentication PIN and, if eligible, the separate signature function.

If you receive a temporary PIN, complete the initial authentication and replace it with a personal PIN as instructed. The first verification message is sent by SMS. Do not mistake its one-time security code for your permanent PIN.

4. Test it before you need it for something urgent

Open Autenticação.gov and enter the reserved area using the foreign-citizen-with-CMD option (Cidadão estrangeiro com Chave Móvel Digital). Check that you can authenticate. If signing was requested, try signing a harmless test PDF and confirm that the downloaded file contains the digital signature.

These are two different tests. If the second fails, resolve it while you still have time to revisit the service counter. A successful login is not evidence that the signing certificate is active.

Can a foreigner activate CMD online with NIF or the gov.pt app?

For an ordinary foreign passport or residence document, no. The online setup that uses a Finanças login still requires a qualifying Citizen Card. Similarly, scanning a foreign passport into the gov.pt app is not a substitute for in-person identity verification under the current activation guidance.

Once your foreign-document CMD is active, you can use digital services and the reserved area online. That is different from creating CMD remotely. The current Autenticação.gov site explicitly includes a foreign-citizen login option.

CMD PIN, signature PIN and SMS code: which one do you need?

CodeUsed forWhat to check
PIN de autenticaçãoSigning in to participating servicesYour reusable login PIN
PIN de assinatura digitalApproving a digital signatureYour separate signing PIN, which can differ from the login PIN
Código de segurançaConfirming a login or signatureA fresh one-time code, normally six digits and valid for two minutes

A Finanças password, a Segurança Social Direta verification code and a CMD security code are different credentials. Enter the code requested by the screen, not whichever one arrived most recently.

Chave Móvel Digital SMS not arriving or phone number not accepted

First identify whether you are trying to activate a new CMD or use an existing one. The first activation code must arrive as an SMS; app-generated codes are not a way around that initial verification.

For an existing CMD, check the following in order:

  1. Confirm the full registered phone number, including its international country code. Check that the selected SIM is still receiving SMS and is connected to its mobile network, including roaming if you are abroad.
  2. If the code arrives after its validity window, request a new one and use only the latest code. Avoid repeatedly submitting expired codes.
  3. If you have already set up the official gov.pt app’s CMD authentication feature, try its code or biometric confirmation when offered. This can avoid dependence on SMS for subsequent authentication.
  4. If the registration was just created and the first SMS never arrived, contact CMD support or return to the counter to verify the number and registration state.

Can I use a foreign phone number?

A Portuguese mobile number is not stated as a universal condition on the current gov.pt activation page. However, that does not mean every foreign carrier or international route reliably delivers verification messages. Confirm acceptance and test delivery at the counter before relying on a number from abroad.

This is not just theoretical. In November 2026, Portuguese media and a parliamentary question reported continuing problems with verification messages to +1 numbers in the United States and Canada. The reports concern Portuguese users abroad and do not establish that every +1 number or foreign CMD is affected. They are a reason to test your own setup, not evidence of a general ban or a currently unresolved outage for everyone.

If a foreign number fails during initial activation, ask the officer to check it first. If you have a Portuguese number you control long-term, using it may be a practical fallback. Avoid registering with a temporary SIM you expect to abandon or somebody else’s number.

Forgot your PIN, blocked CMD or signing suddenly stopped?

Match the failure to the correct recovery procedure. Do not cancel a working authentication credential just because its digital signature stopped working.

SituationWhat to do
Forgot authentication PIN or CMD is blockedTake the linked ID document to an Espaço Cidadão and ask to recover or unlock CMD. The online unlock route requires a Citizen Card and card reader, so it is generally unsuitable for passport-based holders.
Can log in but forgot the signing PINEnter the reserved area and look for the digital-signature settings to reactivate signing or change its PIN; if unavailable for your case, use a counter.
Signing stopped after repeated incorrect attemptsThe official FAQ says five consecutive wrong signing PIN or security-code attempts deactivate signing. Login can still work. Reactivate signing rather than creating a new CMD unnecessarily.
Phone number or email belongs to an existing CMDAsk support to identify the conflict and resolve or cancel the old credential if appropriate. Do not create overlapping registrations.

Stop guessing after failed attempts. If the message says the authentication key is blocked, the physical counter is the clearest recovery path for someone without a Portuguese Citizen Card.

CMD works on Autenticação.gov but not on Finanças, Segurança Social or another portal

This is where a working digital identity and a usable account on a particular service are often confused.

Use the reserved-area test described above. If you can log in there, but another site refuses you, the problem may be the receiving site’s required identification data rather than your CMD PIN.

For example, a passport-based CMD without a NIF may not satisfy a tax portal. A site may expect a Portuguese Citizen Card number or another identifier that foreign-document CMD holders do not have. A correctly authenticated identity also does not automatically create a Social Security account or entitle you to a service.

Ask the operator to check whether your NIF, NISS and SNS number are correctly associated with your CMD and which identifier the failing portal expects. If the associations are correct, contact the owner of the failing service, giving the exact error and explaining which document you used to activate CMD. Do not reset a functioning CMD repeatedly to resolve a separate portal problem.

For a problem specific to your Social Security account, use our Segurança Social Direta login and troubleshooting guide.

How to activate the digital signature and sign a PDF

The digital signature is a separate capability of CMD. Gov.pt states that people over 16 can activate it, provided their CMD and document type support signing. It produces a qualified electronic signature recognized in the EU and legally equivalent to a handwritten signature. That does not remove other requirements a particular transaction might have, such as notarisation or identity verification by a specific authority.

If signing was not enabled at registration, log into the reserved area of Autenticação.gov and check whether you can activate it there. The official signing activation service is also available at counters that activate CMD. For keys originally created through Finanças or a TV box, official instructions require counter activation of the signature.

Sign a PDF using your browser

  1. Open the official CMD signature page and choose the option to sign with CMD.
  2. Add the PDF, then choose the signature placement or other options when offered.
  3. Enter your registered phone number and signing PIN, not the authentication PIN if they differ.
  4. Complete the security confirmation requested by the service.
  5. Save the resulting signed PDF as a separate file and verify its signature before sending it.

If the web tool rejects the file because of format or size, use the official Autenticação.gov desktop application or the gov.pt mobile app where appropriate. The desktop software supports more formats and advanced options than the basic browser workflow. DWF and DWFx files are excluded according to the official FAQ.

CMD signature not working, invalid signature or SCAP error

If you can sign an ordinary test PDF but not a specific application or document, focus on what the receiving platform actually requires.

Digital signature inactive or not enabled

Check your linked document type first. If your CMD uses a login-only residence certificate, a PIN reset will not make that certificate eligible for signing. Ask the counter about switching to an eligible passport-based registration; changing the underlying document type requires cancellation and new activation.

The PDF says the signature is invalid or unknown

Open the untouched downloaded file in a PDF reader capable of checking electronic signatures and its certificate chain. A basic browser preview may not recognize the signature correctly. If a proper validation tool reports that the document was modified or the certificate is invalid, do not send it as successfully signed; resolve the error and sign again if needed.

Do not print and rescan the signed PDF, convert it to an image, or use an ordinary PDF editor to rewrite the file. The recipient needs the original signed electronic document, not a picture of the visible signature.

The service asks for SCAP or a professional attribute

SCAP (Sistema de Certificação de Atributos Profissionais) is different from an ordinary personal qualified signature. It is used to establish a professional or organisational capacity, for example when signing on behalf of a company. The official SCAP instructions describe signing with professional attributes in the desktop application’s advanced signature mode.

A personal CMD signature may succeed while a professional workflow fails because an attribute is missing or the receiving system requires information that it cannot obtain from a foreign identity. Ask the receiving service what specific attribute or credential is required and whether it accepts an alternative approved signing method. Do not assume that all SCAP services are closed to foreigners, or that a personal signature can replace a required professional attribute.

Change your CMD phone number or recover a lost SIM

For foreign-document holders, the normal way to change the registered mobile number is at an Espaço Cidadão. Take the document linked to CMD, the new phone and its working SIM. The official reserved area allows changes to email and the signing PIN, but does not generally provide the same online phone-number replacement process as the Portuguese Citizen Card mobile activation route.

If you are switching mobile providers and keeping the same number through portability, a number change is not needed merely because the carrier changes. Test SMS delivery after the switch. If you are switching to a completely new number, update CMD while you still control the old one if possible.

If your phone was stolen or the old number has been reassigned, contact your mobile operator and CMD support promptly. Ask whether cancellation is necessary to protect the credential. If someone else can receive messages on your registered number, do not leave the issue unresolved.

Passport or residence card renewed, expired or replaced

A foreign-passport or residence-document CMD has the expiry date of its linked identification document. Do not assume it has the extra 30 days applicable to the Portuguese Citizen Card route.

Autenticação.gov’s validity guidance says renewal of an identification document before CMD expires does not normally require creating a new key. Check your updated details afterward. If the new expiry date or other particulars are not reflected, go to the counter with the renewed document and ask for the registration to be updated. Take the old document if still available, particularly if its number has changed.

If your original residence permit is expired and you are relying on an AIMA renewal receipt or a statutory extension, your right to reside and CMD technical validity are different questions. Do not assume that an immigration extension automatically updates the CMD record. Ask the counter how to restore access using a currently accepted document, and maintain another access route for urgent services while the record is corrected.

If you become Portuguese or want to move your CMD from a residence document to a passport, you cannot simply edit the document type on an existing registration. The official procedure is to cancel that CMD and activate a new one using the new document type. Confirm the replacement route before cancellation if you depend on CMD for a pending deadline.

Where to get help if CMD still does not work

For CMD activation, blocked credentials or missing verification codes, contact Linha Cidadão on 210 489 010 or 300 003 990, Monday to Friday, 9:00–18:00. Official phone support generally asks the holder to call from the registered number; if you no longer control it, use the official support option on Autenticação.gov or visit a counter instead.

Before contacting support, record which identification document was used, which step fails, the exact error message, whether reserved-area login succeeds and whether a test signature succeeds. A screenshot with personal details removed can help establish whether the fault is with identity registration, SMS delivery, signing or a specific third-party portal.

If a document must be signed or submitted by a deadline, ask the receiving organisation about an accepted alternative before the deadline passes. Never share your PIN or one-time security code with anyone, including someone claiming to be from a bank or a government office.

Helpful guide? Share it with someone living in Portugal or planning to move here.

Portugal changes. We keep track.

Get the important updates, explained in plain English.

Related guides