Family law

Divorce with Children in Spain: Key Steps and Decisions

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

🇪🇸 Read the original in Spanish

Going through a marital breakdown is always an emotionally complex process, but when there are minor children in common, the situation takes on a legal dimension of maximum priority within the Spanish legal system. The main objective of the legislation is not to resolve the differences between the couple, but rather to safeguard the so-called favor filii (the principle of the best interests of the child), guaranteeing their emotional, educational, and financial stability. In this detailed guide, we will analyze the steps, deadlines, costs, and key decisions required to navigate a divorce with children in Spain with full legal guarantees.

Family law in Spain places children at the center of any marital dissolution process. The reference regulatory framework is mainly established in the Código Civil (Civil Code), which was substantially modified in this area by Ley 15/2005, de 8 de julio (Law 15/2005 of July 8), regulating parent-child relationships, parental authority, and custody. Furthermore, Ley Orgánica 1/2004, de 28 de diciembre, de Medidas de Protección Integral contra la Violencia de Género (Organic Law 1/2004 of December 28 on Integrated Protection Measures against Gender Violence) sets strict limits and prohibitions on awarding custody or visitation rights in cases of domestic violence.

Unlike a divorce without children, or with adult children, where the parties can go directly to a Notario (Notary Public) to formalize an uncontested divorce (divorcio exprés notarial), when there are minor children or children with judicially modified capacity, the judicial route is mandatory. Article 749 of the Ley de Enjuiciamiento Civil (Civil Procedure Act) imposes the mandatory intervention of the **Ministerio Fiscal (Public Prosecutor's Office)**, which acts as the guarantor and defender of the minors' rights throughout the entire process.

Key Decisions: Custody, Parental Authority, and Use of the Family Home

Before starting the procedures, it is essential to distinguish the legal concepts that will structure the minors' lives after the breakup.

1. Patria potestad vs. Guarda y custodia

This is the most common point of confusion among spouses:

2. Allocation of the Use of the Family Home

The destination of the family home is governed by Article 96 of the Código Civil. As a general rule, the use of the home is attributed to the minor children and the parent with whom they remain (in the case of sole custody). In cases of shared custody, the judge will weigh up which parent has a lower purchasing power or greater difficulty accessing another home, or may agree on alternate use (the so-called "nest home" or casa nido model, although the latter is rarely recommended by case law due to the conflict it usually generates).

Practical Steps: Step-by-Step

The divorce process with children in Spain varies substantially depending on whether it is carried out by mutual agreement (vía de mutuo acuerdo) or through contested proceedings (vía contenciosa). Below are the steps for both scenarios.

This procedure is faster, cheaper, and causes less emotional wear and tear for the minors.

  1. Choosing Professionals: Both spouses can share the same abogado (lawyer) and the same procurador (court procurator), which cuts the costs in half.
  2. Drafting the Convenio Regulador: This is the key document where the parents agree on the measures that will govern after the divorce: type of custody, visitation schedule, child support (pensión de alimentos), use of the home, and the liquidation of the matrimonial property regime (if applicable).
  3. Filing the Lawsuit: The mutual agreement divorce petition is filed before the Juzgados de Primera Instancia (Familia) (Courts of First Instance / Family Courts) of the family home, accompanied by the Convenio Regulador (Regulatory Agreement), the children's birth certificates, and the marriage certificate.
  4. Judicial Ratification: The spouses appear in court in person to ratify (sign) the submitted agreement.
  5. Report from the Ministerio Fiscal: The Prosecutor analyzes the agreement. If they consider that any clause harms the minors (for example, insufficient child support), they will challenge it.
  6. Judicial Ruling: If the Prosecutor approves, the Judge issues a divorce decree (sentencia de divorcio) validating the Convenio Regulador and officially registering the divorce in the Registro Civil (Civil Registry).

Option B: Contested Divorce (Without Agreement)

If negotiations fail, one of the spouses must sue the other.

  1. Filing the Contested Lawsuit: One parent files the lawsuit unilaterally through their lawyer and procurador (here, each party must have their own). The requested measures must be proposed and evidence must be provided (pay slips, children's expenses, psychological reports if applicable).
  2. Answering the Lawsuit: The defendant spouse has a period of 20 business days to answer the lawsuit and state their claims.
  3. Provisional Measures (Optional but Common): Because the trial can take months, a quick hearing can be requested so that the judge can set provisional measures (medidas provisionales), such as temporary custody or provisional child support, to regulate the situation until the final ruling is issued.
  4. The Trial Hearing: Both parties attend with their lawyers. Evidence is presented (interrogations, witness testimonies, documentary evidence).
  5. *Hearing of the Minor (Exploración del menor): In compliance with the Código Civil, children over 12 years of age (or younger if they have sufficient maturity) will be heard privately by the Judge and the Ministerio Fiscal* to hear their opinion on custody and visitation, without their testimony being binding but highly influential.
  6. *Judicial Psychosocial Team (Gabinete Psicosocial Judicial):* In cases of serious discrepancy over custody, psychologists and social workers attached to the court will evaluate the parents and children, issuing a key expert report for the Judge's decision.
  7. Final Judgment: The Judge issues a ruling establishing the definitive measures. This ruling can be appealed before the Audiencia Provincial (Provincial Court).

Deadlines, Costs, and Key Figures in Spain

To properly plan the process, it is vital to know the real timeframes and financial figures of the Spanish judicial system:

Practical Examples of Financial Calculation and Allocation

To understand how these rules translate into financial reality, we analyze two common divorce scenarios with children in Spain.

Example 1: Sole Custody and Child Support Calculation

Example 2: Shared Custody and Imbalance Compensation

Errors You Must Avoid

Making mistakes during the negotiation or processing phase of a divorce can have legal and financial consequences that drag on for years. Pay special attention to these points:

Frequently Asked Questions (FAQ)

Can a foreigner residing in Spain process their divorce here?

Yes. Spanish courts have jurisdiction to process a divorce as long as the last matrimonial home was in Spain, or if the plaintiff or defendant habitually resides in Spanish territory (in accordance with EU Regulation 2019/1111). Spanish law will apply to measures relating to minor children residing in Spain.

At what age can children decide who they want to live with?

Legally, children do not "decide" absolutely until they reach the age of majority (18 years old). However, from the age of 12, the law requires that they be heard by the Judge (exploración del menor). Their opinion and emotional inclination are highly considered by the court, provided they demonstrate maturity and no manipulation or parental alienation by either parent is detected.

What happens if a parent wants to move to another city or country with the children?

A change of residence of a minor that affects the custody or visitation regime is a decision of patria potestad. It strictly requires the written consent of the other parent or, failing that, prior judicial authorization (Article 156 of the Código Civil). Moving the minor without meeting this requirement can constitute the crime of international child abduction.

Can child support or custody be modified in the future?

Yes. The measures dictated in a divorce decree are not set in stone. A Modification of Measures (Modificación de Medidas) can be requested (via Article 91 of the Código Civil) provided that a "substantial change in circumstances" that existed when the first resolution was issued is proven (for example, long-term job loss, a notable increase in the minor's needs due to health reasons, or a change in work schedules that allows moving from sole to shared custody).

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.