Nigeria have been drawn in Group B alongside Guinea, Madagascar and Burundi for the 2019 Africa Cup of Nations championship in Egypt this summer.
The Super Eagles who won the 2013 edition in South Africa are returning to the continental competition for the first time since then, having missed the last two editions.
They will be facing tournament debutants Madagascar in one of the group games as they hope to go all the way and win their fourth AFCON title this year.
Gernot Rohr qualified Nigeria for the competition after finishing as Group E leaders with 13 points from six matches above South Africa, Seychelles and Libya.