Abstract: Synthetic gene oscillators have the potential to control timed functions and periodic gene expression in engineered cells. Such oscillators have been refined in bacteria in vitro, however, these systems have lacked the robustness and precision necessary for applications in complex in vivo environments, such as the mammalian gut. Here, we demonstrate the implementation of a synthetic oscillator capable of keeping robust time in the mouse gut over periods of days. The oscillations provide a marker of bacterial growth at a single-cell level enabling quantification of bacterial dynamics in response to inflammation and underlying variations in the gut microbiota. Our work directly detects increased bacterial growth heterogeneity during disease and differences between spatial niches in the gut, demonstrating the deployment of a precise engineered genetic oscillator in real-life settings.