New Zealand wrapped up the series 2-1 after being sent into bat and making an imposing 196 before rolling Pakistan for 101 in the 17th over.
The comprehensive victory marked the return of burly all-rounder Anderson to his best after he missed the first half of the New Zealand summer because of injury.
Anderson's lack of cricket was evident in a rocky start to his innings when he went to the crease with New Zealand at 62-2 after seven overs.
By the end of the 15th over, when New Zealand were 129-3 Anderson decided he had played himself at 36 off 23 balls and lashed out.
In the last five overs he faced 19 deliveries and bludgeoned 46 runs with his innings including four sixes and six fours.
Sarfraz Ahmed (41) and Malik were the only Pakistan batsmen to reach double figures as Elliott and Milne proved too difficult to handle in the daunting run chase.
When Pakistan captain Shahid Afridi won the toss he opted to bowl first, quoting the history of Westpac Stadium where the six previous Twenty20 matches had all been won batting second and the highest score Twenty20 total at the ground was 163.
But statistics did not stop Martin Guptill and Williamson making another flying start putting on 57 in six overs.
When Afridi brought himself on he captured Guptill in his first over with the New Zealand opener having made 42 off 19 deliveries.
Colin Munro only faced three balls before he ran himself to bring Anderson to the crease and Pakistan's hopes of salvaging the series disappeared.
Wahab Riaz was the most successful of the Pakistan bowlers with two for 43.
New Zealand and Pakistan play the first of three one-day internationals in Wellington on Monday.