The Argentine magician curled home in superb style from 25 yards out against Celta Vigo in first-half injury time.
And he followed it up with an exquisite dink over the wall from slightly closer range early in the second half.
His first free-kick went up and over the wall, and curled away from helpless Celta Vigo goalkeeper Ruben Blanco into the top corner.
It restored Barcelona’s lead in first half injury-time of the La Liga clash.
Messi had earlier given Barcelona the lead from the penalty spot before Lucas Olaza’s equaliser for the visitors.
And he completed his hat-trick with his second brilliant free-kick early in the second half, floating it up and over the wall and leaving Blanco with no chance again.
Sergio Busquets added a late fourth as Barcelona went back top of La Liga ahead of Real Madrid on goal difference.
A fan on social media wrote: ‘The Best Ever Leo Messi’
watch the video…