This article on getting a NIF in Portugal covers what the number is, why nothing works without it, how to obtain it from abroad and from inside Portugal, and what it does not give you.
Before you rent a flat, open a bank account, buy a property, sign a contract, register for healthcare, or submit a visa application, you need a NIF. Not eventually. First.
What a NIF is
The NIF, Número de Identificação Fiscal, is your Portuguese tax identification number. It is a nine digit number, unique to you, issued by the Portuguese tax authority. It is sometimes called the número de contribuinte.
It is the number that connects you to the Portuguese system. Without it you do not exist administratively here.
You need it to:
- Rent or buy property
- Open a bank account
- Register for healthcare
- Sign up for utilities, electricity, water, gas, internet
- Sign an employment contract
- Buy a car or register a vehicle
- Submit your annual tax return
- Submit a visa application
It is free if you apply in person at a Portuguese tax office. If you use a lawyer or an online service to obtain it remotely, fees apply.
Getting a NIF before you arrive
If you are a non-EU citizen applying for a visa such as the D7 or D8, you will need a NIF before you submit the visa application. That means obtaining it from outside Portugal.
Non-residents applying from outside the EU generally need a fiscal representative. A fiscal representative is a person, usually a lawyer, based in Portugal who acts as your official point of contact with the tax authority. They receive correspondence on your behalf and are responsible for making sure it reaches you.
To apply remotely you sign a power of attorney authorising your representative to act for you. The document must be translated into Portuguese, and depending on your country it may also need an apostille.
The process takes three to ten business days depending on the service used.
Documents needed from abroad
- Passport or national ID card
- Proof of address in your home country, a bank statement less than three months old showing your address is normally sufficient
- Signed power of attorney authorising your representative
Getting a NIF after you arrive
If you are an EU or EEA citizen, you can usually wait until you are in Portugal and obtain the NIF for free at a local Serviço de Finanças. No fiscal representative is required.
Go in person, take your documents, and the number is typically issued within a few minutes at the counter. Some offices work by appointment and some accept walk-ins, so check before you travel across town.
Documents needed in Portugal
- Passport or national ID card
- Proof of address, in Portugal or abroad, a recent bank statement or utility bill is sufficient
The fiscal representative question
Two things are worth understanding about fiscal representation, because it is where most of the cost and most of the confusion sits.
First, the requirement is tied to residency, not to nationality alone. Once you become a Portuguese tax resident with an address here, the reason for having a representative falls away and you can normally remove the appointment.
Second, the representative carries a real responsibility. They are the address the tax authority writes to. If they stop forwarding your correspondence, you can miss a deadline without ever seeing the notice. Choose someone you can reach, and update the appointment when your situation changes.
Portugal has also made it possible in recent years to activate electronic notifications through the Portal das Finanças, which reduces the dependency on a representative for receiving correspondence. Ask your lawyer whether that applies to your case.
A NIF is not residency
This is the most common misunderstanding, and it matters.
Getting a NIF does not make you a resident. It does not give you the right to live in Portugal, it does not start any clock toward permanent residency or citizenship, and it does not change your tax position by itself.
It simply registers you with the tax system. You can hold a NIF as a non-resident, and many property buyers do exactly that for years.
Tax residency is decided separately, under Article 16 of the IRS Code, mainly by whether you spend more than 183 days here in a twelve month period or keep a home in conditions suggesting you intend to live in it habitually.
Legal residency is decided separately again, by AIMA, through a residence permit.
Three different things, three different authorities. Holding one does not give you the others.
What comes next
Once you have your NIF, the next practical step for most people is a Portuguese bank account, because landlords, utility companies and public services generally need a Portuguese IBAN. That process is slower and more document-heavy than most new arrivals expect, so start it early.
If you are buying property, your lawyer will use the NIF for the IMT declaration, the deed and the land registry. If you are renting, the landlord needs it to register the lease with Finanças, which is what allows you to claim the IRS rent deduction, currently €900 per year and rising to €1,000 from 2027.
Practical notes
Keep the number somewhere you can reach it quickly. You will be asked for it constantly, including at supermarket checkouts, where giving it puts the receipt against your tax record for deduction purposes. Saying "não, obrigado" is a normal answer if you would rather not.
Register for access to the Portal das Finanças as soon as you have the number. The password arrives by post to your registered address, which is another reason to keep that address current.
If your address changes, update it with Finanças. Notices go to the address on file, and Portuguese administrative deadlines run from the date of notification rather than from the date you happen to read the letter.
The full Living in Portugal guide
Living in Portugal
01. Visas and Residency in Portugal
02. Portuguese Citizenship
03. Getting a NIF in Portugal
04. Opening a Bank Account in Portugal
05. Cost of Living in Portugal
06. Healthcare in Portugal
07. Learning Portuguese
08. Renting a Property in Portugal
09. Taxes In Portugal
10. Mortgages in Portugal
11. Owning a Home in Portugal
12. Paperwork When Moving to Portugal