A total of 51 teams entered the tournament, including Cameroon which would have qualified automatically for the final tournament as the hosts before their hosting rights were stripped. The draw for the qualifications stage took place on 12 January 2017, 19:30 UTC+1, in Libreville, Gabon.
