Brazil won the battle of the World Cup favourites against world champions Germany 1-0 in Berlin in the first meeting between the two international heavyweights since their humiliation at the previous tournament in their home country.
Manchester City’s Gabriel Jesus was the Samba Boys’ hero, his powerful diving header late in the first half proving the difference.
The goal inflicted a first defeat in 23 matches on the hosts and helped ease the memory of their 7-1 thrashing in the 2014 World Cup semi-final in Belo Horizonte.
Jesus also missed another chance with a header, while Germany’s Julian Draxler had a late shot tipped over as Brazil held on.
It meant Joachim Low’s side, who top the FIFA world rankings, lost for the first time since a 2-0 defeat by France in the semi-finals of Euro 2016.
Germany next face June friendlies against Austria and Saudi Arabia before kicking-off their tournament against Mexico on 17 June. Brazil meet Croatia and Austria before their World Cup opener with Switzerland, also on the same date as the Germans.