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. No fiscal representative is needed to get the NIF. The duty to appoint a fiscal representative (representante fiscal) or sign up for the AT’s electronic notifications only kicks in within 15 days of creating a tax relationship in Portugal - owning property or a car here, signing a Portuguese employment contract, or starting self-employed activity. |
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 who have a tax relationship here, 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.: you do not need a fiscal representative to obtain the NIF. AT’s own NIF leaflet for non-residents says so in terms - “no ato de inscrição e atribuição de NIF a cidadão estrangeiro, como não residente, não é obrigatória a designação de representante fiscal”. The duty arises later, within 15 days of a relação jurídica tributária (property, a vehicle, an employment contract or self-employed activity in Portugal). And once it does, 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 NIF service
Companies like e-Residence, NIF Online, or Bordr charge €60-€150 to request the NIF for you, and usually offer to act as your fiscal representative too (optional until you have a tax relationship in Portugal). Process:
- Sign a procuração giving them powers to request your NIF (if they also become your fiscal representative, the procuração says so)
- They file the NIF request on e-balcão 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 file it for you
Free: a friend with Portal access can file the e-balcão request as your representante legal, with your procuração. Asking them to also be your fiscal representative is a bigger ask - they receive AT mail on your behalf and are notionally responsible for compliance - and it’s only needed once you have a tax relationship here. Most people don’t want that 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 folheto - NIF para cidadãos estrangeiros não residentes (attribution, representante legal, 15-day rule)
- LGT art. 19.º - domicílio fiscal and representation
- AT - Acesso ao Portal das Finanças: autenticação e senhas
Try the numbers for your situation
Run your own scenario in the calculator.
Same engine that powers the examples in this article.
Open calculator →Spotted a mistake or something unclear? Tell me what to fix or add on this page. I read every note. Suggest an edit
Thank you — got it.
I'll check it against the official sources and update the page if needed.
Related guides
-
general
IMT Jovem: When Moving or Renting Out Costs You the Exemption
The six-year rule behind IMT Jovem: what cancels the exemption, why a new job 100 km away doesn't count as a 'change of workplace' (AT ruling 30461, October 2026), what you would repay on a €300,000 home, and the 30-day deadline to declare it.
-
general
Finanças Not Responding? How to Escalate in Portugal (2026)
When the tax office goes silent on a request: the 4-month deadline in the law, what you can do once it passes, how to build the paper trail on e-balcão, and how the Provedor de Justiça (free, no lawyer) can help.
-
general
Finanças Appointment in Portugal: Booking, e-Balcão, What to Bring
Since July 2025, anyone without a cartão de cidadão needs e-balcão or a booked appointment for a NIF or an address change. How to book at Finanças, pick the office, use e-balcão instead, and what to bring.