Home › Guides › Questions › Divorce & residency
Spain — divorce and your residency status
Family & Residency · A Sensitive Question

Divorce and your Spanish residency

If your right to live in Spain was built on your marriage, a separation or divorce can feel as though your home is at risk too. In many cases it need not be. Whether — and how — you keep your residency depends on the type of card you hold and on protections designed exactly for this moment.

Few questions arrive with as much quiet worry as this one: if my marriage ends, do I have to leave Spain? When your legal right to reside was obtained through a spouse — as the family member of an EU citizen, or through the reunification of a foreign resident — a divorce or formal separation can seem to pull the ground out from under you. The reassuring reality is that Spanish and European law anticipate this situation and provide routes for the foreign spouse to retain residency in a range of circumstances. This page explains, in general terms, what happens to spouse-based residency on divorce, the protections that can preserve it, how the two main systems differ, and the tax and matrimonial-property questions that sit alongside the immigration one. It is general information, written with care, and it is not a substitute for advice on your own facts.

Lola Jurado, immigration lawyer

"A divorce rarely has to cost you your home in Spain. The task is to carry your existing residence forward onto a footing of your own — before the dependent card lapses — and to do it calmly, in the right order."

— Lola Jurado · Immigration lawyer, Ilustre Colegio de Abogados de Málaga (nº 10907)

Where your residency actually comes from

The first, and most important, step is to identify exactly which card you hold — because the answer to "can I keep it?" flows almost entirely from that. Spouse-based residency in Spain generally falls into one of two families. The first is the residence card of a family member of a Union citizen, held when your spouse is an EU, EEA or Swiss national (or a Spanish citizen exercising equivalent rights). The second is a residence authorisation obtained through family reunification, held when your sponsoring spouse is a non-EU foreign national lawfully resident in Spain.

These two systems rest on different bodies of law and treat divorce differently, so a document that simply says "residencia" is not enough — the legal category behind it determines your options. If you already hold your own, independent basis to reside (your own work permit, a non-lucrative or digital-nomad authorisation, long-term residence, or nationality), then the end of the marriage may have little or no effect on your right to stay at all.

The EU family-member card on divorce

Where your residency derives from being the spouse of an EU citizen, the governing framework is the European free-movement regime (transposed into Spanish law by Royal Decree 240/2007). Under this regime, divorce or annulment does not automatically end the foreign spouse's right of residence. European law expressly provides that a non-EU spouse may retain a personal right of residence after divorce where certain conditions are met — for example where the marriage had lasted for a meaningful minimum period before proceedings began, where the person has custody of the couple's children, or where particularly difficult circumstances (such as domestic violence during the marriage) are present.

The essential idea is that the right, once retained, becomes the foreign spouse's own right rather than a derived one. In practice this usually means informing the authorities of the change in circumstances and demonstrating that a retention ground applies, so that the card can continue on an independent footing rather than lapse.

A divorce does not, by itself, extinguish an EU family member's residence — European law was drafted precisely so that a spouse is not left stranded by the end of a marriage.

Reunification permits on divorce

Where the sponsoring spouse is a non-EU resident and you were reunited under the general immigration regime (the Immigration Act and its Regulation), the analysis is different. Here the reunited spouse's authorisation is initially dependent on the sponsor, and Spanish law sets out when the reunited family member can obtain an independent residence authorisation in their own name — for instance after a qualifying period of residence, on reaching the labour market, or on the breakdown of the family relationship in defined circumstances.

Divorce or separation is one of the events that can trigger, or accelerate, the move to an independent permit. But because the reunification regime is more conditional than the EU one, timing and documentation matter a great deal: the goal is to convert a dependent status into an autonomous one before the link that justified the original card disappears. This is where early advice tends to make the greatest difference.

The protections that can preserve residency

Across both systems, the law recognises a family of protective grounds. No single factor is decisive on its own, and the exact conditions differ between the EU and reunification regimes, but the recurring themes are:

The practical task is to identify which of these grounds fit your facts and to evidence them properly and in good time. For the wider picture of how a marriage creates residency in the first place, see our note on marriage-based residency in Spain.

Victims of domestic violence — a special protection

Spanish and European law both treat victims of gender-based or domestic violence as a specially protected category, and this is one of the most important safeguards to be aware of. Where a reunited or family-member spouse has been a victim of such violence during the marriage, the law provides routes to obtain or retain residence in the victim's own right — without depending on the abusive spouse, and, in appropriate cases, regardless of how long the marriage lasted.

If safety is a concern: your right to remain in Spain should never be a reason to stay in an unsafe relationship. Specific protections exist for victims of domestic violence, and support and reporting channels in Spain are confidential. If you are in immediate danger, contact the emergency services; the residency questions can be handled carefully and privately once you are safe.

Because these cases are sensitive and evidence-driven, they are best handled discreetly and with proper support. The point to hold onto is simple: being a victim does not weaken your immigration position — the law is designed to protect it.

Timing, continuity and permanent residence

One of the most valuable things a foreign spouse can protect through a divorce is the continuity of lawful residence. Long-term (permanent) residence in Spain is generally reached after a qualifying period of continuous, lawful residence, and every year already accrued under a spouse-based card ordinarily counts toward that total.

