Champions League holders Real Madrid will face Borussia Dortmund and Tottenham in a difficult group following the draw ceremony in Monaco on Thursday.
Barcelona will have the chance to get revenge for last season’s Champions league defeat to Juventus as the pair were drawn together in the group phase.
Chelsea will take on Atletico Madrid, Qarabag and Roma in Group C following the draw, leaving a tough ask to make the last-16.
Manchester City will be more confident, having been drawn against Shakhtar Donetsk, Feyenoord and Napoli.
Manchester United received a simpler task after being draw with Benfica, FC Basel and CSKA Moscow in Group A, while Manchester City will face Shakhtar Donetsk, Napoli and Feyenoord in in Group F.
And there was further good news for Liverpool, who will face Spartak Moscow, Sevilla and Maribor.
Neymar and Paris Saint-Germain, meanwhile, have a daunting start to their campaign in the shape of Bayern Munich in Group B, alongside Anderlecht and Celtic.
Group A: Benfica, Manchester United, FC Basel, CSKA Moscow.
Group B: Bayern Munich, Paris Saint-Germain, Anderlecht, Celtic.
Group C: Chelsea, Atletico Madrid, Roma, FK Qarabag.
Group D: Juventus, Barcelona, Olympiakos, Sporting CP.
Group E: Spartak Moscow, Sevilla, Liverpool, NK Maribor.
Group F: Shakhtar Donetsk, Manchester City, Napoli, Feyenoord.
Group G: Monaco, FC Porto, Besiktas, RB Leipzig.
Group H: Real Madrid, Borussia Dortmund, Tottenham, APOEL Nicosia.
The first group games will be played on Sept. 12-13.