Since the Olympic men's football was restricted to an under-23 tournament in 1992, Brazil had played in two gold medal matches, losing to Mexico in 2012 before prevailing at home in 2016. Spain also had played twice in such occasion, winning in 1992 – also when they hosted the Olympics – and losing to Cameroon in 2000.