Abstract
<jats:p>Male Drosophila courtship behavior is a key model for studying temporal decision-making. While courtship index (CI) is widely used to quantify mating activity, other timing metrics like courtship latency, copulation latency (CL), and mating duration (MD) remain understudied. Traditional methods for quantifying these behaviors are often labor-intensive and prone to human error. In this study, we present a protocol combining a modular chamber system and automated software (DrosoMating) to quantify 6 key timing metrics during male courtship. Our image-based video analysis enables precise identification of courtship and copulation events, as well as quantification of their timing and duration under controlled conditions. Validation shows <0.05% error rates and 98–99% agreement with manual scoring for CL, CI, and MD. The protocol supports genetic and neural circuit manipulations, detecting subtle genetic, social, and environmental behavioral variations. By minimizing manual effort and standardizing data collection, this approach facilitates scalable, reproducible studies on adaptive trade-offs, learning, and neural mechanisms in mating behavior. This method streamlines timing analysis in male courtship, offering reproducible metrics for behavioral genetics.</jats:p>