Yes, you can get a Portuguese NIF while living in Brazil, without travelling. The Portuguese state charges nothing for the number, but from abroad someone in Portugal has to file the request for you on the Finanças e-balcão, under your power of attorney. You need your Brazilian passport and a recent proof of your Brazilian address. No apostille and no fiscal representative are needed for the NIF. With Coepi, a Portuguese lawyer files it for €39.99 including VAT, charged once.
TL;DR: Yes, you can get a Portuguese NIF while living in Brazil, without travelling. The Portuguese state charges nothing for the number, but from abroad someone in Portugal has to file the request for you on the Finanças e-balcão, under your power of attorney. You need your Brazilian passport and a recent proof of your Brazilian address. No apostille and no fiscal representative are needed for the NIF. With Coepi, a Portuguese lawyer files it for €39.99 including VAT, charged once.
The facts at a glance
| Fact | What the rule says | Source | Checked |
|---|---|---|---|
| Government fee | None. "O pedido do NIF é gratuito" (the NIF request is free). | gov.pt guide for foreign citizens | 17 Nov 2026 |
| Who can apply | Anyone, Portuguese or foreign, resident or not | gov.pt: Pedir o NIF | 17 Nov 2026 |
| Applying from abroad | Online through the e-balcão, filed by your legal representative | Tax Authority: Apply for your NIF | 17 Nov 2026 |
| Identity document | A civil identity document, the leaflet names the passport | Tax Authority leaflet, July 2025 | 17 Nov 2026 |
| Proof of address | A document showing your address abroad, unless your ID already shows it | Tax Authority: Apply for your NIF | 17 Nov 2026 |
| Power of attorney | No signature certification when it is given to a lawyer identified as such | Tax Authority leaflet, July 2025 | 17 Nov 2026 |
| Fiscal representative | Not mandatory when the NIF is issued to a non-resident | Tax Authority leaflet, July 2025 | 17 Nov 2026 |
| Tax status on issue | Non-resident, with your Brazilian address on file | Tax Authority: Apply for your NIF | 17 Nov 2026 |
What is the difference between the CPF and the NIF?
They do the same job in two different countries. The CPF is Brazil's taxpayer number, issued by the Receita Federal. The NIF (Número de Identificação Fiscal, also called número de contribuinte) is Portugal's, issued by the Autoridade Tributária e Aduaneira (AT). One does not replace the other: you keep your CPF in Brazil and get a NIF for Portugal.
Like the CPF, the NIF comes up everywhere. The Tax Authority's own leaflet calls it essential for many everyday acts, not only taxes: employment, contracts, opening a bank account and social security. In Portugal you are also asked for it at the till ("Contribuinte?") so the receipt counts toward your tax return.
Why do Brazilians moving to Portugal need a NIF?
Most Brazilians who move do so on a residence visa, such as the D7 (retirement or passive income), the D8 (remote work, the digital nomad visa), the job seeker visa, or the CPLP visa for nationals of Portuguese-speaking countries where the CPLP mobility agreement is in force. The consulate's official document lists for these visas do not name the NIF itself. The NIF comes in through the steps around the visa:
- A Portuguese bank account. Banks ask for a NIF, and many applicants use a Portuguese account to show their funds.
- A lease. A landlord needs your NIF for the rental contract.
- A job or self-employment. A work contract and invoicing both run on the NIF.
Check the current list for your visa with the consulate or vistos.mne.gov.pt before you apply. Our guide on the NIF for the D7 and D8 visas shows where the number fits in the timeline.
Can you get a NIF from Brazil without travelling?
Yes. The Tax Authority accepts NIF requests online through the e-balcão, its electronic help desk. The request has to be filed by your legal representative in Portugal, under a power of attorney you sign. That legal representative is a different role from a fiscal representative: they only file the request.
The other official route is in person, at a Finanças office or a Loja do Cidadão in Portugal, by appointment. That route costs nothing and is a good choice if you are already in Portugal. From Brazil, the online route is the one in reach.
Which documents do you need?
- Your Brazilian passport. The photo page, sharp and uncropped. The Tax Authority's leaflet names the passport as the identity document. Coepi files with a passport, or with an EU national ID card for EU citizens, so a Brazilian RG or CNH is not enough for an application with us.
- A proof of your address in Brazil (comprovante de residência) from the last three months: a bank or credit card statement, a utility or phone bill, a payslip, a letter from your bank confirming your account, or an official residence certificate. It must show your name and your address.
- Your signature on the power of attorney. With Coepi you sign it on screen. Because it is given to a lawyer, it needs no notary.
Two points that are easier for Brazilians than for many others. First, the Tax Authority asks for certified translations of documents in a foreign language, and Brazilian documents are already in Portuguese. Second, the leaflet's note about an entry visa in the passport applies when a non-EU citizen files in person, and not to nationals of countries whose citizens can enter the Schengen area without a visa, which includes Brazil.
Applying for your children as well? Each child needs their own passport and their birth certificate, and the parents sign for them.
Do you need an apostille?
Not for the NIF. The power of attorney is the only document you sign, and the Tax Authority waives signature certification when it is given to a lawyer. Your passport and proof of address go in as copies.
An apostille comes up later, for visa paperwork. The consulate's CPLP visa list, for example, asks for a criminal record certificate with a Hague apostille where applicable. Our apostille guide covers how to get one for those documents.
What does a NIF cost from Brazil?
The number itself is free. What you pay for from abroad is the service that files it. Coepi charges €39.99 including VAT, charged once, with nothing to renew. Other providers charge more, and some charge again every year; see what each one charges in our guide to what a NIF costs. How the route works for any country is in our guide to getting a Portuguese NIF from abroad.
What about the Portuguese consulate?
Some Portuguese consulates help with NIF requests, but the Tax Authority's leaflet names only two channels: the e-balcão and an appointment at a Finanças office or Loja do Cidadão. If you want to go through a consulate in Brazil, ask it directly whether it handles NIF requests, which documents it wants and how long it takes. Consular appointments are often booked out for weeks.
How does it work with Coepi?
- You photograph your passport and your proof of address, and confirm the details we read from them.
- You sign the power of attorney on screen. We prepare it for you.
- A Portuguese lawyer files your request with Finanças the same day your documents are complete.
- When Finanças issues the number, you receive the official NIF document as a PDF. Your Coepi account keeps the number and the documents.
How long Finanças takes varies. The current figure, measured on the NIFs we delivered, is on our live turnaround page. If your request cannot be filed, you get your money back.
Do you need a fiscal representative?
Not to receive the NIF. The Tax Authority's leaflet says that when a NIF is issued to a non-resident, appointing a fiscal representative "não é obrigatória" (is not mandatory). The question only comes back if you later own a property or a car in Portugal, sign a Portuguese work contract or work for yourself there. You then have 15 days to appoint one or, for free, switch on electronic notifications. Self-employment from outside the EU is the exception that still needs a representative. The details are in you do not need a fiscal representative to get a NIF.
Some official pages still list a fiscal representative for non-residents, such as the gov.pt guide for foreign citizens. We follow the Tax Authority's leaflet and its circular, because they are its own instructions. With Coepi nobody is appointed as your fiscal representative.
What changes when you move to Portugal?
Nothing about the number. Your NIF stays the same. Once you meet the conditions for tax residence, for example more than 183 days in Portugal in a 12-month period, or a home there that you keep as your habitual residence, the leaflet gives you 60 days to tell Finanças and change your address and status.
Frequently asked questions
Can I apply with my RG or my driving licence (CNH)? Not with Coepi. Use your Brazilian passport. The Tax Authority's leaflet names the passport as the identity document for foreign citizens.
Does the NIF make me a Portuguese tax resident? No. It is issued with non-resident status and your Brazilian address. Residence depends on where you live, not on holding the number.
Do I pay taxes in Portugal because I have a NIF? No. As a non-resident you are taxed in Portugal only on income from Portugal, such as rent from a property there. Holding the number costs nothing.
Does Coepi open a bank account or apply for my visa? No. Coepi files your NIF request. The bank account and the visa are separate steps, and both come after the NIF.
Ready to apply from Brazil? Get your Portuguese NIF online for €39.99, filed by a Portuguese lawyer the same day your documents are complete.
Sources
Requirements change. Confirm the current ones on the official pages below before you apply.
- Autoridade Tributária e Aduaneira: Número de Identificação Fiscal para cidadãos estrangeiros, não residentes, leaflet of July 2025, read on 17 November 2026
- Autoridade Tributária e Aduaneira: Apply for your NIF, read on 17 November 2026
- gov.pt: Como pedir o NIF e o NISS para pessoas estrangeiras em Portugal, updated 2 September 2026, read on 17 November 2026
- gov.pt: Pedir o Número de Identificação Fiscal (NIF) para pessoa singular, updated 1 September 2026, read on 17 November 2026
- Ministério dos Negócios Estrangeiros: national visa documentation, residency and CPLP, read on 17 November 2026