Home › Guides › How to get a NIF in Portugal

How to Get a NIF in Portugal (2026): Step-by-Step

Last updated Sources checked 5 Nov 2026

A NIF (número de identificação fiscal) is Portugal's nine-digit tax number, issued by the Autoridade Tributária e Aduaneira (AT, usually called Finanças) and managed through the Portal das Finanças. You can get one in person at a Finanças office or Loja do Cidadão with a booked appointment, or remotely through a legal representative who files the request for you on the Portal das Finanças e-balcão.[1][2]

Not legal or tax advice. PortugalFetch is independent and not affiliated with the Autoridade Tributária (Portuguese Tax Authority), AIMA or the Portuguese government. Procedures change; confirm with the official pages linked below before acting.

The short answer

What a NIF number in Portugal is

The NIF is your taxpayer number with the Autoridade Tributária e Aduaneira (AT). Portuguese citizens with a Cartão de Cidadão get it automatically; everyone else has to ask for it.[7] In practice it is one of the first things people moving to Portugal sort out, because it is used to sign contracts, buy goods and services and open bank accounts.[7] AIMA's residence-permit conditions also list proof of registration with the Tax Authority where applicable.[11]

How to get a NIF in Portugal: step by step

  1. Choose your route. Apply yourself in person at a tax office (Serviço de Finanças) or Loja do Cidadão, or have a legal representative apply for you, online on the Portal das Finanças e-balcão or in person. The online route is used by the representative, not by you directly.
  2. Gather your documents. Your passport (or other civil ID) and a document showing your address abroad, unless your ID already shows it. A representative also needs their own ID and a power of attorney giving them powers for this purpose, with a certified signature unless it is granted to a lawyer or solicitador. Non-EU nationals applying in person should have the entry visa for Portugal in their passport, with the exceptions described below.
  3. Book an appointment (in-person route). On the Portal das Finanças go to Contactos > Atendimento por Marcação and choose the option for NIF requests by people without a Cartão de Cidadão (subject Identificação, sub-subject Pedido de NIF, your ID number in the notes), or book by phone on +351 217 206 707, working days 09:00 to 19:00.
  4. Or file on e-balcão (remote route). Your representative opens a new e-balcão question under Registo Contribuinte > Identific > Atrib/Alter NIF-Singulares and attaches copies of your passport, proof of foreign address, their own ID and the power of attorney.
  5. Receive the NIF as a non-resident. If the conditions are met, the NIF is assigned as resident abroad (residente no estrangeiro), with your foreign address. The documents can still be checked afterwards.
  6. Deal with fiscal representation or e-notifications. Once you have a tax relationship in Portugal (for example a car or property here, or work here), a non-resident living outside the EU/EEA has 15 days to appoint a fiscal representative or sign up for electronic notifications. See the fiscal representative section below.
  7. Change your address when you become resident. When you meet the conditions to be tax resident in Portugal, ask the Tax Authority to change your address to Portugal.

Steps 1 to 5 follow the Tax Authority's NIF page and leaflet; step 6 follows the leaflet and the AT's English page on tax representatives; step 7 follows the leaflet.[1][2][3] The detail for each route is below.

Option 1: in person at Finanças or a Loja do Cidadão

If you are applying yourself, AT says you can go to any Serviço de Finanças or Loja do Cidadão, but you must book first.[1]

  1. Book the appointment. On the Portal das Finanças, go to Contactos › Atendimento por Marcação and choose the option for NIF requests or address changes for people without a Cartão de Cidadão. AT asks you to pick the subject Identificação, sub-subject Pedido de NIF, and put your ID document number in the notes. You can also book through the Tax Authority's phone line (CAT) on +351 217 206 707, working days 09:00 to 19:00.[1]
  2. Bring your documents (see the checklist below).
  3. Attend. If the conditions are met, AT says the NIF is assigned as resident abroad (residente no estrangeiro) with your foreign address.[1] AT notes the documents can be checked again afterwards.[2]

The AT leaflet adds a detail that catches people out: when a non-EU national applies in person, the passport should show the entry visa for Portugal, unless it shows an entry visa for another EU country or the person's nationality is visa-exempt for Schengen.[2]

Option 2: get a NIF online or remotely as a non-resident (through a representative)

If you are not in Portugal, someone acting for you can file the request online. AT calls this person a representante legal or procurador, which is different from a fiscal representative (more on that below).[2]

gov.pt describes the e-balcão representative route as being for people who live outside the EU, Norway, Iceland and Liechtenstein.[8] This is the route used by the private "remote NIF" services listed in our directory; they are commercial providers, not official channels. Lawyers and solicitadores can also act for you; see immigration lawyers. Inclusion is not an endorsement.

Option 3: the combined NIF + NISS + SNS counter (if you qualify)

