Manchester United will play La Liga side Real Sociedad while Arsenal will face former champions PSV Eindhoven in the Europa League group stage.
Erik ten Hag’s side will also play FC Sheriff and Omonia Nicosia in Group E in what appears to be a favourable draw for the Red Devils.
Arsenal have also been drawn with Bodo/Glimt and FC Zurich in Group A.
In the Europa Conference League, West Ham will face Belgians Anderlecht in Group B while Hearts are in Group A.
The Scottish side have been drawn with Italians Fiorentina, Turkish side Istanbul Basaksehir and FK RFS of Latvia.
Completing West Ham’s group are FCSB of Romania and Danes Silkeborg IF.
Irish club Shamrock Rovers are in Group F with Gent of Belgium, Molde from Norway and Swedish side Djurgardens.
Europa League group stage draw in full
Group A: Arsenal, PSV Eindhoven, Bodo/Glimt, FC Zurich
Group B: Dynamo Kyiv, Rennes, Fenerbahce, AEK Larnaca
Group C: Roma, Ludogorets, Real Betis, HJK Helsinki
Group D: Braga, Malmo, Union Berlin, Union Saint-Gilloise
Group E: Manchester United, Real Sociedad, FC Sheriff, Omonia Nicosia
Group F: Lazio, Feyenoord, FC Midtjylland, SK Sturm Graz
Group G: Olympiakos, Qarabag, Freiburg, Nantes
Group H: Red Star Belgrade, Monaco, Ferencvaros TC, Trabzonspor