Moving to Portugal
17 Jul 2026Updated 03 Oct 20265 min read

How to get a NIF in Portugal as a foreigner

The NIF is the key that unlocks everything in Portugal — bank accounts, rentals, contracts and taxes. Here is how to get one as an EU or non-EU citizen.

By
Certified Accountant · OCC no. 97793

If you are moving to Portugal — or even just buying property or opening a bank account here — the very first thing you will need is a NIF (Número de Identificação Fiscal), the Portuguese tax identification number. It is a nine-digit number issued by the Portuguese tax authority, and without it, practical life in Portugal simply does not work.

The good news: getting a NIF is usually straightforward and inexpensive. The details depend on whether you are an EU/EEA citizen or not, and whether you are already in Portugal. This guide walks through the process.

What the NIF is (and why you need it so early)

The NIF is issued by the tax authority and managed through Finanças (the Portuguese tax office, formally Autoridade Tributária e Aduaneira). You will be asked for it constantly:

  • Opening a bank account;
  • Signing a rental contract or buying property;
  • Setting up utilities, internet and a phone plan;
  • Signing an employment contract or registering as a freelancer;
  • Getting paid, invoicing, and filing taxes;
  • Even at the supermarket, where cashiers ask "contribuinte?" — whether you want your NIF on the receipt (useful later for tax deductions).

Because so many other steps depend on it, getting a NIF should be at the very top of your relocation checklist — ideally before you arrive.

EU/EEA citizens: the simple route

If you hold a passport or ID card from an EU or EEA country (or Switzerland), you can request a NIF directly:

  • In person at any Finanças office or a Loja do Cidadão (citizen's one-stop shop), bringing your ID and proof of address (which can initially be your home-country address);
  • Through certain online channels and service providers.

You do not need a fiscal representative. The NIF is typically issued on the spot and is free or subject to a small fee for the card. Expect queues at busy urban offices — booking an appointment (marcação) online or arriving early helps.

Non-EU citizens: fiscal representation and how it has relaxed

Citizens of non-EU/EEA countries (including the UK and US) who are not yet resident in Portugal have traditionally been required to appoint a fiscal representative (representante fiscal) — a person or company resident in Portugal who receives tax correspondence on your behalf and is your point of contact with Finanças.

The rules have softened in recent years: if you activate electronic notifications on the tax portal, the requirement to keep a fiscal representative can be waived in many situations. In practice, however, most non-EU applicants still obtain their first NIF through a representative — typically a lawyer, an accountant or a specialised online service — because:

  • The representative can apply remotely with a power of attorney, so you get your NIF before ever setting foot in Portugal;
  • They handle any letters from Finanças during your transition;
  • Once you become resident and update your address, the representation can usually be ended.

Typical documents required: passport, proof of address abroad (utility bill or bank statement), and a signed power of attorney if applying through someone else. Costs for NIF-with-representation services vary widely, so compare before committing.

Tip: If a service charges an ongoing annual fee for fiscal representation, put a reminder in your calendar to cancel it once you are resident in Portugal with a Portuguese address on file — many people pay for representation years after they stop needing it.

Updating your NIF when you move to Portugal

Your NIF itself never changes, but the address attached to it matters enormously, because your address determines your tax residency status in the eyes of Finanças.

When you arrive and have a residence permit or CRUE certificate (for EU citizens) plus a Portuguese address, you should:

  • Update your address with Finanças (in person or, for holders of the Portuguese residence card, often online);
  • This is the moment you typically become registered as a tax resident, which is also the prerequisite for regimes like IFICI ("NHR 2.0");
  • End your fiscal representation if you had one.

Tip: The date your registered address changes to Portugal is a key tax date. If you plan to apply for IFICI or need a clean split between "resident" and "non-resident" parts of the year, make sure this date is right — fixing it retroactively is painful.

Common questions

  • Can I get a NIF without living in Portugal? Yes. Non-residents get a NIF with a foreign address; property buyers and investors do it all the time.
  • Does having a NIF make me a taxpayer in Portugal? Not by itself. A non-resident NIF only creates Portuguese tax obligations if you have Portuguese-source income or assets. Becoming tax resident is a separate step.
  • Is there a physical card? You receive a document with the number; a card can be requested but is rarely needed — the number is what matters.
  • I lost my NIF number. Finanças can retrieve it with your ID, or you can find it on any Portuguese tax document or invoice issued to you.

Key takeaways

The NIF is the single most important piece of paperwork for anyone dealing with Portugal — get it early, ideally before you move. EU/EEA citizens can obtain it directly at any Finanças office; non-EU citizens usually go through a fiscal representative, although electronic notifications have relaxed the rules. And once you actually relocate, updating the address on your NIF is not a formality: it is the act that anchors your Portuguese tax residency, with everything that follows from it.

If you are unsure how your NIF registration interacts with tax residency, visas (such as the D8 digital nomad visa) or a planned freelance activity, it is worth having a professional review your situation before the paperwork sets things in stone.

Book a diagnostic session for your business and find out how to simplify your accounting, stay compliant and make safer decisions in Portugal.

Pedro Ramos Costa

Pedro Ramos Costa

Certified Accountant · OCC no. 97793

Registered with the Portuguese Order of Certified Accountants (OCC) under no. 97793. He personally looks after freelancers, sole traders, small companies and people moving to Portugal, in English, Portuguese or Spanish, from his office in Carnaxide, Oeiras.

More about Pedro →
Call nowWhatsApp