Documents

How to get a NISS number in Portugal (social security number)

Blue and yellow azulejo tiles on an old wall
Photo: Natalia Y. / Unsplash

If you plan to work, freelance, or live long-term in Portugal, you'll quickly be asked for your NISS – the Número de Identificação de Segurança Social, Portugal's social security number.

The process has changed a lot recently. Applications are now mostly online, and since July 2026 many people get their NISS automatically during their AIMA appointment. This guide explains every route, what documents you need, and how to avoid the common "no contract without a NISS, no NISS without a contract" trap.

In short:

  • The NISS is free.
  • Foreigners can apply online through Segurança Social Direta.
  • If you're employed, your employer can request it for you.
  • If you're at AIMA for residency, the NISS can now be assigned automatically.
  • Allow roughly 15–30 working days for online requests.

What Is a NISS?

The NISS is an 11-digit number that identifies you in Portugal's social security system (run by the Instituto da Segurança Social, ISS). It records your contributions and gives you access to:

  • State pension
  • Unemployment benefit
  • Sick pay and parental leave
  • Child benefit (abono de família) — see childcare in Portugal
  • Other social support payments

Don't confuse it with the other numbers you'll collect in Portugal:

Number What it's for Issued by
NIF Tax number – needed for almost everything (rent, bank, phone contract) Finanças (AT)
NISS Social security – work, contributions, benefits Segurança Social
Número de Utente Public health service (SNS) registration Health centre / SNS

Most people get their NIF first, because some NISS workflows ask for it.

Who Needs a NISS in Portugal?

You need a NISS if you are:

  • Employed by a Portuguese company
  • Self-employed (trabalhador independente, working on recibos verdes)
  • A company director or business owner
  • Applying for or renewing residency where AIMA asks for it
  • Claiming benefits in Portugal

Having a NISS doesn't automatically mean you'll pay contributions. Whether you pay depends on your work situation – for example, a D7 visa holder living on a pension may have a NISS but make no contributions.

Option 1: Apply Online (Segurança Social Direta)

This is now the standard route for foreigners who aren't going through an employer or AIMA.

Step-by-step

  1. Go to the Segurança Social website (seg-social.pt).
  2. Open the "Cidadão" (Citizen) area and select "Atribuição de Número de Identificação de Segurança Social (NISS)".
  3. Choose the form for foreign citizens (cidadão estrangeiro) – not the one for Portuguese nationals.
  4. Fill in your details and upload your documents (see list below).
  5. Submit and keep your request reference.
  6. Wait for the email. Once approved, you'll receive confirmation with your NISS and instructions. In some cases you'll be asked to confirm or collect details at a Social Security service desk.

Documents usually required

  • Passport (photo page) or EU ID card
  • NIF (tax number)
  • Proof of address in Portugal (rental contract, utility bill, or Atestado de residênciaA proof-of-residence certificate issued by your parish council (Junta de Freguesia). Some registrations accept it as proof of address.)
  • Proof of your situation, for example:
    • Employment contract or promise of contract
    • Proof of self-employment activity
    • Residence permit or AIMA document / letter showing you need a NISS
  • Residence permit or visa, if you have one

Documents in languages other than Portuguese may need a certified translation.

Tip: Use the same Portuguese address on your NIF, NISS and residency applications. Mismatched addresses are a common reason for delays.

How long does it take?

Expect around 15–30 working days, sometimes longer in busy periods. You can track the status in Segurança Social Direta.

Option 2: Your Employer Requests It

If you've been hired by a Portuguese company, your employer can apply on your behalf.

  1. You sign the employment contract.
  2. The employer acts as your representative and submits the NISS request.
  3. Once the NISS is issued, the employer registers the employment relationship in Segurança Social Direta.

This is the easiest way to solve the chicken-and-egg problem: the company doesn't need your NISS to hire you – they can request it as part of onboarding.

Option 3: Automatically at AIMA (Since July 2026)

