Background The present study investigated the influence of emotional contexts on mental flexibility in adults with Prader-Willi syndrome (PWS) using a voluntary task-switching paradigm that was implemented with emotionally valenced pictures. The study aims were to assess whether adults with PWS have impaired switching abilities, whether the deficit is specific to PWS or linked to intellectual disabilities, and the influence of emotional contexts on performance. Method The task-switching performance of 30 adults with PWS was compared with that of 30 healthy adults matched on chronological age, and to that of 30 adults with intellectual disabilities but without PWS, matched on intellectual quotient level and chronological age. Indicators of switching performance were switching cost and repetition bias. Emotional contexts were operationalised with positive, neutral and negative task-irrelevant pictures. Results Adults with PWS showed a large increase in switching costs compared with the two control groups, and this effect did not vary across emotional contexts. More fine-tuned examination revealed subtle performance modulations: negative contexts tended to increase the repetition bias in all three groups while positive contexts slowed down global performance in PWS. Conclusions The results confirmed previous studies, showing impaired switching abilities in PWS over and beyond the influence of intellectual level, but revealed no robust variations in switching deficits across emotional contexts.