Messi's form had been questioned by some after Barcelona were knocked out of the Copa del Rey by Real Madrid and looked demoralised in going down to Milan at the San Siro, but the criticism seemed to spur him on as he tore the Italians apart from the start.
He scored at the beginning and end of the first half, while David Villa hit a special goal for himself 10 minutes into the second period after a long run of bad luck with injury and form.
That put the Catalans ahead in the tie for the first time, before Jordi Alba netted in injury-time to seal a 4-2 aggregate win and a place in Friday's quarter-final draw.
On a personal level, Messi's brace saw him reach yet another landmark in an incredible career.
He now has 58 Champions League goals, two more than Ruud van Nistelrooy, and his target now is Raul's all-time best of 71.
"If there was anyone not sure about Messi then this was the perfect response as he took charge of the game with two goals and showed again that he is an extraordinary player, out of this world," said Barca assistant coach Jordi Roura.
"Before we weren't so poor and now we are not so great and I wouldn't describe ourselves as favourites for the competition.
"At any stage of the game until the final goal we could have gone out if we had conceded and I would have said the same that we played well and were composed."
A deflated Massimiliano Allegri accepted Milan were beaten by an exceptional side.
"We didn't play as well as in the first leg but a lot of the merit for this goes to Barcelona as they didn't let us play, particularly in the first half. Barca are the best team in the world," explained the Milan coach.
Even with a two-goal advantage from the first leg, Milan knew they would be in for a tough night but they would have hoped to withstand the Barca pressure for longer than they did.
The home side surged forward from the start and Milan could do nothing when Messi exchanged passes with Xavi Hernandez before stroking a beautiful finish into the top corner from the edge of the area after six minutes.
Milan were not comfortable at the back and Christian Abbiati could only palm an Andres Iniesta shot onto the crossbar. Messi was quickest to the rebound but, from a tight angle, headed into the side-netting.
The tempo was considerably quicker from Barca than in recent matches but they had to be wary of Milan on the counter-attack, even if the visitors were without the injured Giampaolo Pazzini as well as the cup-tied Mario Balotelli.
The near-95,000 crowd could see Barca's Champions League hopes fading in the 38th minute when last-man Javier Mascherano, stretching, could only head the ball to M'Baye Niang.
The youngster bore down on goal, only to see his shot rebound off the far post to safety.
Seconds later, Iniesta fed Messi, who fired in Barcelona's second through the legs of Philippe Mexes from 20 yards.
The Argentine maintained the same drive after the break, firing a volley over the crossbar and tormenting the Italian defence.
But it was the turn of Villa, who had had a quiet night, to get the third as he controlled a Xavi pass and slotted home clinically.
Barca sat back on their lead and, perhaps because of their patchy recent results, got more and more anxious knowing a goal for Milan would still send the Italians through.
Alba made a crucial block to deny substitute Robinho, before the left-back finally eased the tension when he got the fourth goal two minutes into stoppage time.
Alexis Sanchez played in the Spanish international, who kept his cool to knock the ball in.
Follow us @SprtNationalUAE