The World Cup winner has been heavily linked with a move away from the Bundesliga champions this summer but the Juventus midfielder does not expect him to leave
Gotze's future with the Bundesliga champions remains shrouded in doubt with reports suggesting the attacking midfielder is surplus to requirements after struggling for form and fitness this season.
Sportmasta understands Liverpool have cooled their interest in the World Cup winner after the 23-year-old recently stated his desire to stay and fight for his chance under Ancelotti.
Juventus midfielder Khedira, who worked with Ancelotti at Real Madrid, is adamant the Italian coach would never force any player to leave and expects his Germany team-mate to be given a fair opportunity.
"Carlo is not the kind of person to push out any players. On the contrary, he would like to keep his squad together," Khedira told Sport Bild.
"Mario is an experienced player despite his young age. Of course, he still has a thing or two to learn and develop personally. But I cannot imagine Carlo saying he does not want him in his team.
"I remember that Gonzalo Higuain wanted to leave Madrid, but Ancelotti did everything he could to keep him on board.