Celtic were drawn in the same group as Barcelona, AC Milan and Ajax.
The first round of the group matches will be played on 17-18 September.
Full Champions League draw:
Group A: Manchester United, Shakhtar Donetsk, Bayer Leverkusen, Real Sociedad
Group B: Real Madrid, Juventus, Galatasaray, FC Copenhagen
Group C: Benfica, Paris St-Germain, Olympiakos, Anderlecht
Group D: Bayern Munich, CSKA Moscow, Manchester City, Viktoria Plzen
Group E: Chelsea, Schalke, FC Basel, Steaua Bucharest
Group F: Arsenal, Marseille, Borussia Dortmund, Napoli
Group G: Porto, Atletico Madrid, Zenit St Petersburg, Austria Vienna
Group H: Barcelona, AC Milan, Ajax, Celtic