A short statement from the Primera Division side said a fee of 25 million euros (£21.6m) had been agreed for the 22-year-old.
“FC Barcelona and FC Bayern Munich have reached an agreement over the transfer of the player Thiago Alcantara to the German club for a total of 25 million (euros),” it read.
“This agreement also includes holding a friendly match between the two teams, which will be played in the next four years.”
Photos: Tamannaah Bhatia sizzles in metallic gown
Photos: Arjun Kapoor and Raj Thackeray at event in Mumbai
In pictures: Here are the fastest ODI centuries in cricket history
'Shaadi No. 1': 10 famous Bollywood weddings in pictures
Photos: Shah Rukh Khan, Shweta Bachchan at Karan Johar's book launch