Child custody in Morocco: a complete guide on Hadana, visitation rights and withdrawal of custody rights 

Child custody in Morocco, legally called And nowoccupies a central place in the Family Code. It is not limited to the simple residence of the child with one of the parents; it aims above all at the child's protection, education, moral and physical security, as well as the safeguarding of their long-term interests. 

Dans les cas de séparation ou de divorce, la question de la garde devient souvent le point le plus sensible du conflit familial, car elle touche à l’affectif, à l’autorité parentale, au logement, à la pension alimentaire et au droit de visite. Le Family Code encadre donc ce domaine avec précision, en faisant de l’intérêt supérieur de l’enfant la règle d’or, au‑delà des rivalités entre adultes. 

Cet article présente : le cadre légal de la Hadana, l’ordre de priorité entre les membres de la famille, les conditions requises pour exercer la garde, les effets du remariage de la mère, les cas de retrait du droit de garde, les règles du droit de visite du père divorcé, ainsi que le lien entre garde, logement et pension alimentaire. 

 The legal framework of Hadana 

The Family Code defines Hadana as the obligation to protect the child from all harm, to educate him/her and to safeguard his/her interestsThe text specifies that the guardian must, as far as possible, take all necessary measures for the physical and moral safety of the child, particularly in the absence of the legal representative or when the child's interests are likely to be compromised. 

Tant que le mariage subsiste, la garde incombe conjointement au père et à la mère. Si aucun des titulaires potentiels n’accepte la garde, ou si celui qui l’accepte ne remplit pas les conditions légales, les parties intéressées ou le ministère public saisissent le tribunal, qui désigne la personne la plus apte parmi les proches ; à défaut, il peut choisir une tierce personne ou une institution habilitée. 

 Legal definition and purpose of custody 

En Moroccan law, la garde n’est pas un privilège parental mais une mission de protection. Le texte associe la Hadana à l’éducation, à la sécurité, à la protection morale et aux intérêts de l’enfant, plutôt qu’à une simple prérogative du père ou de la mère. Cette logique explique pourquoi le juge ne se limite pas à une lecture formelle des liens familiaux : même lorsqu’un parent est théoriquement prioritaire, le tribunal évalue concrètement son aptitude à assurer la garde dans l’intérêt de l’enfant. 

 The primacy of the best interests of the child 

The Family Code repeatedly reminds us that all decisions relating to custody, the choice of guardian, the revision of visitation rights, or the reconsideration of the allocation of assets must be made in the best interests of the childFrom the age of fifteen, a child can choose between his father and his mother, provided that this choice remains in his interest and, where applicable, that it is validated by the judge. 

The juge peut également adapter les modalités de la garde et de la visite lorsqu’apparaissent de nouvelles circonstances. Ainsi, la garde n’est jamais figée : elle demeure soumise à un contrôle judiciaire constamment orienté vers la protection concrète du mineur. 

 The order of priority for childcare in Morocco  

The Family Code establishes a clear order of priority : 

  1. The mother
  2. The father
  3. The great‑mkindergarten

Failing that, the court awards custody to the closest relative deemed most suitable, always acting in the best interests of the child. This legal hierarchy is not absolute; the judge may intervene if the child's best interests warrant a different solution. 

Read also
Furnished residential leases in Morocco: A complete guide to leases of less than one month in 2026

 Why is the mother-is it a priority ? 

The law places the mother at the forefront of the child custody order for reasons of emotional, educational, and material continuity, especially when it concerns a young child who needs sustained daily presence. This priority is not, however, absolute: if the mother does not meet the required conditions, if a change in circumstances is detrimental to the child's best interests, or if a legal ground for termination of custody arises, custody can be transferred to the next person in the order of priority. 

 The role of the father in the Hadana hierarchy 

The father occupies the second position, but his role goes beyond the mere possibility of assuming custody: he remains, in principle, the responsible for the child's careThis includes housing, even when custody is granted to the mother. The Code also distinguishes between custody and legal representation; the father remains the legal guardian until he is removed from this role by court order. 

 The place of the grand‑mmaternal and other relatives 

After the parents, the maternal grandmother is expressly mentioned as the third priority beneficiary. If no direct relative can properly exercise the Hadana, the judge first seeks a solution within the immediate family circle before considering a third party or an institution. 

 Conditions required to exercise Hadana's right 

The Family Code sets out several requirements: 

  • Legal majority for people other than parents.
  • Rectitude and honesty : the guard must be morally upright.
  • Educational capacity : ability to raise the child, to oversee their schooling and development.
  • Protection capacity : to guarantee physical and moral safety.
  • Decent living conditions : decent housing, satisfaction of basic material and moral needs.
  • Sufficient stability so as not to compromise the child's best interests.

The text also stipulates that the remarriage of the guardian does not, in itself, constitute grounds for termination of custody, except in certain specific circumstances. In the event of a change in circumstances likely to be detrimental to the child, the guardian may be terminated, with custody then being transferred to the next person in the order of priority. 

The court may call upon a social worker to draw up a detailed report on the caretaker's accommodation and the child's living conditions, thus confirming that the decision is also based on practical and concrete elements. 

 The visitation and overnight rights of the non-custodial parent 

Le parent qui n’a pas la garde conserve un droit de visite et de réceptionThe Code explicitly recognizes this right for both the father and the mother, showing that separation does not break the parental bond. 

 Procedure for setting visiting hours 

When the parents reach an agreement, it is presented to the court, which incorporates it into the custody order. If no agreement is reached, the judge determines the times, locations, and duration of visits, taking care to prevent any fraudulent activity. The decision is subject to appeal, allowing for adjustments to an arrangement deemed unsuitable. 

 Father's visitation rights in case of divorce 

