Liverpool will play Sparta Prague in the last 16 of the Europa League, while Brighton have been drawn against Roma.
West Ham have been paired with Freiburg and Scottish Premiership leaders Rangers will face Benfica.
In the Europa Conference League, Aston Villa – the last remaining British team in that competition – must overcome former European champions Ajax.
The first legs of the ties will take place on 7 March, with the second legs to be played a week later on 14 March.
The Europa League knockout round play-offs, in which the runners-up from the Europa League group stages faced teams who finished third in the Champions League group stages, concluded on Thursday.
The eight group winners, seeded in Friday’s draw, advanced straight to the last 16 and will each play at home in the second legs.
That is also the case in the Europa Conference League where – like Liverpool, Brighton, West Ham and Rangers – Aston Villa will have the advantage of playing at home in the second leg next month.
Europa League last-16 draw
Sparta Prague v Liverpool
Marseille v Villarreal
Roma v Brighton
Benfica v Rangers
Freiburg v West Ham
Sporting Lisbon v Atalanta
AC Milan v Slavia Prague
Qarabag v Bayer Leverkusen