The present protocol describes the development of an open-source 5-choice serial reaction time task toolbox for rodent animal models, using Arduino and related hardware and a versatile Matlab toolbox, including an optional script for automated behavioral training. The scripts are customizable and facilitate the implementation of different trial-and-test designs.