Free tool
Portugal 183-day rule calculator
Portugal treats you as tax resident if you spend more than 183 days there in any 12-month period that starts or ends in the tax year. Add your stays to see your count, your busiest 12-month stretch and the days you have left.
Your stays in one country
Runs entirely in your browser. Nothing you enter is stored or sent anywhere, and it keeps working offline once the page has loaded.
How Portugal's day test works
Under Article 16 of the Personal Income Tax Code (CIRS), you are tax resident in Portugal for a year if either of these applies:
- Days. You stay in Portugal for more than 183 days, consecutive or not, in any 12-month period that starts or ends in that year.
- Habitual residence. Even with fewer days, you have a home in Portugal at any time in that period, in circumstances suggesting you intend to keep and live in it as your habitual residence.
Three details change the count:
- Any 12-month window. The test is not limited to the calendar year. Stays either side of New Year can add up. This calculator shows your busiest 12-month stretch for that reason.
- What a day is. The code counts any day, whole or partial, that includes an overnight stay in Portugal. A day trip with no night spent there may not count; an arrival day where you sleep in Portugal does. Use the travel-day switch to see how much this moves your total.
- “More than 183”. Reaching exactly 183 days is not enough on the wording; day 184 crosses the line. Cutting it that fine is unwise when evidence is thin.
Portugal can also treat you as resident for only part of a year, from the first day you are present, when you arrive or leave mid-year. This calculator counts days; it does not decide residence.
Worked example
Press Load the example. It counts the 12 months from 1 January 2026 with stays from 3 January to 15 March, 1 June to 31 August and 1 to 31 December. Counting arrival and departure days, that is 195 days: over 183 on Portugal's test. Turn the travel-day switch off and it is 189, still over.
Now move the 12-month start to 1 April 2026. The January to March stay mostly drops out, but if you also spend early 2027 in Portugal the busiest stretch may still cross 183. That is the point of Portugal's any-12-month rule.
Common mistakes
- Checking only the calendar year. Portugal tests any 12-month period starting or ending in the tax year.
- Ignoring the home test. A Portuguese home kept as your habitual residence can make you resident with far fewer than 183 days.
- Assuming a golden visa or residence permit decides tax residence. Immigration status and tax residence are separate questions.
- Relying on memory. Keep boarding passes and a day-by-day record; the burden of showing where you were is usually yours.
This is an estimate, not tax or legal advice. Portugal’s rules have more detail than a day count, including the habitual-residence test, part-year residence and special regimes such as IFICI, which replaced NHR for new applicants. Check your position with a qualified adviser.
Frequently asked questions
Is it 183 days in the calendar year?
No. Portugal looks at more than 183 days in any 12-month period that starts or ends in the tax year concerned, so a stretch across New Year can count.
Do arrival and departure days count?
Portugal counts any day, whole or partial, that includes an overnight stay in Portugal. Use the travel-day switch to see your count both ways.
Can I be resident in Portugal with fewer than 183 days?
Yes. If you have a home in Portugal that suggests you intend to keep it as your habitual residence, you can be resident with fewer days.
Does a golden visa make me tax resident?
Not by itself. A residence permit is an immigration status. Tax residence follows the day and habitual-residence tests.
What happened to NHR?
The Non-Habitual Resident regime closed to most new applicants from 2024. A narrower regime, IFICI, covers certain qualifying roles. Ask a Portuguese adviser which applies to you.
Is my data sent anywhere?
No. The calculator runs entirely in your browser. Nothing you type is stored, uploaded or shared.
Other free tools: UAE tax residency days calculator, 183-day rule calculator, Schengen 90/180 calculator and UK SRT day counter. Also: US Substantial Presence Test calculator, Spain 183-day and Beckham law calculator and UK FIG regime checker.
Track this automatically every day
Midnightly counts every rule at once, shows its working and exports a signed evidence pack your adviser can verify.
- A running count for Portugal and every other country you spend time in, with the busiest 12-month stretch always visible.
- UK SRT, US Substantial Presence, Schengen 90/180, US state and 183-day rules in one engine, verified against 58 official worked examples.
- Your record stays on your iPhone. No account.
Free to download.