Six of these groups had six teams one each from pots 1 to 6 below ; the remaining three groups consisted of five teams one each from pots 1 to 5 below.
Retrieved 11 June 2017.
The rest of the runners-up played an additional set of playoff matches amongst each other.
Andorra made their qualification debut after being admitted to UEFA in November 1996.
Armenia and Azerbaijan were drawn together in Group A during the draw ceremony, forcing UEFA to reassign Armenia to Group B, as Azerbaijan had refused to play in Armenia when they had been drawn together during.
Before the draw UEFA confirmed that, for political reasons, would not be drawn against due to the dispute concerning territory of and would not be drawn against due to the dispute regarding the territory of.