In California you can establish paternity voluntarily or involuntarily. To establish paternity voluntarily, unmarried parents must submit a voluntary declaration of paternity to the court. If parents disagree about paternity, it can also be determined involuntarily by the court. This typically involves paternity testing to determine whether or not the party in question is the biological father of a child.
