Obtaining the NIF (Número de Identificação Fiscal) in Portugal in 2026 — A Practical Guide to the Cinco Caminhos for Foreign Residents, the AT Portal das Finanças, the Representante Fiscal Threshold and the Cartão de Contribuinte Lookup
The NIF (Número de Identificação Fiscal) is the load-bearing tax-ID anchor for any expat in Portugal. This guide covers the five caminhos for obtaining it, the Representante Fiscal threshold for non-EEA applicants, AT Portal das Finanças set-up.
The Número de Identificação Fiscal (Tax Identification Number, NIF) — also called the número de contribuinte — is the single most load-bearing identifier in the Portuguese administrative stack for any foreign national who plans to do anything beyond a tourist visit on Portuguese soil. It is required to open a bank account, sign a lease, purchase property, register a vehicle, sign up for utilities, take out a phone contract, contract for healthcare under the SNS, apply for a residence permit, set up Categoria B self-employed activity, file an IRS return, register as a beneficiary at Segurança Social, or claim any of the IRS-tied benefits like the IRS Jovem extension, the Regime Fiscal de Incentivo à Investigação e Inovação (IFICI), or the legacy Residente Não Habitual (NHR) regime. This guide walks through the five operational caminhos (paths) for obtaining the NIF in 2026, the Representante Fiscal (Tax Representative) threshold for non-EEA residents, the AT Portal das Finanças access set-up, and the Cartão de Contribuinte lookup workflow.
Who Issues the NIF and What It Covers
The NIF is issued by the Autoridade Tributária e Aduaneira (Tax and Customs Authority, AT) under the authority of the Decreto-Lei n.º 14/2013 of 28 January (the Regulamento do Número de Identificação Fiscal), which consolidates the prior Decreto-Lei n.º 463/79 of 30 November NIF regime. The structure: a 9-digit numeric identifier with a leading digit that signals the taxpayer category — 1, 2, or 3 for resident natural persons (most common); 5 for legal persons (sociedades); 6 for public bodies; 7 for heranças indivisas and irregular collective entities; 8 for empresários em nome individual; 9 for non-resident natural persons. Foreign residents who become resident persons typically receive a 2-leading or 3-leading number — the 2 and 3 first-digit ranges are reserved for individuals living in Portugal.
The NIF is administered through the AT Portal das Finanças (portaldasfinancas.gov.pt) — the single gateway for IRS, IVA, IMI, IMT, IUC, IS (Imposto do Selo), IRC and related tax-side procedures. Access requires either a NIF-plus-password authentication, a Cartão de Cidadão / Chave Móvel Digital (CMD) authentication, or, for non-Portuguese-national taxpayers without a CC / CMD, the AT-issued NIF-plus-password combination obtained at the moment of NIF allocation.
Five Caminhos for Obtaining the NIF
Caminho 1: EU / EEA / Swiss Citizen Walk-In at a Finanças Office
EU, EEA (Norway, Iceland, Liechtenstein) and Swiss citizens can obtain a NIF directly by walking into any Serviço de Finanças office (the 339 AT bricks-and-mortar service points across the country) or a Loja de Cidadão (Citizens' Shop) carrying the AT counter. Documents required:
- A valid passport or EU identity card (Cartão de Cidadão for Portuguese nationals, ID card for other EU nationals).
- A proof of address — either a Portuguese rental contract, a utility bill in the applicant's name, or a recent foreign-address utility bill / bank statement in the case of an applicant not yet resident.
- For applicants not yet resident in Portugal, a proof of the foreign address — typically a recent utility bill (under three months) at the foreign permanent residence.
The NIF is issued on the spot, free of charge, with the AT-allocated number printed on a paper attendance receipt at the counter. The Cartão de Contribuinte (Taxpayer Card) is no longer printed as a physical card since 1 January 2007 — the NIF lives on the Cartão de Cidadão for Portuguese citizens, and on the AT digital record for non-citizens.
Caminho 2: Non-EEA Citizen Walk-In With a Representante Fiscal
Non-EU, non-EEA, non-Swiss citizens — i.e. Brazilians, Americans, British (post-Brexit), Canadians, Australians, South Africans, Chinese, Indian and most other third-country nationals — face a structurally different procedure. The Portuguese AT requires a Representante Fiscal (Tax Representative) for any non-EEA NIF applicant who does not yet have a residence permit under Lei n.º 23/2007.
The Representante Fiscal must be either a Portuguese-resident natural person or a Portuguese-tax-registered legal entity (sociedade), and assumes responsibility for receiving AT correspondence on behalf of the non-resident NIF-holder. The Representante can be a friend, a family member, an accountant (contabilista certificado), a lawyer (advogado), or a specialist NIF-services firm offering tax-representation packages (typical pricing €100–€350/year). The Representante's NIF, full name and Portuguese address are listed on the AT application form.
Documents required at the Serviço de Finanças walk-in:
- A valid passport.
- A proof of foreign address (utility bill, bank statement) under three months old.
- A signed and notarised Termo de Representação Fiscal form, with the Representante Fiscal's signature certified at a Notário, Junta de Freguesia or Câmara Municipal counter.
- The Representante's NIF and Cartão de Cidadão / Título de Residência copy.
The NIF is issued on the spot, free of charge to the applicant, with the AT mailing all correspondence to the Representante's Portuguese address. Once the applicant becomes resident (under Caminho 5 below), the Representante Fiscal designation can be cancelled by walking into a Serviço de Finanças with proof of Portuguese residence.
Caminho 3: AIMA-Issued NIF for Residence-Permit Applicants
Since the Lei n.º 18/2022 reform and the November 2023 SEF-to-AIMA transition, the Agência para a Integração, Migrações e Asilo (Agency for Integration, Migration and Asylum, AIMA) — the immigration-administration successor to the dissolved SEF — issues a NIF as part of the residence-permit attribution process for visa-track applicants. D7 (Passive Income / Retirement), D8 (Digital Nomad), D2 (Entrepreneur), D3 (Highly Qualified), Tech Visa, Job-Search Visa, Investment-Visa (formerly Golden Visa under Lei n.º 14/2025), Trabalho, Estudante and Reagrupamento Familiar (Family Reunification) applicants receive the NIF concurrently with the Título de Residência issuance at the AIMA local-delegation appointment.
For applicants who already hold a NIF obtained under Caminho 1 or 2 prior to the AIMA appointment, the existing NIF is simply migrated from non-resident status to resident status — the 9-leading first-digit signal is updated to 2 or 3 in the AT database, and the Representante Fiscal designation (if any) is cancelled. The applicant retains the same 9-digit number for life.
Caminho 4: Remote / Online NIF via a Tax-Representation Firm
For non-EEA applicants who cannot physically attend a Serviço de Finanças appointment — e.g. applicants still living outside Portugal and preparing for a visa appointment, or remote-working applicants whose visa-track timeline runs months ahead — specialist remote-NIF firms offer a power-of-attorney-and-tax-representation package that obtains the NIF on the applicant's behalf without the applicant travelling. Typical pricing: €100–€250 one-off NIF allocation plus €100–€350/year tax representation.
Procedure: the applicant signs a notarised power of attorney (procuração) under the Convenção da Apostila de Haia (Hague Apostille Convention) at a notary in the country of residence, with the apostille issued by the country's foreign ministry. The procuração authorises the Portuguese-resident firm to apply for the NIF on the applicant's behalf and to serve as Representante Fiscal. The firm submits the NIF application at the Serviço de Finanças, receives the NIF, sets up the AT Portal das Finanças access credentials, and forwards them to the applicant by email — typical turnaround is 5–15 business days.
Common providers in this market: established AT-credentialed accountancies (Belion, Bordr, NIF Online, Anchorless, Holborn Assets, the various contabilista-certificado boutique firms across Lisboa, Porto and the Algarve). The applicant should verify the firm's status with the Ordem dos Contabilistas Certificados (OCC) before signing the procuração.
Caminho 5: Embaixada or Consulado de Portugal Application
An older alternative — increasingly rarely used since the rise of Caminho 4 — is to apply for the NIF through the Portuguese Embassy (Embaixada de Portugal) or Consulate (Consulado de Portugal) in the country of residence. The Embaixada / Consulado-counter procedure is documented under Decreto-Lei n.º 71/2009 of 31 March (the Regulamento dos Serviços Externos). The procedure: the applicant attends the Embaixada / Consulado in person carrying passport and proof of foreign address, signs a NIF-allocation request form, and the Embaixada / Consulado forwards the request to the AT via diplomatic pouch. Turnaround is typically 3–8 weeks. Fee: €0–€10 depending on the post.
AT Portal das Finanças Access Set-Up
Once the NIF is allocated, the second step is to set up access to the AT Portal das Finanças (portaldasfinancas.gov.pt) — the single online gateway for IRS, IVA, IMI, IMT, IUC, IS, IRC and Segurança Social cross-references. There are three login routes:
- NIF + Password. The default for non-Portuguese-citizen NIF-holders. At the moment of NIF allocation, the AT issues a one-time access password (palavra-chave de acesso) that the applicant uses on first login to set a permanent password. If the AT-issued password is lost, the applicant can request a new one via the Portal das Finanças' "Recuperar Palavra-Chave" link, which sends the new password to the AT-registered postal address. For non-resident applicants with a Representante Fiscal, the new password is mailed to the Representante's address.
- Cartão de Cidadão (CC). Portuguese citizens authenticate via the Cartão de Cidadão chip-card-and-reader combination on the desktop browser. Requires a USB chip-card reader and the Autenticação.gov.pt middleware. Increasingly displaced by Caminho 2 below.
- Chave Móvel Digital (CMD). The mobile-based authentication method — a 6-digit one-time code sent to the registered phone, paired with a permanent CMD password. CMD is set up at any Loja de Cidadão, Espaço Cidadão or directly via the Autenticação.gov.pt portal. CMD also authenticates against the Segurança Social Direta portal, the gov.pt service portal, the IRN registos services, the AIMA online portal and most other government-side services.
For foreign-resident applicants, the practical workflow is: obtain the NIF under Caminho 1, 2, 3, 4 or 5; receive the AT-issued password; log into the Portal das Finanças; set a permanent password; navigate to Dados Pessoais > Endereço to confirm the registered postal address; navigate to Dados Pessoais > Conta Bancária to register an IBAN for IRS refunds; navigate to Dados Pessoais > Atividade to confirm the residency status (Categoria A salaried, Categoria B self-employed, or Não Residente). The Categoria-B-track applicant has a separate procedure for opening a Categoria B activity at the Portal das Finanças or at a Serviço de Finanças walk-in, covered in our separate Categoria B guide.
Representante Fiscal Threshold and Designation Rules
The Representante Fiscal requirement under Article 19 of the Lei Geral Tributária (LGT) applies to any taxpayer who is non-resident for tax purposes in Portugal and who is not resident in any EU, EEA or Swiss state with which Portugal has a tax-cooperation agreement. The practical reach of this threshold:
- EU, EEA and Swiss citizens resident in their home country and applying for a Portuguese NIF for prospective property purchase, rental contract, bank account, etc.: no Representante Fiscal required, but designating one is allowed and simplifies AT correspondence.
- UK citizens resident in the UK post-Brexit: Representante Fiscal required under the LGT Article 19 threshold (the UK is outside EU / EEA / Switzerland). The April 2026 EU-UK Joint Committee dialogue did not change this position.
- Brazilian, American, Canadian, Australian, South African, Chinese, Indian and other non-EEA-resident applicants: Representante Fiscal required.
- Once the applicant becomes resident in Portugal under the SNS / Cartão de Cidadão / Título de Residência threshold, the Representante Fiscal designation is no longer required and can be cancelled at any Serviço de Finanças by presenting proof of Portuguese residence (Título de Residência, Atestado de Residência issued by the Junta de Freguesia, or utility bill in the applicant's name).
The Representante Fiscal's responsibilities under the LGT and Decreto-Lei n.º 14/2013: receiving AT correspondence on the non-resident's behalf; serving as the contact point for tax-procedure notifications; in some cases, signing IRS or IVA returns on the non-resident's behalf under a separate procuração. The Representante does not assume tax liability for the non-resident — that remains the taxpayer's own responsibility. Cancellation is at-will from either side, with the non-resident obliged to designate a substitute within 30 days under the Article 19 LGT rule.
Cartão de Contribuinte Lookup and NIF Verification
The physical Cartão de Contribuinte has not been issued since 1 January 2007 — the NIF lives on the Cartão de Cidadão (for Portuguese nationals), on the AT digital record (for non-Portuguese-national NIF holders), and on the Título de Residência (for non-EEA resident NIF holders). The AT-side lookup of an existing NIF: the applicant can verify the registered AT-side data by logging into the Portal das Finanças' Dados Pessoais page, or by attending a Serviço de Finanças walk-in carrying passport and Título de Residência.
Third-party NIF verification — for landlords, banks, telecoms operators, employers and counterparties needing to verify a counter-party's NIF — runs through the AT's NIF Validador API, accessible via the Portal das Finanças at Serviços > Outros Serviços > Validação NIF. The API confirms the NIF's existence and links it to the registered taxpayer name (subject to the data-protection masking rules under the Regulamento Geral sobre a Proteção de Dados / GDPR). Third-party verification with deeper detail (address, status) requires the counterparty's consent under the LGT secrecy regime.
Four Profile-Based Application Checklists
Profile 1: French / German / Spanish / Italian / Dutch / Polish EU national arriving on a job offer
EU national: no Representante Fiscal, Caminho 1. Procedure: walk into the nearest Serviço de Finanças carrying valid EU ID card or passport, plus either a Portuguese rental contract / utility bill (if already resident) or a recent home-country utility bill (if still resident at home). NIF issued on the spot, free. Set up the AT Portal das Finanças password on first login. If employed under a Categoria A salary contract, the IRS withholding starts at the next pay cycle. The Certificado de Registo de Cidadão Europeu (EU Citizen Registration Certificate) is obtained separately at the Câmara Municipal of residence under Lei n.º 37/2006.
Profile 2: UK national resident in the UK preparing for D7 / D8 visa application
UK national: Representante Fiscal required, Caminho 4 (most common). Procedure: contract with a Portuguese tax-representation firm (Bordr / Belion / NIF Online / similar), sign a notarised + apostilled procuração in the UK, send a passport scan and proof-of-UK-address utility bill to the firm. NIF allocation in 5–15 business days. AT Portal das Finanças access credentials forwarded by email. NIF is then submitted at the VFS Global / Embaixada de Portugal in London as part of the D7 / D8 visa application packet. Once the Título de Residência is issued in Portugal under Caminho 3, the Representante Fiscal designation is cancelled.
Profile 3: Brazilian national arriving on the CPLP-track Acordo de Mobilidade two-year residence pathway
Brazilian national: Representante Fiscal required at the front end, but the AIMA-side appointment under the CPLP Acordo de Mobilidade integrates the NIF allocation into the residence-permit issuance. Caminho 3 (most common in practice). Procedure: attend the AIMA local-delegation appointment carrying Brazilian passport (under the Estatuto de Igualdade or general CPLP-track), proof of CPLP-Acordo eligibility (Brazilian residency proof, criminal record clearance, etc.), proof of address in Portugal. AIMA issues the NIF concurrently with the Título de Residência. If a prior NIF was obtained via a Representante Fiscal under Caminho 2 or 4, the existing NIF is migrated from non-resident to resident status.
Profile 4: American national arriving on a D8 Digital Nomad Visa
American national: Representante Fiscal required, Caminho 4 (typical) or Caminho 5 (rare). Procedure: contract with a Portuguese tax-representation firm for the NIF allocation 1–3 months ahead of the VFS / Embaixada de Portugal D8 visa appointment in Washington, San Francisco, New York, etc. NIF in hand prior to the visa appointment unlocks a Portuguese bank account (Millennium BCP / Novo Banco / Santander Totta / ActivoBank / Caixa Geral de Depósitos / Banco BPI / Bankinter / N26 / Wise / Revolut), which is needed to demonstrate the 4×SMN income threshold (€3,680/month at the January 2026 SMN €920 update). Once the D8 Título de Residência is issued in Portugal under Caminho 3, the NIF is migrated to resident status. The applicant's IRS Categoria A or Categoria B status is then declared at the Serviço de Finanças or via the Portal das Finanças. The US-Portugal double-tax treaty applies for cross-border income.
Common Pitfalls and Edge Cases
- Pitfall 1: The Representante Fiscal goes uncontactable. If the Representante stops responding to AT correspondence (the Termo de Representação is terminated unilaterally), the non-resident has 30 days to designate a substitute. Failure triggers an AT-side suspension of the NIF's Portal das Finanças access and a chain of administrative consequences. Mitigation: choose a Representante with a documented professional track record (a contabilista certificado / advogado / NIF-services firm), not an informal friend.
- Pitfall 2: The AT-issued first-login password is lost or never received. Common when the AT mails to a stale Representante address. Mitigation: log a request via the Portal das Finanças' "Recuperar Palavra-Chave" link, which mails a new password to the AT-registered address; if the registered address is itself stale, walk into a Serviço de Finanças with passport to update the address before triggering the password reset.
- Pitfall 3: Duplicate NIF allocation. Rare but it happens — typically when an applicant applies through both Caminho 4 (online firm) and Caminho 1 / 2 (walk-in) without realising. The AT's NIF Validador deduplicates on identity (passport number, full name, date of birth). If a duplicate is detected, the AT cancels the later allocation and retains the earlier one. Mitigation: check the AT-issued NIF before triggering a second application.
- Pitfall 4: The Caminho 5 (Embaixada / Consulado) turnaround stalls. Typical when the Embaixada / Consulado-side workflow runs into a non-standard case. Mitigation: switch to Caminho 4 with an established firm — most applicants who try Caminho 5 abandon it after 3–4 weeks.
- Pitfall 5: Non-residence-permit-track applicants assume the NIF unlocks residence. The NIF is a tax identifier — it does not grant residence rights. Residence under Lei n.º 23/2007 (third-country nationals) or Lei n.º 37/2006 (EU nationals) is a separate procedure handled by AIMA / Câmara Municipal. The NIF is a prerequisite for the residence application, not a substitute for it.
Cross-Benefit Map and Related Procedures
Once the NIF is allocated, it unlocks a chain of downstream procedures. The Portuguese bank account opening — at Millennium BCP / Caixa Geral de Depósitos / Novo Banco / Santander Totta / Banco BPI / Bankinter / ActivoBank / Atlântico Europa / Banco Best / Banco CTT — typically requires NIF, passport / CC, proof of address, and (for non-EEA applicants) Título de Residência or proof of imminent residence. The Número de Identificação de Segurança Social (NISS) is allocated at the first Categoria A employment-contract registration or at the Categoria B activity-opening at the Serviço de Finanças, and is the entry point for Segurança Social pension and unemployment benefits. The Cartão de Utente (SNS health-services card) is allocated at the Centro de Saúde of residence on the Junta de Freguesia atestado de residência. The Cartão de Cidadão (for Portuguese nationals) or Título de Residência (for non-EEA residents) is the final layer.
The NIF integrates directly with the IRS Modelo 3 annual filing window (1 April – 30 June) covered in our Filing the IRS guide, the IUC payment cycle covered in our Paying the IUC guide, the IMI annual cycle for property owners, the Subsídio de Desemprego at IEFP / Segurança Social covered in our Drawing the Subsídio de Desemprego guide, and the various Pensão guides across the early-retirement / survivor / disability / parental / disability spectrum.
Bottom Line
The NIF is the load-bearing administrative anchor for any expat presence in Portugal beyond a tourist visit. EU / EEA / Swiss citizens take Caminho 1 (walk-in at Serviço de Finanças, no Representante Fiscal required); non-EEA citizens take Caminho 2 (walk-in with Representante Fiscal), Caminho 4 (remote firm) or Caminho 3 (AIMA-issued at residence-permit appointment). The AT Portal das Finanças access set-up is the second step — set a permanent password, register the address and IBAN, confirm the residency-and-activity status. The Representante Fiscal is required for any non-EEA non-resident applicant, can be a friend, contabilista, advogado or specialist firm, and is cancelled once the applicant becomes resident. Five common pitfalls — Representante goes silent, lost first-login password, duplicate NIF, stalled Embaixada turnaround, NIF-as-residence-substitute confusion — are all addressable with the right preparation. The NIF lives for life as the same 9-digit number across non-resident, resident, and post-residence-cancellation status changes; only the first-digit prefix moves between 1 / 2 / 3 (resident) and 9 (non-resident).