Who has custody and who has visitation rights?
Custody is entrusted first to the mother, then to the father, then to the maternal grandmother, and failing that the court awards it to the most suitable close relative, always in the interest of the child (art. 171 of the Family Code). The father or mother who does not have custody has the right to visit and receive the child (art. 180). This right does not disappear upon the death of a parent: the father and mother of the deceased take their place in the right of visitation (art. 185).
In divorce under judicial supervision, the court decision mentions the children, their age, the person responsible for custody and the organization of visiting rights (art. 88). The principle which governs the entire chapter appears in art. 186: in any case, the court takes into account the interests of the child subject to custody. The basic rules on custody and support are presented in the guide “Alimony and child custody in Morocco: what the Moudawana provides”.
How is visiting rights organized?
The parents can set the terms themselves: they conclude an agreement on the organization of the visit and communicate it to the court, which records its content in the decision granting custody (art. 181). In the absence of agreement, the court fixes the visitation periods and specifies the time and place, so as to prevent as much as possible maneuvers in the execution; it takes into account the particular conditions of each party and the circumstances of the case, and its decision is subject to appeal (art. 182).
One point is often misunderstood: the child must only spend the night at the home of the person who has custody of him, unless the judge decides otherwise in his interest (art. 169). The non-custodial parent who wishes to receive the child for the night must therefore obtain that the decision provides for this. To limit disputes, the agreement or request benefits from specifying the time and place, as art. 182 requires it from the judicial decision:
- the days and times of visit, with the child's return time;
- the place of delivery of the child;
- sharing school holidays and holidays, and possible night accommodation;
- appropriate arrangements when parents live in distant towns.
Have your situation reviewed
Meet at the office in Agdal or remotely, in French or Arabic.
What to do if visits are not respected or are no longer suitable?
Each parent can apply to the court: in the event of a breach or maneuvering in the execution of the agreement or decision organizing the visit, the court takes all appropriate measures, including modification of the organization of the visit and forfeiture of custody (art. 184).
If new circumstances make the existing organization detrimental to one of the parents or the child, its revision may be requested in order to adapt it (art. 183). The father, mother, relatives and any third party must notify the public prosecutor of the harm to which the child would be exposed, so that he can take the necessary measures, including the request for forfeiture of custody (art. 177). The court may also request a report from a social worker on the guardian's housing and the child's living conditions (art. 172).
Can the custodial parent move?
Yes, within Morocco: the change of residence of the woman who assumes custody or of the legal representative does not result in the forfeiture of custody, except for proven reasons for the court, which takes into account the interests of the child, the particular conditions of the father or legal representative and the distance which separates the child from his legal representative (art. 178). And if a change likely to harm the child occurs in the guardian's situation, he or she loses custody and custody passes to the next person in the order of priority (art. 173).
For installation outside Morocco, art. 178 only covers residence within the country. The removal of the child from the territory is a matter of art. 179, detailed below, which only allows the judge to authorize a trip despite the refusal of the legal representative if it is temporary and if the child's return to Morocco is guaranteed.
Can we take the child on a trip abroad?
Travel outside Morocco requires the agreement of the child's legal representative or, in the event of refusal, authorization from the summary judge, and the court may prohibit it in advance (art. 179). The mechanism goes like this:
- Preventive ban: at the request of the public prosecutor or the legal representative, the court may provide, in the decision granting custody or by a subsequent decision, that the child will not be taken outside Morocco without the agreement of the legal representative (art. 179).
- Execution: the public prosecutor notifies this prohibition to the competent authorities, so that the necessary measures can be taken to apply it (art. 179).
- Refusal of the legal representative: the parent who wants to travel with the child can contact the judge for summary proceedings to obtain authorization (art. 179).
- Conditions: no action is taken on the request if it is not assured that the trip is temporary and that the child's return to Morocco is guaranteed (art. 179).
How long does custody last, and can the child choose?
Custody lasts until the legal majority of the child, girl or boy (art. 166). In the event of breakdown of the marital bond, the child can, at the age of fifteen, choose which of his father or mother will assume custody; in the absence of both, he can choose a close relative referred to in art. 171, provided that this choice is not incompatible with his interests and that his legal representative accepts it, the judge ruling according to the interests of the minor in the event of refusal (art. 166).
Custody may also change holders before this deadline: the court may reconsider the devolution of custody in the interests of the child (art. 170). The remarriage of the guardian mother does not result in forfeiture in the cases provided for in art. 175, particularly if the child has not exceeded the age of seven or if the separation from his mother causes him harm. The guide “Divorce in Morocco: procedures, deadlines and rights of spouses” places these rules in the divorce procedure. An appointment allows you to examine your situation.
Sources
- Family Code, art. 88
- Family Code, art. 166
- Family Code, art. 169 to 173
- Family Code, art. 175
- Family Code, art. 177 to 179
- Family Code, art. 180 to 186
This guide is provided for general information by Maître Lahfaia Law Firm, Rabat. It is no substitute for advice tailored to your situation; the rules and deadlines mentioned may change.


