Residence permit holders: how 90/180 works for you
The short answer: days spent in the country that issued your residence permit or long-stay (D) visa don't consume your 90/180 allowance — the Schengen Borders Code says such periods "shall not be taken into account". But days you spend in other Schengen countries count like anyone else's. That's the trap.
The rule, from the regulation
Schengen Borders Code, Art. 6(2): "Periods of stay authorised under a residence permit or a long-stay visa shall not be taken into account in the calculation of the duration of stay on the territory of the Member States."
So if you live in Spain on a residence permit, your months in Spain are not short-stay days. Your weekend in Lisbon, your week in Paris, your ski trip to Austria — those are ordinary short-stay days, counted against 90 in any 180, exactly as for a tourist.
The trap, concretely
A permit holder living in Spain who travels through other Schengen countries for more than 90 days within a 180-day window is overstaying — even though they legally live in the Schengen Area. Frequent cross-border commuters, consultants and families split between two EU countries hit this without realising it.
Our calculator models this: add your home-country stay, pick the country, and tick "residence permit / long-stay (D) visa issued by this country" — those days are excluded, and your trips elsewhere are counted.
What about the EES?
Holders of residence permits and long-stay visas are outside the scope of the EES (Regulation (EU) 2017/2226, Art. 2(3)) — your crossings aren't recorded in it the way a tourist's are. Don't rely on the system to count your other-country days for you: it's your own responsibility.
Practical notes
- Renewals and gaps: the exclusion covers periods "authorised under" the permit. A gap between permits isn't covered — those days count as short stay. Plan renewals accordingly.
- New permit, old trips: getting a permit doesn't erase short-stay days you used before it — the window keeps rolling.
- Keep evidence of where you were: since border crossings inside Schengen aren't checked, your own records (tickets, receipts) are what proves your day count if questioned.
Sources: Regulation (EU) 2016/399, Art. 6(2) — consolidated version; Regulation (EU) 2017/2226, Art. 2(3) — consolidated version; EC short-stay calculator user manual §1; update history. Checked against official sources on 2026-07-13. Informational only — not legal advice.
