The hosts and holders, Brazil, and the previous tournament's runners-up, Argentina, were seeded in Groups A and B respectively, while the other eight teams were divided into four pots based on their results in the 2016 qualifiers, and were drawn to the remaining group positions.