the 40 teams were divided in eight groups of 5, playing in a double round-robin format. the two best ranked in each group at the end of 10 rounds qualified for the second stage, which was played in home-and-away system. winners advanced to the third stage. these quarterfinal winners were promoted to the série c 2013. according to the playoff structure, one team from each "mini-tournament" was promoted.