 For the draw, the teams were seeded into four pots based on their 2016 UEFA club coefficients.In each group, teams play against each other home-and-away in a round-robin format.The group winners and runners-up advance to the round of 32, where they are joined by the eight third-placed teams of the 2016–17 UEFA Champions League group stage.