Home / Insights / Residency for Moroccan nationals
RD 1155/2024 · Five arraigos · Work routes · Business routes

Spain residency for Moroccan nationals, after the 2025 reform.

On 20 May 2025 Spain replaced the immigration regulation that had governed these routes since 2011. The headline change is arithmetic: the residence period behind the most-used route fell from three years to two. The structural change is that there are now five of them, each with its own gate.

Compare the routes ↗ What changed, and which door is actually yours
In force since
20 May 2025
Royal Decree 1155/2024, replacing the 2011 regulation.
Arraigo period
2 years
Reduced from three. The single most consequential change.
Arraigo types
Five
Social, sociolaboral, familiar, socioformativo, second chance.
The short answer

How can a Moroccan national obtain Spanish residency?

Moroccans are third-country nationals, so every route requires an authorisation. The ordinary ones are employment, self-employment, family reunification and study. Separately, the arraigo routes grant residence on exceptional grounds to people already present in Spain, and since 20 May 2025 the qualifying period for these is two years rather than three.

Royal Decree 1155/2024 came into force on 20 May 2025 and repealed the 2011 regulation in its entirety. It did not simply adjust numbers: it reorganised the exceptional-circumstances authorisations into a coherent set of five, defined each one's requirements more precisely, and brought the qualifying periods into line with each other.

The change that moves the most people
UNDER THE 2011 REGULATION 3 years SINCE 20 MAY 2025 2 years no longer required year 1 year 2 year 3
A full year earlier. For a community as long-established in Spain as the Moroccan one, shortening the qualifying period by a third is the most practically significant thing the reform did.

The five arraigo routes.

These are residence authorisations on exceptional grounds, for people already in Spain. They are not alternatives to each other — each answers a different situation.

Which one describes you
Arraigo social
Established in the communityResidence over the qualifying period, with social ties and the means to support yourself.
Arraigo sociolaboral
With work in handOne or more employment contracts at the minimum wage or the applicable collective agreement, together amounting to at least 20 hours a week.
Arraigo familiar
Through a family tieBased on a relationship with a Spanish national or a resident family member, rather than on elapsed time.
Arraigo socioformativo
Through trainingResidence combined with enrolment in recognised vocational or qualifying training.
Second chance
Recovering lost statusFor those who held residence and lost it within the previous two years. A route that did not exist in this form before.
Not an arraigo
Ordinary work and study routesApplied for from Morocco in the normal case, with an employer, a business plan or an admission letter behind them.
The one people have not heard of

Second chance is aimed at a very specific problem.

Losing residence — through a lapsed renewal, a job ending at the wrong moment, a period abroad — used to mean starting the clock again from zero. The second-chance route exists for people who held authorisation and lost it in the two years before applying, and it recognises that the ties built up during the earlier period did not disappear with the card.

The twenty-hour rule.

The sociolaboral route has the most concrete requirement in the set, and it changed in a way that matters for how people actually work.

What now counts

Several contracts, added together

The requirement is one or more contracts, each paying at least the statutory minimum wage or the applicable collective agreement rate in proportion to hours, whose combined total is a working week of no less than twenty hours. Part-time and multi-employer patterns qualify.

What still fails

Below-scale pay, however many hours

Each contract must meet the minimum wage or the collective agreement rate for its sector, pro-rated. Hours at an under-scale rate do not aggregate into a qualifying total, and an informal arrangement is not a contract.

Where you are decides which door exists.

This is the division that matters before any other. The arraigo routes presuppose presence in Spain; the ordinary routes are applied for from Morocco. Choosing from the wrong column is the most common wasted effort in the whole process.

Two columns, and you are only in one of them
ALREADY IN SPAIN Exceptional circumstances Arraigo social Arraigo sociolaboral Arraigo familiar Arraigo socioformativo Second chance Qualifying period: 2 years APPLYING FROM MOROCCO Ordinary authorisations Employment, with a sponsor Self-employment Family reunification Study Digital nomad, non-lucrative Investor route: abolished 3 Apr 2025
No crossing over. An arraigo cannot be applied for from Morocco, and the ordinary routes are not a shortcut for someone already here without status. The second-chance arraigo is the one bridge, and only for people who held an authorisation within the last two years.
RouteWhat it needsWork permitted
EmploymentA Spanish employer willing to sponsor the authorisationYes, as an employee
Self-employmentA business plan with demonstrated viability, funds, and a sectoral reportYes, in the stated activity and region
Family reunificationA sponsoring relative already legally resident, with housing and meansDepends on the sponsor's status
StudyAdmission to a recognised institution, means, insuranceLimited, within defined conditions
Digital nomadRemote work for companies outside Spain, above the income thresholdFor foreign employers or clients only
Non-lucrativeSufficient passive income and insuranceNo economic activity in Spain
Investor residenceAbolishedEnded 3 April 2025
Worth stating plainly

Buying property no longer leads to residency.

The investor route — the golden visa — was abolished with effect from 3 April 2025. A property purchase at any value confers no right of residence in Spain. Permits granted before that date remain valid for their term. Anyone still being offered Spanish residency in exchange for a purchase is being offered something that was repealed.

The self-employment route, in more detail.

For Moroccan entrepreneurs this is usually the relevant door, and it is the one with the most preparation behind it.

What the file has to establish
Identity
Passport and criminal record certificatesFrom Morocco and from every country of residence in the last five years, legalised and officially translated.
The project
A business plan that can be assessedA defined activity, investment that matches it, and revenue that plausibly supports one person. This is what applications are refused on.
Capacity
Funds, qualifications and licencesMoney that is genuinely yours and available, recognised qualifications where the profession is regulated, and any operating licence the activity needs.
Result
One year, one region, one sectorThe first authorisation is limited to the autonomous community and the activity in your project. Renewal lifts those limits.