gov.pt describes a one-stop request for the NIF, the social security number (NISS) and the national health service user number, available at 12 Espaços Cidadão when the page was updated on 17 Sep 2026. It is for foreigners with a Portuguese address and no Portuguese Cartão de Cidadão who have requested or hold a residence permit, are EU nationals, or have applied for or hold international protection. A legal representative can apply; copies of ID documents then need consular certification or a Hague apostille.[9] If you do not qualify, you request each number separately.

Documents checklist

The gov.pt foreigners' guide frames the documents slightly differently (for residents, an ID or passport plus a residence title; for non-residents, an ID or passport plus a fiscal representative).[8] The AT pages are the Tax Authority's own instructions and say a fiscal representative is not compulsory at the moment of issuing a non-resident NIF.[1][3] If you get a different answer at the counter, ask which instruction they are applying.

NIF fiscal representative: rules for non-residents

A fiscal representative (representante fiscal) is a Portugal-based person or company who receives tax correspondence for a non-resident. The current AT rules, as set out in its leaflet, its English page and Ofício Circulado 90057/2022, are:[2][3][4]

Where official pages disagree. gov.pt's own fiscal-representative page says appointing one is also needed by foreigners who do not live in Portugal and want to request a NIF.[6] That conflicts with the Tax Authority's leaflet and English page above. If you are asked for a representative at the counter, ask which instruction is being applied. Providers that offer fiscal representation are in the NIF & bank services section of our directory. For a full walk-through of when you need a representative, when electronic notifications are enough, deadlines, penalties and how to appoint or replace one, see NIF for non-residents: fiscal representative or do it yourself.

To sign up for electronic notifications, log in to the Portal das Finanças and go to Notificações e Citações › Gerir canais › Canais de Notificação, then activate either "Portal das Finanças" or "Via CTT". AT says notices posted there count as delivered on the fifth day after they are made available, so check the inbox regularly.[5][4] To appoint a representative online instead, AT points to Todos os Serviços › Dados Cadastrais › Representante › Entregar Nomeação; the appointment only takes effect once the representative accepts it.[3]

NIF vs NISS

NIFNISS
What it isTax identification number (número de identificação fiscal)Social security identification number (número de identificação da segurança social)
Issued byAutoridade Tributária e Aduaneira (Finanças)Segurança Social
How foreigners request itIn person by appointment, or through a representative on e-balcãoSeparately from the NIF; gov.pt explains the request in the same guide
Combined optionNIF, NISS and SNS number together at 12 Espaços Cidadão, for those who qualify (see Option 3)

After a NISS request, gov.pt says a registered letter is sent to the address you gave, saying the NISS can be collected at a Segurança Social service desk.[8][9]

Next steps: how to get a NISS · opening a bank account · moving belongings and a car (ISV exemption) (you need your NIF and a Portal das Finanças login for the ISV request) · apostille and certified translations (if an office asks for a foreign document to be authenticated or translated)

After you move: change your address

A NIF issued abroad is registered as non-resident. When you meet the conditions to be considered resident in Portugal, AT says you must request the change of address.[2] gov.pt summarises the residence tests as living in Portugal more than 183 days in a year, having a permanent home available (long lease or owned), having your main work or income in Portugal, or having dependants living in Portugal.[7] Whether and from when you are tax resident is a question for a qualified accountant (contabilista certificado), not a form; see the accountants section of our directory.

Moving on a D7 or D8 visa? See our D8 residence permit and renewal checklist, and the AIMA appointment wait-times explainer. Official portals are collected on our resources page.

Getting your Portal das Finanças password

A NIF on its own does not log you in to the Portal das Finanças. Most online tasks (checking or changing your address, IRS returns, e-balcão) need a login: either Autenticação.gov (Cartão de Cidadão or Chave Móvel Digital) or your NIF plus a password (senha de acesso).[13] Most foreign residents without a Cartão de Cidadão use the NIF and password route.

If you register with a Cartão de Cidadão or Chave Móvel Digital instead, no letter is sent; you choose your password during registration.[13]

FAQ

What is a NIF number in Portugal?

The NIF (número de identificação fiscal, also called número de contribuinte) is your taxpayer number with the Autoridade Tributária e Aduaneira (AT, known as Finanças). gov.pt says it is needed to buy goods or services, sign contracts and open bank accounts. Portuguese citizens with a Cartão de Cidadão get it automatically; everyone else has to request it.

Does getting a NIF cost anything?

gov.pt's guide for foreigners says the NIF request is free. If you use a lawyer, solicitor or service company as your representative, their fees are a private matter between you and them.

Can I get a NIF before I move to Portugal?

Yes. Anyone, resident or not, can ask for a NIF. If you are abroad, a legal representative holding a power of attorney can file the request for you on the Portal das Finanças e-balcão. The number is issued with your foreign address, as a non-resident.

