How to Get a NIF in Portugal (2026): 3 Ways for Foreigners
Published 20 November 2026
Foreigners get a Portuguese tax number (NIF) for free in one of three ways: at a tax office or Loja do Cidadão by prior appointment, online through e-balcão via a representative with a power of attorney, or, if you already have or have applied for residence, through the combined NIF, NISS and health number request at some Espaços Cidadão. You do not need a tax representative just to get the number.
What a NIF is and who needs one
The NIF (número de identificação fiscal, also called número de contribuinte) is your Portuguese tax number. According to the Autoridade Tributária (AT), it is needed not only for taxes but for everyday things like employment, contracts, opening a bank account and dealing with social security. It has nine digits and stays the same whether you are registered as a resident or a non-resident.
Anyone, Portuguese or foreign, resident or not, can ask for one at any time. The request is free. Portuguese citizens with a Cartão de Cidadão get a NIF automatically; everyone else has to request it.
The three ways to get a NIF
The AT's leaflet for foreign citizens lists two channels: an in-person appointment at a tax office (Serviço de Finanças) or Loja do Cidadão, and an online request through e-balcão made by a representative. A third route, the combined request at an Espaço Cidadão, exists for people who are already dealing with AIMA or are EU citizens living in Portugal.
1. In person, by appointment
Walking in without an appointment is not how it works: the AT says a NIF request at a Serviço de Finanças or Loja do Cidadão must be booked in advance. You can book in two ways:
- Online: on the Portal das Finanças, go to Contactos > Atendimento Presencial por Marcação and choose the option "Para pedido de NIF ou alteração de morada para pessoas sem cartão de cidadão". Select Assunto: Identificação, Subassunto: Pedido de NIF, and put your passport number in Observações.
- By phone: call the AT call centre (CAT) on (+351) 217 206 707, working days 9:00-19:00, and ask for an appointment.
On the day, bring:
- A valid passport or other civil identification document (originals, or certified copies).
- A document showing your address abroad, unless the address is already on your ID.
If you are a non-EU citizen applying in person yourself, the AT says your passport must contain an entry visa for Portugal, unless it has a visa for another EU country or you are from a country whose citizens can enter Schengen without a visa.
What to say when you book by phone (in Portuguese, the line is Portuguese-first):
Bom dia. Queria marcar um atendimento presencial para pedido de NIF. Não tenho cartão de cidadão. O número do meu passaporte é...
(Good morning. I'd like to book an in-person appointment to request a NIF. I don't have a Cartão de Cidadão. My passport number is...)
If you would rather not make that call yourself, CallBehalf can phone the CAT for you, wait on hold, ask for the appointment and report back what was offered. The appointment itself you attend in person.
For more on reaching Finanças by phone, see our guide to calling Finanças in English.
2. Online via e-balcão, through a representative
You cannot log into the Portal das Finanças without a NIF, so the online route works through someone else. The AT says the e-balcão request is made by the foreign citizen's legal representative (not to be confused with a tax representative, more below). The gov.pt guide for foreigners presents this route for people who live outside the EU, Norway, Iceland and Liechtenstein.
The representative logs in, opens a new e-balcão question with these options:
- Imposto ou área: Registo Contribuinte
- Tipo de Questão: Identific
- Questão: Atrib/Alter NIF-Singulares
and attaches copies of:
- your passport (or other civil ID);
- a document with your address abroad, if it is not on the ID;
- the representative's own ID and a power of attorney (procuração) that authorises them to request the NIF for you.
A power of attorney given to a lawyer or solicitador does not need signature recognition. Documents in a foreign language must come with a certified translation (by a notary, a recognised chamber of commerce, a lawyer or a solicitador). This is the route most paid "NIF online" services use: they act as your representative.
3. Combined NIF + NISS + health number at an Espaço Cidadão
Since 2025 the government has run a single request for the NIF, the Social Security number (NISS) and the SNS user number (número de utente). According to the Portuguese government, it is for foreign citizens who hold or have applied for a residence permit, EU citizens, asylum seekers, refugees and beneficiaries of international protection. It launched at 12 Espaços Cidadão (in Braga, Cascais, Lisboa, Olhão, Lagos, Setúbal, Porto, Loures and Oeiras), with more locations planned. If you are not in one of those groups yet, for example you need a NIF to sign a lease before you have a visa, use route 1 or 2.
Resident or non-resident NIF?
When you request a NIF from abroad, or with a foreign address, it is assigned to you as a non-resident. The AT says that once you meet the conditions to be a Portuguese tax resident (broadly, more than 183 days in Portugal in a 12-month period, or a home you intend to keep as your habitual residence), you must change your address with Finanças. The number itself does not change.
Do you need a tax representative?
Not to get the NIF. The AT is explicit: requesting a NIF as a non-resident does not require a tax representative (representante fiscal). It becomes relevant later, if you are a non-resident and create a "tax relationship" in Portugal, which the AT defines as owning a car registered in Portugal, owning property in Portugal, signing an employment contract for work in Portugal or working self-employed in Portugal. In that case, within 15 days you must either:
- appoint a tax representative living in Portugal, or
- sign up for electronic notifications on the Portal das Finanças or the ViaCTT electronic mailbox.
For non-residents living in the EU, Norway, Iceland or Liechtenstein (and Andorran citizens resident in Andorra), this is optional. Non-residents from other countries who will work self-employed in Portugal must appoint a VAT representative before starting, even if they use electronic notifications. Failing to appoint a representative when it is mandatory can be fined from 75 EUR to 7,500 EUR. If any of this applies to you, read the AT leaflet in full or ask Finanças directly.
Common pitfalls
- Turning up without an appointment. The AT requires a booking for NIF requests at a Serviço de Finanças or Loja do Cidadão.
- Plain photocopies. Documents must be originals or certified copies; simple copies are only accepted alongside the originals.
- Missing proof of foreign address. If your passport doesn't show your address, bring a separate document that does.
- Untranslated documents. Foreign-language documents need a certified translation.
- Forgetting the address change. When you become a resident, update your address with Finanças so your NIF is no longer registered as non-resident.
Once you have the NIF, the next number most people need is the NISS for work and social security; see our guide to calling Segurança Social.
Frequently asked questions
How much does a NIF cost in Portugal?
Can I get a NIF online without being in Portugal?
Do I need a fiscal representative to get a NIF?
Can I walk into a Finanças office to get a NIF?
Does my NIF change when I become a resident?
Don't want to make the call yourself?
CallBehalf is an AI assistant that phones Portuguese companies and public services for you - in Portuguese. It waits on hold, asks your question, and reports back with the outcome and a full transcript in your language.
Try it with a free callSources
- Portal das Finanças - Tax identification number to foreign citizens, non-residents (AT leaflet)
- gov.pt - Como pedir o NIF e o NISS para pessoas estrangeiras em Portugal
- gov.pt - Pedir o Número de Identificação Fiscal para pessoa singular
- Portuguese Government - Combined NIF, NISS and NNU request for foreign citizens (June 2025)
Keep reading
- How to Switch Electricity Provider in Portugal (2026): Step by Step
- How to Cancel a Vodafone, MEO or NOS Contract in Portugal (2026)
- SNS 24 (808 24 24 24): When to Call and What Happens on the Call
- How to Register at a Centro de Saúde and Get a Número de Utente
- Portugal call guides: numbers and tips for 16+ providers
Rules, fees and phone numbers in Portugal change. This article is general information, not legal or tax advice - check the official source before you act. Spotted something outdated? Tell us at hello@callbehalf.com.