In Morocco, a father must support his child until the child turns 18 (the legal age of majority). If the child keeps studying, this support continues until the child turns 25. After that, it normally stops — unless the child has a disability and cannot earn a living.
📖 Code de la famille (Moudawana), loi n° 70-03, art. 198