Amniocentesis and chorionic villus sampling (CVS) also can determine your baby's sex with a high degree of accuracy, but these more invasive tests are usually reserved for situations in which the baby may have a genetic disorder or chromosomal abnormality, such as Down syndrome.