While Kai Havertz came off the bench to lead Germany to a comeback 4-2 victory over Costa Rica, it was not enough to prevent group-stage elimination for the second consecutive FIFA World Cup.
Early on, Costa Rica led Germany 1-0 after to a goal from Serge Gnabry, but goals from Yeltsin Tejeda and Juan Pablo Vargas gave Costa Rica a 2-1 advantage. Following that, Havertz scored twice, and Niclas Fullkrug completed a 4-2 triumph.
Germany was nevertheless eliminated as a result of Japan's victory over Spain. Sepp Maier and Taffarel were overtaken by Manuel Neuer as the goalkeeper with the most appearances in the World Cup after he played his 19th game.