Adolescence is a transitional period in which an increasing ability to coordinate basic cognitive control abilities is also particularly challenged by contextual factors in the environment. The aim of this dissertation was to examine the development of complex cognitive control in adolescence in relation to different socio-affective contexts at the behavioural and neural level. The dissertation presents three functional magnetic resonance imaging (fMRI) experiments.