The CBF revealed that the match will be played at the St Jakob Park in the Swiss city of Basel.
Luiz Felipe Scolari's side, who will host the 2014 World Cup, have already arranged four friendly matches before hosting the Confederations Cup, which will run from June 15th to 30th.
They will face England at Wembley on February 6th, before taking on Italy in Geneva on March 21st and then travelling to London for a game
against Russia four days later.
Scolari, who recently returned for a second spell as coach of the Selecao after leading the team to glory at the 2002 World Cup in South Korea and Japan, will also oversee a second friendly against England, at the Maracana in Rio de Janeiro on June 2nd.
Story continues below…