The "183-day rule" is a tax-residency test, not an immigration rule: under Article 16(1)(a) of the Código do IRS, you become a Portuguese tax resident for a given year if you are present in Portugal for more than 183 days — consecutive or not — within any 12-month period that starts or ends in that tax year. This is entirely separate from the day-count and absence limits that apply to keeping a residence permit valid, which are governed by different rules under the immigration law (Lei n.º 23/2007) and use much longer absence windows (months, not days). Conflating the two is one of the most common and consequential mistakes people make when planning a move.
Crossing the 183-day tax threshold makes your worldwide income taxable in Portugal from that year, regardless of your visa/residence-permit status. Meanwhile, staying under 183 days does not protect you from tax residency if you keep an available home in Portugal. And residence-permit holders should not assume the tax day-count and the permit-maintenance day-count are the same rule — they are not.
Key Facts
The 183 days do not need to be consecutive ("seguidos ou interpolados") — they are added up across any rolling 12-month period that starts or ends within the relevant tax year.
Arrival and departure days both count as days of presence in Portugal under the general day-counting approach used for this test.
Even under 183 days, Article 16(1)(b) of the Código do IRS deems you resident if, on any day within that 12-month period, you have housing available under conditions suggesting an intention to keep and occupy it as your habitual residence — e.g. an owned or long-term-rented home kept available for your use.
The 183-day tax test is completely distinct from the residence-permit absence rule. Under Portuguese immigration law (Lei n.º 23/2007, Art. 85.º, as referenced in official legal texts), a temporary residence authorization can be cancelled if the holder is absent for 6 consecutive months or 8 interpolated months during the permit's validity period; for permanent residence, the threshold is 24 consecutive months or 30 interpolated months within a 3-year period. Absences can be excused with valid justification (e.g., documented work/study/family reasons) filed with the authorities, ideally before departure.
Double-taxation treaties: where a person could be considered tax-resident in two countries under their respective domestic 183-day-type rules, Portugal's bilateral tax treaties (generally following the OECD Model Tax Convention framework) apply "tie-breaker" tests — typically permanent home, then centre of vital interests, then habitual abode, then nationality — to allocate residency to a single treaty state. The specific tie-breaker wording depends on the exact treaty with your home country; check the applicable bilateral convention text rather than assuming Portugal's domestic rule alone decides the outcome when another country also claims you as resident.
Steps
Count your tax-residency days — Track every day physically present in Portugal (including partial days) across any rolling 12-month window that touches the calendar tax year — this is what triggers worldwide income taxation, independent of your visa type.
Separately track your residence-permit absence budget — If you hold a temporary residence permit, keep single absences under 6 consecutive months and cumulative absences under 8 interpolated months across the permit's validity; permanent residents have a longer 24-consecutive/30-interpolated-month allowance over 3 years. File a justification with the authorities if you expect to exceed these.
Check treaty tie-breakers if dual-resident — If your home country's own rules would also treat you as tax-resident there for the same period, consult the specific double-taxation treaty between Portugal and that country to determine which country wins under the tie-breaker tests.
Common Mistakes
Treating the tax 183-day rule and the residence-permit absence rule (6/8 months, or 24/30 months for permanent residents) as the same limit — they are governed by different laws, measured differently (days vs. months, calendar-year-linked vs. permit-validity-linked), and have different consequences (tax bill vs. loss of residence permit).
Assuming that staying just under 183 days automatically avoids Portuguese tax residency, while ignoring the "available habitual residence" trigger in Article 16(1)(b).
Assuming Portugal's domestic tie-breaker outcome is automatic without checking the actual bilateral treaty text, which varies by partner country.