Quality of life (QOL) is a key outcome for people with cerebral palsy (CP), and executive functioning is an important predictor of QOL in other health-related conditions. Little is known about this association in CP or about its neural substrate. We aim to analyze the influence of executive functioning (including cognitive flexibility) as well as that of other psychological, motor, communication and socioeconomic variables on QOL and to identify neuroanatomical areas related to QOL in adolescents and adults with CP. Fifty subjects diagnosed with dyskinetic CP (mean age 25.96 years) were recruited. Their caregivers completed the primary caregiver proxy report version of the CP QOL-Teen questionnaire. Motor status, communication, IQ, four executive function domains, anxiety/depression and socioeconomic status were evaluated. Correlations and multiple linear regression models were used to relate CP QOL domains and total score to these variables. Thirty-six participants underwent an MRI assessment. Correlations were examined between cortical thickness and CP QOL total score and between cortical thickness and variables that might predict the CP QOL total score. Executive functions predict scores in four domains of CP QOL (General well-being and participation, Communication and physical health, Family health and Feelings about functioning) in the regression model. Among the cognitive domains that comprise executive function, only cognitive flexibility measured in terms of performance on the Wisconsin card sorting test (WCST) predicts the CP QOL total score. Monthly income, fine motor functioning and communication ability predict scores on the domains Access to services and Family Health, Feelings about functioning and School well-being, respectively. The clusters resulting from the correlation between cortical thickness and both CP QOL total score and WCST performance overlapped in the posterior cingulate and precuneus cortices. Cognitive flexibility predicts proxy report CP QOL-Teen total score in dyskinetic CP. This relationship has its anatomical correlate in the posterior cingulate and precuneus cortices.