Immigration Act (Organic Law 4/2000), articles 32 to 35 quinquies: long-term residence, students and unaccompanied minors
The Immigration Act (Organic Law 4/2000), articles 32 to 35 quinquies: long-term residence and when it ends, admission for studies, student exchanges, unpaid traineeships and voluntary service, and the position of stateless persons, undocumented persons and refugees. They also cover unaccompanied foreign minors (age assessment, repatriation, residence and guardianship), the extraordinary migratory contingency for unaccompanied children and adolescents, the model for allocating them among the Autonomous Communities and the solidarity response plan.
Title II. Legal regime of foreign nationals (continued)
Chapter II. Stay and residence authorisation (continued)
Article 32. Long-term residence
1. Long-term residence is the status that authorises a person to reside and work in Spain indefinitely, on the same conditions as Spanish nationals.
2. Those who have held temporary residence in Spain continuously for five years and who meet the conditions laid down by regulation shall be entitled to long-term residence. For the purpose of obtaining long-term residence, periods of prior and continuous residence in other Member States as the holder of an EU Blue Card shall count. Residence shall be considered continuous even if the foreign national has temporarily left the national territory for holidays or for other reasons laid down by regulation.
3. Foreign nationals who are long-term residents in another Member State of the European Union may apply in their own right for, and obtain, a long-term residence authorisation in Spain when they are going to carry out a self-employed or employed activity, or for other purposes, on the conditions laid down by regulation. However, where foreign nationals who are long-term residents in another Member State of the European Union wish to retain the long-term resident status acquired in the first Member State, they may apply for and obtain a temporary residence authorisation in Spain.
3 bis. Foreign nationals to whom Spain or another Member State of the European Union has granted international protection and who are in Spain may apply in their own right for, and obtain, a long-term residence authorisation in Spain on the conditions laid down by regulation.
Long-term resident status in Spain shall not be recognised for a beneficiary of international protection whose status has been revoked, has ceased or has ended, or whose renewal has been refused, in accordance with the applicable rules of the European Union and on the conditions laid down by regulation.
4. Criteria for granting other long-term residence authorisations in individual cases of special connection with Spain shall be laid down by regulation.
5. Long-term residence shall be extinguished in the following cases:
a) When the authorisation was obtained fraudulently.
b) When an expulsion order is issued in the cases provided for by law.
c) When the person is absent from the territory of the European Union for 12 consecutive months. The exceptions to loss of the authorisation on this ground, and the procedure and requirements for recovering the long-term residence authorisation, shall be laid down by regulation.
d) When long-term residence is acquired in another Member State.
e) When, the authorisation having been obtained by a person to whom another Member State granted international protection, the authorities of that State have decided to end or revoke that protection.
6. Foreign nationals who have lost long-term resident status may recover that status through a simplified procedure to be developed by regulation.
That procedure shall apply above all in the case of persons who have resided in another Member State in order to study.
Article 33. Admission for the purpose of studies, student exchanges, unpaid traineeships or voluntary service
1. A foreign national whose sole or main purpose is to carry out one of the following non-work activities may be authorised, under the stay regime, in accordance with this Law:
a) Pursuing studies or further studies.
b) Carrying out research or training activities, without prejudice to the special regime for researchers.
c) Taking part in student exchange programmes at any officially recognised public or private educational or scientific establishments.
d) Carrying out unpaid traineeships (prácticas no laborales).
e) Carrying out voluntary service.
2. The authorisation shall be valid for the duration of the course in which the person is enrolled, of the research work, of the student exchange, of the traineeship or of the voluntary service. In the case of higher education, where the applicant is going to study for more than one academic year, the authorisation shall be valid for the official duration of the studies on the conditions determined by regulation, which shall include the continued fulfilment and verification of the requirements that led to the grant of the authorisation.
3. The authorisation shall be extended, for no more than one year at each extension, on the terms and for the periods of each activity in accordance with its specific legislation, provided that the holder shows that he or she still meets the conditions required for the initial authorisation and complies with the general requirements and with the specific requirements of each activity.
4. Foreign nationals admitted for the purpose of studies, unpaid traineeships or voluntary service may be authorised to carry out a paid activity as self-employed or employed persons, to the extent that this does not limit the pursuit of their studies or equivalent activity, on the terms determined by regulation.
5. Work within a family in return for board and lodging with that family, while the person improves his or her language or professional skills, shall be governed by the international agreements on “au pair” placement.
6. The entry into and stay in Spain of foreign students taking part in European Union programmes intended to promote mobility into or within the Union shall be facilitated, on the terms laid down by regulation.
7. Any foreign national admitted as a student in another Member State of the European Union who applies to pursue part of studies already begun, or to complete them, in Spain may apply for and obtain a stay authorisation for studies if he or she meets the regulatory requirements for it, and no visa shall be required.
So that any foreign national admitted as a student in Spain may apply to pursue part of studies already begun, or to complete them, in another Member State of the European Union, the Spanish authorities shall provide the relevant information on that person’s stay in Spain at the request of the competent authorities of that Member State.
8. Foreign nationals pursuing specialised health training in Spain in accordance with Law 44/2003 of 11 November on health professions are subject to the stay regime provided for in this article, unless they already held a residence authorisation before beginning that training, in which case they may remain in that situation.
[Translator’s note: so in the BOE text. Law 44/2003 on the regulation of the health professions is dated 21 November 2003.]
Article 34. Residence of stateless persons, undocumented persons and refugees
1. The Minister of the Interior shall recognise as stateless those foreign nationals who, stating that they have no nationality, meet the requirements laid down in the Convention relating to the Status of Stateless Persons, done at New York on 28 September 1954, and shall issue to them the documentation provided for in article 27 of that Convention. Stateless status shall carry with it the specific regime determined by regulation.
2. In any event, a foreign national who presents himself or herself at premises of the Ministry of the Interior, proving that he or she cannot be documented by the authorities of any country and wishes to be documented by Spain, may, once the relevant information has been verified and provided that exceptional reasons of a humanitarian nature, of public interest or of compliance with commitments undertaken by Spain exist and are proven, obtain, on the terms determined by regulation, an identity document certifying his or her registration at those premises. In all cases, the documentation applied for shall be refused when the applicant falls within any of the cases in article 26, or when an expulsion order has been issued against him or her.
3. A favourable decision on an application for asylum in Spain shall entail recognition of the applicant’s refugee status, and the applicant shall be entitled to reside in Spain and to carry out employment, professional and commercial activities in accordance with Law 5/1984 of 26 March regulating the right of asylum and refugee status, as amended by Law 9/1994 of 19 May, and its implementing rules. That status shall entail that the person is not returned or expelled, on the terms of article 33 of the Convention relating to the Status of Refugees, done at Geneva on 28 July 1951.
Article 35. Unaccompanied minors
1. The Government shall promote the conclusion of cooperation agreements with countries of origin that provide, in an integrated way, for the prevention of irregular immigration and for the protection and return of unaccompanied minors. The Autonomous Communities shall be informed of such agreements.
2. The Autonomous Communities may conclude agreements with countries of origin aimed at ensuring that the care and social integration of minors take place in the environment they come from. Such agreements shall duly ensure the protection of the minors’ interests and shall provide mechanisms for appropriate monitoring of their situation by the Autonomous Communities.
3. Where the State Security Forces and Corps find an undocumented foreign national whose minority cannot be established with certainty, the competent child protection services shall give that person the immediate care he or she needs, in accordance with the legislation on the legal protection of minors, and the fact shall be brought immediately to the attention of the Public Prosecutor, who shall order that his or her age be determined; the appropriate health institutions shall cooperate for that purpose and shall carry out the necessary tests as a matter of priority.
4. Once the age has been determined, if the person is a minor, the Public Prosecutor shall place him or her at the disposal of the competent child protection services of the Autonomous Community in which he or she is found.
5. Before deciding whether to open a procedure for the minor’s repatriation, the State Administration shall request a report on the minor’s family circumstances from the diplomatic representation of the country of origin. Once the opening of the procedure has been decided, after hearing the minor if he or she has sufficient understanding, and after a report from the child protection services and from the Public Prosecutor, the State Administration shall decide as appropriate on return to the country of origin or to the country where the minor’s family members are, or, failing that, on the minor remaining in Spain. In accordance with the principle of the best interests of the minor, repatriation to the country of origin shall be carried out either through family reunification or by placing the minor at the disposal of the child protection services, if the appropriate conditions exist for those services to take the minor into their guardianship.
6. Persons over sixteen and under eighteen years of age shall be recognised as having capacity to act in the repatriation procedure provided for in this article, and in the contentious-administrative courts on the same subject matter, and may take part in person or through a representative they appoint.
In the case of minors under sixteen years of age who have sufficient understanding and have expressed wishes contrary to those of the person holding their guardianship or representation, the procedure shall be suspended until a court-appointed defender (defensor judicial) is appointed to represent them.
7. The residence of minors who are under the guardianship in Spain of a public administration or, by virtue of a court decision, of any other body shall be considered lawful for all purposes. At the request of the body exercising guardianship, and once it has been established that the minor cannot return to his or her family or country of origin, the minor shall be granted a residence authorisation, the effects of which shall be backdated to the time when the minor was placed at the disposal of the child protection services. The absence of a residence authorisation shall not prevent the recognition and enjoyment of all the rights to which the minor is entitled as a minor.
8. The grant of a residence authorisation shall not be an obstacle to subsequent repatriation where this serves the best interests of the minor, on the terms laid down in the fourth paragraph of this article.
9. The conditions that minors under guardianship who hold a residence authorisation and reach the age of majority must meet in order to renew their authorisation or to obtain a residence and work authorisation shall be determined by regulation, taking into account, where applicable, any favourable reports that the competent public bodies may submit for this purpose on their integration efforts, the continuity of the training or studies they are pursuing, and their actual or potential entry into the labour market. The Autonomous Communities shall develop the policies needed to make possible the integration of minors into the labour market when they reach the age of majority.
10. The State Security Forces and Corps shall adopt the technical measures necessary to identify undocumented foreign minors, in order to find out any records about them that may exist at any national or foreign public institution responsible for their protection. These data may not be used for any purpose other than that provided for in this paragraph.
11. The General State Administration and the Autonomous Communities may conclude agreements (convenios) with non-governmental organisations, foundations and bodies devoted to the protection of minors in order to entrust to them the ordinary guardianship of unaccompanied foreign minors.
Each agreement shall specify the number of minors whose guardianship the body concerned undertakes to assume, the place of residence and the material resources to be allocated to their care.
The Autonomous Community in whose custody the minor is shall have standing to apply for guardianship to be established. For that purpose, it shall apply to the competent court for the place where the minor is to reside, enclosing the relevant agreement and the consent of the body that is to assume guardianship.
The guardianship regime shall be that provided for in the Civil Code and in the Civil Procedure Act. In addition, the other provisions on the protection of minors contained in the Civil Code and in the legislation in force on the matter shall apply to unaccompanied foreign minors.
12. Autonomous Communities may reach agreements with the Autonomous Communities where unaccompanied foreign minors are located to assume their guardianship and custody, in order to guarantee the minors better conditions for integration.
Article 35 bis. Extraordinary migratory contingency for the protection of the best interests of unaccompanied migrant children and adolescents
1. The Sectoral Conference on Children and Adolescents may adopt by unanimous Agreement the requirements for declaring a situation of extraordinary migratory contingency for the protection of the best interests of unaccompanied migrant children and adolescents, the Response Plan for that situation, and finally the criteria for applying that Plan, which shall in all cases include those needed to determine in which cases the transfer of unaccompanied foreign minors from one autonomous community or city to another is to be ordered by decision of the person chairing the Sectoral Conference on Children and Adolescents, after the affected autonomous community or city has notified and substantiated that contingency. The Agreement, if adopted, must be a single one and must cover all of these elements.
In the absence of that unanimous agreement, the requirements for declaring the situation of extraordinary migratory contingency for the protection of the best interests of unaccompanied migrant children and adolescents, the Response Plan for that situation and the criteria for applying that Plan shall be governed by this Law.
2. A situation of extraordinary migratory contingency for the protection of the best interests of unaccompanied migrant children and adolescents shall be declared in those autonomous communities or cities whose system for the protection and guardianship of unaccompanied foreign minors exceeds three times its ordinary capacity in occupancy, on the terms of the eleventh additional provision.
That declaration shall be approved within a maximum of five calendar days from notification by the affected autonomous community or city, and shall be communicated to all members of the Sectoral Conference on Children and Adolescents.
3. That situation of extraordinary migratory contingency shall mean that the competent body of the General State Administration shall establish, in each case, the autonomous community or city to which the unaccompanied foreign minor is to be transferred for placement, on the terms provided for in articles 35 ter and 35 quater.
Article 35 ter. Model for managing extraordinary migratory contingencies for unaccompanied migrant children and adolescents
1. The Model for managing extraordinary migratory contingencies for unaccompanied migrant children and adolescents shall contain:
a) The set of objective criteria for determination, by the competent body of the General State Administration, of where unaccompanied foreign minors are to be placed in the various autonomous communities or cities.
b) The rules on the mechanism for referring unaccompanied foreign minors to other autonomous communities or cities.
c) The criteria for determining the number of places per autonomous community or city for the care of unaccompanied foreign minors in the event of referral.
2. In the absence of the unanimous agreement referred to in article 35 bis.1, the objective criteria for determination, by the competent body of the General State Administration, of where unaccompanied foreign minors are to be placed in the various autonomous communities shall be as follows:
a) 50 per cent of the girls and boys according to the population of the receiving autonomous communities or cities, on the basis of the data in the Continuous Population Statistics (Estadística continua de población).
b) 13 per cent of the girls and boys according to the gross disposable household income per capita of the receiving autonomous communities or cities, as published by the National Statistics Institute.
c) 15 per cent in inverse proportion to the unemployment rate of the receiving autonomous communities or cities according to the Labour Force Survey (Encuesta de Población Activa) for the last four-month period (cuatrimestre).
d) 6 per cent according to the effort made in caring for unaccompanied minors, assessing in inverse proportion the effort of the autonomous community or city in caring for children and adolescents in its care on the basis of the following parameters: average number of unaccompanied foreign children and adolescents cared for in the last six months; ratio of unaccompanied foreign children and adolescents per 100,000 inhabitants of the population of the autonomous community or city.
e) 10 per cent in inverse proportion to the structural sizing of the system of reception places estimated by the Ministry of Youth and Children, on the basis of the residential foster care figures in the Statistical Data Bulletin on child and adolescent protection measures (Bulletin number 26), updated to 19 February 2025 with the information reported by the autonomous communities. It shall be calculated according to the difference between the places existing and the desirable average of one place for every 2,500 inhabitants.
f) 2 per cent according to their status as a border city, with a negative weighting of -100 per cent applied to the City of Melilla to take account of its border situation.
g) 2 per cent according to insularity, with a negative weighting of -100 per cent applied to the Balearic Islands to take account of their insular situation.
h) 2 per cent according to the dispersion of the population.
Article 35 quater. Solidarity response plan for a situation of extraordinary migratory contingency for the protection of the best interests of unaccompanied migrant children and adolescents
1. The Solidarity response plan for a situation of extraordinary migratory contingency for the protection of the best interests of unaccompanied migrant children and adolescents (Solidarity response plan) shall set out all the actions to be taken once a situation of this kind has been declared, and shall comprise those regulated in this article, those provided for in the criteria for applying the Solidarity response plan referred to in the following article, those laid down in the Framework Protocol on Unaccompanied Foreign Minors provided for in the regulation implementing this Law (Framework Protocol), and those contained in the other applicable rules.
2. Once the situation of extraordinary migratory contingency referred to in article 35 bis has been declared, if an unaccompanied foreign minor is found, the actions set out in the Framework Protocol shall be carried out with the special features and time limits laid down in this article. Whether the person’s minority is beyond doubt or the person is an undocumented unaccompanied foreign minor whose minority cannot be established with certainty, the person shall be recorded (reseña) immediately or as soon as possible and, if not already registered, entered in the Register of Unaccompanied Foreign Minors within the twenty-four hours following that record, which shall state the minority of the unaccompanied foreign national, whether or not it has been proven.
3. While the situation of extraordinary migratory contingency referred to in article 35 bis continues, the unaccompanied foreign national, whether his or her minority is beyond doubt or cannot be established with certainty, shall be transferred within a maximum of fifteen calendar days from the date of entry in the Register of Unaccompanied Foreign Minors to the autonomous community or city of destination, which shall be the one that corresponds under article 35 quinquies.
The proposal for placement in an autonomous community or city shall be adopted by the competent body of the General State Administration at the same time as the person’s entry in the Register of Unaccompanied Foreign Minors.
4. The decision on placement and transfer to a specific autonomous community or city shall be issued by the competent body of the General State Administration within fifteen calendar days from the person’s entry in the Register of Unaccompanied Foreign Minors; within that period the minor concerned and the autonomous community or city of destination must be heard, and the Public Prosecutor shall be informed in order to safeguard the best interests of the minor and the rights conferred on the minor by law.
The intervention of the Public Prosecutor is likewise guaranteed whenever the Prosecutor so considers appropriate of his or her own motion in any of the actions provided for in this article.
In all cases, that decision on placement and transfer must be entered in the Register of Unaccompanied Foreign Minors, stating the autonomous community or city of destination in which the foreign minor will be placed.
5. In the case of the undocumented unaccompanied foreign minor whose minority cannot be established with certainty referred to in paragraph 2, the steps of the age determination file referred to in article 35.3, where applicable, and the other steps required under the applicable rules and the Framework Protocol shall be carried out in the autonomous community or city of destination.
6. In matters not provided for in this article, the Framework Protocol shall apply to the actions to be taken after unaccompanied foreign nationals who are minors beyond doubt, or persons carrying no documents whose minority cannot be established with certainty, have been found. Bodies whose purpose relates wholly or partly to the care of unaccompanied foreign minors, and the persons acting on their behalf or habitually engaged in their activity, shall be obliged to inform the relevant authority when unaccompanied foreign minors are found, so that the procedure in the Framework Protocol can be followed in respect of them.
7. The criteria for applying the Solidarity response plan shall include the measures considered necessary to provide sufficient funding for it.
8. Unaccompanied foreign minors, if their degree of maturity allows, or otherwise their legal representatives, shall be given a certificate of the data concerning them recorded in the Register of Unaccompanied Foreign Minors, including the data on their identity and the autonomous community or city to which they are assigned.
Article 35 quinquies. Criteria for applying the Solidarity response plan for a situation of extraordinary migratory contingency for unaccompanied migrant children and adolescents
1. In the absence of the unanimous agreement of the Sectoral Conference on Children and Adolescents referred to in article 35 bis.1, the criteria for applying the Solidarity response plan shall be adopted within the Sectoral Conference on Children and Adolescents in the exercise of the coordinating functions of the General State Administration, on the terms of article 151.2.a) of Law 40/2015 of 1 October on the Legal Regime of the Public Sector.
The competent bodies of the autonomous communities or cities must take the steps necessary to guarantee care for the unaccompanied foreign minors who are to be placed in their territory, within the time limits laid down by the application criteria approved within the Sectoral Conference on Children and Adolescents, in accordance with the decision referred to in article 35 quater.4.
2. That agreement shall set out the objective criteria for determining the territorial reallocation of unaccompanied foreign minors and the assignment of guardianship and custody to the protection services of the autonomous communities or cities to which they have been redistributed.
3. Once approved, the criteria for applying the Solidarity response plan shall be communicated by the Secretariat of the Sectoral Conference on Children and Adolescents to all the autonomous communities and cities affected, through the heads of the regional ministries (Consejerías) responsible for youth and children, who shall in turn pass them on to the services under their authority, to the other administrations in their territory that may be affected, and to the Public Prosecutor.
4. The regime of guardianship, care (guarda) and foster care of unaccompanied foreign minors shall be governed by civil legislation. Unaccompanied foreign minors who move without authorisation outside the territory of the autonomous community or city responsible for their care or guardianship may, once found, be taken back to its territory by the competent services and, in any event, must be placed at the disposal of the relevant authority.
5. In the Autonomous Community of the Basque Country, the actions to be carried out by the competent bodies of the autonomous communities or cities in implementing the Solidarity response plan and its application criteria may be exercised by the Provincial Councils (Diputaciones Forales) of the Historical Territories, in accordance with the distribution of powers arising from their own applicable rules. For this purpose, they may take part in the Sectoral Conference on Children and Adolescents on the terms laid down by regional legislation.
Where this sits
Previous: Immigration Act: entry, visas, stay and temporary residence. Next: Immigration Act: work authorisations and fees. All translated laws: Spanish laws in English.
Related on voixa.es: The golden visa ended: the residency routes that remain; Spain residency for Moroccan nationals; Which Spanish city for residency and business?.
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.