In the first stage, 68 teams were divided into seventeen groups of four, organized regionally. The teams played home and away against the other three teams in their group, a total of six games. The winner of each group plus the best 15 runners-up qualified for the second stage. From the second stage on the competition was played as a knock-out tournament with each round contested over two legs. The four semi-finalists qualified for the 2018 Campeonato Brasileiro Série C.
The Second stage was a two-legged knockout tie, with the draw regionalised.
Qualification and draw
The 32 qualifiers were divided into two pots. Pot 1 contained the 16 best performing group winners. Pot 2 contained the worst performing group winner and the 15 qualifying group runners-up. In pot 1 the teams were numbered 1 to 16 in numerical order of the group they qualified from. In pot 2 the teams were numbered 17 to 32 in numerical order of the group they qualified from. In the case that one of the qualifying runners-up was from the same group as the worst performing group winner, both teams would be in pot 2 and the group winner would be numbered lower in sequence than the group runner-up. To keep the draw regionalised Team 1 played Team 18, Team 2 played Team 17 and this pattern was repeated throughout the draw. The higher numbered team played at home in the first leg.
Ranking of group winners
Ranking of group winners to determine the worst performing team to be placed into pot 2 is achieved by comparing 1) Points gained 2) Most victories 3) Best goal difference 4) Most goals scored 5) Sort.
Team
1
América de Natal
15
5
9
13
Pot 1
2
Portuguesa
14
4
7
9
Pot 1
3
Atlético Acreano
13
4
10
16
Pot 1
4
Santos
13
4
5
11
Pot 1
5
Rio Branco
13
4
4
10
Pot 1
6
São Bernardo
13
4
4
7
Pot 1
7
Guarany de Sobral
13
4
3
10
Pot 1
8
São José
12
4
9
13
Pot 1
9
Globo
12
4
4
7
Pot 1
10
12
4
3
6
Pot 1
11
Boavista
11
3
3
10
Pot 1
12
Gurupi
11
3
3
9
Pot 1
13
11
3
2
8
Pot 1
14
Ceilândia
10
3
3
8
Pot 1
15
Fluminense de Feira
9
2
4
9
Pot 1
16
Juazeirense
9
2
3
9
Pot 1
17
Villa Nova
9
2
0
6
Pot 2
Ranking of group runners-up
Ranking of group runners-up to determine the 15 best performing teams to be placed into pot 2 is achieved by comparing 1) Points gained 2) Most victories 3) Best goal difference 4) Most goals scored 5) Sort.
The second stage matches were originally scheduled between 1 and 9 July, but they were rescheduled due to the investigation involving São Raimundo. The matches were postponed by the CBF for a week. Finally, the matches were played between 8 and 16 July.
Third stage
The third stage was also a two-legged knockout tie, with the draw regionalised. The ties were predetermined from the second stage, with the winner of second stage tie 1 playing the winner of second stage tie 2, etc. The matches were played between 22 and 30 July.
Ties
Final stage
The final stage was a two leg knockout competition with quarter-finals, semi-finals and finals rounds. The draw for the quarter-finals was seeded based on the table of results of all matches in the competition for the qualifying teams. First played eighth, second played seventh, etc. The top four seeded teams played the second leg at home. The four quarter-final winners were promoted to Série C for 2018. The draw for the semi-finals was seeded based on the table of results of all matches in the competition for the qualifying teams. First played fourth, second played third. The top two seeded teams played the second leg at home. In the finals, the team with the best record in the competition played the second leg at home.