The circadian clock orchestrates ∼24-hour oscillations of gastrointestinal epithelial structure and function that drive diurnal rhythms in gut microbiota. Here, we use experimental and computational approaches in intestinal organoids to reveal reciprocal effects of gut microbial metabolites on epithelial timekeeping by an epigenetic mechanism.