A residence permit changes the maths of the Schengen 90/180 rule — but not in the way most people assume.

What the 90/180 rule actually governs

The Schengen 90/180 rule is a limit on short stays. The Schengen Borders Code applies it to "intended stays on the territory of the Member States of a duration of no more than 90 days in any 180-day period, which entails considering the 180-day period preceding each day of stay" (Regulation (EU) 2016/399, Article 6). It governs your right to be there as a visitor — a question of immigration, not of where you pay tax.

That distinction matters, because a residence permit is often confused with tax residency. They are different regimes with different thresholds; we pull them apart in Schengen 90/180 vs. the 183-day tax rule. This article is only about your right to be present.

A permit lifts the 90-day cap — in the issuing country

If a Schengen state has granted you a residence permit or a national long-stay (Type D) visa, you may stay in that country for as long as the document is valid. The European Commission's own guidance is blunt about it: "If you hold an EU residence permit or long-stay visa, you are not subject to the 90/180-day rule, as these documents allow you to stay longer than 90 days" (European Commission).

So a year spent in Portugal on a D7, or in Spain on a non-lucrative visa, does not eat through a 90-day allowance. The permit is your basis to be there, full stop.

But the exemption is geographic. A permit lifts the 90-day cap only in the country that issued it — everywhere else in Schengen, you are still an ordinary 90/180 visitor.

The other Schengen countries still run a 90/180 clock

Holding a permit from one Schengen state lets you travel to the others — but as a short-stay visitor, not a resident. Article 21 of the Convention implementing the Schengen Agreement says holders of a valid residence permit "may, on the basis of that permit and a valid travel document, move freely for up to 90 days in any 180-day period within the territories of the other Member States" (Convention, Article 21). The same right extends to long-stay (Type D) visa holders.

Put plainly:

  • In the issuing country — stay as long as the permit is valid; the 90/180 rule does not apply.
  • In every other Schengen country — you get the ordinary 90 days in any 180-day period, exactly like a tourist.

A Portuguese permit does not buy you unlimited time in France, Italy or Germany. It buys you the same short-stay allowance everyone else gets.

The part that trips people up: which days count

Here is the subtlety that catches careful travellers off guard. When you work out how much of your 90 short-stay days you have used in the other countries, the time you spent at home on your permit does not count.

The Commission spells this out in the instructions for its official calculator: periods of stay using an EU residence permit or long-stay (D-type) visa "should not be entered" into the 90/180 calculation (European Commission).

Where you areCounts toward 90/180?
In the country that issued your permitNo — you are there on the permit
Visiting another Schengen countryYes — ordinary short stay
Outside the Schengen Area entirelyNo

So a resident of Spain who takes a two-week trip to Italy spends 14 short-stay days against the 90/180 limit — not the months they have been living in Spain. The clock for the other countries only runs while you are actually in those other countries.

The practical consequence is that your "Schengen days" stop being the same as your "days in Europe." They are only the days spent in Schengen countries other than your country of residence — which is exactly the sort of figure that is easy to get wrong.

What the permit does not do

  • It does not extend your 90 days elsewhere. The cap in the other countries is still 90 in any 180.
  • It does not settle your tax position. Immigration status and tax residency are decided separately, often on different day counts.
  • It does not forgive an overstay. Spend 95 days touring the rest of Schengen and you have overstayed there, permit or not — with the consequences that follow.

If the underlying rule is still hazy, our plain-English walk-through of the 90/180 rule covers the mechanics; this piece is about the twist a permit adds on top.

Why the record matters

Once a permit is in the picture, your day count is no longer a single running total. It becomes a question of where you were and under what status: days at home on the permit, uncounted; days in the next country over, counted; days outside Schengen, ignored. With the EU's new Entry/Exit System now logging external-border crossings automatically, the authorities increasingly hold a precise version of your movements — and the burden of reconciling it tends to fall on you.

That is bookkeeping no one does reliably from memory. It is also exactly what Countly keeps quietly in the background: an automatic, private, per-country record of the days you spend and the borders you cross — on your phone, with no account and no analytics. It will not tell you which status applies to a given trip. It makes sure that when you need to show how many short-stay days you have actually used, the number is the real one.

This is general information, not legal or tax advice. Immigration rules vary by country and change — check the official sources or a qualified professional for your own situation.