Since July 2026, AIMAThe public agency that handles residence permits for non-EU nationals. It replaced SEF for these matters in 2023. and Social Security have linked their systems. If you attend AIMA to regularise or process your residency and don't yet have a NISS, it can be assigned automatically during your appointment – no separate trip to a Social Security desk. Check

If you aren't going through AIMA, use the online route instead.

Option 4: In Person

You can still apply at a Social Security service desk or an Espaço Cidadão. Book an appointment in advance and bring originals plus copies of all documents. In-person service is useful if your online application is rejected or your situation is unusual.

Self-Employed? How It Works

If you register as self-employed with Finanças (início de atividade), the tax office notifies Social Security. You'll be registered automatically if you already have a NISS. If you don't, request it online first.

New freelancers are usually exempt from contributions for the first 12 months of activity. After that, contributions are calculated quarterly on a percentage of your declared income.

How to Find Your NISS If You've Lost It

  • Log in to Segurança Social Direta – it appears in your profile.
  • Check old payslips – employers print it there.
  • Look at your Cartão de Cidadão (Portuguese citizens only).
  • Use the gov.pt app with Chave Móvel Digital to view your identification numbers.

Accessing Segurança Social Direta

After you have your NISS, request a password for Segurança Social Direta (SSD), or log in with your Chave Móvel Digital. In SSD you can:

  • Check your contribution history
  • Update your address and bank details (IBAN)
  • Apply for benefits
  • Submit quarterly declarations if you're self-employed
  • Download proof of registration

Common Problems and How to Avoid Them

  • Application rejected for missing documents. Upload a document that explains why you need a NISS (contract, AIMA letter, business registration).
  • Wrong form. Make sure you use the form for foreign citizens.
  • Unofficial websites charging fees. The NISS is free when requested from Segurança Social or gov.pt.
  • Address mismatches. Keep one Portuguese address across all applications.

Final Checklist

  1. Get your NIF.
  2. Gather passport, proof of address and proof of your situation.
  3. Apply via Segurança Social Direta, your employer, or at AIMA.
  4. Wait for confirmation (15–30 working days).
  5. Activate Segurança Social Direta or log in with Chave Móvel Digital.

Rules and procedures change regularly, so always check seg-social.pt or gov.pt before you apply.

Need help?

Official bodies and services related to this guide. Sponsored listings are always labelled.

More in the services directory

Frequently asked questions

Is the NISS free?

Yes. Requesting a NISS from Segurança Social is free of charge.

Can I get a NISS before I have a residence permit?

Yes, if you have a reason such as a work contract, self-employment or an AIMA requirement.

Can I get a NISS without a job?

It's possible, for example if AIMA requires it for your residency renewal, but you'll need to show why you need one.

Do I need a NIF to get a NISS?

In most online workflows, yes. Get your NIF first.

Does a NISS mean I have to pay social security?

No. Contributions depend on whether you work, are self-employed, or receive income that's subject to contributions in Portugal.

How many digits does a NISS have?

Eleven.

Can I apply for NIF, NISS and SNS number together?

Foreign citizens with an address in Portugal can request their NIF, NISS and SNS user number together through the gov.pt services for migrants.

Official sources

We check our guides against these official pages. If something has changed, the official source wins.

Contents

  1. What Is a NISS?
  2. Who Needs a NISS in Portugal?
  3. Option 1: Apply Online (Segurança Social Direta)
  4. Option 2: Your Employer Requests It
  5. Option 3: Automatically at AIMA (Since July 2026)
  6. Option 4: In Person
  7. Self-Employed? How It Works
  8. How to Find Your NISS If You've Lost It
  9. Accessing Segurança Social Direta
  10. Common Problems and How to Avoid Them
  11. Final Checklist
  12. Need help?
  13. Frequently asked questions
  14. Official sources

Search the site

Searches pages in English. Switch language to search in Russian or Ukrainian.

Loading search…