Nabil El Zhar halved the deficit in the second half, finding the bottom corner of Marc-Andre Ter Stegen's net with a low drive on the counter attack, but Messi's third goal saw out the win for Barcelona as the hosts matched Real Sociedad's unbeaten record in La Liga, a record that has stood since 1980.
Last week against Sevilla, provided an illustration of Messi's importance to this Barcelona team, coming off the bench to salvage a point of his team.
However, Messi ended all hopes of the visitors claiming a point when he completed his hat-trick with two minutes remaining to seal the win for Barca.
Valverde decided against resting his star player for the LaLiga clash with Leganes on Saturday - and watched on as the club's all-time leading scorer bagged a treble. "We will talk after training [about whether he needs a rest]".
Ernesto Valverde has no major injury concerns, although he may chose to make a few changes given Barca's trip to Rome in the Champions League on Tuesday.
"I haven't found it hard, I concentrate on playing football and I don't feel any pressure".
Roma boss Di Francesco takes full credit for UCL defeat of Barcelona
While opponents have failed to hurt either team domestically, they have found life tougher in the Champions League . Barcelona looked rattled as Roma pressed with high intensity and threw everything at them when in possession.
However, Valverde says that - and the possibility of becoming the first-ever side to go a whole season unbeaten in Spain's top flight - is not something on his mind.
"They are important records and we can achieve something with a win or draw tomorrow".
"It's a record which has been held by La Real for a very long time, which shows how tough it is to beat it".
Sevilla, who also scored an own goal in their midweek Champions League defeat to Bayern Munich and have now lost four of their last five matches, nearly levelled things up three minutes before the break but Sandro Ramirez's volley was kept out by goalkeeper Sergio. Real Sociedad finished the 1978/79 campaign unbeaten in their last six and did not lose again until the penultimate match the following season when they were defeated by Real Madrid, who pipped them to the title. If we win, then we will only need 12 points.
Samuel Marsden covers Barcelona for ESPN FC.