The entrance hall of São Bento railway station in Porto, with its tiled walls
Photo: Diego Delso, CC BY-SA 4.0, via Wikimedia Commons. Resized and converted to WebP.

Moving to Portugal · Tax and social security

Portugal NIF and NISS: how to apply

Gifts from Portugal — see the shop

By Pedro Carvalho · Last checked against official sources on 11 November 2026

Please read: This guide is general information, not legal, tax or immigration advice. Rules change; check official sources (Autoridade Tributária e Aduaneira, Segurança Social, gov.pt) or a qualified professional.

The tax number (NIF) and social security number (NISS) often come up when you rent a home, open a bank account or start work in Portugal. This page only repeats what official sources say, with a link to each one.

What a NIF is

The NIF (Número de Identificação Fiscal) is Portugal's tax identification number, also called a taxpayer number (número de contribuinte). The tax authority, Autoridade Tributária e Aduaneira (AT), says registration as a taxpayer is mandatory for all persons — nationals or foreigners, residents or non-residents — who are subject to tax compliance or need to exercise their rights before the AT. Obtaining a NIF is part of that registration, and it is required for many everyday activities, including employment, contracts, opening bank accounts, and social security matters (AT: Apply for your NIF; also gov.pt: Pedir o NIF, updated 1 September 2026).

The NIF assigned to individuals is a nine-digit number. The first eight digits are sequential and the last is a check digit. The AT says the NIF always remains the same, whether the person is registered as a resident or a non-resident.

People with Portuguese nationality and a Cartão de Cidadão are assigned a NIF automatically. They do not need to apply for one (gov.pt).

How to apply for a NIF

gov.pt says any Portuguese or foreign person, resident or non-resident in Portugal, can apply for a taxpayer number, and that you can apply at any time. It also says the request is free (gov.pt guide for foreign citizens, updated 2 September 2026).

If you are a foreign citizen, the AT's English page lists two routes:

Booking an in-person appointment

The AT says you can book online on Portal das Finanças, choosing the option for a NIF request or a change of address for people without a Cartão de Cidadão, then:

You then choose the office, a date and a time. You will receive a confirmation with the date, time and place. You can also book by phone with the tax authority's call centre (CAT — Centro de Atendimento Telefónico) on (+351) 217 206 707, on working days from 9:00 to 19:00 (AT).

Applying online through e-balcão

The legal representative logs in to Portal das Finanças (NIF and password, or Digital Mobile Key — CMD), selects “Registar nova questão”, and chooses:

  1. Imposto ou área: Registo Contribuinte
  2. Tipo de Questão: Identific
  3. Questão: Atrib/Alte NIF – Singulares

They then fill in the form and attach the required documents. A legal representative (representante legal or procurador) who files this request is not automatically the same thing as a tax representative (representante fiscal). Official pages do not all describe the tax-representative rules in the same way: the gov.pt guide for foreign citizens mentions a tax representative with residence in Portugal for non-residents. Check the AT and gov.pt pages for your situation rather than relying on this summary.

Documents for a NIF

According to the AT's English page, you must present:

If the request is made by a legal representative, you also need that person's civil identification document and a power of attorney. The power of attorney must grant the necessary powers. The AT says the signature must be certified, unless the power of attorney is issued to a lawyer or solicitor identified in that capacity.

Documents submitted or presented at a tax office must be originals or certified copies. Simple copies are accepted only when shown together with the originals. Documents issued in a foreign language must be translated and presented as certified copies. The AT lists certification by a notary, by chambers of commerce and industry recognised under Decreto-Lei n.º 244/92, or by lawyers or solicitors.

If the conditions are met, the AT says the NIF is issued with the status of non-resident. When you later meet the conditions to be considered a tax resident in Portugal, you must request a change of address and tax status with the AT. Having a NIF is not the same as being a tax resident. gov.pt lists the criteria it uses to treat someone as resident in Portugal, including living in Portugal for more than 183 days in a year. That is a tax question for a qualified professional or the tax authority, not for this guide.

What a NISS is, and how to apply

The NISS (Número de Identificação de Segurança Social) is the number that identifies you to Portuguese social security. gov.pt says registration with social security gives you a NISS, which is used to access rights such as support and benefits and to meet duties relating to contributions (gov.pt guide, updated 2 September 2026). See also Segurança Social's page on NISS attribution.

Portuguese citizens are assigned a NISS when they apply for a Cartão de Cidadão. Foreign citizens who do not already have a NISS can apply online. If you start work as an employee, gov.pt says the employer can also apply on your behalf. A NISS can also be requested for children and young people. gov.pt says the request is free.

The application is made by filling in the form on the social security website: Pedido de NISS — foreign citizen or Portuguese citizen not required to have a Cartão de Cidadão. You have to attach valid civil identification documents. The exact list depends on your situation.

The gov.pt guide distinguishes, among other cases:

It also asks for documents about the reason for the NISS — for example a work contract, proof of starting self-employment, or, for digital nomads, proof of an employment contract with a foreign employer — and proof of a residence-permit application or similar. If an employer or a legal representative applies, a power of attorney or a third-party authorisation (form PA-12) and that person's identification are also required. Use the official list on gov.pt and the form itself; do not treat this paragraph as a complete checklist.

After you apply, gov.pt says you will receive a registered letter at the address you gave on the form, telling you that the NISS can be collected at a social security office. You can collect it yourself with a valid identification document, or another person can collect it with an original power of attorney or form PA-12 and the relevant identification. You can book a collection appointment on the SIGA platform or the SigaApp, or by telephone on 210 548 888 or 300 088 888, on working days from 9:00 to 18:00. You can check the status of the request on Segurança Social Direta.

gov.pt also notes that foreign citizens with an address in Portugal may be able to apply at the same time for a NIF, a NISS and a national health service (SNS) user number. The official guide is the place to check how that combined request works.

Sources (checked 11 November 2026)

Quick answers

What is a NIF in Portugal?

The NIF is Portugal's tax identification number. The tax authority says it is needed for everyday steps such as work, contracts, opening a bank account and social security matters. It is a nine-digit number and stays the same if your resident or non-resident status later changes.

How do I apply for a NIF?

Foreign citizens can apply in person at a tax office or a Citizen's Shop, with an appointment, or online through e-balcão on Portal das Finanças. The tax authority says the online application must be submitted by a legal representative. gov.pt says the request is free. Check the official pages for the current documents and steps.

How do I apply for a NISS?

Portuguese citizens are usually given a NISS when they apply for a Cartão de Cidadão. Foreign citizens can apply online on the Segurança Social website; an employer can also apply. gov.pt says the request is free. The documents depend on your nationality and situation — use the official list.

Help with the paperwork

Disclosure: Day in Portugal is a referral partner of Relovisa. If you contact Relovisa through our link or introduction and become a client, we earn a commission from Relovisa, at no extra cost to you. Our recommendations are our own.

You can apply for a NIF or a NISS yourself using the official pages linked above. If you would rather have professional help, you can contact Relovisa, a referral partner of Day in Portugal. Contact Relovisa (referral link). We do not take payments or handle your documents, and we do not promise any outcome.

The other guides in this series