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.


Venezuela quake death toll nears 3,000 as rescue effort winds down
Eight injured in New York shooting
Trump appears on National Mall for July 4 speech after storm-related delay
Qatar says all maritime activities will resume immediately
St. Petersburg region port, oil terminal hit in Ukrainian drone attack