How foreign buyers get a Portuguese tax number: in person or online via a representative, documents, and when you need a fiscal representative.
Key takeaways
The NIF is free and you need it before you sign a promise contract (CPCV), pay IMT or sign the deed.
You can apply in person at a Tax Office or Loja do Cidadão (appointment required), or a legal representative can apply for you online through the Tax Authority's e-balcão.
A fiscal representative may not be mandatory for non-residents. Confirm the requirements with the Portuguese Tax and Customs Authority (AT) or a qualified professional.
What a NIF is and why you need it to buy
The NIF (número de identificação fiscal), also called número de contribuinte, is a nine-digit number issued by the Portuguese Tax and Customs Authority (AT). It identifies you in every tax matter. When you buy a home, it appears in the CPCV, in the IMT and Stamp Duty returns, in the deed and in the land registry. You will also need it to open a Portuguese bank account, sign utility contracts and pay the annual property tax (IMI).
Requesting a NIF is free. Be cautious with services that charge for "fast-track" NIFs: they charge for the representation, not for the number itself.
Resident or non-resident: which one are you?
When you apply from abroad, the NIF is issued with your foreign address — you are registered as non-resident. If you later become tax resident in Portugal, you must update your address with the AT.
Residence status matters a lot when you buy: since Decree-Law 97/2026, a non-resident buyer of an urban property intended exclusively for housing pays IMT at a flat 7.5%, unless an exception applies (see our guide How to buy a home in Portugal as a foreign buyer).
Three ways to apply
1. In person, by appointment
You can apply yourself at any Tax Office (Serviço de Finanças) or Loja do Cidadão. An appointment is required. You can book it on the Portal das Finanças under Contactos > Atendimento por Marcação, choosing the option for NIF requests by people without a Portuguese Citizen Card (subject: Identificação, sub-subject: Pedido de NIF), or through the AT's telephone service (CAT).
2. Online, through a legal representative (e-balcão)
If you cannot travel, a legal representative — someone holding your power of attorney, for example a lawyer or solicitor — can request the NIF for you through the AT's online service e-balcão, choosing Registo Contribuinte > Identific > Atrib/Alter NIF-Singulares. A legal representative here is not the same as a fiscal representative, although the same person can take on both roles if the power of attorney says so.
3. What a power of attorney must include
The power of attorney must expressly give powers to request the NIF. According to the AT, the signature must be certified, except for powers of attorney granted to a lawyer or solicitor identified as such. If your representative will also be your fiscal representative, the power of attorney should say so.
Documents you need
According to the AT leaflet for non-resident foreign citizens:
- Identity document, normally your passport. If you are a non-EU national applying in person, the passport should show your entry visa for Portugal (or another EU country), unless you are from a country exempt from Schengen visas.
- Proof of your foreign address, unless it already appears on your ID document.
- If applying through a representative: the representative's ID and the power of attorney.
Documents must be originals or certified copies (simple copies are accepted together with the originals). Documents in a foreign language must be accompanied by a certified translation.
Fiscal representative: when it is required in 2026
A fiscal representative may not be mandatory for non-residents. Confirm the requirements with the Portuguese Tax and Customs Authority (AT) or a qualified professional.
After you get your NIF
- Create your Portal das Finanças password. You will need it to follow your tax affairs, see your IMI bills and sign up for electronic notifications.
- Electronic notifications and fiscal representation. A fiscal representative may not be mandatory for non-residents. Confirm the requirements with the Portuguese Tax and Customs Authority (AT) or a qualified professional.
- Keep your address up to date. If you move to Portugal, change your status to resident. This may matter for the IMT refund available to buyers who become resident within two years of purchase.
- Tell your lawyer and your bank your NIF as early as possible, so the CPCV and the loan process are not delayed.
Buying on the Silver Coast?
Franetic is a licensed real estate mediator (AMI 26878) based in Alcobaça. We do not issue NIFs or act as fiscal representatives, but we can tell you, by email, what documents the seller and the notary will ask for, so you can prepare in time. See our current properties.
Frequently asked questions
Is the NIF free?
Yes. Requesting a NIF from the Tax Authority is free. If you pay a lawyer or company, you are paying for their representation service.
Can I get a NIF online without travelling to Portugal?
Yes, through a legal representative holding your power of attorney, who submits the request on the Tax Authority's e-balcão. If you apply yourself, you must go in person to a Tax Office or Loja do Cidadão, by appointment.
Do I need a fiscal representative to get a NIF?
A fiscal representative may not be mandatory for non-residents. Confirm the requirements with the Portuguese Tax and Customs Authority (AT) or a qualified professional.
Do I need a fiscal representative after buying a property?
A fiscal representative may not be mandatory for non-residents. Confirm the requirements with the Portuguese Tax and Customs Authority (AT) or a qualified professional.
I am moving to Portugal. What should I do with my NIF?
Update your address with the Tax Authority to become resident once you meet the conditions. Residence status also matters for IMT on the purchase.
Official sources and references
Accessed 13 November 2026
- AT — Folheto «Número de identificação fiscal para cidadãos estrangeiros – não residentes»https://info.portaldasfinancas.gov.pt/pt/apoio_contribuinte/Folhetos_informativos/Documents/Atribuicao_de_NIF_a_cidadaos_estrangeiros_nao_residentes.pdf
- Portal das Finanças — NIF (pessoas singulares)https://info.portaldasfinancas.gov.pt/pt/apoio_ao_contribuinte/Cidadaos/Dados_pessoais_familia/Dados_pessoais/NIF/Paginas/default.aspx
- Portal das Finanças — Atribuição de NIF e alteração de morada (canais e-balcão / atendimento por marcação)https://info.portaldasfinancas.gov.pt/pt/destaques/Paginas/NIF_nao_titulares_de_CC.aspx
- Portal das Finanças — LGT, artigo 19.º (n.os 8, 15, 16)https://info.portaldasfinancas.gov.pt/pt/informacao_fiscal/codigos_tributarios/lgt/Pages/lgt19.aspx
- Diário da República — Decreto-Lei n.º 44/2022, de 8 de julhohttps://diariodarepublica.pt/dr/detalhe/decreto-lei/44-2022-185838981
- gov.pt — Pedir o NIF para pessoa singular (critérios de residência, gratuito)https://www.gov.pt/servicos/pedir-o-numero-de-identificacao-fiscal-para-pessoa-singular
- gov.pt — Como pedir o NIF e o NISS para pessoas estrangeirashttps://www.gov.pt/guias/como-pedir-o-nif-e-o-niss-para-pessoas-estrangeiras-em-portugal
- Portal das Finanças — CIMT, artigo 17.º (taxa de 7,5% para não residentes)https://info.portaldasfinancas.gov.pt/pt/informacao_fiscal/codigos_tributarios/CIMT/Pages/cimt17.aspx
Editorial note
This guide is general information and does not replace legal or tax advice. Procedures can change; confirm the current rules with the Portuguese Tax and Customs Authority (AT) or a lawyer before you apply. Checked against official sources on 13 November 2026.
Tiago Jorge (Franetic), AMI 26878
