A NIF is Portugal's nine-digit tax number, and non-residents can get one. Apply in person, by appointment, at a Finanças office or Loja do Cidadão, or have a legal representative file online. You need no fiscal representative at first, but once you own property or a car or sign a job contract in Portugal, you have 15 days to appoint one or switch to electronic notifications (optional for EU/EEA residents).

This guide is built from the tax authority's (AT) leaflet on NIFs for non-resident foreign citizens, the AT's NIF page and the immigration law (Lei 23/2007).

Key facts at a glance

2026 figure Source
Who must register Anyone with tax obligations in Portugal, or who wants to exercise rights before the AT AT leaflet, §1
Format 9 digits, the same number for life, resident or not AT leaflet, §1
Ways to apply as a non-resident In person by appointment, or online via a legal representative AT leaflet, §2
Fiscal representative when the NIF is issued Not required AT leaflet, §3.1
After a tax relationship starts 15 days to appoint a fiscal representative or join electronic notifications (optional for EU/EEA residents) AT leaflet, §3.1 and §3.5
Fine for not doing so €75 to €7,500 AT leaflet, §6 (RGIT art. 124)
Update to a Portuguese address once resident Within 60 days AT leaflet, §7
Official fee None mentioned by the AT leaflet AT leaflet
Residence visa holders Provisional NIF assigned with the visa Lei 23/2007, art. 58(6)

What is a NIF, and when do you need one?

The NIF (número de identificação fiscal) is your taxpayer number with the Autoridade Tributária e Aduaneira (AT). It has nine digits. The first eight are sequential, the last is a check digit, and individuals' numbers currently start with 3.

Registration is mandatory for anyone, Portuguese or foreign, resident or not, who has tax obligations in Portugal or wants to exercise rights before the AT. In the AT's own words, the NIF is a "condição essencial", an essential condition, for many everyday acts, not only tax ones. It names:

  • Employment
  • Contracts
  • Opening bank accounts
  • Social security

In practice that covers most of the first steps of a move. The London consulate's checklist, for example, asks for a NIF with a D7 visa application, though not every consulate does. Opening a bank account is on the AT's list (see our guide to opening an account as a non-resident). So are contracts, and a lease for your home is a contract (see renting in Portugal).

Do tourists need a NIF?

Not just for a holiday. Registration is tied to having tax obligations in Portugal or wanting to exercise rights before the AT. A visitor needs a NIF only when doing something of that kind, such as signing a contract or opening a bank account.

Can a non-resident get a NIF?

Yes. The AT leaflet sets out two ways to apply:

  1. In person, with an appointment booked in advance, at any Serviço de Finanças (tax office) or Loja do Cidadão.
  2. Online, through the e-balcão service on the Portal das Finanças, filed by your legal representative.

If the conditions are met, the NIF is issued with the status "resident abroad (non-resident)". The AT can check the documents again afterwards.

In person or online through a representative?

In person Online via a representative
Who files You, or an attorney holding a power of attorney Your legal representative only
Where Any Finanças office or Loja do Cidadão, by appointment e-balcão on the Portal das Finanças
Do you need to be in Portugal? Yes, unless your attorney goes for you No
Identity document Valid passport (original or certified copy) Copy of your passport
Proof of foreign address Yes, unless your ID shows it Yes, unless your ID shows it
Entry visa in passport Required for some third-country nationals applying themselves (see below) Not mentioned in the AT leaflet for this route
Other documents Power of attorney, if an attorney applies for you Representative's ID and the power of attorney
Fiscal representative Not required when the NIF is issued Not required. The attorney can also be named as one if the power of attorney says so
Official fee None mentioned by the AT leaflet None mentioned by the AT leaflet. The representative charges their own fee

A calm waiting area with a curved wooden bench, warm wood-slatted walls, large potted plants and a green living wall, where three people sit waiting

How do you get a NIF in person?

1. Book an appointment. The AT says an in-person request must be booked in advance. You can book on the Portal das Finanças (Contactos > Atendimento por Marcação, option "Para pedido de NIF ou alteração de morada para pessoas sem cartão de cidadão") or by phone with the AT's call centre (CAT) on +351 217 206 707, working days from 9:00 to 19:00.

2. Bring your documents:

  • A valid passport or another legally equivalent identity document.
  • A document showing your address abroad, unless your ID already shows it.

3. Check the entry-visa rule. If you are a third-country national and you apply yourself, the AT says your passport must show an entry visa for Portugal. There are two exceptions: your passport shows an entry visa for any EU country, or you are a national of a country whose citizens don't need a visa for the Schengen area.

4. Bring originals or certified copies. Plain copies are accepted only alongside the originals. Documents in a foreign language need a certified translation, which the AT says can be done by a notary, a chamber of commerce, a lawyer or a solicitor.

You don't have to go yourself. An attorney with a power of attorney covering the request can apply in person on your behalf, bringing the original or a certified copy of your passport and your address document.

Can you get a NIF online?

