The social worker said: "I looked at her mum and asked, ‘Is this where you keep her?’ The mother replied matter-of-factly, ‘Yes, in the drawer'.
"I was shocked the mother did not show any emotion…
"It became an overwhelming horror that I was probably the only other face [the girl] had seen apart from her mother’s."
The court was told about serious developmental issues the child - who is now in foster care- had as a result of the neglect.
In a police interview, the woman said she had not known she was pregnant and was "really scared" when she gave birth.
She said the baby was not kept in the drawer under the bed all the time, and that the drawer was never closed.
She told officers the child was "not part of the family".
The mother wiped away tears as she described how her other children, who she was said to have looked after well, no longer lived with her.
Judge Everett said what the woman did "totally defied belief".
"You attempted to control this situation as carefully as you could but by sheer chance your terrible secret was discovered," he said.
"I don’t remember a case as bad as this in my 46 years."