Brazil’s ten-game winning run came to an end after Ecuador earned a 1-1 draw in the final Copa America group game in Goiania.
Coach Tite made ten changes from the midweek win over Colombia as Neymar, Casemiro, Thiago Silva and Richarlison were rested.
The reigning champions had already booked their spot in the next round as group winners and Venezuela’s defeat to Peru, meaning Ecuador join Brazil in the final eight.
While it was nearly the perfect start for Brazil as Renan Lodi broke clear down the left and looked to be bundled over inside the box within the opening minute, the referee and VAR disagreed.
Brighton’s Moises Caicedo was then stretchered off on 17 minutes with a knee injury in a blow to Ecuador, with Angel Mena coming on before Ecuador skipper, Enner Valencia came close to scoring his goal of the tournament.
Brazil then had big chances through Gabi with a 1v1 attempt which Galindez rushed off his line to prevent before Lucas Paqueta sent a shot inches wide from the edge of the area.
But they did break the deadlock on 37 minutes through Eder Militao who powered a header back where it came from and into the top corner which is his first goal for Brazil.
Ecuador then equalised eight minutes into the second half after an initial corner was headed clear by the Brazil defence but it was helped back into the box by three consecutive Ecuador headers.
The final one by Valencia helped the ball into the box and into the path of substitute Mena who smashed beyond Alisson from six yards.