How does Spanish law distinguish visitors, workers and residents?

Last updated on 26 November 2026 · 8 min read

Spanish law asks three questions about every foreigner. What is your nationality, how long will you stay and what will you do here. Citizens of the European Union need no visa at all. Everyone else is either on a stay, which means up to 90 days or a period of study, or on residence, which means more than 90 days and requires a permit chosen by activity. The visa is only the key to the door. The permit behind it decides whether you may work.

3 classesof visa in the regulation. Airport transit, short stay and long duration
90 in 180days. The limit of a short stay in the Schengen area
12 monthslength of the visa to look for a job
1 monthto apply for the residence card after arrival

Key facts

  • EU, EEA and Swiss citizens. No visa and no work permit. They register after three months.
  • Short stay. Up to 90 days in any period of 180 days, counted across the whole Schengen area (Immigration Regulation, article 30).
  • Long stay for studies. A stay, not residence, for the length of the course.
  • Residence. Any stay of more than 90 days for another purpose. The permit depends on what you will do.
  • Work. Only permits that say so allow it. A tourist or a non-lucrative resident may not work.
  • Who decides. The consulate issues visas. Offices in Spain decide most permits.

Most confusion comes from the word visa. People use it for the stamp that lets them enter, for the permit that lets them stay and for the card they carry afterwards. They are three different things, issued by three different bodies. Once you separate them, choosing a route becomes a matter of elimination.

Three questions, in this orderThe answers point to one route and to the office that decides it
  1. Your nationalityCitizens of the EU, the EEA and Switzerland stop here. They do not need a visa or a permit.
  2. How longUp to 90 days is a stay. More than 90 days is residence, unless you come to study.
  3. What you will doVisit, study, live on your own means, work for an employer, work for yourself or join your family.
legalworldspain.com
In this guide
  1. Stay or residence
  2. Short stays and the 90 in 180 rule
  3. The routes, by what you will do
  4. Visa, permit and card: who issues what
  5. Citizens of the European Union
  6. Three people, three routes
  7. After the first permit
  8. Mistakes we would check first
  9. Frequently asked questions

Stay or residence

The regulation divides foreigners in Spain into two situations, stay and residence (article 25). The difference is more than a matter of days, because rights are attached to residence that a stay never gives.

Two legal situations
Stay
  • Up to 90 days, or the length of a course of study
  • No residence card for a short stay
  • No right to work on a short stay
  • Does not count in full towards permanent status
Residence
  • More than 90 days
  • A residence permit and, beyond six months, a TIE card
  • Work only if the permit includes it
  • Counts towards the five years of long-term residence
legalworldspain.com

Short stays and the 90 in 180 rule

A short-stay visa, often called a Schengen visa, allows one visit or several whose total does not exceed 90 days in any period of 180 days from the first entry into the Schengen area. Nationals of many countries, among them the United Kingdom, the United States, Canada and Australia, are exempt from the visa for these visits. The exemption removes the paperwork, not the limit.

Any 180 days, looked at backwardsOn each day of your stay, count the 180 days before it
90 / 180a rolling window
  • Days you may spend in the Schengen area90 days
  • Days you must spend outside it90 days
Days in France, Italy or any other Schengen country count together with days in Spain.legalworldspain.com

The window moves with the calendar. It is not two fixed halves of the year, and leaving for a weekend does not restart it. A visitor may not work, and time spent as a visitor does not turn into residence. With a few exceptions, you cannot arrive as a tourist and change to a residence permit from inside Spain.

A passport open at a page full of entry and exit stamps
The visa lets you travel to the border. The permit decides what you may do once you are in. Photo by Kit on Unsplash.

The routes, by what you will do

You want toRouteCan you work?
Visit for up to 90 daysShort-stay visa, or visa exemptionNo
StudyLong-duration visa for studiesWithin limits set by the regulation
Live on savings, a pension or investmentsNon-lucrative residenceNo
Work remotely for a company or clients abroadDigital nomad visaYes, the remote work that justified it
Take a job with a Spanish employerResidence and work permit, requested by the employerYes, for that kind of job
Work for yourself in SpainResidence and self-employment permit, then registration as autónomoYes, in your own business
Join a manager or specialist post, or found an innovative companyPermits of Law 14/2013 for qualified professionals and entrepreneursYes
Join a relative who lives in SpainFamily reunificationYes, once resident
Look for workJob-search visa, for the groups the regulation namesAfter an employer obtains the permit

