A fully automated protocol for rodent operant conditioning is proposed. The protocol relies on precise temporal control of behavioral events to investigate the extent to which this control influences neural activity underlying sensorimotor integration and cognitive control experiments.