Visa Day Counter

How Long Can You Stay in Spain?

Track your days in Spain against the Schengen 90/180 rule, see how long you can stay and when your days reset, then read how the rule works and which visas let you stay longer.

Updated December 1, 2026

✓Rolling 180-day window✓Stay planner✓Reset date✓No sign-up

Track Your Visa Days

Pick where you are tracking, then enter your trips to see how your days stack up against the limit.

Up to 90 days in any rolling 180-day period across the Schengen Area.

Add Travel Period

No travel periods added yet.
Use the form to add your travel history.

Example: stays inside your rolling 180-day window

How it works

How the 90-day rule works for Spain

Spain shares the Schengen 90 days

Spain is in the Schengen Area, so the 90-days-in-180 limit is not a Spain-only allowance. Days in France, Italy, Portugal and the rest of Schengen draw from the same 90 days as your time in Spain, and you cannot get a fresh 90 by crossing the Pyrenees into another Schengen country.

The Canaries and Balearics count

A common myth is that the Canary Islands or the Balearics sit outside the Schengen clock. They do not. The Canary Islands, Mallorca, Ibiza and the other Spanish islands are part of the Schengen Area, so days spent there count exactly like days on the mainland.

A rolling 180-day window

On any day, look back over the previous 180 days and total the days you were anywhere in Schengen. That number must stay at or under 90, and each day you use frees up again exactly 180 days later as the window moves forward.

Arrival and departure days count

Your day of arrival in Spain and your day of departure each count as a full day of presence, even a late-night landing in Madrid or an early flight out of Barcelona. This calculator counts both, exactly as the EES border system records them.

Resetting your Schengen window from Spain

Because the rule looks back over a rolling 180 days, you cannot reset it with a quick hop out and straight back. You only recover days once older days roll off the back of the window, so travelers often leave the Schengen Area to wait them out.

From Spain the easiest non-Schengen exit is Morocco (a short ferry from Tarifa or Algeciras to Tangier, or the land crossings at Ceuta and Melilla). The UK and Ireland are also outside the Schengen Area. Two nearby places look like exits but are not. Gibraltar has applied Schengen entry rules since 15 July 2026, so days there count toward your 90. Andorra is not a Schengen member, but it can only be reached through Spain or France and no exit is recorded at its border, so days there count toward your 90 as well.

Use the planner above to pick a future entry date and see how many compliant days you would have, and the reset date to see when your full 90 days become available again if you stay out.

Staying in Spain longer than 90 days

To spend more than 90 days in Spain you need a national long-stay visa or residence permit, which is separate from the Schengen short-stay rule. The two routes most travelers look at are the digital nomad visa and the non-lucrative visa.

Spain's digital nomad visa, introduced by the Startup Act (Ley 28/2022, in force since December 2022), is aimed at remote workers and freelancers earning from outside Spain, with an income requirement set as a multiple of the Spanish minimum wage. The non-lucrative visa (NLV) is for people who can support themselves from savings or passive income without working in Spain, which makes it popular with early retirees. Income thresholds and paperwork change, so confirm the current figures with a Spanish consulate before relying on them.

Once you hold one of these permits, your stay is governed by the permit rather than the 90/180 count.

Go deeper

More Spain visa guides

FAQ

Spain 90/180 FAQ

How many days can I stay in Spain as a tourist?

Visa-free and short-stay (type C) visitors can be present in the Schengen Area, including Spain, for up to 90 days in any rolling 180-day period. This calculator adds up your trips and shows how many of those days remain.

Do I get 90 days just for Spain?

No. The 90 days are shared across the whole Schengen Area. Time in Spain counts toward the same allowance as time in any other Schengen country, so you cannot reset your days by moving from, say, France or Portugal into Spain.

Do days in the Canary Islands or Balearics count?

Yes. The Canary Islands, Mallorca, Menorca, Ibiza and Formentera are all part of Spain and the Schengen Area, so days there count toward your 90 just like days in mainland Spain.

Can I stay in Spain longer than 90 days?

Yes, but only with a national long-stay visa or residence permit such as Spain's digital nomad or non-lucrative visa. Those run under separate rules and are not part of the 90/180 short-stay calculation.

Does a trip to Morocco or Gibraltar reset my Schengen days?

Neither resets the count. Leaving for Morocco stops you adding new Schengen days, but the rule always looks back 180 days, so leaving only helps once enough older days have dropped out of the window. Gibraltar does not even pause the count: since 15 July 2026 days spent there count toward the same 90. The calculator's reset date shows when your full allowance returns.

What happens if I overstay in Spain?

Overstaying the Schengen limit can lead to fines, deportation, and an entry ban that affects all of Schengen, not just Spain. Since April 2026 the EES border system records every entry and exit, so assume any overstay is flagged automatically. Treat 90 days as a hard limit and keep a buffer where you can.

Schengen 90/180 guides for other countries

This calculator is a planning aid, not legal advice. Border officers make the final decision on entry and length of stay. Always confirm the rules with official government sources before you travel.

Tracking a different country? Use the full Visa Day Counter