Pep Guardiola will face Lionel Messi with whom he won two Champions League titles after Manchester City were drawn to play Paris Saint-Germain in this season’s group stage.
The European giants are joined in Group A by RB Leipzig and Belgian champions Club Brugge.
Chelsea, who defeated Manchester City in last season’s final to lift their second Champions League trophy – will play Juventus, as well as Russian champions Zenit and Swedish champions Malmo.
Liverpool have been drawn into a tough Group B, where they will take on three-time runners-up Atletico Madrid, seven-time winners AC Milan and two-time winners Porto.
Manchester United face a rematch with Villarreal, who beat them on penalties in the final of last season’s Europa League. Also in Group F are Atalanta and Swiss champions Young Boys.