Manchester United will face Paris Saint-Germain, RB Leipzig and Istanbul Basaksehir in the Champions League group stage this season.
Premier League champions Liverpool will have to negotiate a group containing Ajax, Atalanta and Danish side Midtjylland.
Chelsea will play Europa League winners Sevilla, Krasnodar and debutants Rennes.
Manchester City are in Group D with Porto, Olympiakos and Marseille.
Meanwhile Cristiano Ronaldo and Lionel Messi are set to face each other after Juventus and Barcelona were drawn in Group G, while holders Bayern Munich will face Atletico Madrid in Group A.
The draw, which also saw Real Madrid and Inter Milan paired in Group A, took place without club officials present due to the ongoing coronavirus pandemic.
And it was a particularly tough draw for Manchester United, who will play last term’s finalists Paris Saint-Germain, as well as 2020 semi-finalists RB Leipzig.
This year’s group stage begins on Tuesday, 20 October while the final is on Saturday, 29 May at the Ataturk Stadium in Istanbul.
Group stage draw in full:
Group A: Bayern Munich, Atletico Madrid, Salzburg, Lokomotiv Moscow
Group B: Real Madrid, Shakhtar Donetsk, Inter Milan, Borussia Monchengladbach
Group C: Porto, Manchester City, Olympiakos, Marseille
Group D: Liverpool, Ajax, Atalanta, Midtjylland
Group E: Sevilla, Chelsea, FK Krasnodar, Rennes
Group F: Zenit St Petersburg, Borussia Dortmund, Lazio, Bruges
Group G: Juventus, Barcelona, Dynamo Kyiv, Ferencvaros
Group H: Paris Saint-Germain, Manchester United, RB Leipzig, Istanbul Basaksehir
Follow @sportrazzi12 on Twitter to stay updated with trending sport stories