Le père qui ne détient pas la garde a le droit de rendre visite à l’enfant et de le recevoir, selon les modalités convenues ou fixées judiciairement. Cette droite demeure distincte de la garde ; il n’est pas annulé par le fait que la mère soit gardiennée, et il n’efface pas l’obligation du père d’assurer l’entretien et le logement de l’enfant. 

 Penalties for obstructing visitation rights 

If the guardian in bad faith prevents the exercise of visitation rights, the court may review the arrangement, or even order the termination of custody rights when the breach seriously harms the child's interests. 

Read also
Amicable divorce in Morocco: Procedures, deadlines and necessary documents (2026 Guide)

 Impact of the mother's remarriage on the Hadana 

The mother's remarriage does not automatically result in the loss of custody. The Code provides several exceptions : 

  • The child is under seven years old or separation from the mother would cause harm to the child.
  • The child has an illness or disability that makes it difficult for another person to care for them.
  • The new spouse is already a parent of the child or their legal representative.
  • The mother is herself the legal representative of the

The child's age therefore plays a decisive role: the threshold of seven years is explicitly mentioned for exceptions. From the age of fifteen, the child can choose their custodial parent, subject to the judge's supervision. 

In the event of remarriage, the father remains obligated to pay child support, but he is exempt from the child's housing costs, which remain the responsibility of the mother. 

 When can—to lose or request the withdrawal of custody rights ? 

 

The withdrawal of custody rights may be requested when the legal conditions are no longer met or when a new fact compromises the child's interestsThe Code provides for forfeiture in the event of a change likely to harm the child. 

 Negligence and not- Respect for duties educational 

The guardian must ensure the child's religious, physical, and moral protection, as well as their education. Serious neglect, educational indifference, or a proven inability to protect the child may justify legal action. 

 Change of residence 

Moving within Morocco does not automatically result in the loss of parental rights, but the court examines whether the new distance compromises the child's schooling, ties with the other parent, or well-being. 

 Gross misconduct and fraudulent maneuvers 

Conduct that is detrimental to the morals, safety, or best interests of the child may be grounds for a request to terminate custody. Fraudulent maneuvers in the exercise of visitation rights are explicitly provided for as grounds for severe sanctions, which may include the loss of custody. 

 Child support and its link to custody 

Child support and custody are related but legally distinctThe Code specifies: 

  • The pension covers food, clothing, medical care, education and basic needs.
  • Providing accommodation for the child in care constitutes a separate obligation, borne by the father, even if he does not have custody.
  • The remuneration for the guard may be separate, depending on the circumstances.

The father must provide for his children until they reach the age of majority, or until they are twenty-five if they are pursuing higher education. Special rules apply to daughters, children with disabilities, or children unable to support themselves. In the event of the father's partial or total incapacity, the mother, if she is able, must contribute to the child support in proportion to the father's incapacity. 

 Legal proceedings to obtain or modify custody 

The family court is the central body that rules on: 

  • The person in charge of custody.
  • The organization of visitation rights.
  • Financial obligations (alimony, housing costs, etc.).

The public prosecutor's office intervenes as a principal party in all actions aimed at applying the provisions of the Code, thereby reinforcing the protective dimension of family litigation. 

 Actors in custody disputes 

 

  • Juge des affaires familiales – organizes the guard and the visit.
  • Public Prosecutor's Office – ensures the application of the Code and can be contacted in the event of harm to the child.
  • Social worker – provides a report on the caretaker's accommodation and living conditions.
  • Legal representative – influences certain decisions relating to the child (guardianship, authorizations).

The Code clearly distinguishes custody from legal representation: the father remains the legal guardian until he has been deprived of it, while the mother can exercise guardianship in specific cases (death, absence or incapacity of the father). 

Read also
A complete guide to divorce for Moroccans residing abroad (MRE)

 Conclusion 

Child custody in Morocco is based on a clear principle enshrined in the Family Code: protecting the child above all else, guaranteeing their educational and emotional well-being, organizing the rights and responsibilities of each parent, and allowing the judge to intervene whenever the child's best interests require it. Therefore, Hadana is neither a personal advantage nor a reward granted to a parent, but a responsibility governed by strict conditions, concrete obligations, and ongoing judicial oversight. 

To explore this topic further from a broader family law perspective, consult the pillar page Family Law in Morocco

Chaque situation de divorce ou de conflit parental présente des particularités de fait et de preuve. En cas de litige sur la garde des enfants, le retrait du droit de garde, la garde après remariage de la mère ou le droit de visite du père divorcé, la consultation d’un lawyer specializing in family law reste indispensable. Si cet article vous a été utile, partagez‑le autour de vous.

 FAQ 

Can- Visitation rights are refused if child support is not'it's not paidee ? 

No. The right of visitation and the obligation of maintenance are two separate systems; non-payment of alimony does not eliminate the right of visitation. 

At what age can the child- he chooses his custodial parent ? 

At the age of fifteen, the child can express their preference between the father and the mother, under the supervision of the judge who ensures that this choice respects their best interests. 

The mother losesDoes she automatically keep it if she remarries? ? 

No. Remarriage only results in forfeiture in certain circumstances: child under seven years of age, risk of harm, presence of a disability, etc. 

The father must- he pay for the accommodation of the'child m'ême s'il n'doesn't have custody ? 

Yes. Housing costs are separate from child support and remain the responsibility of the father, unless otherwise decided by the court. 

A move by the mother- he loses custody ? 

Not automatically. The court examines the impact of the move on the child's best interests (distance, schooling, relationship with the other parent). 

Who can request the withdrawal of custody rights in Morocco? 

The father, mother, close relatives or any third party can alert the public prosecutor of harm suffered by the child, opening the way to a request for forfeiture.

Facebook
Twitter
Email
Print

Leave a Reply

Your email address will not be published. Required fields are marked *