Schengen 90/180 Rule: How to Count Days and Avoid Overstays

The Schengen 90/180 rule limits a short stay in Europe's border-free area to 90 days in any 180-day period, counted across all 29 Schengen countries together. It is an immigration rule, not a tax test, and the 2 counts can give opposite answers. Here is how to count your days, use the EU's own calculator, avoid an overstay, and see where the tax line sits.

Quick summary

  • Visitors who are not EU, EEA or Swiss citizens may stay up to 90 days in any 180-day period, and the days add up across all 29 Schengen countries, not per country.
  • The 180 days are a rolling window counted back from each day of your stay, and your arrival day and departure day both count as days in Schengen.
  • Leaving does not reset the count: a past day only stops counting once it is more than 180 days behind the day you check.
  • Since April 10, 2026, the Entry/Exit System records every entry and exit of non-EU short-stay travelers in place of passport stamps and detects overstayers automatically.
  • Days on a long-stay visa or residence permit do not count in the country that issued it, but trips to other Schengen countries on it are capped at 90 days in 180.
  • The rule says nothing about tax: a year that respects it can still put 185 days in Spain, past Spain's more-than-183-day residency test.

What the Schengen 90/180 rule says

The rule sits in Article 6 of the Schengen Borders Code, the EU regulation on crossing the area's external borders. It sets the entry conditions for third-country nationals on stays of no more than 90 days in any 180-day period, and it says that means looking at the 180 days before each day of the stay (Regulation (EU) 2016/399, Article 6).

Visa-free travelers and holders of a multiple-entry visa may enter as often as they like, but their stays may add up to no more than 90 days in every 180 (European Commission, visa policy). The 90/180 cap is the same whether you enter visa-free, as US citizens do, or on a short-stay Schengen visa. A Schengen visa can also be issued for 1 or 2 entries, or with an authorized stay shorter than 90 days, and then the visa's own limits apply (Visa Code, Article 24).

Brazilian citizens are the exception the European Commission names. Their visa waiver agreement with the EU keeps the older definition: 3 months during a 6-month period following the date of first entry (European Commission, border crossing).

Schengen countries: the 29 that share the 90 days

The 90 days are 1 allowance for all 29 countries together, not 90 per country. The Schengen area has 29 members: 25 EU countries (Austria, Belgium, Bulgaria, Croatia, Czechia, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Italy, Latvia, Lithuania, Luxembourg, Malta, the Netherlands, Poland, Portugal, Romania, Slovakia, Slovenia, Spain and Sweden) plus Iceland, Liechtenstein, Norway and Switzerland (Your Europe).

Cyprus and Ireland are in the EU but not in Schengen, so days there do not use up the allowance, and neither do days in the UK or in Albania, Montenegro and Serbia. Time spent in those countries is time in which your old Schengen days can age out of the window.

How to count your 90 days

The 180 days are not a fixed half-year that resets. They are a window that moves with you: for any day you want to check, count back 180 days including that day and add up every day you spent anywhere in Schengen.

  • Arrival and departure days both count. The date of entry is the first day of stay and the date of exit the last (Article 6(2)), so a Friday-to-Monday trip uses 4 days, however late you land or early you fly out.
  • The days need not be in a row. 3 trips of 30 days use the same allowance as 1 trip of 90.
  • Leaving does not reset anything. A day stops counting only when it falls more than 180 days behind the day you check.
  • Every day of the stay is checked. A stay that is legal on the day you enter can run out partway through, so the number you need is your last legal day, not the days left on arrival.
Worked count: coming back on June 1, 2027
Stay 1: Portugal, January 10 to February 2850 days
Stay 2: Italy, April 1 to April 2020 days
Window checked on June 1: December 4, 2026 to June 1, 2027Both stays sit inside it70 days used
Arrive June 1January 10 only leaves the window on July 920 days, to June 20
Arrive July 9 insteadJanuary and February days drop out 1 a day as you stay70 days, to September 16

The same 70 used days give a 20-day trip or a 70-day trip, depending only on the arrival date. Each date was checked day by day against the 180 days before it.

The 90 days are shared, not per country

Right

You spend 60 days in France and 30 in Greece within the same 180 days. That is 90 Schengen days, so you leave the area and come back only when enough of those days have dropped out of the window.

Wrong

You treat each country as a fresh 90 and add 45 days in Spain. Under the 90/180 rule France, Greece and Spain all count together, so the Spanish stay is an overstay from its first day.

The EU's official Schengen calculator

