Which Residence Periods Count Toward Portuguese Citizenship
Detailed legal breakdown of lawful residence periods in Portugal: how student and worker statuses count, handling gaps between renewal cards, and AIMA proof certificates.
| Lawful residence standard | Holding a valid residence permit (Título de Residência) issued by SEF/AIMA |
|---|---|
| Permit categories | D7, D8, D2, employment and permanent residence permits count at 100% (1 month = 1 month) |
| Student permits | Fully credited month-for-month for nationality (unlike EU permanent residency directives) |
| Accumulation windows | 7 years within a 9-year window (EU/CPLP) / 10 years within a 12-year window (others) |
Short answer For the purposes of naturalization under Article 6(1) Lei n.º 37/81, legal residence (residência legal) refers exclusively to those periods during which the foreign national remained in Portuguese territory on the basis of a valid residence permit (autorização de residência) issued by the migration service (SEF or AIMA). All standard temporary residence permits - including D7 (passive income), D8 (digital nomad), D2 (entrepreneur) visas, work contracts and student permits - count towards naturalization experience at a one-to-one ratio (month to month). Temporary visas (tourism, D visas before the card is issued), overstays without legalization and periods of illegal stay are not included in the length of service. [S01], [S04], [S09]
Status summary table: what counts and what doesn’t
| Migration status / Document | Credit for citizenship (naturalization) | Legal basis and nuances |
|---|---|---|
| Temporary residence permit (D7, D8, D2, hired work) | Counts 100% | Standard resident titles according to Lei 23/2007 |
| Investor residence permit (Golden Visa / ARI) | Counts 100% | Subject to the minimum days of presence (7/14 days) |
| Student residence permit (Autorização de estudo) | Counts 100% | For citizenship it is fully counted (for EU permanent residence - with a coefficient of 0.5) |
| Permanent residence permit (PR) | Counts 100% | Indefinite resident status in Portugal |
| Temporary protection for Ukrainians (Proteção Temporária) | Counts (when switching to a residence permit) | The AIMA certificate is recognized as a legal title of residence |
| Waiting period for card under Article 15(4) | Only for cases until 05/19/2026 | For new applications, the norm is repealed by law LO 1/2026 |
| Manifestation of Interest (Manifestação de Interesse) | Does NOT count | The waiting period before issuing a physical card does not count as length of service. |
| Schengen tourist visa C/visa-free | Does NOT count | Short-term stay that does not constitute residence |
| National entry visa D (in passport) | Does NOT count | Gives the right to enter, but the experience starts from the day the residence permit card is issued |
How 9 and 12 year summation windows work
Law Lei Orgânica n.º 1/2026 introduced a fundamental improvement in the length of service calculation algorithm, establishing the principle of intermittent summation of periods:
- EU and Community CPLP citizens:must demonstrate a total of 7 years (84 months) of legal residence within the window of 9 years preceding the date of registration of the application in the IRN.
- Citizens of all other countries (including the Russian Federation, Belarus, Kazakhstan): must confirm a total of 10 years (120 months) of legal residence within a window of12 years.
- Acceptable pauses: if there is a gap of several months between the expiration of the previous card and the issuance of a new one (for example, due to queues at AIMA), the experience is not reset. The missing months are simply excluded from the calculation, and the applicant must fill in the missing days within the 12-year period.
Analysis of profiles: practical examples of calculating length of service
Let's consider three typical profiles of applicants from the practice of migration consultants:
- Profile 1 (Student → specialist):Ivan studied for 3 years at the University of Lisbon with a student residence permit, then switched to a working residence permit and worked for 7 years. Result: 3 years of study + 7 years of work = 10 years of legal experience. Ivan has fulfilled the qualification and has every right to apply for citizenship.
- Profile 2 (Digital nomad D8 with a break): Elena lived in Portugal for 4 years under D8, then went to Asia for 1 year and closed her residence permit. When she returned, she opened a new D8 and lived for another 6 years. Result:within 11 calendar years (which fits within the 12-year window) Elena has 4 + 6 = 10 years of validity of official cards. The length of service is sufficient for naturalization.
- Profile 3 (Waiting for SEF under Article 88.2): Alexey submitted a manifestation in 2021, waited 2.5 years for the card and received a residence permit in 2023. In 2026, he did not have time to submit his dossier to the IRN before May 19. Result: according to the new rules, the length of service is counted strictly from 2023 (the date of issue of the card). The term of 10 years will come for Alexey in 2033 (minus possible breaks).
How to officially confirm your experience in AIMA
The main legal document confirming the years of residence is the archival certificate Certidão de Contagem de Tempo de Residência, requested from the migration agency AIMA. It describes by day all periods of validity of titles issued to the applicant, renewals and grounds. When self-submitting, the IRN conservator makes this request through official communication channels.
What to read next
- Citizenship periods are 5, 7 and 10 years after the 2026 reform
- Rules for acceptable absence in Portugal
- Temporary protection for Ukrainians and credit for length of service
- Step-by-step timeline to get a Portuguese passport
- Comparison of conditions for permanent residence and citizenship
- Online legal residence period calculator
Official Legal Sources and Statutory Framework
Sources and conditions verified against official publications as of October 31, 2026. For personal submissions, always verify the current requirements of your specific procedure.
- [S01] Lei Orgânica n.º 1/2026, de 18 de maio (Diário da República)
- [S04] Lei n.º 23/2007, de 4 de julho (Regime Jurídico de Entrada e Permanência de Estrangeiros)
- [S09] AIMA — Agência para a Integração, Migrações e Asilo (Requisitos de Residência e Língua)
- [S03] Regulamento da Nacionalidade Portuguesa (Decreto-Lei n.º 237-A/2006, consolidado)
Related residency & nationality guides
Need legal guidance on your Portuguese citizenship application?
Our licensed Portuguese immigration law partners audit continuous residency, review AIMA and IRN documentation, and manage nationality filings end-to-end.
Calculate legal residence timeline with an immigration lawyer → →