The risk on divorce is not that the clock resets by itself, but that a gap opens if the dependent card lapses before an independent status is secured. Continuity is preserved by moving in good time from the derived right to a retained or independent one, so that there is no interruption in lawful residence. This is why the sequence of steps — informing the authorities, documenting a retention ground, and applying for the appropriate independent authorisation — is often more important than any single legal argument.

The years you have already lived in Spain are an asset. The aim through a separation is to carry them forward intact, not to let a lapse quietly erase them.

Continuity toward citizenship

For many long-settled spouses, the ultimate horizon is Spanish nationality. The residence requirement for nationality by residence varies by nationality and circumstance, and — importantly — marriage to a Spanish national can shorten the required period. A divorce can change the basis on which that period is being counted, particularly where the reduced timeframe depended on the marriage itself.

The practical consequence is that a separation should be assessed not only for its immediate effect on the current card, but for what it means for a longer nationality plan already under way. In some cases the sensible course is to preserve continuity through an independent residence route so that the years continue to accumulate, even if the accelerated marriage-based path is no longer available.

The tax angle on separation

Immigration is only one dimension of a separation. There is also a tax dimension that is easy to overlook while emotions and paperwork dominate. Spouses who have been filing jointly in Spain will typically move to individual taxation, and the timing of that change, together with the treatment of any maintenance or compensatory payments between the spouses, can materially affect each person's position.

Payments arising from a separation — spousal maintenance, compensatory pensions, or child support — are not all treated the same way for income-tax purposes, and the treatment can differ for the payer and the recipient. Where one spouse leaves Spain, questions of tax residence, the tax year of departure and any exit consequences also arise. None of this should be assumed; it should be modelled for the specific family. If the same support order will be used for a future non-lucrative visa file, read it through the separate lens of whether alimony counts as sufficient and guaranteed means. The right moment to look at it is alongside the immigration and property questions, not after them.

Matrimonial property and your status

Running in parallel is the division of the couple's assets, which turns on the matrimonial-property regime that governed the marriage — most commonly, in Spain, the community-of-property (gananciales) regime or a separation-of-property regime, though a foreign couple's regime may be governed by another country's law entirely. The regime determines what is shared and what is separate, and therefore how the family home, savings and business interests are divided.

The property division and the immigration question interact more than people expect. Ownership or a right to occupy the family home can be relevant to demonstrating settled residence; the financial settlement can affect the means available to support an independent authorisation; and, for international couples, the very question of which country's law governs the regime can be contested. For a fuller treatment of how these regimes work when a couple has relocated, see our note on matrimonial property regimes when relocating to Spain.

Keep the three threads together: immigration status, tax position and property division are usually handled by different professionals, but for a foreign spouse they are one problem. A decision that looks sensible in isolation — for example on the family home or the tax year of departure — can quietly weaken the residency position. They are best reviewed as a whole.

Practical, unhurried next steps

If you are facing this situation, there is rarely a need to act in a panic, but there is real value in acting in the right order. A calm, well-sequenced review usually covers:

Handled this way, a divorce that first appears to threaten your home in Spain often turns out to be manageable — and in many cases your right to stay can be preserved and placed on a footing of your own. If you would like a confidential, no-obligation assessment of your specific circumstances, you are welcome to get in touch.

Two questions sit outside the residency file entirely. If the divorce was granted in the United States and now has to produce legal effects in Spain, check whether the decree needs Spanish recognition or exequatur rather than just a sworn translation. And if there are children and one parent intends to move them to Spain, the separation order itself usually has to permit it; see moving to Spain with a child in shared custody for what consent or relocation order is needed before departure.

Frequently asked questions

Will I be told to leave Spain the moment I divorce?

No. Divorce does not trigger an automatic removal. Depending on your card and circumstances, you may retain residency or move to an independent authorisation. Each case turns on its own facts and should be assessed individually.

Does it matter whether my spouse is an EU citizen or a non-EU resident?

Yes, considerably. The EU family-member regime and the general reunification regime treat divorce differently, so the type of sponsor determines which rules and protections apply.

I was a victim of domestic violence — does that affect my residency?

There are specific protections for victims of gender-based or domestic violence that can allow you to obtain or keep residence in your own right. Being a victim strengthens, rather than weakens, your immigration protection.

Do my years on a spouse-based card still count toward permanent residence?

Generally yes, provided residence remains lawful and continuous. The key is to avoid a gap by securing an independent status before the dependent card lapses.

General information only, not legal advice. Grounded in the EU free-movement regime (Royal Decree 240/2007) and Spain's Immigration Act and its Regulation. Rules, periods and conditions change and depend heavily on individual circumstances; they must be confirmed for your own case and the current year.

Confidential residency assessment

Worried about your residency after a separation?

Tell us your situation and a Málaga Bar–registered lawyer will reply within 24 hours — in confidence and without obligation.

✓ Thank you. We'll review your situation and reply within 24 hours, in confidence.

Confidential · No obligation · Reply within 24 hours

Understand your position before you decide anything

Book a private, sensitive consultation and we'll review your residency, tax and property questions together.

iMessage WhatsApp