It's after the resignation of Edouard Philippe who has been in the post for three years.
Mr Castex, 55, is relatively unknown in France, although he is a senior civil servant.
The new Prime Minister has been a key player in the government's response to the Covid-19 pandemic.


Xi, Putin blast Western 'protectionism', sanctions as Trump lands in China
Democrats nominate Hakeem Jeffries for next US House speaker
Britain's Prince William and Kate meet India PM Modi
Russian attacks on Ukrainian city of Odesa kill four, officials say
Trump says US has concluded 'very big trade deal' with Philippines