Travelers visiting Spain for a short stay may generally remain in the Schengen Area for no more than 90 days within any rolling 180-day period. The limit applies across the entire Schengen Area, not separately to Spain. Days spent in France, Italy, Portugal, Germany, Switzerland, and other Schengen countries must be added together. This guide explains how to calculate Schengen travel days, count entry and departure dates, manage repeated visits, and avoid overstaying.
Schengen 90-Day Rule: How to Calculate Your Stay Before Traveling to Spain
Many international travelers know that they may be able to visit Spain without applying for a visa in advance. Others travel with a short-stay Schengen visa.
However, visa-free entry or possession of a Schengen visa does not mean that travelers can remain in Spain for an unlimited period.
For most non-EU visitors making a short stay, the general rule is a maximum of 90 days within any rolling 180-day period. This limit applies across the entire Schengen Area, not only to Spain. The European Commission states that travelers must look back 180 days from each day of their stay and confirm that the total number of Schengen days does not exceed 90.
This means that travelers must consider more than their upcoming flights and hotel reservations. They should also review previous European trips, time spent in other Schengen countries, and any planned return to Europe after leaving Spain.
This SpainAgain Travel Guide explains the Schengen 90/180-day rule, how entry and exit dates are counted, how repeated European trips affect the calculation, and what long-stay travelers should consider before visiting Spain.
What Is the Schengen 90-Day Rule?
The Schengen 90-day rule determines how long many non-EU travelers may remain in the Schengen Area for short visits.
The basic rule is:
A maximum of 90 days within any rolling 180-day period.
For every day that you are present in the Schengen Area, you must look back over the previous 180 days and calculate the total number of days you have spent in all Schengen countries.
The total must not exceed 90 days.
This applies to many travelers visiting for purposes such as:
- Tourism
- Family visits
- Short business trips
- Conferences and trade fairs
- Short training programs
- Medical visits
- Short non-gainful activities
Depending on nationality, a traveler may be visa-exempt or may need a Schengen visa before departure. The 90/180-day calculation generally applies to both categories of short-stay traveler. A short-stay visa may also authorize fewer than 90 days, in which case the period printed on the visa takes priority.
It Is 90 Days Across the Entire Schengen Area
One of the most common misunderstandings is that travelers may spend 90 days in Spain, another 90 days in France, and another 90 days in Italy.
That is incorrect.
Spain and the other Schengen countries share a common short-stay calculation. Time spent in each participating country is added together.
For example, suppose that during the relevant 180-day period you spend:
- 30 days in Spain
- 20 days in France
- 15 days in Italy
- 10 days in Portugal
Your total Schengen stay is 75 days.
You do not have another 90 days available simply because you cross from Portugal back into Spain. You have used 75 of the 90 permitted days within that rolling reference period.
The Schengen Area currently consists of 29 countries: 25 EU member states and four non-EU countries—Norway, Iceland, Switzerland, and Liechtenstein. Not every European or EU country is necessarily included, so travelers should confirm whether each destination forms part of the Schengen Area.
The 180-Day Period Is Rolling, Not a Fixed Six-Month Block
The most difficult part of the calculation is often understanding what “within any 180-day period” means.
The rule is not divided into fixed periods such as:
- January through June
- July through December
- The first and second halves of the year
It is based on a rolling 180-day window.
For example, when checking your status on September 1, you must count backward 180 days from September 1.
When checking again on September 10, the relevant period moves forward. You must then count backward 180 days from September 10.
The calculation therefore changes every day.
Older travel days may eventually fall outside the rolling 180-day window, allowing additional days to become available. This is why simply subtracting previous travel days from 90 does not always show the exact maximum length of a future stay.
The European Commission describes the rule as counting back 180 days from each day of the stay and ensuring that the combined total remains at or below 90.
Leaving the Schengen Area Does Not Automatically Reset the Clock
Another common mistake is assuming that leaving the Schengen Area creates a new 90-day allowance.
It does not.
A short trip outside the Schengen Area does not automatically reset the calculation. When you return, your previous Schengen days remain relevant until they move outside the rolling 180-day period.
The calculation also does not automatically reset because of:
- The beginning of a new calendar year
- A new month
- A new airline ticket
- A new passport
- Entering through a different Schengen country
- Changing from tourism to a business visit
- Leaving for only a few days and returning
A traveler who has already used most of the 90-day allowance may need to remain outside the Schengen Area until enough earlier travel days have moved beyond the rolling 180-day window.
Entry and Exit Dates Both Count as Days of Stay
The date you enter the Schengen Area and the date you leave are both included in the calculation.
For example:
- Entry into Spain: July 1
- Departure from Spain and the Schengen Area: July 10
The stay counts as 10 days, not nine days.
The calculation is based on calendar dates rather than the number of hotel nights.
A late-night arrival still generally counts as a day of stay. An early-morning departure also counts as a day.
When traveling through several countries, use the date you first enter the Schengen Area and the date you finally leave it.
For example:
- July 1: Enter France
- July 5: Travel from France to Spain
- July 15: Travel from Spain to Portugal
- July 20: Leave Portugal for a non-Schengen destination
This generally counts as one continuous 20-day Schengen stay.
Crossing from France into Spain or from Spain into Portugal does not begin a new calculation because all three countries are within the Schengen Area.
A Simple Schengen Calculation Example
Suppose you have completed the following trips during the relevant 180-day period:
- France: 20 days
- Italy: 15 days
- Germany: 10 days
- Portugal: 5 days
The total number of days already used is:
20 + 15 + 10 + 5 = 50 days
At the planned date of entry into Spain, you may initially appear to have up to 40 days remaining.
However, this simple subtraction is only a starting point.
Because the 180-day reference period moves every day, some older travel days may fall outside the calculation while you are in Spain. Depending on the exact dates, your permitted stay may be longer or shorter than a simple total suggests.
The exact entry and exit dates—not merely the number of days spent in each country—must therefore be entered into the official short-stay calculator.
Repeated Trips to Europe Require More Careful Planning
The rule may have little practical impact on a traveler who visits Spain once a year for a one-week holiday.
It becomes much more important for people who travel to Europe regularly.
For example, a traveler may visit:
- Paris and Madrid in spring
- Marbella and Mallorca in summer
- Milan and Barcelona in autumn
- Switzerland and Spain in winter
Even when each journey is relatively short, the total number of days can accumulate quickly.
The reason for travel does not normally create a separate allowance. Tourism, business meetings, family visits, culinary travel, golf trips, property viewings, and educational visits may all count toward the same short-stay total.
Frequent travelers should maintain a separate Schengen travel calendar containing:
- Every Schengen entry date
- Every Schengen exit date
- Countries visited
- Upcoming European travel
- Days already used
- Estimated days remaining
- Copies of previous travel records
Do not rely entirely on memory, especially when several trips have taken place during the previous six months.
Each Traveler Has an Individual Calculation
The 90/180-day calculation applies separately to each person.
Family members or companions traveling together may have different remaining allowances because their previous travel histories may not be identical.
Separate calculations should be completed for:
- Each adult traveler
- Spouses or partners
- Children
- Parents and relatives
- Friends or travel companions
- Personal assistants
- Caregivers
- Household staff or other accompanying personnel
For example, a child may have attended a summer program in Europe, a spouse may have completed a recent business trip, or another companion may have entered Europe earlier.
Even when everyone is traveling on the same upcoming itinerary, the number of available Schengen days may differ from one person to another.
A shortage of permitted days for one traveler may require changes to the entire family or group itinerary.
Long Holidays and Second-Home Plans Require Careful Management
Spain offers many destinations suited to extended stays, including Madrid, Barcelona, Marbella, Málaga, Valencia, Mallorca, Ibiza, and the Canary Islands.
Travelers may wish to spend several weeks in Spain for:
- An extended holiday
- A seasonal family stay
- A golf or resort program
- A culinary or wine journey
- A property search
- A second-home evaluation
- International school research
- Remote lifestyle planning
- Retirement exploration
The 90/180-day rule still applies to short-stay visitors even when they own or rent property in Spain.
For example, staying in Spain for 60 days during the summer and returning for another 40-day journey through France, Italy, and Spain in the autumn could result in more than 90 days within the same rolling 180-day period.
Travelers considering regular or extended residence should determine whether the short-stay allowance is sufficient or whether an appropriate Spanish residence or long-stay visa is required.
Long-Term Study, Work, and Residence Follow Different Rules
The Schengen 90-day rule is intended for short stays. It should not be used as a substitute for the immigration status required for long-term study, employment, or residence.
Third-country nationals planning to stay in Spain for more than 90 days for work, study, or residence generally require an appropriate Spanish national visa or residence authorization.
This may apply to:
- University or graduate study
- Long-term language courses
- Employment in Spain
- Internships
- Research
- Professional training
- Family relocation
- Non-working residence
- Digital nomad arrangements
- Entrepreneurial activities
- Long-term retirement plans
Holders of an EU residence permit or a long-stay D visa are not subject to the 90/180-day rule for the stay authorized by that document. Those authorized long-stay periods should not be entered into the European Commission’s short-stay calculator.
Visa and residence conditions vary according to nationality, country of legal residence, purpose, and personal circumstances. Travelers should confirm the correct process through the Spanish consulate responsible for their place of residence.
How to Use the Official Schengen Short-Stay Calculator
The European Commission provides an official Short-stay Calculator to help travelers check compliance with the 90/180-day rule.
The calculator offers two main functions:
Check Mode
This reviews previous and ongoing stays to identify whether the recorded travel complies with the rule.
Planning Mode
This estimates how many days may be available from a proposed future entry date, based on previous Schengen entries and exits.
To use the calculator correctly, prepare:
- The date of each Schengen entry
- The date of each Schengen exit
- The proposed date of your next entry
- Details of all stays within the relevant period
Do not enter periods authorized under an EU residence permit or long-stay D visa, because those periods are not treated as short stays under the calculator.
The calculator is a planning tool only. Its result does not itself create a legal right to stay, and the final assessment remains with the competent immigration and border authorities.
The Entry/Exit System Now Records Short Stays Digitally
The EU Entry/Exit System, known as EES, became fully operational across participating European countries on April 10, 2026.
It electronically records entries, exits, and refusals of entry for non-EU nationals making short stays. It also records relevant travel-document and biometric information, replacing the former reliance on passport stamps for these travelers.
Even with digital border records, travelers should continue keeping their own travel history.
Maintain copies of:
- Airline reservations
- Boarding passes
- Train and ferry tickets
- Accommodation records
- Previous entry and departure dates
- Visa or residence documents
- Travel-calendar records
Personal records can be useful when planning future journeys or resolving discrepancies.
Information Needed to Calculate Your Stay
Before planning a trip to Spain, collect the following information:
- All Schengen entry dates within the relevant period
- All Schengen exit dates
- Every Schengen country visited
- Dates of overnight travel
- Previous airline reservations
- Train, ferry, or cruise records
- Hotel and accommodation bookings
- Your planned arrival date in Spain
- Your planned final departure from the Schengen Area
- Future European travel plans
- Any valid residence permit or long-stay visa
Frequent travelers should keep this information in a dedicated spreadsheet, calendar, or secure travel-management file.
This is particularly useful when trips include several purposes, such as business meetings, family holidays, golf travel, yacht charters, winery visits, property inspections, or educational planning.
Common Schengen Calculation Mistakes
Travelers frequently make the following errors:
- Counting only days spent in Spain
- Excluding time spent in other Schengen countries
- Treating each Schengen country as a separate 90-day allowance
- Excluding the entry date
- Excluding the departure date
- Treating 180 days as a fixed six-month block
- Assuming that leaving for a few days resets the calculation
- Forgetting earlier business or family trips
- Calculating every family member’s allowance as identical
- Relying only on passport stamps
- Assuming that a new calendar year resets the allowance
- Planning a stay too close to the 90-day maximum
- Using short-stay status for long-term residence or work
Travelers should also avoid making plans based solely on the number of hotel nights. Border calculations are based on dates of presence, which include both arrival and departure days.
Leave a Reasonable Buffer Below the Maximum
Planning to use exactly 90 days leaves very little flexibility.
Unexpected events may delay departure, including:
- Flight cancellations
- Airline strikes
- Severe weather
- Health problems
- Family emergencies
- Lost travel documents
- Transport disruption
- Hotel extensions
- Schedule changes
An overstay can create immigration complications even when it was not originally intended.
A flexible journey through Spain may also lead travelers to extend a hotel reservation, add a new city, visit southern France, or return to Barcelona after traveling elsewhere.
When few permitted days remain, these choices become more difficult.
Travelers planning resort stays, yacht trips, golf programs, culinary tours, family holidays, or other flexible itineraries should leave a sufficient number of unused days rather than building a schedule that reaches the maximum allowance.
Schengen 90-Day Checklist Before Traveling to Spain
Before departure, confirm the following:
- Whether the 90/180-day rule applies to your status
- Whether your nationality requires a Schengen visa
- Whether your visa authorizes fewer than 90 days
- Every Schengen trip taken during the relevant period
- Entry and departure dates for each journey
- Whether each destination is part of the Schengen Area
- Your total number of previous Schengen days
- Your planned entry date into Spain
- Your final departure date from the Schengen Area
- Future European trips planned after Spain
- Separate calculations for every accompanying traveler
- Whether any traveler holds a residence permit or long-stay visa
- The result shown by the official Short-stay Calculator
- A reasonable buffer below the maximum allowance
- Whether a Spanish national visa or residence authorization is required
Conclusion
Understanding the Schengen 90/180-day rule is essential when planning a trip to Spain.
For many non-EU short-stay travelers, the maximum permitted period is 90 days within any rolling 180-day window across the entire Schengen Area. Spain is not calculated separately from France, Italy, Portugal, Germany, Switzerland, or other participating countries.
Both entry and departure dates count, and the 180-day reference period moves forward every day. Leaving the Schengen Area does not automatically provide a new 90-day allowance.
The calculation is particularly important for frequent international travelers, families with different travel histories, extended holidays, second-home planning, and repeated business or leisure visits.
Travelers considering more than 90 days in Spain for study, work, residence, or another long-term purpose should investigate the appropriate Spanish visa or residence authorization rather than relying on short-stay status.
SpainAgain Travel Guide provides practical information for international travelers preparing to visit Spain. After calculating your available Schengen days, continue preparing your passport, visa or travel authorization, flights, accommodation, transportation, insurance, and safety arrangements.