Voixa Consultors · corporate services in Spain
Immigration Act · Visas and residence

Immigration Act: entry, visas, stay and temporary residence

The Immigration Act (Organic Law 4/2000), articles 25 to 31 bis: the requirements for entering Spain, the types of visa, entry bans, how visas are issued and refused, and leaving Spain, including the cases where departure is compulsory. Also covered: the situations of stay and residence, temporary residence and its renewal, and residence and work for foreign women who are victims of gender-based or sexual violence.

Unofficial English translation from the Spanish by Voixa Consultors S.L. Alexander Baranov is responsible for the translation. Source: Organic Law 4/2000 of 11 January on the rights and freedoms of foreign nationals in Spain and their social integration, consolidated text published by the BOE, last amended 19 March 2025, BOE-A-2000-544 ↗. Check wording, figures, dates and legal effect against the Spanish original before relying on this reading. Source snapshot: 11 November 2026. This page: Title II, Chapter I and Chapter II (part), articles 25 to 31 bis.

Title II. Legal regime of foreign nationals

Chapter I. Entry into and exit from Spanish territory

Article 25. Requirements for entry into Spanish territory

1. A foreign national who intends to enter Spain must do so through the border posts authorised for that purpose, must hold a passport or travel document proving his or her identity that is considered valid for that purpose under international agreements signed by Spain, and must not be subject to any express prohibition. He or she must also present the documents determined by regulation that justify the purpose and conditions of the stay, and must show sufficient means of subsistence for the period he or she intends to remain in Spain, or be in a position to obtain such means lawfully.

2. Except where otherwise provided in the international agreements signed by Spain or in European Union rules, a visa is also required.

A visa is not required where the foreign national holds a foreigner identity card (TIE) or, exceptionally, a return authorisation.

3. The preceding paragraphs do not apply to foreign nationals who apply for asylum at the moment of their entry into Spain; the granting of asylum is governed by its specific rules.

4. Entry into Spain may be authorised for foreign nationals who do not meet the requirements set out in the preceding paragraphs where there are exceptional reasons of a humanitarian nature, of public interest or of compliance with commitments undertaken by Spain. In these cases the foreign national is to be given the documentation established by regulation.

5. The entry into national territory of foreign nationals to whom the Community regime does not apply may be recorded by the Spanish authorities for the purpose of monitoring the period of their lawful presence in Spain, in accordance with Organic Law 15/1999 of 13 December on the protection of personal data.

Article 25 bis. Types of visa

1. Foreign nationals who intend to enter Spanish territory must hold a visa, validly issued and in force, affixed to their passport or travel document or, where applicable, in a separate document, subject to the provisions of article 25(2) of this Law.

2. The visas referred to in the preceding paragraph are of one of the following types:

a) Transit visa, which entitles the holder to pass through the international transit area of a Spanish airport or to cross Spanish territory. This visa is not required where a foreign national is in transit for the purpose of repatriation or removal by air requested by a Member State of the European Union or by a third State that has signed an international agreement with Spain on this matter.

b) Short-stay visa, which entitles the holder to an uninterrupted stay or successive stays for a period or total of periods not exceeding three months per six-month period from the date of first entry.

c) Residence visa, which entitles the holder to reside without carrying on any employment or professional activity.

d) Residence and work visa, which entitles the holder to enter and stay for a maximum period of three months and to begin, within that period, the employment or professional activity for which he or she was previously authorised. Within that time the worker must be registered with Social Security, which gives effect to the residence and work authorisation, whether self-employed or employed. If registration has not taken place by the end of that period, the foreign national is obliged to leave national territory and, if he or she does not, commits the infringement provided for in article 53.1.a) of this Law.

e) Seasonal residence and work visa, which entitles the holder to work as an employee for up to nine months within a period of twelve consecutive months.

f) Study visa, which entitles the holder to remain in Spain to take courses, carry out studies, research or training work, pupil exchanges, non-employment work placements or volunteer service, none of them remunerated as employment.

g) Research visa, which entitles the foreign national to remain in Spain to carry out research projects under a hosting agreement signed with a research organisation.

3. The different types of visa will be developed by regulation.

Article 26. Ban on entry into Spain

1. Foreign nationals who have been expelled may not enter Spain, or obtain a visa for that purpose, for as long as the entry ban lasts; nor may those who are banned from entry on any other ground established by law or under international agreements to which Spain is a party.

