Live this Friday: Moving to Portugal in 2027: which visa, how much, and when. 5 PM LisbonMoving to Portugal in 2027 · Fri 5 PM Lisbon
Save my spot →Type a Portuguese NIF or company number. You’ll see if the format is right, and whether it belongs to a person, a company or something else.
Free · runs on your device · nothing is sent to us
🔒The check runs on your device. The number isn’t sent to us or stored anywhere.
It tells you the number has 9 digits, the last digit matches the other eight, and it starts with a range Finanças uses.
That catches most typos. A single wrong digit, or two digits swapped, almost always fails.
It doesn’t tell you whether the number has been issued, who holds it, or whether their tax affairs are in order.
No public tool does that for a person. If it matters, for example with a tenant or a seller, ask to see the NIF document.

The first one or two digits tell you what kind of taxpayer the number belongs to.
| Starts with | Belongs to |
|---|---|
| 1, 2 or 3 | A person. 3 has been in use since 2019, so newer NIFs often start with it. |
| 45 | A person who isn't resident and only has Portuguese income taxed at source. |
| 5 | A company or other organisation (NIPC). |
| 6 | A public body: central, regional or local government. |
| 70, 74, 75 | An undivided estate (herança indivisa), before the heirs share it out. |
| 71 | A foreign company whose Portuguese income is taxed at source. |
| 72 | An investment fund. |
| 77 | A number Finanças assigned itself, to someone not in the companies register. |
| 78 | A non-resident claiming back Portuguese VAT. |
| 79 | An old special range from Expo 98. |
| 8 | An old sole-trader number. No longer used. |
| 90, 91 | A building's condominium (condomínio), an informal partnership or an estate. |
| 98 | A foreign entity with no branch or office in Portugal. |
| 99 | A civil partnership without legal personality. |
The last digit is a check digit. It’s calculated from the other eight, which is how a typo gets caught.
Multiply the first eight digits by 9, 8, 7, 6, 5, 4, 3 and 2, and add them up. Divide by 11 and take the remainder.
If the remainder is 0 or 1, the check digit is 0. Otherwise it’s 11 minus the remainder.
Sample number: 123 456 789
| 1 | × 9 | = 9 |
| 2 | × 8 | = 16 |
| 3 | × 7 | = 21 |
| 4 | × 6 | = 24 |
| 5 | × 5 | = 25 |
| 6 | × 4 | = 24 |
| 7 | × 3 | = 21 |
| 8 | × 2 | = 16 |
| Total | 156 |
156 divided by 11 leaves 2.
11 − 2 = 9, which matches the last digit. So the format is valid.

If you’re a Portuguese citizen: it’s on the back of your Citizen Card (Cartão de Cidadão).
If you’re a foreigner: it’s on the NIF document you got when it was issued, and at the top of every page once you log in to the Portal das Finanças.
Need official proof of it? You can download a NIF certificate from the Portal. Our help article shows how to request your NIF certificate.
If you got your NIF with us: it’s in your Novomove account.
When Finanças issues your NIF, you get a document headed Registo Central de Contribuinte. It’s in Portuguese only.
Here’s what each section means in English.

You can get one free at a Finanças office, by appointment, if you’re in Portugal.
From abroad, someone has to apply for you under a power of attorney. That’s what we do.
€79. Usually 3 to 7 business days after you sign the power of attorney online. A tax representative for 12 months is included. 6,200+ NIFs so far.
Comparing options first? See NIF services compared, or read how to get a NIF in Portugal.

Nine digits, often written in three groups: 123 456 789 is a sample, to show you the format. A person’s NIF starts with 1, 2 or 3. A company’s number (NIPC) usually starts with 5.
Yes. NIF, número de contribuinte and número de identificação fiscal are the same number. For companies it’s called the NIPC, in the same 9-digit format.
Not for a person. Finanças doesn’t publish who holds a NIF. If you need to be sure, ask for the NIF document or the Portuguese Citizen Card. For a company registered for VAT, the EU’s VIES service confirms whether PT plus its number is a valid VAT number.
Yes. Finanças started giving out NIFs beginning with 3 in 2019, once the 1 and 2 ranges ran out. Newer NIFs, including most foreigners’ ones, often start with 3.
That’s the VAT format. A business registered for VAT shows its number as PT followed by the 9 digits. Paste it in with or without the PT.
No. You get one NIF for life, and it stays the same if you move country or come back years later.
Usually, yes. Landlords, employers, banks and shops (for an invoice) ask for it all the time. Never share your Portal das Finanças password, though. That’s what lets someone act on your tax account.
Not on its own. What matters is the address on your NIF and where you actually live. Our guide on whether a NIF makes you tax resident explains it.
No. Spain’s NIE is an identity number for foreigners in Spain. Portugal’s NIF is a tax number, and you need a separate one for Portugal.
You can apply in person at a Finanças office for free, by appointment. From abroad, someone has to apply for you under a power of attorney. We do that for €79, usually 3 to 7 business days after you sign it.
More on tax residence: does a NIF make you tax resident?
Sources · checked 11 November 2026
Choose your cookies Cookies help us to enhance your experience, tailor ads to your interests, and improve our website.
Cookies help us to enhance your experience, tailor ads to your interests, and improve our website.
Essential cookies enable basic functions and are necessary for the proper function of the website.
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Tells us how visitors find and use the site, so we can see which pages work and which don't. Measurement ID G-PZQ11LP2Y0.
Service URL: policies.google.com (opens in a new window)
Product analytics. Records which pages and buttons people use on the site so we can fix what gets in the way.
Service URL: posthog.com (opens in a new window)
Marketing cookies are used to follow visitors to websites. The intention is to show ads that are relevant and engaging to the individual user.
Measures which ads and searches bring people to us, and lets us show ads to people who have visited before. Conversion ID AW-16742978799.
Service URL: policies.google.com (opens in a new window)
You can find more information in our Cookie and Privacy Policy and Cookie and Privacy Policy.