Brazil beat Mexico 4-1 on penalties in their men's Olympic football semifinal in Saitama on Tuesday following a 0-0 draw after extra-time.
The match was a repeat of the London 2012 Olympic final, which Mexico won 2-1.
- Men's Olympics soccer bracket and fixtures
Brazil, the holders having won gold in their home Olympics in 2016, had the better of the first half, but the second failed to live up to expectations.
Richarlison came close to winning it in normal time when he hit the post with a header from a Dani Alves cross.
The game went to extra time and, while Brazil looked more likely to break the deadlock, the match finished goalless after 120 minutes and it went to spot kicks.
Dani Alves scored Brazil's first penalty before Eduardo Aguirre saw his spot kick saved. Arsenal forward Gabriel Martinelli then put Brazil 2-0 ahead with a cool penalty and Mexico's second effort through Johan Vasquez hit the post.
Bruno Guimaraes stepped up and put Brazil in total control before Carlos Rodriguez got Mexico on the board. With the scores at 3-1, Reiner knew a goal would clinch it for Brazil and made no mistake.