Residence is not the same as tax residence.

The two are decided under different laws by different authorities, and holding one says nothing about the other.

Immigration

May you be here, and may you work

Decided by the immigration authorities under the regulation. Governs your right to reside, to work, and on what terms.

Tax

Which country taxes your worldwide income

Decided by the tax authority on presence of more than 183 days, centre of economic interests, or family presumption. A permit holder can be non-resident for tax, and a person with no permit can be tax resident.

Where both Spain and Morocco claim you as resident, the 1978 convention resolves it in a fixed sequence: permanent home, then centre of vital interests, then habitual abode, then nationality. It only engages if both countries actually claim you — leaving one without establishing residence elsewhere gives you nothing to invoke.

Where we help

The business side of the business route.

We are not immigration lawyers, and for an arraigo file you want one. Where the route runs through a company or self-employment, we handle what sits underneath it: the plan, the entity, the tax registration and the ongoing compliance the renewal will be measured against.

Book a consultation ↗
Terms you will meet
Arraigo
Rootedness. Temporary residence granted on exceptional grounds to a person already in Spain.
RD 1155/2024
The immigration regulation in force from 20 May 2025, replacing RD 557/2011.
Cuenta propia
Self-employment. Also the name of the residence and work authorisation for it.
Cuenta ajena
Employment by another. A different authorisation, sponsored by an employer.
SMI
Salario Minimo Interprofesional, the statutory minimum wage. The floor for a qualifying contract.
Convenio colectivo
The sector collective agreement, which often sets a wage above the statutory minimum.
Reagrupacion familiar
Family reunification, sponsored by a legally resident relative.
TIE
The physical foreigner identity card issued once an authorisation is granted.
NIE
The identification number. Required for almost everything, and separate from any permit.
Frequently asked
What changed for Moroccan nationals in 2025?
Royal Decree 1155/2024 came into force on 20 May 2025, replacing the regulation that had applied since 2011. It reorganised the arraigo authorisations into five defined types, set out their requirements more precisely, and reduced the qualifying residence period from three years to two. The ordinary employment, self-employment, family and study routes continue, with changes to documentation and procedure.
How long do I need to have been in Spain for arraigo?
Two years under the current regulation, reduced from three. The family route works differently, resting on the relationship rather than on elapsed time, and the second-chance route is for people who held an authorisation and lost it within the previous two years. Requirements beyond the period differ by type, so the qualifying time is necessary rather than sufficient.
What are the five types of arraigo?
Social, based on established ties and means of support; sociolaboral, based on employment contracts; familiar, based on a family relationship; socioformativo, based on enrolment in recognised training; and second chance, for those who lost a previous authorisation within the last two years. Each has its own conditions, and they are not interchangeable.
How many hours of work does the sociolaboral route need?
One or more contracts amounting together to a working week of no less than twenty hours, with each contract paying at least the statutory minimum wage or the applicable collective agreement rate, in proportion to the hours worked. Multiple part-time contracts can be combined, which reflects how a great deal of work is actually organised.
Can I get Spanish residency by buying property?
No. The investor residence route was abolished with effect from 3 April 2025, and a property purchase confers no residence right at any value. Permits granted before that date remain valid for their term and can be renewed under the original rules. The routes that remain all require either work, family, study, or living on income generated outside Spain.
Can a Moroccan national use the digital nomad route?
Yes in principle — it is available to third-country nationals, which includes Moroccans, and unavailable to EU citizens. It requires remote work for companies established outside Spain, evidence of the relationship over a minimum period, and income above a threshold set as a multiple of the minimum wage, so the figure moves when the minimum wage does. Spanish-source income is restricted.
Does a residence permit make me a Spanish tax resident?
No. They are separate questions under separate laws. Tax residence turns on spending more than 183 days in Spain in a calendar year, on having your centre of economic interests here, or on a family presumption. A permit holder may be non-resident for tax, and someone without a permit may nonetheless be tax resident. Where both Spain and Morocco claim you, the 1978 convention breaks the tie.
What happens if I lose my residence status?
The second-chance arraigo exists for exactly this. It is available to people who held an authorisation and lost it within the two years before applying, and it recognises that ties built up over the earlier period survive the lapse of the card. Acting within that two-year window matters, because the route is defined by it.
Do I need a NIE before any of this?
The NIE is the identification number Spain assigns to foreign nationals, and it is required for essentially any financial or legal act here — a contract, a bank account, a company, a tax return. It is not a permit and grants no right to reside or work. For most of these routes the number is assigned as part of the process; where it is needed independently, it is applied for separately.
Reflects Royal Decree 1155/2024, in force from 20 May 2025, which repealed Royal Decree 557/2011, and the abolition of the investor residence route with effect from 3 April 2025. Immigration requirements are applied with meaningful variation between offices and provinces, and reference amounts are updated annually. This is general information about how the routes are structured and is not legal advice on an individual case — immigration files turn on personal circumstances and should be prepared with a specialist.

Five doors, one of them yours. Find out which.

Book a consultation ↗
20 minutes · No commitment · Straight answers
About the author
AB

Alexander Baranov

Founder, Voixa Consultors · International corporate structuring since 2008

Seventeen years designing and delivering cross-border corporate structures — incorporation, tax, holding, banking and market entry — for founders and companies expanding into Spain and the EU. Author of professional books on entering the Spanish market.

More about Voixa and the team ↗
Market Entry to Spain book cover
Book · Kindle
Market Entry to Spain Strategy, corporate structure, tax and growth — the long-form treatment of the decisions covered here.
Read on Amazon ↗