
Key facts
- Format
- Nine digits; for individuals the first is currently 3 1
- Who can apply
- Anyone, Portuguese or foreign, resident or not, at any time 2
- Channels
- e-balcão of the Portal das Finanças (through a representative) or in-person service by appointment 1
- Tax representative at application
- Not mandatory when the number is assigned to a non-resident, according to the AT 1
- Deadline to appoint a representative later
- 15 days from the tax legal relationship 1
- Fine for lacking a representative
- From 75 to 7,500 euros 3
What the NIF is for
The NIF is your registration as a taxpayer with the Tax and Customs Authority (AT). It is a condition for many everyday acts, such as employment, contracts, opening a bank account and social security 1. gov.pt also mentions buying goods and services 2.
The number has nine digits and stays the same when you go from non-resident to resident 1. Holders of the Portuguese Citizen Card (Cartão de Cidadão) receive the NIF automatically; everyone else must apply 2.
If you are preparing a visa, this affects the order of your tasks. If your application will include a lease or a bank account in Portugal, you need the NIF before you sign or open one 2. Under the Foreigners Act, a residence visa comes with a residence pre-authorisation that includes the provisional assignment of the NIF, the social security number and the SNS number 4. For the family reunification visa, the law speaks of automatic assignment of those numbers 4.
How to apply from Brazil
From outside Portugal, the route is the e-balcão of the Portal das Finanças, used by your legal representative, who is a different figure from the tax representative 1. They open a new query with these options 1:
- Tax or area: Registo Contribuinte
- Type of query: Identific
- Query: Atrib/Alter NIF-Singulares
The application includes a copy of your passport, a document showing your address abroad (if it is not in the passport), the representative's identity document and the power of attorney 1. The power of attorney must grant powers for the application; if it is issued to a lawyer or solicitador identified as such, no notarised signature is needed 1. If the attorney is also your tax representative, this must appear in the power of attorney 1.
The NIF is issued as a resident abroad (non-resident) 1. Documents in a foreign language need a certified translation, which can be done by notaries, recognised chambers of commerce, lawyers or solicitadores 1.

How to apply in Portugal
In Portugal, you go to any Serviço de Finanças or Loja do Cidadão with a prior appointment 1. The appointment is made on the Portal das Finanças, under Contactos, Atendimento por Marcação, with the option "Para pedido de NIF ou alteração de morada para pessoas sem cartão de cidadão", subject Identificação and sub-subject Pedido de NIF 1. You can also book through the Telephone Service Centre, (+351) 217 206 707, on working days from 9 am to 7 pm 1.
On the day, bring a valid passport and a document with your address, if it is not in the passport 1. When a third-country foreigner applies in person, the AT requires an entry visa in the passport, except for people whose nationality is exempt from a Schengen visa 1. Brazilians travelling as tourists for up to 90 days are exempt from a visa in the Schengen area, of which Portugal is part; the Consulate General of Italy in São Paulo, for example, states this exemption on its visa page 5.
An attorney with a power of attorney can also make the application alone, bringing the original or a certified copy of your passport 1.
Tax representative: when it is mandatory
The AT says that, when the NIF is assigned to a non-resident, appointing a tax representative is optional 1. gov.pt, on a page updated in October 2025, says the appointment is also necessary for non-resident foreigners who apply for the NIF 3. Both sources are official and they do not match: use the rule in the AT leaflet and confirm at the counter.
The obligation appears when you create a tax legal relationship, for example a car or a property registered in Portugal, an employment contract or self-employed activity in the country 1. From then on, people who live outside the EU, Norway, Iceland and Liechtenstein have 15 days to appoint a tax representative or sign up for electronic notifications on the Portal das Finanças or the ViaCTT mailbox 1. For self-employed activity, the VAT representative is mandatory before you start, even with electronic notifications 1.
The representative must be domiciled in Portugal; a foreigner can only be one with a valid residence permit and registration as a resident with the AT 1. Lacking a representative, when one is mandatory, carries a fine of 75 to 7,500 euros 3.
When you become a resident
You are considered a tax resident if you stay more than 183 days in Portugal in a 12-month period, or if you have a home that suggests the intention to keep it as your habitual residence 1. After that, you have 60 days to report the new address, through the e-balcão (Alteração Morada/Singulares) or in person 1.
As a third-country national, you prove your address with a valid residence permit or with the proof of appointment or application at the AIMA 1.
Step by step
- Step 1 of 5Choose the channel
From Brazil, the e-balcão with a legal representative; in Portugal, a Serviço de Finanças or Loja do Cidadão by appointment 1.
- Step 2 of 5Prepare the power of attorney
With powers to apply for the NIF; one issued to a lawyer or solicitador needs no notarised signature 1.
- Step 3 of 5Gather your passport and proof of address
A copy of your passport and a document with your address abroad, with a certified translation when needed 1.
- Step 4 of 5Receive the NIF as a non-resident
The number is issued as a resident abroad and does not change later 1.
- Step 5 of 5Appoint a representative when needed
Within 15 days of an employment contract, property, car or activity, or sign up for electronic notifications 1.
Documents you will need 5 documents
- Valid passport(a copy on the e-balcão, the original or a certified copy in person by an attorney) 1
- Document with your address abroadif it is not in the passport 1
- Identity document of the legal representative 1
- Power of attorney with powers to apply for the NIF 1
- Certified translation of documents in a foreign language 1
Questions
Can I get the NIF without going to Portugal?
Yes. The application can be made on the Portal das Finanças e-balcão by a legal representative with a power of attorney 1.
Do I need a tax representative to apply for the NIF?
Does the NIF change when I move to Portugal?
No. The number stays the same; you only update the address within 60 days 1.
Who can be my tax representative?
Any person or company domiciled in Portugal; a foreigner needs a valid residence permit and registration as a resident 1.
How much does it cost to apply for the NIF?
The official pages consulted state no fee for the application. If you use a representative or lawyer, they charge for their own service.
Before you rely on this
- The AT leaflet and the gov.pt page differ on whether a tax representative is mandatory when non-residents apply for the NIF 1 3. Confirm on the e-balcão or at a Serviço de Finanças.
- We found no official fee for the NIF application on the pages consulted. Private representation services charge their own amounts.
- The Schengen visa exemption for Brazilians was confirmed on 9 November 2026 on an Italian consular page, which also mentions the European Entry/Exit System (EES), in use since October 2025 5. We could not open the official EU list (Regulation 2018/1806, annex II) or a Portuguese page on the subject: check the entry rules in force before you travel.
- This guide describes the NIF of an individual. Companies, VAT and starting an activity have their own rules: talk to a certified accountant in Portugal.
This guide is general information, not legal advice. Rules change: confirm with the consulate or a lawyer before you apply.
Sources5 sources, 5 official
- Número de identificação fiscal para cidadãos estrangeiros não residentes (folheto, julho de 2025)officialAutoridade Tributária e Aduaneira
- Pedir o Número de Identificação Fiscal (NIF) para pessoa singularofficialgov.pt (Agência para a Modernização Administrativa)
- Nomear representante fiscalofficialgov.pt (Agência para a Modernização Administrativa)
- Lei n.º 23/2007 (Lei de Estrangeiros), arts. 58.º e 65.ºofficialProcuradoria-Geral Regional de Lisboa
- VistosofficialConsolato Generale d'Italia a San Paolo