2. Foreign nationals who do not meet the requirements established for entry will be refused entry by a reasoned decision, with information on the appeals they may lodge against it, the time limit for doing so and the authority before which they must lodge them, and on their right to legal assistance, which may be court-appointed, and to an interpreter, which begins at the very moment the check is carried out at the border post.

Article 27. Issue of visas

1. Visas are applied for and issued at the Diplomatic Missions and Consular Offices of Spain, except in the exceptional cases provided for by regulation or in cases where the Spanish State, in accordance with the Community rules on the matter, has agreed to be represented by another Member State of the European Union in respect of transit or short-stay visas.

2. The grant of a visa:

a) Entitles the foreign national to present himself or herself at a Spanish border post and request entry.

b) Entitles the foreign national, once he or she has entered Spanish territory, to remain in Spain in the situation for which the visa was issued, without prejudice to the obligation to obtain, where applicable, the foreigner identity card (TIE).

3. The specific rules on the procedure for granting and issuing visas will be established by regulation, in accordance with the eleventh additional provision of Law 30/1992 of 26 November. The personal appearance of the applicant may be required in that procedure.

4. The exercise of the power to grant or refuse visas is subject to the international commitments in force on the matter and is to be directed at achieving the aims of the foreign policy of the Kingdom of Spain and of other Spanish or European Union public policies, such as immigration policy, economic policy and public security policy.

5. For exceptional cases, other criteria to which the granting and refusal of visas must be subject may be laid down by regulation.

6. Refusal of a visa must be reasoned in the case of residence visas for family reunification or for employed work, and in the case of short-stay or transit visas. If the refusal is because the visa applicant is on the list of persons not to be admitted provided for in the Convention implementing the Schengen Agreement of 14 June 1990, he or she will be informed of this in accordance with the rules established by that Convention. The decision must state the appeals available against it, the body before which they must be lodged and the time limit for lodging them.

Article 28. Leaving Spain

1. Departures from Spanish territory may be made freely, except in the cases provided for in the Criminal Code and in this Law. The departure of foreign nationals to whom the Community regime does not apply may be recorded by the Spanish authorities for the purpose of monitoring the period of their lawful presence in Spain, in accordance with Organic Law 15/1999 of 13 December on the Protection of Personal Data.

2. Exceptionally, the Minister of the Interior may prohibit departure from Spanish territory on grounds of national security or public health. The investigation and decision of prohibition proceedings will always be on an individual basis.

3. Departure is compulsory in the following cases:

a) Expulsion from Spanish territory by court order, in the cases provided for in the Criminal Code.

b) Expulsion or return ordered by administrative decision in the cases provided for in this Law.

c) Administrative refusal of applications made by the foreign national to continue remaining in Spanish territory, or lack of authorisation to be in Spain.

d) Expiry of the period within which a foreign worker undertook to return to his or her country of origin under a voluntary return programme.

Chapter II. Authorisation of stay and residence

Article 29. List of situations

1. Foreign nationals may be in Spain in the situation of stay or of residence.

2. The different situations of foreign nationals in Spain may be evidenced by a passport or travel document proving their identity, a visa or a foreigner identity card (TIE), as appropriate.

Article 30. Situation of stay

1. A stay is presence in Spanish territory for a period of time not exceeding 90 days, without prejudice to the provisions of article 33 on admission for the purposes of studies, pupil exchanges, non-employment work placements or volunteer service.

2. Once that time has elapsed, remaining in Spain requires obtaining either an extension of stay or a residence authorisation.

3. In cases of entry with a visa whose duration is less than three months, the stay may be extended, but it may in no case exceed three months within a period of six months.

4. In cases of entry without a visa, where exceptional circumstances justify it, a foreign national may be authorised to stay in Spanish territory beyond three months.

Article 30 bis. Situation of residence

1. Residents are foreign nationals who are in Spain and hold an authorisation to reside.

2. Residents may be in the situation of temporary residence or of long-term residence.

Article 31. Situation of temporary residence

1. Temporary residence is the situation that authorises a person to remain in Spain for a period of more than 90 days and less than five years. Authorisations of less than five years’ duration may be renewed at the request of the person concerned, having regard to the circumstances that led to their grant. The duration of initial temporary residence authorisations and of renewals will be established by regulation.

2. An initial temporary residence authorisation that does not include a work authorisation will be granted to foreign nationals who have sufficient means for themselves and, where applicable, for their family. The criteria for determining the sufficiency of those means will be established by regulation.