You do not have to count by hand. The European Commission's free short-stay calculator has 2 modes: a check mode that totals past and ongoing stays and returns a "possible stay until" date, and a planning mode that gives the longest stay allowed from a future entry date. You type dates as dd/mm/yy, and its passport stamp option takes a list of entry and exit dates in any order.

The calculator covers short stays only, and the Commission says days on an EU residence permit or long-stay visa are not entered in it (European Commission, short-stay calculator). Those days do not count in the country that issued the document, but in other Schengen countries the holder is still limited to 90 days in any 180-day period (Regulation (EU) No 610/2013, Article 2).

The Entry/Exit System (EES) replaces passport stamps

The Entry/Exit System (EES) started on October 12, 2025 and became fully operational on April 10, 2026, replacing passport stamps. It records each non-EU short-stay traveler's name, travel document, fingerprints and facial image, with the date and place of every entry and exit, and it detects overstayers automatically (European Commission, Entry/Exit System).

Before you book the next Schengen trip

  • List every Schengen entry and exit date in the 180 days before your planned arrival, from boarding passes or your own log.
  • Count each arrival day and each departure day as a full day.
  • Leave out days in Cyprus, Ireland, the UK and other countries outside Schengen.
  • Leave out days spent on a long-stay visa or residence permit in the country that issued it.
  • Run the dates through the Commission's calculator in planning mode and note the last legal day.
  • Book the flight out with a few days to spare before that date.

Residence permits, long-stay visas and EU citizens

Article 6 sets the entry conditions for third-country nationals, so EU citizens, citizens of Iceland, Liechtenstein, Norway and Switzerland, and the non-EU family members of EU citizens exercising free movement are outside it (Schengen Borders Code, Article 2(5) and (6)). The other exception that matters to long-term travelers is a national permit:

  • Long-stay visa and residence permit holders, in the issuing country. Periods of stay under a residence permit or a long-stay visa are left out of the calculation (Article 6(2)). A national permit such as Spain's digital nomad visa is that kind of document, so a year in Spain on it uses none of the 90 days.
  • Residence permit and long-stay visa holders, in other Schengen countries. The permit lets you travel to the rest of the area, but there you are back on up to 90 days within a 180-day period (IND, Netherlands), and the Schengen Convention gives holders of a valid long-stay visa the same right of movement (Regulation (EU) No 265/2010, Article 1). A Spanish permit holder who spends a summer in France and Italy counts those days like any visitor.

A permit takes your days out of the Schengen count, but every day you live in Spain on it still counts toward Spain's tax test, and whether a digital nomad visa makes you tax resident depends on that test, not on the permit.

What happens if you overstay

Day 91 in any 180-day window is an overstay, even if you leave the next morning.

What follows is decided by the country that finds the overstay, under EU return rules. The Return Directive says a return decision must come with an entry ban when no period for voluntary departure was granted or the person did not leave as required (Directive 2008/115/EC, Article 11). The EU has since adopted a Return Regulation that repeals the Directive. It was signed on October 7, 2026 and was still awaiting publication in the Official Journal on October 12, 2026 (European Parliament, Legislative Observatory), and it enters into force the day after publication (European Commission).

A canceled flight does not stop the count

The rule has no grace period. A flight canceled on your last legal day still leaves you in Schengen on day 91, and the EES records it as an overstay. If something will keep you past your last legal day, contact the immigration authority of the country you are in before that day passes, not after.

Schengen days vs tax residency days

The 90/180 rule decides whether you may be in the Schengen area. Tax residency decides which country taxes you as a resident, often on your worldwide income, and each country tests it under its own law. The 2 counts differ on nearly every point:

The Schengen count and the tax count side by side. Sources: Schengen Borders Code, Article 6; the European Commission; each country's tax law, cited in the text.

Schengen 90/180 ruleTax residency day tests
What it decidesWhether you may stay in the Schengen areaWhich country taxes you as a resident
Where days add upAll 29 Schengen countries togetherEach country on its own
PeriodA rolling 180 days, checked on every day of stayCalendar year, tax year or a 12-month window, by country
The lineNo more than 90 daysOften 183 days; in Switzerland, 30 days while working
Days on a permitNot counted in the issuing countryCounted like any other day
Who countsThe border, through the EESThe tax authority, from your records and returns
Getting it wrongAn overstay, a return decision, possibly an entry banResidence for that year and tax as a resident

So a Schengen-legal year does not keep you under a tax test, and a short stay is not always tax-free.

Spain: 185 days without breaking the 90/180 rule

