In California, the courts consider and give weight to a child's preference when the child is “of sufficient age and ability to voice an intelligent opinion on custody or visitation.” At the age of fourteen, a child can state a custodial preference unless the court believes doing so would be detrimental.