Family law

Moving Cities with a Child in Spain: Relocation and Custody

By the AbogadoAI editorial team · Updated 18 July 2026 · 11 min read

🇪🇸 Read the original in Spanish

Deciding to move to another city is a major life step, but when there are minor children in common following a separation or divorce, this relocation becomes a complex legal challenge. In Spain, a parent's freedom of residence frequently clashes with the best interests of the child and the child's right to maintain a fluid relationship with both parents. If you are planning to move with your child or if your ex-partner has informed you of their intention to relocate, it is essential to understand the Spanish legal framework to avoid committing a child abduction offense or losing custody.

Relocating a minor's residence is not a unilateral decision that the custodial parent can make simply by virtue of having sole guardianship and custody. In the Spanish legal system, this decision directly affects patria potestad (parental authority), which is almost always shared by both parents, regardless of who holds custody.

The Key Distinction: Patria Potestad vs. Guarda y Custodia

To understand the legality of a relocation, it is essential to differentiate between these two legal concepts regulated in the Código Civil (Civil Code):

The Principle of the "Best Interests of the Child"

All case law from the Tribunal Supremo (Supreme Court) and Spanish legislation, reinforced by the Ley Orgánica 1/1996 de Protección Jurídica del Menor (Organic Law on the Legal Protection of Minors), is governed by the constitutional principle of favor filii or the best interests of the child. When faced with a conflict over relocation, the judge will not assess the financial or personal benefit of the parent who wishes to move, but rather how the change affects the child's emotional, educational, and social development, and how the relationship with the parent who stays behind will be guaranteed.

Gender Violence and Urgent Relocations

The Ley Orgánica 1/2004, de 28 de diciembre, de Medidas de Protección Integral contra la Violencia de Género (Organic Law on Integrated Protection Measures against Gender Violence) establishes special rules for these cases. If a mother is a victim of gender violence and the relocation is carried out to guarantee her safety and that of the minors, the Juzgados de Violencia sobre la Mujer (JVM - Courts of Violence Against Women) have exclusive jurisdiction to adopt urgent precautionary measures, and can authorize the relocation immediately and provisionally without the consent of the abuser if a proven risk situation exists.

Practical Step-by-Step Procedures to Move Cities with Your Child

If you have decided to relocate to another Spanish city or abroad with your child, you must follow a strict legal procedure. Acting by presenting the other party with a fait accompli (accomplished facts) can lead to serious criminal consequences.

Step 1: Formal Notification to the Other Parent

You must notify the other parent of your intention to relocate at least 30 days in advance (it is advisable to give 90 days notice if it involves a change of school or comunidad autónoma). This communication must be sent via a method that provides proof of receipt, with a burofax (certified registered mail) with acknowledgment of receipt and text certification being the ideal method. The notification must include:

Step 2: Attempt to Reach an Agreement (Convenio Regulador de Mutuo Acuerdo)

If the other parent agrees to the relocation, a new convenio regulador (regulatory agreement/parenting plan) or a modification of the existing one must be drafted. This document must detail the new visitation schedule (usually concentrated on long weekends, bank holidays, and longer holiday periods to compensate for the distance) and how travel costs will be covered. This agreement must be judicially ratified through a mutual agreement procedure (requiring an abogado [lawyer] and a procurador [court representative]) to be legally valid.

Step 3: Requesting Judicial Authorization (Via Jurisdicción Voluntaria)

If the other parent objects or does not reply within a reasonable timeframe, you must file a lawsuit for jurisdicción voluntaria (voluntary jurisdiction) due to disagreement in the exercise of patria potestad, under *Article 156 of the Código Civil***.

Step 4: Carrying Out the Relocation After the Ruling

You can only complete the empadronamiento (town-hall registration) of the minor and enroll them in the new school once you have the other parent's signed consent on a public/judicial document, or a court order (auto) that expressly authorizes the relocation.

Deadlines, Costs, and Key Figures of the Process

To plan this process safely, it is vital to manage the estimated timelines and financial costs involved in the judicial route in Spain:

Practical Examples and Cost Analysis

Example 1: Relocation Denied Due to Lack of Compelling Justification

Laura has sole custody of her 8-year-old son in Seville. Her ex-partner, Carlos, resides in the same city and enjoys visitation on alternate weekends and two weekday afternoons. Laura decides to move to Madrid (530 kilometers away) because she wants a "change of scenery" and her new partner lives there. She does not have a job offer in Madrid, and her financial situation in Seville is stable.

Laura requests judicial authorization following Carlos's refusal. The judge denies the relocation, arguing that the move uproots the minor from his established school and family environment, and that the distance of 530 kilometers makes Carlos's weekday visitation regime unfeasible, without there being any fuerza mayor (force majeure) cause (such as a substantial and irreplaceable career improvement) to justify such detriment to the minor.

Example 2: Relocation Authorized with Financial and Visitation Restructuring

Martín has custody of his 10-year-old daughter in Zaragoza. His ex-partner, Sofía, has a standard visitation regime. Martín, who is unemployed, receives an offer of employment in Barcelona with an indefinite contract and a monthly salary of €2,100 (in Zaragoza, he was receiving a subsidy of €480). He rents an apartment in Barcelona for €850 per month and presents enrollment details for a school with similar characteristics to the original one.

Faced with Sofía's refusal, Martín resorts to the courts. The judge authorizes the relocation because the financial improvement for the family unit is highly significant and directly benefits the minor. To compensate Sofía, the judge establishes:

Mistakes You Must Avoid

Frequently Asked Questions (FAQ)

Can I move cities if we have joint custody (custodia compartida)?

Under a joint custody regime, it is extremely difficult for a judge to authorize the unilateral relocation of one of the parents if the other objects. Since the minor's life is organized on a 50/50 basis in each home, moving to another city makes it physically impossible to maintain this arrangement. Unless there is a highly justified mutual agreement, the parent who decides to move must give up joint custody and request a visitation regime, or the judge will award sole custody to the parent who remains in the minor's habitual city of residence.

The law does not establish an exact number of kilometers. The key criterion is not the physical distance, but the impact on the minor's routine and the visitation regime. A move of 25 kilometers that prevents the minor from attending their usual school or makes it difficult for the other parent to pick them up in the afternoon may require consent or judicial authorization. On the other hand, a move of 5 kilometers within the same metropolitan area that does not alter the school or visits is usually considered within the ordinary powers of the custodial parent, although communicating the new address is always mandatory.

What happens if I have to move for urgent work reasons and cannot wait for the judge?

If you move before obtaining judicial authorization, you must do so without the minor. The child must remain in their habitual residence with the other parent or with an authorized family member until the court rules. You can request urgent precautionary measures in your lawsuit (Article 158 of the Código Civil) so that the judge issues a provisional ruling within a few days, but you must never take the minor without the backing of a written court order.

Does my child's opinion carry weight in the relocation decision?

Yes, a great deal. In Spain, a minor aged 12 or older has the right to be heard in all proceedings affecting them. Their opinion is not binding (the judge decides seeking their well-being, not doing what the child wants if it harms them), but it is a fundamental element of judgment. The judge and the psychologist from the court's technical team will evaluate whether the minor genuinely wishes to relocate or if they are being influenced by one of the parents.

How does the payment of child support (pensión de alimentos) affect moving cities?

The relocation does not automatically terminate or reduce child support. However, the increase in travel expenses for the non-custodial parent to see their child (train or plane tickets, petrol) is a factor that the judge takes into account. It is common for child support to be proportionally reduced or for the non-custodial parent to be exempted from part of the gastos extraordinarios (extraordinary expenses) to offset the financial cost of traveling to see the minor.

In Summary

General legal information, not personalised legal advice. For your specific situation, ask your question for free at AbogadoAI — answers grounded in Spanish law (BOE), in English.

Have a specific legal question?

Ask AbogadoAI and get an answer based on Spanish law (BOE), with sources — in English.

Ask for free

This is general information, not legal advice. Verify on the BOE or consult a lawyer for your specific case.