Independent guide. Not an official Portuguese government website and not legal, tax or immigration advice.
NIF, bank & AIMA

How to get a NIF in Portugal as a foreigner (2026)

Last checked: 22 Nov 2026 against the official sources listed belowWritten from official sources only

The Portuguese tax number (NIF) is the first thing you need to rent, buy, open a bank account or sign almost any contract. Here is how to get it, resident or not, from the official sources.

In short
  • The NIF is free and needed for contracts, bank accounts and purchases.
  • Apply in person (booked appointment) or online through a representative with power of attorney.
  • gov.pt says non-residents need a tax representative; the AT leaflet says it is not mandatory at that stage.
  • Once you own property or work in Portugal, non-EU residents have 15 days to appoint one or sign up for e-notifications.
Not legal or tax advice. This is an independent guide, not an official website. Rules change; check the official source or a qualified professional before you act.

What the NIF is for

The NIF (número de identificação fiscal), also called the "número de contribuinte", is needed "to buy goods or services, sign contracts or open bank accounts" (gov.pt). Portuguese citizens with a Citizen Card get it automatically; everyone else has to ask for it. Asking for a NIF is free (gov.pt).

Resident or non-resident?

You apply as a resident or a non-resident. gov.pt says you are treated as resident if you meet at least one of these (gov.pt):

  • You live in Portugal more than 183 days, consecutive or not, in a year.
  • You have a permanent home available in Portugal (long-term rental or own home), suggesting you intend to live here.
  • Your professional activity or main income is in Portugal.
  • You have dependent family members (such as children or a spouse) living in Portugal.

Documents

Your situationWhat gov.pt asks for
Resident in PortugalID document from your country or passport*, and your residence permit
Not resident in PortugalID document or passport*, and a tax representative resident in Portugal (see the note below)
Child without a passportProof of birth

*If you use a passport, you also need your entry visa for Portugal or the Schengen area. Source: gov.pt, how to get a NIF and NISS for foreigners (updated 2 Sep 2026). The AT leaflet adds that the visa stamp is not needed if you have a Schengen entry visa or your nationality is visa-exempt for Schengen, and that the AT may ask for a document showing your foreign address and certified translations of foreign-language documents (AT leaflet).

Do you need a tax representative? Two official sources disagree

This is the most confusing part, and we found the official sources do not say the same thing:

  • gov.pt says non-residents need a tax representative to ask for a NIF (NIF guide; Appoint a tax representative, updated 19 Oct 2026).
  • The Tax Authority (AT) leaflet says: "No momento da atribuição de NIF a cidadão nacional ou estrangeiro, como não residente, não é obrigatória a designação de um representante fiscal." (When the NIF is assigned to a non-resident, appointing a tax representative is not mandatory.) (AT leaflet, July 2025)

According to the AT leaflet, the obligation starts later: once you have a "tax relationship" in Portugal (for example you own a property or a car registered here, sign a work contract, or work self-employed), you have 15 days to either appoint a tax representative or sign up for electronic notifications (Portal das Finanças notifications or the ViaCTT electronic mailbox). Residents of the EU, Norway, Iceland, Liechtenstein, and Andorran citizens living in Andorra, are exempt from this. Self-employed non-residents from outside the EU must appoint a VAT tax representative before starting work.

Because the two sources differ, whether a Finanças office will ask you for a representative at the NIF appointment needs confirmation. Ask when you book.

How to apply

In person

Book an appointment at a Finanças office or Loja do Cidadão. You can book on the Portal das Finanças (Contactos › Atendimento por Marcação, option for people without a Citizen Card) or through the AT phone line (+351) 217 206 707, working days 9:00–19:00 (AT leaflet; gov.pt).

Online, through a representative

A legal representative (with a power of attorney) can request it through the e-balcão on the Portal das Finanças. The AT leaflet lists copies of your passport, a document with your foreign address (if not on the passport), and the representative's ID and power of attorney. Powers of attorney given to lawyers and solicitors do not need a certified signature (AT leaflet). gov.pt mentions this online route for people living outside the EU, Norway, Iceland and Liechtenstein (gov.pt).

After you move

If you got the NIF as a non-resident and later become resident, you must ask the AT to change your address (AT leaflet). Remember that buying a home as a non-resident now has its own IMT rule: see our 7.5% IMT guide.

Checklist

  • Decide if you are applying as resident or non-resident.
  • Passport (and entry visa if required) or national ID.
  • Residence permit (residents) or proof of foreign address (non-residents).
  • Certified translations of documents not in Portuguese.
  • If someone applies for you: their ID and a power of attorney.
  • Book: Portal das Finanças or (+351) 217 206 707.
  • Within 15 days of buying property, getting a job, etc.: tax representative or electronic notifications (non-EU residents).

Official sources

Last checked: 22 Nov 2026. Every figure on this page comes from these pages. Text marked needs confirmation could not be verified in an official source.

  1. gov.pt, Como pedir o NIF e o NISS para pessoas estrangeiras em Portugal (updated 2 Sep 2026)
  2. gov.pt, Pedir o Número de Identificação Fiscal (NIF) para pessoa singular (updated 19 Oct 2026)
  3. gov.pt, Nomear representante fiscal (updated 19 Oct 2026)
  4. Autoridade Tributária, folheto "Número de identificação fiscal para cidadãos estrangeiros – não residentes" (julho 2025)
Spotted something wrong or out of date? A way to report errors will be added before launch; every report will be re-checked against the official source.