For a female to express an X linked recessive gene, she must have inherited it from both parents. Every female (without disease) has two X chromosomes: XX, while males have an X and a Y: XY. A recessive gene is one that will not be expressed if there is a copy of the dominant gene present. sex linked genes have their own special set of rules because the sex chromosomes are the only ones which vary by presence or absence between different people. Because a male only has one X chromsome, he will express all the genes on that chromosome; this can be used to determine if a gene is sex linked and recessive/dominant. A recessive gene will not be expressed if there is a dominant gene for that allele present. This means that if a female (XX) is expressing an x-linked recessive trait, she must have two recessive genes for that trait; therefore she inherited the trait from both parents.