Identical twins are almost always the same sex, although there are some rare exceptions to this rule. Because identical twins occur when a single fertilized egg splits and forms two embryos, each embryo has the same chromosomes (usually, XX for girls or XY for boys). Remember that sex and gender are not the same.