Health and longevity in all organisms are strongly influenced by the environment. To fully understand how environmental factors interact with genetic and stochastic factors to modulate the aging process, it is crucial to precisely control environmental conditions for long-term studies. In the commonly used model organism Caenorhabditis elegans , existing assays for healthspan and lifespan have inherent limitations, making it difficult to perform large-scale, longitudinal aging studies under precise environmental control. To address this constraint, we developed the Health and Lifespan Testing Hub (HeALTH), an automated, microfluidic-based system for robust, long-term, longitudinal behavioral monitoring. Our system provides spatiotemporal environmental control. We demonstrate health and lifespan studies under a variety of genetic and environmental perturbations while observing how individuality plays a role in the aging process. This system is generalizable beyond aging research for C. elegans , particularly for short- or long-term behavioral assays, and is also possible to be adapted for other model systems.