The job-search visa lasts twelve months and is not open to everyone. The regulation provides versions for the children and grandchildren of people who were Spanish by origin and for certain occupations and areas. The investor route no longer exists. Our guide explains what survived the closure of the golden visa.

A permit that forbids work means all work. Non-lucrative residents may not work for a Spanish employer, for a foreign one or for themselves. Remote work from a Spanish home is work in Spain for these purposes.

Visa, permit and card: who issues what

DocumentWhat it doesWho issues it
VisaLets you travel to Spain and ask to enter. A residence visa is issued for up to one yearThe Spanish consulate where you live
Residence permitThe decision that authorises you to live in Spain, and to work if it says soThe Foreigners’ Office of the province, or the Large Companies Unit for the permits of Law 14/2013
TIE cardProves your identity and your permit when you stay more than six monthsThe National Police
NIEYour identification number. It is not a permitThe police or the consulate

For some routes the consulate handles everything and the visa itself is your first permit. For others, such as work for an employer or family reunification, an office in Spain must approve the permit before you ask for the visa. The permits of Law 14/2013 can also be requested from inside Spain by someone who is here lawfully, with a decision within 20 days. After you arrive, you have one month to apply for your first TIE card. The NIE number is assigned along the way.

Citizens of the European Union

Citizens of the European Union, of Iceland, Liechtenstein and Norway, and of Switzerland enter with a passport or an identity card and may work from the first day. If they stay more than three months they register and receive a registration certificate with their NIE (Royal Decree 240/2007). Their family members from outside the EU apply for a residence card as relatives of a Union citizen, which is a separate regime from the one in this guide.

Three people, three routes

Example

Hannah, David and Priya

HannahDavidPriya
NationalityBritishAmericanIndian
PlanFour winters in her flat in Alicante, twelve weeks eachMove to Valencia and keep his job with a US companyA post as an engineer with a company in Madrid
LengthUnder 90 days in any 180More than 90 daysMore than 90 days
RouteVisa exemption for short staysDigital nomad visaPermit for qualified professionals, requested by the company
Decided byThe borderThe consulate, or the Unit if he applies from SpainThe Large Companies Unit, then the consulate for the visa
Work in SpainNoneHis remote jobHer post

Hannah needs nothing as long as she watches the 180-day window. If she wanted to stay for five months, she would need a residence permit, and the non-lucrative one is the usual choice for owners who do not work.

After the first permit

Residence permits are temporary at first and are renewed if the conditions continue. After five years of continuous residence you can ask for long-term residence, which no longer depends on your activity. Moving to Spain to work also opens a tax question in the first six months, the special regime for newcomers.

Mistakes we would check first

  • Treating the 90 days as a period that restarts on leaving the Schengen area.
  • Entering as a tourist with the plan of applying for residence from inside Spain.
  • Choosing the non-lucrative route while intending to keep working remotely.
  • Applying at a consulate that does not cover the place where you legally live.
  • Booking the move before the permit or the visa has been granted.
  • Confusing the NIE with a right to live in Spain.

Frequently asked questions

Do I need a visa to visit Spain?

It depends on your nationality. Citizens of the EU do not. Nationals of visa-exempt countries may visit for up to 90 days in any 180 without one. Everyone else needs a short-stay visa issued by a Spanish consulate.

Can I work in Spain on a tourist visa?

No. A short stay does not allow work, with or without a visa.

What is the difference between a visa and a residence permit?

The visa lets you travel to Spain and enter. The residence permit is the authorisation to live here for more than 90 days. For some routes the first permit is contained in the visa itself.

Which visa do I need to retire in Spain?

Most retirees from outside the EU use the non-lucrative residence visa, which asks for enough regular income or savings and does not allow work.

Can I change from a tourist stay to residence without leaving Spain?

As a rule, no. The main exceptions are the permits of Law 14/2013, such as the digital nomad permit, which a person who is lawfully in Spain can request from here.

Moving from Britain or the United States? Our step-by-step guides for UK households and US households put the visa, the documents and your first weeks in Spain in the right order.

This guide explains the general rules. It is not legal advice for your situation, and each office can ask for more than the minimum. Read our disclaimer.

Written by Estela Cortés Cortillas, lawyer, Barcelona Bar (ICAB no. 47590). Last reviewed on 26 November 2026.