The rule caps every 180-day window, not the calendar year, and a 365-day year holds 2 full windows plus 5 days. Spend January 1 to March 31, June 30 to September 27 and December 27 to 31, 2027, in Spain, with no Schengen days in the 180 days before, and no window ever holds more than 90 days, yet the year holds 185.

Spain makes you tax resident with more than 183 days in the calendar year (LIRPF, article 9), so this traveler never overstayed and is still a Spanish tax resident for 2027.

Schengen days vs days in Spain over 1 legal yearIn Spain January 1 to March 31, June 30 to September 27 and December 27 to 31, 2027; no Schengen days in the 180 days before. Spain's test is more than 183 days.
  • Days in Spain in 2027, running total
  • Days in the Schengen 180-day window
0 days50 days100 days150 days200 daysJan 31Feb 28Mar 31Apr 30May 31Jun 30Jul 31Aug 31Sep 30Oct 31Nov 30Dec 31Days in Spain in 2027, running total, Jan 31: 31 daysDays in Spain in 2027, running total, Feb 28: 59 daysDays in Spain in 2027, running total, Mar 31: 90 daysDays in Spain in 2027, running total, Apr 30: 90 daysDays in Spain in 2027, running total, May 31: 90 daysDays in Spain in 2027, running total, Jun 30: 91 daysDays in Spain in 2027, running total, Jul 31: 122 daysDays in Spain in 2027, running total, Aug 31: 153 daysDays in Spain in 2027, running total, Sep 30: 180 daysDays in Spain in 2027, running total, Oct 31: 180 daysDays in Spain in 2027, running total, Nov 30: 180 daysDays in Spain in 2027, running total, Dec 31: 185 days185 daysDays in the Schengen 180-day window, Jan 31: 31 daysDays in the Schengen 180-day window, Feb 28: 59 daysDays in the Schengen 180-day window, Mar 31: 90 daysDays in the Schengen 180-day window, Apr 30: 90 daysDays in the Schengen 180-day window, May 31: 90 daysDays in the Schengen 180-day window, Jun 30: 90 daysDays in the Schengen 180-day window, Jul 31: 90 daysDays in the Schengen 180-day window, Aug 31: 90 daysDays in the Schengen 180-day window, Sep 30: 90 daysDays in the Schengen 180-day window, Oct 31: 90 daysDays in the Schengen 180-day window, Nov 30: 90 daysDays in the Schengen 180-day window, Dec 31: 90 days90 days

Source: Schengen Borders Code, Article 6, and Spain's LIRPF, article 9, applied to 1 itinerary (both under Sources) A worked example of the 2 rules, not data about real travelers. The Schengen count never passes 90, while the Spanish total reaches 185 on December 31.

Show the numbers
Jan 31Feb 28Mar 31Apr 30May 31Jun 30Jul 31Aug 31Sep 30Oct 31Nov 30Dec 31
Days in Spain in 2027, running total31 days59 days90 days90 days90 days91 days122 days153 days180 days180 days180 days185 days
Days in the Schengen 180-day window31 days59 days90 days90 days90 days90 days90 days90 days90 days90 days90 days90 days

Most Schengen countries draw their day line near 183, but the 183-day rule differs by country in whether it means 183 or 184 days and which period it counts, so the same itinerary can pass one country's test and miss another's.

Switzerland and Cyprus: tax resident on far fewer days

A stay well inside the Schengen allowance can still make you tax resident. Switzerland's federal tax law creates a tax stay after at least 30 days in the country while working (DBG, article 3), so a working month there leaves 60 Schengen days unused and still makes you taxable in Switzerland as a resident. Cyprus is outside Schengen, so its days save your allowance, but after 60 of them you are resident if you also keep a permanent home there, have a business or job in Cyprus or a directorship of a Cyprus tax-resident company not ended during the year, and spend no more than 183 days in any other single country (PwC, Cyprus residence), which is how Cyprus tax residency fits a year spent mostly elsewhere.

Which country you are tax resident in while you travel

A traveler who keeps every country under its day test can still owe tax somewhere, usually in the country they left, because leaving is a separate test from arriving. The paper that settles where you are resident is a tax residency certificate from your country of residence, not an EES record or a Schengen log.

A year split between Schengen stays and time outside the area still needs a country of tax residence, and comparing what 2 or 3 candidate bases would tax at your income shows which one should hold it.

David's note

I would keep 2 separate logs: one for the Schengen window, checked before every trip, and one per country for its tax test, checked every quarter. The Schengen log keeps you legal at the border and says nothing about where you owe tax; only the country logs show you nearing a tax line.

