A New Zealand woman is to appear in court after she gave birth to a child with a primary school aged boy.

A Child, Youth and Family Services spokesperson confirmed CYFS was involved with the case and the 36-year-old woman was facing criminal charges.

However, because of the sensitivities around the case CYFS would not confirm details or even the charges the woman faces.

The boy, from Auckland, is understood to have been 11 when the woman had sex with him and is now 12. It is understood the boy was friends with the woman's son.

The woman coerced the boy into repeated sexual encounters over a period of time before becoming pregnant.