Mouse model with sleep disturbance was established to explore the effect of Rev-erbα - GFPT1 - CD58 - CD2 axis on pregnancy.<h4>Results</h4>We found that glycometabolism related GFPT1, which regulated by Rev-erbα, increased CD58 expression via glycosylphosphatidylinositol modification not classical N- or O-linked glycosylation modification, leading to the disorder of decidual CD2<sup>+</sup>CD4<sup>+</sup>T cells and consequently, resulting in miscarriage. Here, GFPT1 is linked to spontaneous abortion.