The Argentina international looked like he had never been away after featuring in a special training session to mark his comeback from injury
The Argentina international has been absent for over two months but marked the occasion with a hat trick and an assist as his side, which included Neymar and also saw the return of goalkeeper Victor Valdes, lost 5-4 in the inter-squad friendly arranged by coach Gerardo Martino.
Two first-half goals from the four-time World Player of the Year saw his side reach the interval level at 2-2, before the 26-year-old completed his hat trick to make it 3-2. After falling behind 4-3, Messi then turned provider as Andres Iniesta restored parity once more.
Cesc Fabregas would have the last say by netting the decsive ninth goal for the team wearing bibs, but there is no doubt that Messi's homecoming was the main attraction.
Even without its star man, Barcelona sits top of La Liga having dropped just five points all season as the club prepares for this weekend's match with 14th-placed Elche.
However, Barca only leads Atletico Madrid on goal difference and fans will be delighted at the news of Messi's return as the forward aims to be back for the showdown clash on Jan. 11.