TOOLS/ID & MONEY

NISS Validator

Número de Identificação de Segurança Social

Paste a NISS (Portuguese social security number) and confirm in seconds whether the check digit is correct. Everything runs in your browser. Nothing is sent anywhere. Looking for your own NISS? Right after the validator I explain where to find it, and why there is no lookup by NIF.

·UPDATED OCTOBER 2026·4 MIN·OFFICIAL SOURCES
KEY FACTS
Digits
11
First digit
1 = individual · 2 = entity
Check digit
11th digit (modulo 10)
Issued by
Segurança Social
Where to find yours
Back of the Cartão de Cidadão, or a payslip
Lookup by NIF
No public lookup exists
EXPERIMENTE:
À espera de um número…
Formatado-
Tipo de titular-
Soma ponderada-
Dígito de controlo-

How to find your NISS number

The quickest places are the back of your Cartão de Cidadão (citizen card) and any payslip: the NISS is on both. With neither to hand, log into Segurança Social Direta with the Cartão de Cidadão or Chave Móvel Digital, two logins that do not ask for the number. A NISS has 11 digits, and the validator above confirms you copied it correctly.

WhereWhat you needWhen
Cartão de Cidadão (back of the card)Just the card. Citizen card holders get the NISS automatically when they apply for the card.Instant
Payslip (recibo de vencimento)Any payslip from your employer. By law it must show your Segurança Social registration number (Labour Code, art. 276(3)).Instant
Segurança Social Direta, under Perfil > Dados pessoaisLog in with your Cartão de Cidadão and a card reader, or with Chave Móvel Digital (digital mobile key). The username-and-password login already asks for the NISS.Instant
Consultar pedido de NISS, on the Segurança Social portalIf you requested the NISS through the online form: request ID, email and date of birth, plus a biometric check to download the proof (comprovativo).Instant if the biometric check passes; otherwise by video appointment
gov.pt (personal area or the gov.pt app)If you made the identification-numbers request for foreigners (NIF, NISS and health user number): the same login you used to apply, e.g. Chave Móvel Digital linked to your passport. Also at Espaços Cidadão that offer the service.Instant

None of these work? The Linha Segurança Social (helpline) answers on working days, 9:00 to 18:00, on 210 545 400 or 300 502 502, and Siga books an in-person or video appointment.

Can you look up a NISS by NIF?

No public service takes a NIF and returns a NISS. The two numbers come from separate databases, run by Finanças (the tax authority) and Segurança Social, and the Cartão de Cidadão law bans cross-matching them except where the law or the CNPD (data protection authority) allows it (Lei 7/2007, art. 16). For your own NISS, the NIF helps by another route: with your NIF and Portal das Finanças password you can activate Chave Móvel Digital (the temporary PIN arrives by post) and then log into Segurança Social Direta. If you need someone else’s NISS, ask them.

Don’t have a NISS yet? The request, step by step, is in the guide How to get your NISS.

How this works

A NISS has 11 digits and ends in a check digit. That digit comes from the first 10: multiply each by the weights 29, 23, 19, 17, 13, 11, 7, 5, 3 and 2, add the products, take the remainder of dividing by 10, then compute 9 minus that remainder. The first digit gives the holder type: 1 for an individual, 2 for a legal entity. If the result does not match the 11th digit, the number is wrong.

Frequently asked

How is the NISS check digit calculated?
The first 10 digits are each multiplied by the weights 29, 23, 19, 17, 13, 11, 7, 5, 3 and 2. The 10 products are summed, you take the remainder of dividing by 10, then compute 9 minus that remainder. The result must equal the 11th digit. If it does not match, the number is mistyped.
Does this tell me who a NISS belongs to?
No. The check is purely mathematical and runs in your browser: we do not query Segurança Social or any database. It only confirms the number is well-formed and shows the holder type from the first digit.
What does the first digit mean?
A NISS starts with 1 when the holder is an individual (a citizen) and with 2 when it is a legal entity (a company, association or other body). Any other value in the first digit makes the number invalid from the start.
Is a formula-valid NISS a real one?
Not necessarily. Passing the formula only guarantees the number is well-built. It may exist, belong to someone else, or never have been issued. To confirm a real NISS, use Segurança Social Direta or a Segurança Social desk.
How do I get a NISS if I do not have one?
If you have a Cartão de Cidadão, you already have one: the NISS is assigned automatically when you apply for the card. Foreign citizens, and Portuguese citizens without a Cartão de Cidadão, request it through the Segurança Social online form and download the proof after a biometric check. The step-by-step is in the guide How to get your NISS.
OFFICIAL SOURCES
DISCLAIMER
This tool only checks the number’s mathematics and identifies the type from the first digit. It does not confirm whether a NISS exists, is active or who it belongs to, and is no substitute for an official check with Segurança Social. Not advice.