Week 39 is ideal because the baby is fully developed but not too big for the mother to deliver.