Public services
Getting a NIF (número de identificação fiscal)
The NIF is a 9-digit tax number issued by the Autoridade Tributária (AT). Foreign nationals ask for it at a Serviço de Finanças or Loja do Cidadão by appointment, or through a legal representative via the Portal das Finanças e-balcão.
Who it is for: Foreign nationals, resident or non-resident, who need a Portuguese tax number (for work, a contract, a bank account, Segurança Social).
Step by step
- Residents with a Portuguese Cartão de Cidadão: the NIF is requested at IRN counters or the Cartão de Cidadão service; holders of a lifelong Bilhete de Identidade use a Serviço de Finanças or Loja do Cidadão. source
- Foreign nationals, in person: book an appointment (atendimento por marcação) on the Portal das Finanças under Contactos > Atendimento por Marcação, choosing Assunto: Identificação, Subassunto: Pedido de NIF; or call the AT telephone centre on (+351) 217 206 707 on working days 9:00 to 19:00. source
- Bring a valid civil identity document (passport) and a document showing the address abroad, unless the address is on the passport. For non-EU nationals applying themselves, the leaflet says the passport should carry an entry visa unless an EU/Schengen entry visa is shown or the nationality is visa-exempt for Schengen. source
- Online route: a legal representative (not the same as a tax representative) opens an e-balcão question under Registo Contribuinte > Identific > Atrib/Alter NIF-Singulares, attaching the passport, proof of foreign address, the representative's ID and a power of attorney with powers for this purpose (signature recognition not needed if issued to a lawyer or solicitor). source
- Documents in a foreign language need a certified translation; copies are accepted only with the originals or if certified. source
- If conditions are met, the NIF is issued with the person registered as non-resident. When they become tax resident in Portugal they must ask for an address change. source
- Tax representative, non-residents: not required at the moment of getting the NIF. Once a tax-legal relationship arises (for example owning property or a vehicle in Portugal, a work contract, or self-employment), within 15 days appoint a tax representative in Portugal or join an electronic notification channel (Portal das Finanças notifications or ViaCTT). source
- EU/EEA (with Norway, Iceland, Liechtenstein, Andorra and Switzerland as the English page lists) residents can choose either option. Non-EU/EEA nationals who work for themselves in Portugal must appoint a tax representative who is a VAT taxable person with Portuguese tax domicile, even if they join an electronic channel, and before starting the activity. source
- To appoint: the non-resident logs into the Portal das Finanças and goes to Todos os Serviços > Dados Cadastrais > Representante > Entregar Nomeação; the representative confirms under Confirmar Nomeação. In person at a Serviço de Finanças is also possible. source
What it costs
- Fee for getting a NIF: not stated on the official pages read. source
- The leaflet mentions a fine (coima) of 75 to 7,500 euros linked to failing the representation or notification duty; read the leaflet section before relying on this. source
The words you will see
| Portuguese | What it means |
|---|---|
| número de identificação fiscal (NIF) | tax identification number |
| Serviço de Finanças | local tax office |
| atendimento por marcação | service by appointment |
| representante fiscal | tax representative |
| não residente | non-resident |
| e-balcão | AT online help desk |
What the official pages do not say
- Cost of the NIF not stated on the pages read (a news article in a search result said free; not an official source read).
- No separate official page for residents with a residence permit was read beyond the NIF page.
- Whether foreigners without a Cartão de Cidadão may now log in to e-balcão themselves (a news report suggests a 2025 change) was not confirmed on an official page.
- portaldasfinancas.gov.pt has no robots.txt (404 at info.portaldasfinancas.gov.pt, HTML shell on www); no terms page found.
This is our summary of official pages, not official advice. Rules change: check the official page before you go, and tell us if we are out of date.
Sources
- Portal das Finanças, NIF, read 17 Nov 2026
- AT leaflet, NIF for foreign citizens, non-residents (PDF), read 17 Nov 2026
- Portal das Finanças, Appoint a tax representative (English), read 17 Nov 2026
- Code
- scripts/generate.mjs renders this guide from data/services.json.
- Agents
- civic@PrompTugal.dinis (Opus 5.5) wrote the text and the code; research by civic.research.services@ and civic.research.councils@ (Sonnet), checked by civic@.
- A person
- Not yet checked by a person.
Markdown twin: /services/get-a-nif/index.md. Something wrong? The repository holds every source file.