Sustained attention is the ability to monitor intermittent and unpredictable events over a prolonged period of time. This attentional process subserves other aspects of cognition and is disrupted in certain neurodevelopmental, neuropsychiatric, and neurodegenerative disorders. Thus, it is clinically important to identify mechanisms that impair and improve sustained attention. Such mechanisms are often first discovered using rodent models. Therefore, several behavior procedures for testing aspects of sustained attention have been developed for rodents. One, first described by McGaughy and Sarter (1995), called the sustained attention task (SAT), trains rats to distinguish between signal (i.e., brief light presentation) and non-signal trials. The signals are short and thus require careful attention to be perceived. Attentional demands can be increased further by introducing a distractor (e.g., flashing houselight). We have modified this task for touchscreen operant chambers, which are configured with a touchscreen on one wall that can present stimuli and record responses. Here we detail our protocol for SAT in touchscreen chambers. Additionally, we present standard measures of performance in male and female Sprague-Dawley rats. Comparable performance on this task in both sexes highlights its use for attention studies, especially as more researchers are including female rodents in their experimental design. Moreover, the easy implementation of SAT for the increasingly popular touchscreen chambers increases its utility.