How to get a NIF in Portugal, online or in person

How to get a NIF in Portugal as a foreigner: book Finanças, use a lawyer online via e-balcão, which documents to bring, and when you need a fiscal representative.

· Published · Updated · 6 min read
How to get a NIF in Portugal, online or in person
Photo: stevepb · Pixabay

You can get a NIF in Portugal in two ways: in person at a tax office (Serviço de Finanças) or Loja do Cidadão with a booked appointment, or online through the Portal das Finanças e-balcão, filed for you by a lawyer or solicitor with a power of attorney. The request is free. Foreigners cannot yet log in to the portal themselves, so “online” always means through a representative.

What the NIF is and why you need it first

The NIF (número de identificação fiscal) is your Portuguese tax number. It has 9 digits and, for foreigners, currently starts with 3. You keep the same number if you later change from non-resident to resident.

You need it to sign a rental contract, open a bank account, get a job, buy a car or property and set up most utilities. That is why it comes first in our moving checklist.

Since 1 July 2025, the tax authority (AT) only accepts NIF requests from people without a Portuguese Cartão de Cidadão through these two channels: the e-balcão or an appointment.

How to get a NIF in person

  1. Book an appointment. On the Portal das Finanças go to Contactos, then Atendimento por Marcação, and choose the option for a NIF request by people without a Cartão de Cidadão. You do not need to log in. You can also book by phone on +351 217 206 707, working days from 9:00 to 19:00.
  2. Choose the place. Any Serviço de Finanças or Loja do Cidadão that offers the service.
  3. Bring the documents (table below), originals or certified copies.
  4. Check the address they register. It decides where the tax office sends your letters.

How to get a NIF online through a representative

If you are still abroad, a lawyer or solicitor in Portugal can file the request for you on the e-balcão. The AT leaflet gives the path: Registo Contribuinte, then Identific, then Atrib/Alter NIF-Singulares. A power of attorney given to a lawyer or solicitor does not need a notarised signature.

The representative uploads:

  • a copy of your passport or national ID card;
  • a document showing your foreign address, unless your ID already shows it;
  • their own ID and the power of attorney.

If the same person will also be your fiscal representative, the power of attorney must say so. Lawyers charge a fee for this service. The tax office itself charges nothing.

Documents you need

Your situation Documents
Non-resident, in person Valid passport or EU ID card, proof of your foreign address
Non-resident, online Copy of ID, proof of foreign address, representative’s ID and power of attorney
Already resident in Portugal Passport or ID card plus your residence title
Passport from a country that needs a visa Also the entry visa for Portugal or Schengen
Child without a passport Proof of birth

Documents in a foreign language need a certified translation, which notaries, lawyers, solicitors or chambers of commerce can provide.

Do you need a fiscal representative?

This is where most confusion comes from. The AT leaflet from July 2025 says you do not need to appoint a fiscal representative just to get the NIF as a non-resident. Some gov.pt pages still say a non-resident needs one, so ask when you book.

The obligation starts when you create a tax link with Portugal, for example by buying property or a car, signing a work contract or working as self employed. From then you have 15 days to either:

  • appoint a fiscal representative living in Portugal, or
  • sign up for electronic notifications on the Portal das Finanças or the ViaCTT electronic mailbox.

For residents of the EU, Norway, Iceland and Liechtenstein, and Andorran citizens living in Andorra, both options are optional. Residents of other countries who work as self employed in Portugal still need a representative for VAT, even with electronic notifications. The fine for not appointing one when required runs from €75 to €7,500.

Already moving? Get NIF, NISS and health number together

If you are regularising your stay with AIMA, you can get the NIF, the social security number (NISS) and the SNS user number (número de utente) from one request. The data is passed from AIMA to the tax office, Segurança Social and the health service. This covers people who hold or have applied for a residence permit, EU citizens with a registration certificate, and refugees or asylum applicants. It started in 2025 at a limited number of Espaços Cidadão, including the Lojas do Cidadão in Saldanha, Laranjeiras, Cascais and Setúbal.

After you get the NIF

  • Keep your address updated. A change from one foreign address to another can be made online. Changing from non-resident to resident cannot: you must declare it within 60 days, through the e-balcão or in person.
  • Become resident when it applies. You count as tax resident after more than 183 days in Portugal in any 12 months, or if you have a home that suggests you live here.
  • Use it right away. Landlords and banks will ask for it. See our guide to renting in Lisbon as a foreigner.

The e-balcão request step by step

If your lawyer or solicitor asks what to file, this is the path reported when the online channel opened in July 2025:

  1. Open the e-balcão and click registar nova questão (register a new question).
  2. Under tax or area, choose registo contribuinte.
  3. Under type of question, choose Identific.
  4. Under question, choose Atrib/Alter NIF-Singulares.
  5. Attach the documents. They can be combined into one file.

What it costs

Item Cost
NIF from the tax office Free
Certified copies of documents Varies by notary, lawyer or other entity
Certified translation Varies
Lawyer or solicitor filing online Their own fee
Paid fiscal representative Their own fee, only if you need one

Mistakes to avoid

  • Thinking the NIF makes you tax resident. It does not. Residence depends on where you live and how long you stay, as explained below.
  • Starting self-employed work first. If you work as self employed, appoint the fiscal representative before the activity starts. Electronic notifications do not replace the representative for VAT, and the representative must be a VAT taxpayer resident in Portugal.
  • Using a temporary address. The address you register is where official letters go. Use one you can check.
  • Forgetting the change to resident. AIMA residence documents, or proof of a pending AIMA application, are accepted to prove the change. If they do not show your address, a lease, deed or work contract may be needed.

FAQ

Can I get a NIF without travelling to Portugal? Yes. A lawyer or solicitor in Portugal can request it for you on the e-balcão with a power of attorney.

Do I need a fiscal representative if I live outside the EU? Not just to get the number. A person living in Brazil or the United States, for example, can get a NIF without one. You need a representative, or electronic notifications, once you buy property, sign a work contract or start another tax link.

Is the NIF free? Yes. The tax office charges nothing. You only pay third parties such as a lawyer, translator or notary.

Can my child get a NIF? Yes. Children get one with the same documents as adults, or a proof of birth if they have no passport.

Does my NIF change when I become resident? No. You keep the same number and only update your address and status.

Booking rules and accepted documents change often. Check the Portal das Finanças before your appointment.

Keep reading

See all
Newsletter

The best of Portugal, once a week

Pick your topics and language. You only get what matters to you.

Which topics interest you?