On 12 June 2015 Rastelli was hired by newly relegated club Cagliari for their 2015–16 Serie B season. He led Cagliari to win the Serie B title, and was consequently confirmed also for the 2016–17 Serie A campaign. He was sacked on 17 October 2017.