In the early embryo, each cell independently and randomly inactivates one copy of the X chromosome. This inactivation lasts the lifetime of the cell, and all the descendants of the cell inactivate that same chromosome. X-inactivation is reversed in the female germline, so that all egg cells contain an active X chromosome.