Editorial transparency and use of artificial intelligence
This article forms part of the CostaLuz Lawyers blog and is published for general informational and educational purposes only. It was prepared with the assistance of artificial intelligence tools and, before publication, was substantively reviewed and editorially approved by Maria de Castro, a Spanish-qualified lawyer registered with the Cádiz Bar Association under number 2745, founder of CostaLuz Lawyers and the person responsible for the editorial review of the published content.
This article does not constitute legal, tax, immigration, employment, estate-planning or investment advice and does not replace an individual assessment and the professional work of the appropriate CostaLuz Lawyers specialist. No action or omission should be based solely on this information.
If you’re living or working in Spain without the correct permit, you may be interested in legalizing your situation in Spain. In this article, we look at how to change your status from illegal to legal. And the good news is that, with the right paperwork and legal assistance, it is easy to do.
Did you know? This guide only applies to non-EEA nationals. Find out about how to legalise your situation in Spain if you’re from the EEA.
Types of Legalization
In order to legalise your situation in Spain, you need to prove that your situation has its roots in one of the following:
Work roots – if you have been in Spain for at least two years and either hold employment contracts totalling at least 20 hours a week, or can prove a completed employment relationship through a labour inspection report, conciliation record or court ruling. This is known as arraigo sociolaboral, the route that replaced arraigo laboral under Royal Decree 1155/2024 on 20 May 2025.
Social roots – if you have been in Spain for at least two years, have sufficient economic means measured against the IPREM, and can prove family ties with other foreign residents or integration into Spanish society evidenced by a council report. This is known as arraigo social. Since Royal Decree 1155/2024 it no longer requires an employment contract, and the period fell from three years to two.
Family roots – if either of your parents is/was Spanish or if you have a child with Spanish nationality. This is known as arraigo familiar in Spanish.
Did you know? Social roots are the most common reason for legalizing your situation in Spain.

General Paperwork
Whatever your reason for legalizing your residency status in Spain, you will need the following documents:
- Your passport (original and copy).
- Completed form EX10 – you can download it here.
- Proof of residency in Spain with a certificate of local registration (certificado de empadronamiento). If you are not registered with the council where you live, you can prove that you have been in Spain using records of bank transactions, medical appointments etc.
- Proof of no criminal record both in Spain and any other countries you lived in before arriving in Spain. The records must go back at least five years.
The other paperwork involved is specific to each case.
Paperwork For Legalizing Your Situation In Spain With Employment Roots
This legalization process is the least common, mainly because if you don’t have an employment contract, you need to prove that you are illegally employed.
This step understandably dissuades many illegal immigrants because of possible repercussions from their employer.
However, Spanish law protects the illegally employed and reporting your employer to the authorities in Spain should have no effects on you.
To legalise your situation you need:
- Proof of residence in Spain for at least two years.
- An employment contract for at last six months or proof that you have been illegally employed for at least six months.
Did you know? You can avoid the problems of living illegally in Spain by applying for the correct visa before you come. Read our guide to long-stay visas in Spain.
Paperwork For Legalizing Your Situation In Spain With Social Roots
This has the longest list of required documents, but they’re also among the easiest to obtain. They include:
- Proof of residence in Spain for at least two years.
- An employment contract for at least one year, signed by you and your employer. If you work in agriculture, you can present two different contracts, each for at least six months and with subsequent dates (i.e. one after the other). Or if you work part-time for more than one employer, you may present several contracts, each for at least one year and with a total minimum working week of 30 hours.
- Proof of family ties with a Spanish resident. In this case, family means spouse, parent or child. OR
- Proof of integration into Spanish society. This includes the length of time you have been living in your present home, your efforts to fit in with local society and your economic means.
Did you know? You can obtain Spanish residency on the grounds of sufficient economic means. However, if you choose this option to legalise your situation, you cannot work in Spain.
Paperwork For Legalizing Your Situation In Spain With Family Roots
If you choose this reason, you don’t have to prove that you have spent a minimum time in Spain or that you have an employment contract. You can legalise your situation if you:
Are the child of a Spaniard – in which case, you need to provide proof of one parent’s nationality.
Have a child under 18 with Spanish nationality – you must provide the birth certificate. If you are living with the other parent, proof of local registration (certificado de empadronmiento) or if you are divorced, proof that you are up-to-date with alimony obligations.

