What the NIF is — and what it is not
The Número de Identificação Fiscal is the Portuguese tax identification number. It has nine digits, it is issued by the Autoridade Tributária e Aduaneira, and it identifies you to every institution in the country that needs to know who it is dealing with. The number itself is free, it belongs to you for life, and it is never reissued.
Two clarifications that prevent a lot of confusion.
First, the NIF is not a residence permit, a visa, or evidence that you live here. It is an identification number, and non-residents hold them too — including people who own property in Portugal and have never lived in the country. What determines your tax status is the address the tax authority holds for you, not the number itself. That distinction matters later, in the section on changing your status.
Second, holding a NIF does not make you tax resident. Conversely, becoming tax resident does not require you to change the number — the same nine digits follow you from non-resident status to resident status. Only the classification changes.
What the NIF unlocks
The speed at which the rest of your move proceeds depends on this number, because the list of things that require it is nearly everything.
| Needs a NIF | Why |
|---|---|
| A Portuguese bank account | Customer due diligence requires you to be identifiable in the Portuguese system |
| A lease or tenancy contract | Landlords and lettings agents register the contract, which requires a NIF for both parties |
| Buying property | The notary cannot complete the deed without it |
| Utilities and telecoms contracts | Contracts are registered against a tax number |
| Employment or self-employment | Payroll and social security registration are keyed to it |
| Tax registration under IFICI or, historically, NHR | The application is made by the number holder |
| Registering with the health service | Getting a número de utente generally follows a NIF and a residence document |
| Tax returns, refunds and correspondence | Everything from the tax authority arrives addressed to the NIF's registered address |
If you take one practical lesson from this page: get the NIF before you arrange anything else, because every other arrangement is waiting on it.
Who needs one, and when
An adult moving to Portugal needs a NIF, and so does every adult in the household. Children need one too for some steps — school enrolment, health registration and any bank account opened in their name — and the application is made by a parent or guardian on the child's behalf.
Visitors generally do not need a NIF. The number becomes necessary at the point where you acquire a Portuguese obligation or a Portuguese contract: a lease, a purchase, a job, a business, a bank account, or a residency application. Someone who owns an apartment in the Algarve and rents it out needs one even if they never spend more than a fortnight there.
The timing question is more delicate than it looks. Applying early is useful because it unblocks a bank account and a lease. Applying early also creates a tax record, and the address attached to that record is what the system uses to classify you. The practical answer for most households is to get the number when the move is genuinely under way, and to treat the address attached to it as a separate decision made on its own merits.
Three routes to getting one
An in-person appointment at a tax office (Serviço de Finanças) or a Citizen's Shop (Loja do Cidadão). The standard route for people who are physically in Portugal. Book the appointment rather than turning up: the tax authority's appointment line is 217 206 707, and the Citizen's Shop network runs its own booking system. Bring identification, and expect to leave with the number the same day.
Applying at a Portuguese consulate before you move. Some consular posts can register you for a NIF, which lets you open a bank account and sign a lease before arrival. Availability varies by post, so ask rather than assume. The consular route is usually slower than doing it after arrival, and not every post offers it.
Through a fiscal representative or a lawyer acting for you. Common for non-EU applicants who are not yet in Portugal and are required to appoint a representative. The representative applies on your behalf and receives correspondence for you. Where the applicant lives outside the EU, Norway, Iceland or Liechtenstein, the tax authority's own guidance points to the representative route through the e-balcão portal.
Whatever the route, the documents are consistent: a valid passport or EU identity card, and — where the applicant is not an EU or EEA national and not yet resident in Portugal — the appointment of a fiscal representative. Some offices ask for a purpose for the NIF, which you can answer with your lease, your property purchase, or your planned residency application.
The documents, by route
| Route | Who it suits | What to bring |
|---|---|---|
| Tax office or Citizen's Shop | Anyone physically in Portugal | Passport or EU identity card, proof of address, and a residence permit if you already hold one |
| Portuguese consulate | People who need the number before travelling | Passport, proof of address abroad, and the post's own form — confirm by email before booking |
| Fiscal representative | Non-EU applicants still abroad | Passport copy, proof of address, a power of attorney, and the representative's own documents |
At the counter: what actually happens
You attend, present identification, and answer a version of the same question the bank will later ask: why do you need this number? The answer forms part of the record. A lease, a purchase contract, or a visa application is a specific and useful answer. "To have one" invites a follow-up question and, occasionally, a request to come back with evidence.
If everything is in order you receive the number there and then, and — importantly — you are offered an access password for the Portal das Finanças, the tax authority's online service. Take the password process seriously at this point; the next section explains why.
Two small practical notes. Ask for a printed proof of the number (a "certidão" or a printout of the registration) and keep it with your other documents, because some offices and banks will ask for it later. And check that the name, date of birth and address on the record are exactly as they appear in your passport. Corrections are possible but they are another appointment.
The password problem
The portal password is where a simple process becomes a scheduling problem. Access credentials are delivered by post to the address registered against your NIF, and the address is frequently a foreign one, a representative's office, or a property you have not moved into yet. That letter can take weeks, and until it arrives you cannot file anything online — including the residence-related registrations that follow.
The workaround is to ask for the password in person at the tax office, which is not always offered and is not always granted, so ask at the appointment rather than after the letter fails to arrive. Some offices now issue a temporary password at the counter that must be changed on first login. If you are using a representative, establish at the outset who holds the portal credentials and how quickly they will pass correspondence to you. An inactive mailbox is a real cost, not a hypothetical one.
Once you have access, enable electronic notifications in the portal. It is the difference between receiving a tax deadline by email and discovering it in a letter sent to an address you left two years ago.
Fiscal representation: who needs it, and how to end it
Non-EU and non-EEA applicants who are not yet resident in Portugal are generally required to appoint a fiscal representative — a person or firm established in Portugal who receives tax correspondence on your behalf. The obligation sits in Portuguese tax law and its scope is worth confirming against the tax authority's current guidance for your nationality and situation, because the rules have been adjusted more than once.
The most recent adjustment matters. Decreto-Lei n.º 44/2022 relaxed the requirement for some non-residents who have no Portuguese tax obligations, provided they activate electronic notifications in the portal. It did not remove the requirement for people with Portuguese-source income, property, a business activity, or a pending residency process. In practice, offices still ask many third-country applicants to name a representative at the application stage, and the exemption is easier to rely on once the number exists and notifications are switched on.
Two things to understand before signing anything. The representative can carry obligations that go beyond forwarding post, depending on the regime you fall under, and the annual fee is your cost, not the state's. And the arrangement exists because you are not yet resident, so it should end when that changes.
Ending it is an active step, not an automatic one. Once you hold a Portuguese address and your status has been updated, the representative is no longer required, and you can remove the appointment. People routinely leave representation in place for years after moving, paying an annual fee for a service that stopped being necessary when the address changed. Put it on the list for the month after your residence permit arrives.
When your NIF stops being a non-resident NIF
The tax authority holds an address for you, and the nature of that address is what drives your classification. A foreign address means the system treats you as a non-resident; a Portuguese address means it treats you as resident, with the consequences that follow from CIRS article 16 — worldwide income in scope, progressive rates, and the filing obligations that come with them.
Changing the address is a routine administrative act performed through the portal or at a tax office, with proof of address — a lease, a utility bill, or a certificate from the local parish council. It is routine, but it is not neutral, and it should be done deliberately and at the right moment rather than casually.
The reverse is also true and catches people at the other end of a move: leaving the country without updating the address leaves you classified as resident, filing returns you no longer need to file, and potentially exposed to tax on income that should not concern Portugal at all.
Couples, children and shared addresses
Each adult gets their own NIF and their own portal access. A couple cannot share a number, and a representative acting for one spouse does not automatically act for the other unless the mandate says so.
For children, the application is made by a parent or guardian, usually at the same appointment as their own. Bring the child's birth certificate and identification, and check whether the office wants the certificate translated. The number is used for school enrolment and health registration, and it stays with the child for life.
Households that buy property together should decide early whose NIF the utility contracts, the insurance and the tax correspondence will sit against. It is a small decision that determines whose portal shows the bills.
Common mistakes
Treating the NIF as the finish line. It is the beginning. The bank, the lease, the health registration and the visa process all follow, and each has its own file.
Letting a representative hold on to the number. You are entitled to your own portal access. Ask for it.
Registering a Portuguese address too early, or too late. Too early, and you bring yourself into the tax net before you intended. Too late, and you find out that a lease you signed months ago should have been reflected in the register.
Assuming the number is enough for a bank. Banks assess source of funds as well as identity. The guide to opening an account covers what that file looks like.
Losing the number. It is printed on every tax document you will ever receive, so record it somewhere durable the day you get it. Recovering it is possible and tedious.
Forgetting the password is posted. If the letter is going to an address you cannot collect from, ask for the password at the counter or have the representative receive it — do not wait for a letter that will never reach you.
A short checklist
- Decide whether you need the number now or at the point of a contract.
- Choose the route: office, consulate, or representative.
- Assemble identification, proof of address, and any representative mandate.
- Book the appointment; do not turn up.
- At the counter, ask for the portal password and a printed proof of the number.
- Enable electronic notifications on the portal.
- Update the address when — and only when — your residence position warrants it.
- Remove the fiscal representative once it is no longer required.
Nine digits, arranged in your first fortnight, save months of standing in the wrong queue later.
Suggest a correction