In September 2017, Castex was appointed interdepartmental delegate to the 2024 Olympics and Paralympics; he was also appointed as President of the National Sports Agency. On 2 April 2020, he was appointed coordinator of the phasing out of the lockdown (confinement) implemented in France during the COVID-19 pandemic.