Surname of a child born out of wedlock

If the parents are not married, the parents must agree on the child’s surname. The child’s surname will be the surname of one of the parents. If the parents do not agree on the child’s surname, a court will determine the surname. If only one of the parents is known, the child has that parent’s surname.