The complex environment we live in makes it necessary to distinguish relevant from irrelevant information constantly and reliably. The aim of the present study was to investigate the neural substrate underlying the selection of task-relevant information. We devised a new paradigm in which participants had to switch between two different tasks that were instructed by task cues. The task cues had a relevant and an irrelevant cue dimension. In congruent trials, both cue dimensions indicated the same task; in incongruent trials, they indicated different tasks; and in neutral trials, only the relevant dimension indicated a task. By comparing trials in which both cue dimensions were informative (congruent and incongruent trials) with trials in which only the relevant dimension was informative (neutral trials), we were able to show that the lateral prefrontal cortex and a region in the intraparietal sulcus are involved in the selection of task-relevant information. Furthermore, the present paradigm allows the influence of the selected task and stimulus dimension to be investigated. No significant influence was found in the prefrontal cortex, indicating that this region serves a very abstract role in the selection of taskrelevant information.