Sources

  1. Regulation (EU) 2016/399 (Schengen Borders Code), Article 6, text as published on legislation.gov.uklegislation.gov.uk, checked
  2. Regulation (EU) 2016/399 (Schengen Borders Code), Article 2 (definitions), text as published on legislation.gov.uklegislation.gov.uk, checked
  3. Regulation (EC) No 810/2009 (Visa Code), Article 24, text as published on legislation.gov.uklegislation.gov.uk, checked
  4. Regulation (EU) No 265/2010, Article 1: Article 21(1) and (2a) of the Convention implementing the Schengen Agreement (residence permit and long-stay visa holders), text as published on legislation.gov.uklegislation.gov.uk, checked
  5. Regulation (EU) No 610/2013, Article 2: Article 21(1) of the Convention implementing the Schengen Agreement changed to 90 days in any 180-day period, text as published on legislation.gov.uklegislation.gov.uk, checked
  6. European Commission, Migration and Home Affairs: Short-stay calculatorhome-affairs.ec.europa.eu, checked
  7. European Commission, Migration and Home Affairs: Visa policyhome-affairs.ec.europa.eu, checked
  8. European Commission, Migration and Home Affairs: Border crossinghome-affairs.ec.europa.eu, checked
  9. European Commission, Migration and Home Affairs: Entry/Exit System (EES)home-affairs.ec.europa.eu, checked
  10. Your Europe: Travel documents for non-EU nationals (the Schengen countries)europa.eu, checked
  11. IND (Netherlands): Travelling within the Schengen Area with a residence permit or visaind.nl, checked
  12. Directive 2008/115/EC (Return Directive), Article 11, text as published on legislation.gov.uklegislation.gov.uk, checked
  13. European Parliament, Legislative Observatory: Return Regulation, procedure 2025/0059(COD)oeil.europarl.europa.eu, checked
  14. European Commission: Commission welcomes political agreement on the Return Regulation (June 2, 2026)home-affairs.ec.europa.eu, checked
  15. BOE: Ley 35/2006 del IRPF, article 9 (Spain)boe.es, checked
  16. Fedlex: Bundesgesetz über die direkte Bundessteuer (DBG), article 3 (Switzerland)fedlex.admin.ch, checked
  17. PwC Worldwide Tax Summaries: Cyprus, individual residence (last reviewed August 4, 2026)taxsummaries.pwc.com, checked

Frequently asked questions

How does the Schengen 90/180 rule work?

Visitors who are not EU, EEA or Swiss citizens may spend up to 90 days in any 180-day period in the Schengen area. On any day, count back 180 days and add up every day spent in any of the 29 Schengen countries; the total must not pass 90.

Do the day of arrival and the day of departure count?

Yes. Article 6(2) of the Schengen Borders Code treats the date of entry as the first day of stay and the date of exit as the last, so both count in full however few hours you spend.

Does leaving the Schengen area reset the 90 days?

No. Leaving only stops new days from adding up. A past day keeps counting until it is more than 180 days behind the day you check.

Can I stay 90 days in each Schengen country?

Not under the 90/180 rule. Its 90 days are 1 allowance for all 29 countries together, so 60 days in France and 30 in Greece use it up.

Is there an official Schengen calculator?

Yes. The European Commission's short-stay calculator has a check mode for past and current stays and a planning mode that gives the longest stay allowed from a future entry date.

How many days a year can I spend in the Schengen area?

Up to 185 days in a 365-day year, if the stays are timed so no 180-day window holds more than 90. Spent in 1 country, that is enough to pass a more-than-183-day tax test such as Spain's.

What happens if I overstay in Schengen?

The Entry/Exit System detects overstays automatically. The country that finds the overstay applies EU return rules, and a return decision can come with an entry ban.

Does the 90/180 rule make me tax resident?

No. It is an immigration limit counted across all 29 Schengen countries. Tax residency is tested by each country under its own law, often at 183 days, though Switzerland counts a working stay from 30 days.

Do Cyprus, Ireland and the UK count toward the 90 days?

No. Cyprus and Ireland are EU members outside Schengen, and the UK is not in Schengen, so days there do not use up the allowance. Their own entry and tax rules still apply.

David Sisvadze

CEO at Nomad Tax Map

David brings 13+ years of experience, including 6 years with the Revenue Service of Georgia and 7 years managing private-sector import operations. He has a strong background in customs, imports, exports, and cross-border logistics.