 The first legs were played on 17 and 18 August, and the second legs were played on 25 August 2016.The draw for the group stage was held on 26 August 2016, at the Grimaldi Forum in Monaco.The 48 teams were drawn into twelve groups of four, with the restriction that teams from the same association could not be drawn against each other.