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
- Anyone can get one. Any person, Portuguese or foreign, resident or not, can request a NIF (número de identificação fiscal, also called número de contribuinte).[7]
- Two official routes. In person at any Finanças office or Loja do Cidadão, with a prior appointment; or through a legal representative on the Portal das Finanças e-balcão.[1][2]
- Bring your passport and proof of your foreign address (unless the address is on your ID). A representative also needs their own ID and a power of attorney.[1]
- The request is free, according to gov.pt; a representative may charge for their work.[8]
- A fiscal representative is not required just to get the number, according to the Tax Authority. It may become required later for non-residents outside the EU/EEA, unless they sign up for electronic notifications. gov.pt words this differently; see below.[3][2][6]
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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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]
- 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]
- Bring your documents (see the checklist below).
- 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]
- The representative logs in to e-balcão and opens a new question under Registo Contribuinte › Identific › Atrib/Alter NIF-Singulares.[1][10]
- They attach copies of your passport, a document showing your foreign address (if the passport does not), their own ID and the power of attorney.[2]
- The power of attorney must give powers for this purpose and needs a certified (recognised) signature, unless it is granted to a lawyer (advogado) or solicitor (solicitador) identified as such.[1]
- If the same person will also be your fiscal representative, AT says this should be stated in the power of attorney.[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
- Valid passport (or other civil identification document). For non-EU applicants applying in person, with the entry visa as described above.[2]
- A document showing your address abroad, unless your ID already shows it.[1]
- If using a representative: their ID and the power of attorney.[1]
- Where documents are not in Portuguese, the AT leaflet discusses certified translations; notaries, recognised chambers of commerce, lawyers and solicitors can certify translations.[2] Our directory lists some certified translation providers.
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]
- Getting the NIF: no representative is required.
- Once you have a tax relationship in Portugal (AT gives examples such as owning a vehicle registered in Portugal, owning property in Portugal, signing an employment contract for work in Portugal or self-employment in Portugal), a non-resident with an address in a third country has 15 days to either appoint a fiscal representative or sign up to electronic notifications: the Portal das Finanças notifications system or the ViaCTT electronic mailbox.[2][12]
- EU/EEA residents (EU, Norway, Iceland, Liechtenstein, and Andorran citizens living in Andorra) can choose whether to appoint a representative or sign up for electronic notifications.[2]
- Self-employed non-residents from third countries still have to appoint a fiscal representative who is a VAT taxable person with tax domicile in Portugal, even if they sign up for electronic notifications.[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
| NIF | NISS | |
|---|---|---|
| What it is | Tax identification number (número de identificação fiscal) | Social security identification number (número de identificação da segurança social) |
| Issued by | Autoridade Tributária e Aduaneira (Finanças) | Segurança Social |
| How foreigners request it | In person by appointment, or through a representative on e-balcão | Separately from the NIF; gov.pt explains the request in the same guide |
| Combined option | NIF, 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.
- How to ask for it: on the Portal das Finanças choose Registar-se and fill in the form with your NIF, your tax address (morada fiscal) and a security question. Remember the question and answer: they let you recover the password later.[13]
- It comes by post only: the password is sent by CTT letter to the tax address on AT's records (not by email, and not to any other address). AT gives an average of 5 working days for it to arrive. If you appointed a tax representative, it goes to the representative's address in Portugal.[13] So check that the address AT holds for you is correct before you ask for it (see the section above).
- First login: the password in the letter works once; at first login you must set a new one with at least 8 characters, including an upper-case letter, a lower-case letter, a digit and a special character.[13]
- If it does not arrive: after 5 working days AT suggests going to the tax office for your tax address or calling +351 217 206 707 (working days 09:00 to 19:00) to check the status of the request.[13]
- If you lose it later: use Recuperar senha. With your security answer you can get a new password by letter (about 5 working days) or, if your phone number is confirmed on the portal, by SMS code straight away.[13]
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
- 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)
- 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)
- Portal das Finanças (English): Appoint a tax representative (Autoridade Tributária e Aduaneira; page shows no update date; accessed 5 Nov 2026)
- 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)
- 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)
- gov.pt: Nomear representante fiscal (page marked updated 19 Oct 2026 (rechecked 3 Dec 2026; wording on NIF requests unchanged); accessed 5 Nov 2026)
- 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)
- 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)
- 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)
- Portal das Finanças: e-balcão (login required) (Autoridade Tributária e Aduaneira; login page, content not reviewed; accessed 5 Nov 2026)
- 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)
- ViaCTT: caixa postal eletrónica (CTT; service home page; accessed 5 Nov 2026)
- 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.