EST. Porto · MMXVIII
Practice in Portuguese and EnglishMember of the Portuguese Bar
PTEN
← Back to Tax
iii·a

Tax · Portuguese NIF.

Support for obtaining and framing the Portuguese tax identification number for foreign clients.

Area NIF · Tax identification

Portuguese NIF

Support for obtaining and framing the Portuguese tax identification number for foreign clients.

The NIF — Portuguese tax identification number — is the taxpayer’s identifier with the Portuguese Tax Authority. It is required to open a bank account in Portugal, buy property, sign utility contracts, register with public services, incorporate a company and for most immigration filings. It is an administrative identifier: it does not, in itself, constitute a residence permit or registration as a tax resident. This page sets out what it is, when it is needed, how it is obtained, and how it articulates with the other components of a Portugal establishment project.

What the Portuguese NIF is

The NIF is a nine-digit number and is assigned by the Tax and Customs Authority at the moment of registration as a taxpayer. Registration covers nationals, foreign residents and non-residents with a Portuguese tax need — anyone who needs to exist, from a tax standpoint, in Portugal.

Registration is unique and the number does not change throughout the taxpayer’s life. The status associated with the number can change (resident vs. non-resident, with or without tax representative, with or without activity opened), but the number remains.

When a foreigner may need a NIF

Most international clients need a NIF before any other act in Portugal. The most frequent uses:

In tight-calendar projects, the NIF application is often the first act: it can be made before arrival and unlocks everything else.

NIF, tax residence and tax representative

Three elements often confused, but distinct:

NIF. Administrative identifier. It carries no taxation implications by itself. Assigned by simple registration.

Tax residence. Substantive status foreseen in the IRS Code, arising from objective criteria: more than 183 days of presence in any twelve-month period, or holding accommodation in Portugal under conditions suggesting an intention to maintain it as a habitual residence. A client may hold a NIF as a non-resident for years and become a tax resident at a later moment, without any change to the number.

Tax representative. An administrative figure required in certain situations — namely for residents in jurisdictions outside the European Union or the EEA with a relevant patrimonial connection with Portugal. Its primary function is to receive notices from the Tax Authority. It may be a natural person (a trusted person in Portugal) or a legal entity (law firm, certified accountant, management entity). It does not replace tax advice.

The initial consultation verifies, in concrete terms, the appropriate configuration for the case — including whether or not a tax representative is required, and whether opting for representation makes practical sense even where it is not mandatory.

Documents and preparation of the application

As a rule, the NIF application requires:

Documents issued abroad, depending on the country and the form, may require an apostille or a certified translation. The initial consultation communicates in writing the exact list for the specific case.

Relationship with D7, D8, Golden Visa, property purchase and the company

The NIF appears as a preparatory step in almost every project at the firm:

Our role is to keep these steps coordinated, so that the absence of one (NIF, bank account, tax representative) does not block the next acts.

Risks, administrative timelines and cautions

Tax Authority timelines for NIF assignment are not uniform — they vary with the channel (in person, by appointment, by power of attorney), the applicant’s country of origin and the consistency of the documentation submitted. We communicate estimates calibrated against recent observed practice for the type of application, not fixed deadlines.

The principal risk factors in NIF applications for foreign clients include:

Most of these points can be anticipated at the initial consultation.

How we work this matter

The initial consultation usually lasts 25 minutes and ends with a written framing of what is required in the specific case: documentation, power of attorney, choice between resident and non-resident registration, possible tax representative. The calendar and the fee proposal are communicated in writing where the matter permits.

From that point, the team handles the documentary preparation, the power of attorney where applicable, filing the application at the Tax Authority and immediate articulation with bank account opening and with the next acts. We do not commit timelines, we do not commit bank account opening, we do not commit eligibility under any tax regime.

We do not replace tax advice. For everything beyond the number itself — choice of applicable regime, IRS filings, wealth planning — we coordinate with the tax team and, where applicable, with tax counsel in the country of origin.

We are bound by the Statute of the Portuguese Bar Association (Law 145/2015) and by Law 6/2024 on legal advertising. We do not publish results-based metrics, we do not make comparisons with other firms, and we do not promise outcomes.

Frequently asked

What is the NIF and what is it for?

The NIF — tax identification number — is the taxpayer’s identifier with the Portuguese Tax Authority. It is a nine-digit number and is required to open a bank account in Portugal, buy property, sign telecommunications, electricity, water or gas contracts, register with public services, incorporate a company and for most immigration filings. It is an administrative identifier: it does not, in itself, constitute a residence permit or registration as a tax resident.

Can I obtain a NIF before arriving in Portugal?

Yes. The NIF can be applied for by way of a specific power of attorney, granted before a notary or the competent Portuguese consulate, with powers for the client to be represented before the Tax Authority at the time of the application. As a rule, it is the first administrative step in any Portugal establishment project, prior to arrival and to bank account opening. The power of attorney is prepared by the firm with the precise powers required for the purpose.

Does having a NIF mean I am a tax resident in Portugal?

No. The NIF and tax residence are two distinct elements. The NIF is simply registration as a taxpayer. Tax residence is a substantive status acquired when the taxpayer meets the criteria foreseen in the IRS Code (as a rule, more than 183 days of presence or holding accommodation in Portugal under conditions suggesting an intention to maintain it as a habitual residence). A client may hold a NIF as a non-resident for years and become a tax resident at a later moment, without any change to the number.

Do I need a tax representative?

It depends. For residents in jurisdictions outside the European Union or the European Economic Area, and in certain situations involving a relevant patrimonial connection with Portugal, the appointment of a tax representative before the Tax Authority may be required. For EU or EEA residents, as a rule, it is not. The analysis is performed case by case, in light of the country of residence, the connection with Portugal and the practical purpose of the NIF. Tax representation does not replace tax advice — it is an administrative figure for the receipt of notices.

Is having a NIF the same as opening activity or incorporating a company?

No. Holding a NIF does not imply opening activity nor incorporating a company. Opening activity is a separate act, required for those who carry on a self-employed profession or sole-trader business activity in Portugal, and has its own tax and social security implications. Company incorporation is a separate corporate procedure. The NIF is just the identifier; each of the subsequent acts has its own requirements.

Responsible author

Jorge Ferraz. Admitted to the Portuguese Bar since 2002. Leads the professional website DefesaLegal.pt. University lecturer in Portugal. Sustained handling of NIF applications by power of attorney for foreign clients, in coordination with the tax, immigration and real estate teams.


This page is a starting point. The actual analysis of your case begins at the initial consultation — 25 minutes, in person in Porto or by video, with a written framing afterwards.

Reviewed May 2026.

Discuss your case →

Discuss your case.

The initial consultation usually lasts 25 minutes and is used to understand the context of the case, identify the main risks and outline a work proposal to protect the client's interests.