Custodia Compartida in Spain: How Shared Custody Actually Works (2026)

Custodia compartida, shared custody, is not the default outcome of a Spanish divorce, and it is not automatic even when both parents want it. Art. 92 of the Código Civil sets out exactly when a judge grants it, what has to happen first, and when it is barred outright regardless of what either parent asks for. This page works through that article in order.
Information last verified on 23 July 2026. This page provides general legal information about Spanish law and does not constitute legal advice in an individual case.
The starting point: the child's best interest
Art. 92 CC opens by making clear that separation, nullity and divorce do not release either parent from their obligations toward the children. Whenever a judge has to decide on custody, care or education of minor children, the judge must respect the children's right to be heard and issue a reasoned resolution built around their best interest, not either parent's preference (art. 92.1 and 92.2 CC).
When shared custody is agreed
The simplest route to shared custody is agreement. It follows when both parents request it together in the proposed convenio regulador, or when they reach that agreement during the proceedings themselves (art. 92.5 CC). Before approving any custody arrangement, the judge still has to gather a report from the Ministerio Fiscal, hear children with sufficient judgement where it is deemed necessary, and assess each parent's relationship with the other and with the children (art. 92.6 CC).
When one parent asks alone
Shared custody is not limited to cases where both parents want it. Exceptionally, a judge can order it at the request of just one parent, with a report from the Ministerio Fiscal, grounding the decision in the fact that shared custody is the only way to adequately protect the child's best interest (art. 92.8 CC). This is a narrower path than the agreed one: the judge has to justify why joint custody specifically, not some other arrangement, serves the child.
When shared custody is barred outright
Art. 92.7 CC closes the door regardless of what either parent requests in two situations: when a parent faces a criminal process opened for attempting against the life, physical integrity, liberty, moral integrity or sexual freedom of the other spouse or of children living with both parents, or when the judge, from the parties' allegations and the evidence, finds indicios fundados, well-founded indications, of domestic or gender violence. The same paragraph treats proven mistreatment of animals, or threats of it, used to control or victimize a family member as relevant evidence toward that finding.
Expert opinions and safeguards
Before deciding on custody, the judge, on their own initiative or at the request of a party, the Ministerio Fiscal, the Equipo Tecnico Judicial or the child, can call for a dictamen from qualified specialists on how parental authority and the custody regime should best work to secure the child's best interest (art. 92.9 CC). Whatever custody regime the judge finally orders, the resolution has to include the safeguards needed for it to work in practice, and it has to try not to separate siblings from each other (art. 92.10 CC).
Use of the family home, decided separately
Custody and the family home are two different questions under Spanish law. Absent an agreement approved by the judge, use of the family home and its ordinary household items generally goes to the minor children in common and the parent they live with, until all of them reach adulthood, with an extension possible if a child has a disability that makes continued use of the home advisable (art. 96 CC). Where there are no children, a judge can instead give use of the home to the spouse whose interest most needs protection, for a prudently fixed time (art. 96.2 CC).
What it means in practice
Shared custody in Spain is neither automatic nor impossible without both parents' agreement, but it always runs through a judge who has to reason the decision around the child, gather a Ministerio Fiscal report first, and respect the art. 92.7 bar when it applies. The visitation rights page covers the parallel rules for the parent who does not have custody, and the child support page covers how support is set once custody is decided.
This page is general legal information about Spanish law and does not constitute legal advice in an individual case. The controlling texts are the current versions in the BOE.
Frequently Asked Questions
Can one parent get shared custody without the other's agreement in Spain?
Yes, exceptionally. A judge can order shared custody at the request of just one parent, with a report from the Ministerio Fiscal, when shared custody is the only way to adequately protect the child's best interest (art. 92.8 CC). It is not the default outcome of an unagreed request.
Does a pending criminal case block shared custody in Spain?
It can. Shared custody is barred when a parent faces a criminal process opened for an offense against the life, physical integrity, liberty, moral integrity or sexual freedom of the other spouse or of children living with both parents, regardless of what either parent requests (art. 92.7 CC).
Does the Ministerio Fiscal have to be involved in every custody decision?
Yes. Before deciding on any custody arrangement, the judge must obtain a report from the Ministerio Fiscal, and must hear children with sufficient judgement when it is considered necessary, whether the arrangement is agreed or contested (art. 92.6 CC).
Who keeps the family home under shared custody in Spain?
Use of the family home is decided separately from custody. Absent an agreement, it generally goes to the minor children and the parent they are living with at the time, until all the children reach adulthood, subject to the disability extension in art. 96 CC.
Can evidence of animal cruelty affect a custody decision in Spain?
Yes. Art. 92.7 CC treats proven mistreatment of a pet, or the threat of it, used to control or victimize a spouse or child as relevant evidence toward finding indicios of domestic or gender violence, which bars shared custody.