- In person at a Finanças office or Loja do Cidadão: on the day of your appointment. The number is assigned at the counter on your verbal declaration, and the proof of registration is issued once your details are recorded (Decree-Law 14/2013, article 8).
- Via a legal representative or online service: the AT leaflet gives no processing time for e-balcão requests, so ask the provider for its current delay.
If a visa or incorporation deadline is driving your calendar, the NIF is rarely the bottleneck, as long as you start it before the bank account, which is usually the slower file.
NIF vs NIPC: the company number
The NIF identifies a person. A company has its own number, the NIPC (Número de Identificação de Pessoa Coletiva), managed by the Registo Nacional de Pessoas Coletivas (RNPC) of the Instituto dos Registos e do Notariado: a provisional NIPC comes with the company name-approval certificate, and for a company the NIPC also serves as its tax number. Each individual partner gives a personal NIF when the company is formed. See the full incorporation sequence in our guide to company formation in Portugal.
A NIF does not make you a tax resident
Getting a NIF changes nothing about your tax status. Portuguese tax residence is a separate legal question, triggered by spending more than 183 days in Portugal, consecutive or not, in any 12-month period starting or ending in the year concerned, or by having a home there that you appear to intend to keep as your habitual residence. Plenty of NIF holders are non-residents forever; plenty of new residents only regularize their position months after getting the number. For what changes when you do become resident, see our guide to tax residency in Portugal.
After you get it: change of address, removing your representative
A NIF is obtained once but maintained forever, and the maintenance is where the fiscal representative question actually lives.
Changing address. When you move, especially into Portugal, update your address with the AT within 60 days of becoming resident (through the e-balcão on the Portal das Finanças, or at a Finanças office or Loja do Cidadão by appointment). Your address is what determines whether the non-resident representation rules apply to you at all.
Removing the representative. Once you are a Portuguese resident, or once your electronic notifications subscription is active, the representative is no longer required, unless you live outside the EU and work self-employed in Portugal, in which case a VAT fiscal representative remains mandatory. Notify the AT so the mandate drops; otherwise official correspondence keeps flowing to your former representative and you risk missing deadlines you never saw.
That is the lifecycle in one line: obtain it free, keep the address current, and drop the representative as soon as the rules let you.