Gwide Apps

Schengen Calculator

Do days on a residence permit or D visa count toward the 90 days?

Rules last checked: Nov 26, 2026

No. Days covered by a residence permit or a long-stay (D) visa from a Schengen country are not counted under the 90/180-day rule. Only the days you spend as a short-stay visitor count, before the permit starts or after it ends.

What the rule says

The Schengen Borders Code says periods of stay authorised under a residence permit or a long-stay visa are not taken into account. So a year in Spain on a residence permit uses none of your 90 days.

A worked example

  • 1 Jul to 29 Aug 2026: a visitor's stay in Portugal, 60 days.
  • 1 Sep 2026 to 28 Feb 2027: a Portuguese long-stay visa. You live there; these days do not count.
  • 1 Mar 2027: the visa has ended and you stay on as a visitor (your nationality can visit Schengen without a visa).

On 1 Mar 2027 you have used 1 day: the summer days are older than 180 days and the visa days are not counted. You can stay as a visitor until 29 May 2027, 90 days. Without the visa, the same dates would have been over the limit from 1 Oct 2026.

Travelling to other Schengen countries with your permit

A residence permit from one Schengen country usually lets you visit the others for short stays. Those trips have their own limit of 90 days in any 180-day period, counted only for the time you are in the other countries. Your permit country's rules decide how long you can be away from it. This is a separate count, and not one this page or the calculator works out.

The first and the last day

I count the first and the last day of the permit as permit days. National practice can differ, so if you are close to a limit, check with the authorities of the country that issued it.

Count your own trips

For a quick check, enter only your trips to other Schengen countries in the Schengen calculator, not the days in your permit country. If you use the Schengen Calculator app, do not add the permit period for these trips: the app would leave out every day inside it, trips to other Schengen countries included. Related: dual citizenship · can you spend 6 months a year in Europe?

Sources

This page 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.