New Zealand completed a 5-0 whitewash of the one-day international series, despite a late fightback by Pakistan in the fifth and final ODI on Friday.
Pakistan's top order crumbled in reply to New Zealand's 271-7 but the tourists rallied to lose by only 15 runs in a nail-biting finish at Basin Reserve in Wellington.
The Pakistanis were facing another comprehensive defeat after Martin Guptill's 13th ODI century and Matt Henry's fine performance with the ball, which left the visitors reeling at 57-5.
Pakistan refused to surrender – even at 202-8 and 235-9 – the run chase set to go down to the final over as Haris Sohail (63), Shadab Khan (54), Aamer Yamin (32 not out), Faheem Ashraf (23) and Mohammad Nawaz (23) targeted New Zealand's attack.
But Pakistan were made to pay for their slow start, New Zealand surviving to win a bilateral ODI series 5-0 for just the second time in history.
Henry finished with figures of 4-53, having taken the opening three wickets – openers Umar Amin (2) and Fakhar Zaman (12) and Babar Azam (10), while Mitchell Santner (3-40), Lockie Ferguson (2-64) and Colin de Grandhomme (1-48) chipped in.
While Pakistan restricted the hosts, Guptill (100) took centre stage earlier in the day after Black Caps captain Kane Williamson won the toss and elected to bat first.
The 31-year-old Guptill and Ross Taylor (59), who posted his 41st half-century, combined for 112 runs after Colin Munro and Williamson made decent starts but failed to push on.
Munro stormed out of the blocks with 34 off 24 deliveries before he was dismissed by Rumman Raees (3-67), while Yamin (1-65) got the wicket of Williamson (22) 12 overs later.
That brought Guptill and Taylor together, and while Pakistan managed to slow New Zealand's scoring, the pair were able to celebrate milestones.
WOW - that got close ... very close!— BLACKCAPS (@BLACKCAPS) January 19, 2018
Terrific rearguard action by Pakistan takes them within 15 runs, but Henry (4-53) holds his nerve in the 49th over to seal a 12th straight victory #NZvPAK pic.twitter.com/UVoF2RpWQo
Guptill, who had a life on 72 after slipping over as Faheem Ashraf (2-49) missed the stumps in a run-out chance, brought up his ton off 125 balls but his innings was ended with the next delivery when he was caught by Mohammad Hafeez off Rumman as he tried to lift the ball over leg side.
His wicket triggered a middle-order collapse as the New Zealanders lost 31-4, including three in the space of five runs after Taylor followed Guptill back to the pavilion.
|Finally! Kane scores a Premier League goal in August|
|Warnock enjoyed ´poetic justice´ of Kenedy´s penalty woe|
|Holders Eintracht Frankfurt stunned by Ulm in DFB-Pokal|
|West Ham 1 Bournemouth 2: Wilson, Cook condemn Hammers to successive losses|
|Tottenham 3 Fulham 1: Trippier and Kane help Spurs avoid Wembley wobble|
|Leicester City 2 Wolves 0: Lucky Foxes win despite Vardy red card|
|Everton 2 Southampton 1: Richarlison continues fine start|
|Drochtersen/Assel 0 Bayern Munich 1: Lewandowski spares Bayern´s blushes|
|Violent hack, no passes, missed penalty - Kenedy´s Cardiff nightmare|
|Ronaldo handed Juventus debut against Chievo|
|Cheika and Hooper frustrated by second-half slump|
|Hansen issues warning after All Blacks win Wallabies ´prizefight´|
|Stuttgart stay good for Pavard, says Reschke|
|You can´t buy class - United boss Mourinho blasts City documentary|
|Cardiff City 0 Newcastle United 0: Penalty miss rounds off abject day for Kenedy|
|Lopetegui open to rotating Real Madrid goalkeepers|
|´World´s best´ Alisson will be difficult to replace, says Roma boss Di Francesco|
|Dragons and Sharks pounce on Panthers after four get sin-binned|
|AC Milan situation has proved FFP works - UEFA president Ceferin|
|Marseille´s Garcia uninterested in striker despite Balotelli link|
|Goodhue sparkles on debut as All Blacks thump Wallabies|
|I feel like chicken tonight - Saunders game for a laugh after Wilder fowl play|
|Aubameyang-Lacazette partnership possible for Arsenal|
|Pant handed debut as India ring changes at Trent Bridge|
|Pochettino pledges to protect Kane|
|Federer relieved to ´hang tough´ in Cincinnati|
|De Bruyne injury: Can Foden or Diaz replace Man City playmaker?|
|Furyk confident as Team USA takes shape|
|Neymar´s behaviour deserves praise, Tite claims|
|Scherzer, Harper lead Nationals past Marlins|
|Djokovic and Federer join Cilic, Goffin in Cincinnati semis|
|Federer outlasts recovering Wawrinka|
|WATCH: Djokovic wins match, loses car|
|Bolt arrives in Sydney for A-League trial|
|Red-hot Bertens beats Svitolina, Halep marches on|
|Snedeker preserves Wyndham lead|
|Halep hits back to torment Tsurenko|
|Raonic fails to break Djokovic stranglehold|
|Emery seeks more ´demanding´ Ozil|
|CAF Champions League Review: Wydad, Al Ahly & TP Mazembe qualify|
|Stephen Curry wants to finish his career with Warriors|
|Hazard among Europe´s best but can improve, says Sarri|
|Tigers boost top-two hopes, Giants close in on fourth|
|Birmingham City 0 Swansea City 0: Monk´s men held despite dominance|
|Inter taking legal action against Tebas over Modric transfer comments|
|Serie A transfer round-up: Zaza joins Torino, Parma sign Gervinho|
|Roma chief Pallotta makes light of De Laurentiis claim|
|Federer starts double-header by seeing off resilient Mayer|
|Ospina joins Napoli on loan from Arsenal|
|Klavan completes Cagliari switch|
|Djokovic holds out against Dimitrov as Raonic awaits|
|New dates confirmed for postponed Serie A fixtures|
|Halep breezes past Barty to set up Tsurenko clash on same day|
|Olesen unable to capitalise on strong start as Jamieson, Waring go clear|
|Hoffenheim tie Kramaric to four-year deal|
|Mina to miss Southampton clash while Gomes is ´weeks´ away|
|Barcelona coach Valverde dismisses Pogba speculation|
|Valverde not prioritising Champions League over defending Barcelona´s LaLiga title|
|Allegri thanks outgoing Juventus icon Marchisio|
|Pants display from Beef? Johnston forced into change of trousers in Sweden|
|Tour champion Thomas has Welsh velodrome named in his honour|
|Gloucester surprised and disappointed by RFU´s swift Cipriani charge|
|Storm skipper Smith´s back injury not ´too serious´|
|Spurs fixture switch doesn´t appeal to Guardiola|
|Brazil call up Andreas Pereira & Arthur but omit Man City stars|
|Mbappe returns to PSG squad, Kehrer set for debut|
|No Messi in Argentina squad as Simeone wins first call-up|
|England man Roy embarrassed by self-inflicted facial injury|
|Atletico Madrid fined for breaching third-party regulations|
|Cipriani charged by RFU after common assault conviction|