How Long Is The Resident Permit Valid For?
Once you apply to legalise your situation and receive your residence permit, it is valid for a year.
Modifications to the regulations legalising your situation in Spain made in August 2022
Note: the 2022 reform described below has itself been superseded. The Immigration Regulation approved by Royal Decree 1155/2024 came into force on 20 May 2025 and repealed Real Decreto 557/2011 in full; the section is kept for historical reference. The following changes came into force on 16 August 2022, after the July 2022 reform of the Inmigration Act (ROYAL DECREE 629/2022, amending the Regulations of Organic Law 4/2000), on the rights and freedoms of foreigners in Spain and their social integration.
Employment ties
While the requirements remain unchanged, there are changes to how you can prove that you have worked for the last two years. You may present any proof that shows you were employed for at least 30 hours a week for 6 months or 15 hours a week for 12 months, or were self-employed on a continuous basis for at least 6 months.
Family ties
Third-country nationals with the following ties with a Spanish national now qualify for a 5-year work permit as an employee or self-employed:
- Spouse or partner.
- Ascendants over 65 or dependent relatives under 65.
- Descendants under 21 or dependent relatives over 21.
Occupational training ties
The latest changes in long-term visas for residency in Spain also contemplate ties with Spain through occupational training. A 12-month residence permit is now available for foreigners who have lived in Spain for at least the previous two years if they commit to professional training for employment.
Did you know? As with all Spanish paperwork, legalising your situation in Spain is much easier if you use the services of an expert. They will also ensure you get the procedure right the first time, saving you time and stress.
Get in touch with our legal team now for a free consultation on your situation.
Related Citizenship & Nationality Guides
- Spanish Citizenship — Complete Guide to All Routes (2026)
- Dual Nationality Spain — Can You Hold Two Passports? (2026)
- Citizenship After the 2025 Deadline — Routes Still Available
- Citizenship for a Baby Born in Spain
- Can You Be British and Spanish at the Same Time?
- Cuban Families — Spanish Nationality via Democratic Memory Law
Legal Notice: The content on this page is provided for general informational and educational purposes only. It does not constitute legal advice and should not be relied upon as such. No action should be taken based solely on this content without first seeking independent professional legal counsel. Each case requires individual assessment based on its specific circumstances. CostaLuz Lawyers accepts no liability for actions taken or not taken based on this content.
Need legal help in Spain?
Our bilingual lawyers help foreign residents with property, tax, inheritance and residency. Bilingual help across southern Spain since 2006.

I deceided that I will maigrants myself Belgium to Spain. I jave no legal way to go in Spain. If I Illegaly reach in Spain and managed a job contract is it possible to obtain a legal paper in Spain. How long I have to continue this job contract. After How many days I will get paper of residence.
Dear Dew:
Migrating to Spain illegally and then obtaining a job does not automatically lead to legal residency. Spain has strict immigration laws, and regularization opportunities, like arraigo social, require specific criteria, including proving continuous residence for usually three years. Illegal entry or stay can result in deportation and entry bans. It’s crucial to pursue legal migration pathways, such as obtaining the appropriate visa.
Hope the above helps.
Maria
Thanks so much for the information, I have learned a lot. Am a immigrant in Spain now in my three months.
Thanks
I am Derek Okottah. Hello, Maria.
I moved to Malta to pursue my education, and on May 24, 2024, I will graduate.
I would like to visit and stay in Spain. What documents will I need to register my stay for the full three years, and will I be able to apply for Arraigo Social after that time?
Ghanaian by nationality, I live as a student in Malta with student residence which expires in July 5th 2024 after my graduation.
Thank you
Dear Okottah:
To stay in Spain for three years, you’ll need a visa that matches your purpose, like a student or work visa, followed by registration with local Spanish authorities to obtain a residence permit. After legally living in Spain for three continuous years, you may apply for Arraigo Social, provided you meet all other requirements, including demonstrating social ties and economic activity.
Hope the above helps. Please let us know if you have further questions
Best,
María
Hello my name is bikram acharya.
currently i am In greece in study visa.
My visa will expires in coming october.
Will it be possible to move spain and starting a paperwork in spain for Trc?
Hello Bikram Acharya,
Yes, you can move to Spain and apply for a TIE (Tarjeta de Identidad de Extranjero) after your study visa in Greece expires. You’ll need to apply for a suitable visa, such as a student visa transfer, non-lucrative visa, or work visa, at the Spanish consulate in Greece. Once in Spain, you must apply for your TIE within 30 days. Ensure you have all necessary documents, including proof of financial means, health insurance, and accommodation. For assistance, consult with an immigration expert to streamline the process.
Hope this helps. We will be very pleased to assist you with this
Best,
Maria
What recent changes have been made to the regulations for legalizing your situation in Spain, particularly concerning family ties?
Greeting : Ensiklopedia
You can add answers to your questions in this link:
https://www.costaluzlawyers.com/insights/major-immigration-reform-in-spain-what-changes-in-may-2025/