Do I need a fiscal representative to get a NIF?

Official pages word this differently. Not at the moment the NIF is issued, according to the Tax Authority's own leaflet and its English page; gov.pt's fiscal representative page says one is also needed by foreigners who do not live in Portugal and want a NIF. The obligation can arise later: if a non-resident with an address outside the EU/EEA starts a tax relationship in Portugal (for example renting out or owning property, a car, or a Portuguese job), they have 15 days to appoint a representative or sign up for electronic notifications. Note that the gov.pt foreigners' guide still says non-residents need a representative; where the two differ, ask the Tax Authority.

Can I get a NIF fully online by myself?

The official route online is through a representative using e-balcão. If you apply yourself, the Tax Authority asks you to book an in-person appointment at a Finanças office or Loja do Cidadão. Some private companies advertise 'online NIF' services: they act as your representative, and inclusion in our directory is not an endorsement.

I already have a NIF as a non-resident. What do I do after I move?

Update your address to your Portuguese address with the Tax Authority once you meet the conditions to be tax resident. The Tax Authority's leaflet says a non-resident NIF holder who becomes resident must request the change of address.

How do I get a password for the Portal das Finanças?

Choose Registar-se on the Portal das Finanças and give your NIF, tax address and a security question. The Tax Authority sends the password by post to the tax address on its records (or to your tax representative's address in Portugal), with an average delivery time of 5 working days; it is not sent by email. You must change it at first login.

What is the difference between a NIF and a NISS?

The NIF is your tax number, issued by the Tax Authority (Finanças). The NISS is your social security number, issued by Segurança Social. They are requested separately, except that some foreigners with a Portuguese address can request the NIF, NISS and SNS health number together at selected Espaços Cidadão. gov.pt explains both in one guide for foreign nationals.

Is there a single counter for NIF, NISS and the SNS number?

Yes, for some people. gov.pt describes a combined request at a limited number of Espaços Cidadão (12 at the time of the page update on 17 Sep 2026) for foreigners with a Portuguese address who have requested or hold a residence permit, are EU nationals, or have applied for or hold international protection.

Is PortugalFetch connected to the Tax Authority?

No. PortugalFetch is an independent site, not affiliated with the Autoridade Tributária, AIMA or any government body. This guide is general information, not legal or tax advice.

Sources

  1. Portal das Finanças: NIF (pessoas singulares) – how and where to request it (Autoridade Tributária e Aduaneira; page shows no update date; accessed 5 Nov 2026)
  2. Portal das Finanças: Número de identificação fiscal para cidadãos estrangeiros – não residentes (information leaflet, PDF) (Autoridade Tributária e Aduaneira; PDF last modified 15 Oct 2026; accessed 5 Nov 2026)
  3. Portal das Finanças (English): Appoint a tax representative (Autoridade Tributária e Aduaneira; page shows no update date; accessed 5 Nov 2026)
  4. Ofício Circulado n.º 90057/2022 (representação fiscal de não residentes, PDF) (AT administrative instruction dated 20 Jul 2022; accessed 5 Nov 2026)
  5. Portal das Finanças: Notificações e citações eletrónicas (Autoridade Tributária e Aduaneira; page shows no update date; accessed 5 Nov 2026)
  6. gov.pt: Nomear representante fiscal (page marked updated 19 Oct 2026 (rechecked 3 Dec 2026; wording on NIF requests unchanged); accessed 5 Nov 2026)
  7. gov.pt: Pedir o Número de Identificação Fiscal (NIF) para pessoa singular (official public services portal; page marked updated 1 Sep 2026; accessed 5 Nov 2026)
  8. gov.pt: Como pedir o NIF e o NISS para pessoas estrangeiras em Portugal (official public services portal; page marked updated 2 Sep 2026; accessed 5 Nov 2026)
  9. gov.pt: Pedir os números de identificação fiscal, segurança social e nacional de utente (saúde) para estrangeiros (page marked updated 17 Sep 2026; accessed 5 Nov 2026)
  10. Portal das Finanças: e-balcão (login required) (Autoridade Tributária e Aduaneira; login page, content not reviewed; accessed 5 Nov 2026)
  11. AIMA: Autorização de residência – regime e requisitos gerais (art. 77.º, n.º 1) (AIMA official page; page shows no update date; accessed 5 Nov 2026)
  12. ViaCTT: caixa postal eletrónica (CTT; service home page; accessed 5 Nov 2026)
  13. Portal das Finanças: Acesso ao Portal das Finanças – Autenticação e Senhas (information leaflet, PDF) (Autoridade Tributária e Aduaneira; leaflet dated May 2026; accessed 24 Nov 2026)

General information only, not legal or tax advice. PortugalFetch is not affiliated with the Autoridade Tributária, AIMA or the Portuguese government. Corrections: corrections@portugalfetch.com.