How to Get a NIF & Portal das Finanças Access (2026)
Step-by-step guide to obtaining a NIF and Portal das Finanças access - for EU and non-EU residents, with the fiscal representative rule and senha-by-mail timeline.
Contents
The NIF (Número de Identificação Fiscal) is the 9-digit tax ID that everything in Portugal hangs off - opening a bank account, signing a rental contract, getting electricity, registering as a freelancer, even buying a SIM card with NIF for VAT receipts.
After you have a NIF, the next step is getting access to Portal das Finanças (the AT online services), which means requesting a senha (password). This guide walks through both, with paths for EU residents, non-EU residents, and edge cases.
NIF cost
Free
No AT fee, any channel
Senha delivery
5 business days
By post - or instant with CMD
Required for
Everything
Bank, rental, taxes, recibos verdes
Two scenarios
| You are | NIF process |
|---|---|
| Already resident in Portugal (any nationality) | Book an appointment at an AT office (Loja de Cidadão or Repartição de Finanças), bring passport + proof of address. Free. No fiscal representative needed. |
| Not yet resident, and resident in the EU/EEA (plus Norway, Iceland, Liechtenstein) | Same process. Free. A fiscal representative is optional, never required. |
| Not yet resident, and resident outside the EU/EEA | Same process, free, but you must either appoint a fiscal representative (representante fiscal) or sign up for the AT’s electronic notifications - one or the other, not both. |
Note that the rule keys on where you live, not on your passport: an American already resident in Portugal needs no representative at all. The requirement bites only on non-residents of third countries, and since 2022 it has an alternative. We cover both below.
Path A - EU/EEA citizen, in Portugal
Bring documents
Required:
- Passport or EU national ID card
- Proof of address in Portugal (rental contract, utility bill, atestado de residência from the junta de freguesia)
- Optional: Cartão de cidadão if you have one - speeds things up
Foreign nationals now need a marcação prévia (prior appointment) for the first NIF request - walk-ins are no longer the documented route. Book it on the Portal das Finanças under Contactos → Atendimento por Marcação, or by phone on the AT’s call centre (+351) 217 206 707, weekdays 09:00-19:00.
Visit any AT office or Loja de Cidadão
Locations: most major cities have one. Search “Loja de Cidadão” or “Repartição de Finanças” on Google Maps.
Lisbon options: Saldanha, Marvila, Areeiro. Porto: Boavista, Aliados. Smaller towns have one Repartição each.
Wait times: 30 min - 2 hours depending on location and time of month. Avoid the last 5 days of the month (peak tax volume).
Give your details at the counter
There is no citizen-facing form to fill in for an individual NIF - staff enter you straight into the AT’s Registo de Contribuintes (the “Modelo 1 RNPC” you’ll see mentioned online is a company-name application filed with the IRN, nothing to do with your NIF). What they ask for:
- Personal info (name, DOB, nationality)
- PT address
- Profession (estudante / trabalhador / desempregado is fine for a basic NIF)
- Marital status
Hand over your documents. You’ll receive your NIF and a printed “comprovativo” with the number on it. Save this - you’ll need it to set up everything else.
Path B - Not yet resident, living outside the EU/EEA
For Americans, Brits, Canadians, etc., the rule used to be that a non-resident of a third country had to appoint a fiscal representative, full stop. As of 2022, this changed: Decreto-Lei n.º 44/2022 rewrote article 19.º of the Lei Geral Tributária so that the representative is only one of two options - you can instead sign up for the AT’s electronic notifications (the notificações e citações eletrónicas on the Portal das Finanças, or the ViaCTT electronic mailbox) and skip the representative entirely.
Two things to know before you rely on that. You cannot later cancel the electronic-notification adhesion without appointing a representative first. And if you’re a non-resident opening an activity that’s liable to VAT, a fiscal representative remains mandatory regardless.
Option B1 - Wait until you arrive
Easiest path. Get your visa, fly in, get a residency address (rental, friend’s place, Airbnb), then book an AT appointment same as Path A. Still free, and once you’re resident the representative question disappears entirely.
Option B2 - Use a fiscal-representative service
Companies like e-Residence, NIF Online, or Bordr charge €60-€150 to act as your fiscal representative. Process:
- Sign their terms; they appoint themselves as your representative on the AT system
- They file the NIF request on your behalf with your documents
- You receive your NIF by email within 1-7 days
- Once you become PT-resident, you can switch the fiscal representative off (at the AT office)
Useful when: you need a NIF before flying in (e.g. to sign a rental contract remotely).
Option B3 - Have a PT-resident friend act as representative
Free, but the friend takes on actual responsibility - they receive AT mail on your behalf and are notionally responsible for compliance. Most people don’t want this responsibility for someone whose finances they don’t control.
Getting Portal das Finanças access (senha)
Once you have a NIF, the next step is the senha (password) for online access.
Request the senha at any AT office (or online)
Three paths:
- In-person at AT office: ask staff. They print you a one-time code (código de adesão).
- Online via portaldasfinancas.gov.pt → “Registar-se”: requires you to enter NIF + morada fiscal, and to pick a security question. AT mails you the senha.
- Via Autenticação.gov (Cartão de Cidadão or Chave Móvel Digital): choose Registar-se → Registo Gov.pt, authenticate, and you set your own senha on screen. No letter is sent at all - this is the only same-day route to portal access, and the reason CMD is worth having before you need it.
All three are free (no fee for the senha itself).
Wait for the physical mail
If you registered with NIF + morada fiscal (rather than via Autenticação.gov), AT sends the senha by CTT post to your registered fiscal address - never by email, and never to any other address. The AT’s stated average is 5 business days; if nothing arrives in that window, the letter was lost or returned, and you should call the AT on (+351) 217 206 707 to check the status.
If you appointed a fiscal representative, the senha goes to their Portuguese address, not yours abroad.
If your address changes before the mail arrives, the senha is lost and you have to re-request.
Pedir senha de acesso
NIF
Número de identificação fiscal
Email para confirmação
you@example.com
Telefone (opcional)
(+351) 9XX XXX XXX
Localização da senha
Morada fiscal registada
Schematic - actual UI may differ. Illustrates layout, not exact pixels.
First login and password change
When the envelope arrives, it contains a temporary senha. Go to portaldasfinancas.gov.pt → Aceda ao Portal, enter NIF + temp senha. AT immediately prompts you to change to a permanent password.
While you’re there, confirm your email and mobile number under Dados Cadastrais → Dados de Contacto (each sends its own confirmation code). A confirmed phone number is what turns a future lockout into a 6-digit SMS instead of another wait for the post - see locked out of Portal das Finanças for every recovery route.
Verify access works
After changing the senha, navigate to:
- Os seus serviços → Identificação - verifies your registered address and personal info
- Comprovativo de IRS - should show no past declarations if you’re new
- Pagamentos - should show no pending payments
All clean? You’re set up. Now you can:
Common stumbling blocks
Wrong address on registration. If you put a temporary address (Airbnb, hotel) when registering for the NIF, AT mails everything there forever until you update. Update via Portal das Finanças → Identificação → Comunicar morada once you have a stable address.
Senha mail returned undelivered. Common with rural addresses or new buildings. The senha is voided after one delivery attempt. Re-request once you confirm a deliverable address.
Multi-character senhas auto-generated. AT-generated senhas are typically alphanumeric mixed-case. Some people mistype (l vs I, 0 vs O). The envelope is hand-printed with reasonable typography but read carefully.
Trying to access from outside Portugal. Portal das Finanças works internationally - no IP restriction. But certain workflows (Auto-IRS, electronic payment) prefer SEPA banking which means a PT IBAN. Set up your PT bank account early.
Forgetting to register email + phone in the AT profile. AT uses these for secondary verification, for the optional second factor, and for instant password recovery. Update via Dados Cadastrais → Dados de Contacto, then enter the confirmation code sent to each.
After you have the senha
You can also enable Cartão de Cidadão authentication (if you’re a PT national) or Chave Móvel Digital (CMD - Portugal’s free digital identity and qualified signature). Both let you log in without typing the senha.
To set up CMD:
- Visit an Espaço Cidadão or Loja de Cidadão - or an IRN conservatória, or a Portuguese consulate if you’re abroad
- Bring your cidadão card, or a passport; a título or cartão de residência also works, but that route additionally needs your Portuguese NIF
- They provision your CMD on the spot
- Use it for both AT and SS Direta from then on
CMD is not restricted to residents, and it costs nothing. You can also activate it online with a Cartão de Cidadão and a card reader, or through the gov.pt app.
CMD is faster and more secure than NIF + senha, and it is the one credential that keeps working when the senha doesn’t. Worth setting up on day one.
Sources
- Portal das Finanças - NIF
- gov.pt - Pedir o Número de Identificação Fiscal (pessoa singular)
- AIMA - Viver em Portugal (residence authorisations)
- Portal das Finanças - FAQ: Representação Fiscal
- Decreto-Lei n.º 44/2022, de 8 de julho (fiscal representation / electronic notifications)
- AT - Acesso ao Portal das Finanças: autenticação e senhas
Try the numbers for your situation
Run your own scenario in the calculator.
Free. Same engine that powers the examples in this article.
Open calculator →One short email before each major Portuguese tax deadline.
If you're staying on top of this stuff, let us flag the IRS / IVA / Segurança Social deadlines that affect you - in English, in plain language. No drip campaign.
Related guides
-
general
Locked Out of Portal das Finanças? Every Way Back In (2026)
Your NIF password stopped working and the tax office visit didn't fix it. Every route back into Portal das Finanças, ranked by speed - and the address trap that makes recovery silently fail.
-
general
Why Is My Portugal IRS Refund Late? (And the Mistakes That Cause It)
Your IRS refund is legally due by 31 August. Here's how to check where it is, the four things that hold it up, and when the tax office owes you interest for being late.
-
general
IUC in Portugal: The 2026 Car Tax Guide in English
When IUC is due in 2026, how the amount is calculated (with worked examples), how to pay it online in English, and exactly what changes in 2027 and 2028.