The rule in one sentence
On every day you are in the Schengen area, look back over the 180 days ending that day (the day itself included) and count the days you were there. That number must never be more than 90.
That is how the Schengen Borders Code puts it: stays of "no more than 90 days in any 180-day period, which entails considering the 180-day period preceding each day of stay".
What counts as a day
- Entry day and exit day both count as full days, whatever the time. Leaving and entering again on the same day counts as one day.
- All 29 Schengen countries count together. It is 90 days in the whole area, not 90 per country. Ireland, Cyprus and the UK are not in Schengen, so days there do not count.
- Long-stay (D) visas and residence permits: days covered by them are not counted.
- Airport transit: staying airside without passing passport control is not an entry. Passing passport control, even for one night, is.
The window moves every day
The 180 days are not a fixed half-year. They end on the day you look at and move forward one day each day. So a day you spent in Schengen counts for 180 days and stops counting on the 181st day (day + 180).
One example, step by step
Today is 17 Nov 2026. You were in Schengen 1–30 Jun (30 days), 1–30 Sep (30 days), and you have been there since 1 Nov (17 days, through today).
- The window: the 180 days ending today run from 22 May to 17 Nov. All three trips are inside.
- Days used: 30 + 30 + 17 = 77.
- Days left: 90 − 77 = 13.
- But you can stay longer than 13 days. From 28 Nov, 1 June leaves the window, then 2 June the next day, and so on until 30 June on 27 Dec. Those 30 days free up while you are still inside.
- Leave-by date: 30 Dec. That is 43 more days (13 + 30). On 31 Dec the count would be 91.
This is the step most people miss: "days left" is not "how long you can stay".
Common mistakes
- "90 days every six months." There is no fixed six-month period. The window moves every day.
- "Leaving resets the count." It does not. A trip out of Schengen only stops new days being added; old days still count until they leave the window. (When do days free up?)
- "90 days per country." It is one count for the whole area.
- Forgetting the exit day. A trip from 1 to 30 June is 30 days, not 29.
When this calculation does not fit you
- EU, EEA and Swiss citizens are not subject to the rule.
- Short-stay visa holders: the 90/180 count is the same, but your visa's own dates and number of days also apply, and they can be shorter.
- Bilateral agreements: some countries (the EU manual names Canada, New Zealand and the US, among others) have older agreements with individual Schengen states that may allow extra time in that state. Confirm with that state.
- Brazilian ordinary passports follow the older "first entry" definition, so this calculation does not fit.
More questions
- Do the arrival and departure days count?
- Does a layover count?
- Do Ireland and the UK count?
- Does Cyprus count?
- Are Romania, Bulgaria and Croatia in Schengen?
- Do Andorra and Monaco count?
- Do residence permit days count?
- Can you stay 90 days in a row?
- Can you spend 6 months a year in Europe?
- Can you leave and come back right away?
- Dual citizenship and the 90-day rule
- How long can you stay with a Schengen visa?
- The 90-day rule for UK citizens
- Can you stay 90 days in each country?
Check your own dates
Enter your trips in the Schengen calculator to see your days left and your leave-by date.
Sources
This article explains the general rule. It is not legal advice. Border authorities and the EU Entry/Exit System (EES) decide your authorised stay.
I made Schengen Calculator for Android: 15 days with every feature, then a one-time purchase. No ads, no subscription.