The 2022/2023 Champions League draw was done on Thursday evening in Instabul.
Barcelona and Bayern are locked up in the same group as Lewandowski will return to Munich.
Record holders, Real Madrid will face Celtic, Shaktar Donetsk and RB Leipzig.
Napoli will face familiar opponent in Liverpool, and also battle the two slots with Ajax and Rangers.
Barcelona find themselves entrapped in a tough group, facing Bayern Munich and Inter Milan. Elsewhere, Manchester City faces Dortmund and PSG battles Juventus.
Group A
Ajax, Liverpool, Napoli, Rangers
Group B
Porto, Atlético Madrid, Bayer Leverkusen, Brugge
Group C
Bayern Munich, Barcelona, Inter, Viktoria Plzeň
Group D
Frankfurt, Tottenham Hotspur, Sporting CP, Marseille
Group E
AC Milan, Chelsea, RB Salzburg, Dinamo Zagreb
Group F
Real Madrid, RB Leipzig, Shakhtar Donetsk, Celtic
Group G
Manchester City, Sevilla, Borussia Dortmund, Copenhagen
Group H
Paris Saint-Germain, Juventus, Benfica, Maccabi Haifa