Female reproductive function changes during aging with the estrous cycle becoming more irregular during the transition to menopause. We found that intermittent shifts of the light-dark cycle disrupted regularity of estrous cycles in middle-aged female mice, whose estrous cycles were regular under unperturbed 24-hr light-dark cycles. Although female mice deficient in Cry1 or Cry2, the core components of the molecular circadian clock, exhibited regular estrous cycles during youth, they showed accelerated senescence characterized by irregular and unstable estrous cycles and resultant infertility in middle age. Notably, tuning the period length of the environmental light-dark cycles closely to the endogenous one inherent in the Cry-deficient females restored the regularity of the estrous cycles and, consequently, improved fertility in middle age. These results suggest that reproductive potential can be strongly influenced by age-related changes in the circadian system and normal reproductive functioning can be rescued by the manipulation of environmental timing signals.