A mother has admitted to killing her children, but cannot remember how many.
Their bodies were wrapped in bags and towels, police said.
She has confessed to killing some of them, and authorities have charged her with four counts of murder.
Till. Wagler, her defence lawyer, said in court: "It could have been two, three or four."
The court heard how the woman gave birth to the eight children without any assistance of medical experts in her own home.
The pregnancies took place between 2003 and 2013.
A judge heard how, if a baby were to begin crying, she would hold her hand over their mouth until they stopped breathing.
Her husband, a 55-year-old, has been named by police as a possible accomplice "through his inaction".
Prosecutors allege that he "encouraged the accused" by not stopping her.
The full identities of the parents have not been released in court.
The eight bodies were found by police in November last year in the town of Wallenfels, which has a population of just 2,800.
Neighbors said the woman was "a loving mother" and a "good neighbor".