Two experiments examined the effect of the presentation of an irregular, moderate intensity auditory stimulus ('noise') on the performance of rats in an operant discrimination task. In Experiment 1, rats first learned to press a lever in the presence of a visual stimulus but not in its absence. Discrimination performance was impaired during subsequent exposure to noise. In Experiment 2, different groups of rats learned the discrimination task under a noise or a no-noise condition. Thereafter, all rats were tested under each noise condition. Discrimination performance was best when the noise condition at test was identical to the noise condition at training. These results were discussed in the framework of arousal, distraction, generalization decrement, and contextual occasion setting. They point to the necessity of using a 2x2 factorial design in human and animal research on noise effects, with noise condition at training (noise present or absent) and noise condition at test (noise present or absent) as factors.