The circadian misalignment of the gut microbiota caused by unusual eating times in adult animals is related to disease development. However, whether the composition and diurnal rhythm of gut microbiota can be optimized by synchronizing the window period of eating with natural eating habits to reduce the risk of diarrhea remains unclear, especially in growing animals. In this study, 108 5-week-old weaned rabbits (nocturnal animals) were randomly subjected to daytime feeding (DF) and night-restricted feeding (NRF). At age 12 weeks, six rabbits were selected from each group, and caecum and cecal contents, as well as serum samples were collected at 4-h intervals during 24 h. Overall, NRF was found to reduce the risk of diarrhea in growing rabbits, improved the diurnal rhythm and abundance of beneficial microorganisms, along with the production of beneficial metabolites, whereas reduced the abundance of potential pathogens (Synergistes, Desulfovibrio, and Alistipes). Moreover, NRF improved diurnal rhythm of tryptophan hydroxylase isoform 1 and serotonin. Furthermore, NRF strengthened the diurnal amplitude of body core temperature, and promoted the diurnal expression of intestinal clock genes (BMAL1, CLOCK, REV-ERBα, and PER1), and genes related to the regulation of the intestinal barrier (CLAUDIN-1), and intestinal epithelial cell self-proliferation and renewal (BMI1). In vitro simulation experiments further revealed that synchronization of microbial-driven serotonin rhythm and eating activity-driven body temperature oscillations, which are important zeitgebers, could promote the diurnal expression of clock genes and CLAUDIN-1 in rabbit intestinal epithelial cells (RIEC), and enhance RIEC proliferation. This is the first study to reveal that NRF reprograms the diurnal rhythm of the gut microbiome, promotes the diurnal expression of clock genes and tight junction genes via synchronization of microbial-driven serotonin rhythm and eating activity-driven body temperature oscillations, thereby improving intestinal health and reducing the risk of diarrhea in growing rabbits. Collectively, these results provide a new perspective for the healthy feeding and management of growing animals.