Holders Barcelona were handed a favorable draw with Bayer Leverkusen, Roma and BATE Borisov in the Champions League.
Real Madrid were placed in a tougher group with Shakhtar Donetsk and Zlatan Ibrahimovic's current and first clubs, Paris Saint-Germain and Malmo.
2013-14 Real Madrid
2012-13 Bayern Munich
2009-10 Inter Milan
2007-08 Manchester United
2006-07 AC Milan
Europe's four highest-ranked leagues meet in the group of Juventus, Manchester City, Sevilla and Borussia Moenchengladbach.
Manchester United return after a one-year absence against top-seeded PSV Eindhoven, plus CSKA Moscow and Wolfsburg.
Chelsea were grouped with coach Jose Mourinho's former club Porto, Dynamo Kiev and Maccabi Tel Aviv.
Bayern Munich will face Arsenal, Olympiakos and Dinamo Zagreb.
The trip up to six time zones east to newcomer Astana in Kazakhstan went to Benfica, Atletico Madrid and Galatasaray.
The eight groups begin six rounds of play on September 15.
Paris St Germain
Maccabi Tel Aviv
Zenit St Petersburg