The brain's attentional system identifies and selects information that is task-relevant while ignoring information that is task-irrelevant. In two experiments using functional magnetic resonance imaging, we examined the effects of varying task-relevant information compared to task-irrelevant information. In the first experiment, we compared patterns of activation as attentional demands were increased for two Stroop tasks that differed in the task-relevant information, but not the task-irrelevant information: a color-word task and a spatial-word task. Distinct subdivisions of dorsolateral prefrontal cortex and the precuneus became activated for each task, indicating differential sensitivity of these regions to task-relevant information (e.g., spatial information vs. color). In the second experiment, we compared patterns of activation with increased attentional demands for two Stroop tasks that differed in task-irrelevant information, but not task-relevant information: a color-word task and color-object task. Little differentiation in activation for dorsolateral prefrontal and precuneus regions was observed, indicating a relative insensitivity of these regions to task-irrelevant information. However, we observed a differentiation in the pattern of activity for posterior regions. There were unique areas of activation in parietal regions for the color-word task and in occipito-temporal regions for the color-object task. No increase in activation was observed in regions responsible for processing the perceptual attribute of color. The results of this second experiment indicate that attentional selection in tasks such as the Stroop task, which contain multiple potential sources of relevant information (e.g., the word vs. its ink color), acts more by modulating the processing of task-irrelevant information than by modulating processing of task-relevant information.