 Gabon qualified automatically as hosts, while the remaining seven spots were determined by the qualifying rounds, which took place from March to August 2006.Before Gabon's withdrawal, Nigeria entered qualification and was scheduled to play Equatorial Guinea in the second round.After CAF elected Nigeria as replacement hosts, the match was called off and both teams qualified for the final tournament.