Home/Residency
Residency
Tax residency
Whether Portugal considers you a tax resident decides almost everything else about your taxes. Here is how the rules work.

The two tests
Portugal treats you as a tax resident for a given year if either of two things is true. You spent more than 183 days in Portugal during any 12-month period touching that year, or you kept a home in Portugal in conditions that suggest it is your habitual residence.
Days are counted generously: any day with an overnight stay in Portugal counts. The habitual residence test matters for people who split time across countries, because you can become resident without ever crossing 183 days.
Determining your status
Count your days
Add every day with an overnight stay in Portugal across the relevant 12-month window, not just the calendar year.
Look at your home
A rented or owned home available to you year-round weighs toward habitual residence, even with fewer days present.
Check the treaty
If two countries both claim you, the tie-breaker rules in the relevant double taxation treaty decide, in order: permanent home, centre of vital interests, habitual abode, nationality.
Register your status
Your address on record with the tax office (via your NIF) should match where you live. Changing it late is a common and avoidable source of problems.
Partial-year residency
Portugal applies residency from the day you arrive with the intention to stay, not for the whole calendar year. In your arrival year you typically file as a part-year resident, declaring worldwide income only from that date.
Related guides
The complete residency guide covers day counting, the arrival year, and treaty tie-breakers with examples.