The sentence ends a case that stood unsolved for nearly 40 years, after the child was buried without a name and her parents were identified only decades later.
Inass was found on 11 August 1987 along the A10 road in Suèvres, in the Loir-et-Cher department.
Her body bore multiple marks of abuse, including human bite marks, broken bones and burns with an iron.
Her death sparked one of France's biggest investigations. Her photograph was posted in public places, and an alert was sent to more than 30 countries.
She was buried in an unmarked grave near the location where her body was found.
Investigators identified her in 2018. DNA from her brother, tested in an unrelated case, matched hers.
That match led to the arrest of their parents.
France Info described the two defendants as sitting stoically in chairs before the court, their heads bowed, as the reasoning behind the verdict was read out.
The jury concluded that the child's mother was suffering from impaired judgement at the time of the girl's death. That finding reduced the maximum potential sentence.
The court set her prison term at 20 years.