3. The Administration may grant a temporary residence authorisation on grounds of settlement (arraigo), and on humanitarian grounds, grounds of collaboration with the justice system or other exceptional circumstances determined by regulation.

In these cases a visa is not required.

4. The initial temporary residence and work authorisation, which authorises the holder to carry on gainful activities on a self-employed and/or employed basis, will be granted in accordance with articles 36 et seq. of this Law.

5. Authorising the temporary residence of a foreign national requires that he or she have no criminal record in Spain or in his or her previous countries of residence for offences that exist in Spanish law, and that he or she not be listed as a person to be refused entry in the territory of countries with which Spain has signed an agreement to that effect.

6. Foreign nationals holding a temporary residence authorisation are obliged to notify the competent authorities of changes of nationality, marital status and address.

7. For the renewal of temporary residence authorisations, the following will be taken into account where applicable:

a) Criminal record, taking into account the existence of pardons or situations of conditional remission of the sentence or suspension of the custodial sentence.

b) Failure by the foreign national to comply with his or her tax and social security obligations.

For the purposes of such renewal, particular weight will be given to the foreign national’s integration effort that makes renewal advisable, evidenced by a favourable report from the Autonomous Community certifying attendance at the training activities provided for in article 2 ter of this Law.

Article 31 bis. Temporary residence and work of foreign women who are victims of gender-based violence or sexual violence

1. Foreign women, whatever their administrative situation, are guaranteed the rights recognised in Organic Law 1/2004 of 28 December on Comprehensive Protection Measures against Gender-based Violence where they are victims of gender-based violence, and the rights recognised in the Organic Law on the comprehensive guarantee of sexual freedom where they are victims of sexual violence, as well as, in both cases, the protection and security measures established in the legislation in force.

2. If, when a situation of gender-based violence or sexual violence against a foreign woman is reported, her irregular situation comes to light, no administrative sanctioning proceedings will be opened for the infringement in article 53.1.a), and any administrative sanctioning proceedings opened for committing that infringement before the report will be suspended, as will, where applicable, the enforcement of any expulsion or return orders that may have been made.

3. A foreign woman in the situation described in the preceding paragraph may apply for a residence and work authorisation on exceptional grounds from the moment a protection order has been issued in her favour or, failing that, a report of the Public Prosecutor indicating the existence of signs of gender-based or sexual violence. That authorisation will not be decided until the criminal proceedings have concluded. When submitting the application, or at any later time during the criminal proceedings, the foreign woman, herself or through a representative, may also apply for a residence authorisation on exceptional grounds for her children who are minors or who have a disability and are not objectively capable of providing for their own needs, or for a residence and work authorisation if they are over sixteen years of age, provided they are in Spain at the time of the report.

Without prejudice to the foregoing, the authority competent to grant the authorisation on exceptional grounds will grant a provisional residence and work authorisation to the foreign woman and, where applicable, the provisional residence authorisations for her children who are minors or have a disability, or residence and work authorisations if they are over sixteen years of age, provided for in the preceding subparagraph, who are in Spain at the time of the report. Any provisional authorisations granted will end at the moment the authorisations on exceptional grounds are finally granted or refused.

4. Where the criminal proceedings end with a conviction or with a judicial decision from which it follows that the woman has been a victim of gender-based violence or sexual violence, including the closing of the case because the person under investigation cannot be located or provisional dismissal because the accused has been expelled, the woman concerned will be notified that the authorisations applied for have been granted. If they were not applied for, she will be informed of the possibility of granting them and given a time limit to apply.

If the situation of gender-based or sexual violence cannot be inferred from the concluded criminal proceedings, administrative sanctioning proceedings for the infringement in article 53.1.a) will be opened or, if they were initially suspended, continued.

Reporting and status. Under article 31 bis(2), reporting gender-based or sexual violence does not lead to proceedings for irregular stay under article 53.1.a); such proceedings already opened, and the enforcement of expulsion or return orders, are suspended.

Where this sits

Previous: Immigration Act: family reunification and legal guarantees. Next: Immigration Act: long-term residence, students and minors. All translated laws: Spanish laws in English.

Related on voixa.es: Digital nomad visa, 120 days in Spain: where is he taxed?; The EU counts your days, Spain counts them differently; The golden visa ended: the residency routes that remain.

Nothing here is advice on your own position, and this reading is not the official text. Spain publishes no official English version of this text; where the wording matters to a decision, read it against the Spanish original published in the BOE.