Only through a representative. The AT's online route is an e-balcão request filed by the foreign citizen's legal representative, which the AT stresses is a different role from a fiscal representative. The AT leaflet describes no way for a non-resident to apply online alone.

The representative opens a new request in e-balcão (Registo Contribuinte > Identific > Atrib/Alter NIF-Singulares) and attaches copies of:

  • your passport or other civil ID document;
  • a document showing your foreign address, unless your ID shows it;
  • the representative's own ID and the power of attorney.

The power of attorney must give the representative the specific power to make the request. It doesn't need a certified signature if it is made out to a lawyer (advogado) or solicitor (solicitador) identified as such. If the same person will also act as your fiscal representative, the power of attorney must say so.

How much does a NIF cost?

The AT leaflet for non-resident foreign citizens does not mention a fee. If you use a lawyer, solicitor or other representative, they charge their own fees for the service, and those vary.

Do you need a fiscal representative?

Not to get the number. The AT is clear that appointing a fiscal representative is not mandatory when a NIF is issued to a non-resident.

It becomes an obligation later, once you establish a tax relationship in Portugal. The AT's examples include:

  • owning a vehicle registered in Portugal;
  • owning property in Portugal;
  • signing an employment contract for work in Portugal;
  • working as self-employed in Portugal.

From the day that relationship starts (or from the day you report an address in a non-EU country), you have 15 days to do one of two things:

  1. Appoint a fiscal representative in Portugal, or
  2. Sign up for electronic notifications, through the Portal das Finanças or ViaCTT.

A few more rules from the AT:

  • EU and EEA residents. If you live in an EU country, Norway, Iceland or Liechtenstein (or are an Andorran citizen living in Andorra), both options are optional.
  • Self-employed work from outside the EU. If you live outside the EU (the AT includes Norway, Iceland, Liechtenstein and Andorra here) and work self-employed in Portugal, you must appoint a VAT fiscal representative, a VAT-registered person resident in Portugal, before starting activity. Electronic notifications are not enough.
  • Who can act. A fiscal representative must be an individual or company domiciled in Portugal. A foreign national qualifies only with a valid residence permit and resident status in the AT's records.
  • What they do. The representative receives the AT's mail, files returns and exercises your rights. They are not liable for your taxes, except VAT when you are self-employed.

Missing the deadline is costly. Failing to appoint a representative when you must is punishable by a fine of €75 to €7,500 (RGIT art. 124), and you cannot exercise rights before the AT, including complaints and appeals.

A plain kraft envelope and a black pen beside a glass of milky coffee on a round marble café table on a cobbled street of pastel houses

What happens to your NIF when you move to Portugal?

If you come on a residence visa. Under article 58(6) of Lei 23/2007, a residence visa comes with a pre-authorisation of residence that assigns provisional NIF, social security and national health service numbers.

If you already have a NIF. The number stays the same whether you are registered as resident or non-resident. What changes is your address and status.

When you become resident. The AT treats you as resident if you stay more than 183 days, consecutive or not, in any 12-month period starting or ending in the year, or if, with a shorter stay, you have a home in conditions suggesting you intend to keep it as your habitual residence. You then have 60 days to report your Portuguese address. You can do it in e-balcão (Registo Contribuinte > Identific > Alteração Morada/Singulares) or in person with an appointment, and someone with a power of attorney can do it for you. Tax residence has wider consequences, so speak to a tax adviser about your own position.

For the address change, a non-EU national brings a passport plus either a valid residence permit or proof of an AIMA appointment or pending application. If those don't show your address, the AT accepts a property deed, a residential lease, an employment contract or a document from a public body. EU, EEA, Swiss and Andorran citizens bring their ID and the EU citizen registration certificate from the Câmara Municipal.

Once you have applied for residence, the social security guide also lists selected Espaços Cidadão where some foreign citizens can request a NIF, a NISS and a health number in one go.

What trips people up

  • Trying to apply online alone. The online route runs through a legal representative.
  • Turning up without an appointment. In-person requests must be booked in advance.
  • No proof of foreign address when the passport doesn't show it.
  • Untranslated or uncertified documents. Foreign-language documents need a certified translation, and plain copies only work alongside the originals.
  • Missing the entry visa in the passport, for third-country nationals who need one and apply themselves.
  • Confusing the two representatives. A legal representative files the request. A fiscal representative deals with the AT on your behalf once you have tax obligations.
  • Forgetting the 15-day rule after buying property, registering a car or signing a job contract.
  • Not updating your address within 60 days of becoming resident.

How OlaVisa helps

We help you prepare the documents and the power of attorney, and arrange the application, in person or through a legal representative, so you may not need to travel to a tax office yourself. We also tell you whether and when you need a fiscal representative or electronic notifications. We can then help with the NISS, the bank account and the lease, so the pieces line up with your visa file. Talk to an advisor about your NIF.

Sources

Last reviewed 27 October 2026. Requirements change, and the AT updates its guidance from time to time. This guide is general information, not legal or tax advice.