On 12 October 2019, Ranieri signed a contract with Sampdoria, which would see him remain as the club's manager until 2021; at the time of his appointment, the team were sitting in last place in Serie A. He guided them to fifteenth place at the end of the season. Following a ninth-place finish in the following season, Ranieri announced he would not be renewing his contract and would be leaving the club.