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.
|Fabregas hopeful of Spain recall|
|Milinkovic-Savic plays down Juventus speculation|
|Rashford inspired by Ronaldo|
|Messi is not a leader, he is no Ronaldo, claims Petit|
|Better than Ballack? Hodgson backs Loftus-Cheek to shine against Panama|
|Svitolina and Garcia suffer upsets|
|Walker responds to Ferdinand criticism|
|Djokovic still hungry for more after reaching major milestone|
|Ellis drop goal earns Castleford dramatic win|
|Nigeria hero Musa unsure on Leicester City future|
|X marks the spot - Granit´s rocket sets World Cup first|
|Xhaka and Shaqiri follow the script as Serbia are derailed|
|Chandimal appeal against ban rejected|
|Real Madrid sign teenage goalkeeper Lunin|
|Serbia 1 Switzerland 2: Shaqiri strikes late to clinch crucial comeback victory|
|Suspended Srna joins Serie A side Cagliari|
|Cilic sets up Kyrgios showdown as Djokovic reaches milestone|
|Kudla up next in Federer´s Halle ´fight´|
|Assistant Farbrace to take charge of England for T20 games|
|Hummels hoping to be fit for Sweden clash|
|Hend surges clear as Fleetwood struggles again in Pulheim|
|Giant-killers Mexico embrace sudden weight of expectation|
|Roma complete €17.25m Kluivert deal|
|Pakistan name strong group for Zimbabwe tour|
|Choc Horror: Boullier insists McLaren do not hand out Freddos as bonuses|
|Neymar: Not everyone knows what I went through|
|Poland v Colombia: No time to dwell on regrets, warns Aguilar|
|Musa shows Messi how it´s done to set up critical Argentina showdown|
|Nigeria 2 Iceland 0: Musa brace boosts Super Eagles & Argentina|
|McLaren and Renault open to Ricciardo talks|
|We must win, we have no other choice - Maaloul|
|Germany will respond against Sweden, insists Low|
|´The best among all Asians´, South Korea trust in Son against Mexico|
|Stalin´s bunker an unlikely site for Russia´s World Cup charm offensive|
|England v Panama: Rashford tipped to start as Southgate´s side aim for last 16|
|Erasmus wary of ´wonderful´ Cipriani|
|Hummels to miss Germany-Sweden, confirms Low|
|Murray accepts Eastbourne wildcard|
|St Petersburg madness lines up Neymar and Brazil with heroes of the past|
|Martinez happy to be ´boring Belgium´|
|Japan v Senegal: Squeaky clean Group H rivals eyeing huge step towards last 16|
|Argentina team the worst in history - Ardiles|
|Ravanelli upsets wife by taking Arsenal job...in Kiev|
|Federer moves a step closer to 10th title in Halle|
|Brazil 2 Costa Rica 0: Coutinho and Neymar score in stoppage time to snatch win|
|Andersson: Sweden embracing big occasion as bug sweeps through team|
|LeBron in ´good dialogue´ with Cavaliers|
|Ronaldo will always be the best, Fonte claims|
|Southgate criticises press for England team leak|
|O´Mahony: Series win in Australia would be up there with Grand Slam|
|Khedira thrilled with Can capture, staying with Juventus|
|Samuel open to Higuain-Icardi swap deal|
|It´s just a game - Milligan disappointed by Kruse criticism|
|From drug-testing lab to gastro pub: Sochi happy not to forget dark past|
|Ronaldo will do what is best for him, says Carvajal|
|Kohli: India will feel at home in England|
|Barca target Lenglet yet to decide future|
|Germany perform best under pressure, Klose claims|
|Juanfran signs one-year Atletico Madrid extension|
|Julian Nagelsmann: The remarkable rise of RB Leipzig|
|Sterling: my daughter is Liverpool through and through!|
|Van Bommel to take charge of PSV|
|Hansen urges France not to ´squeal´ over decisions|
|Intelligent Jones will turn England´s fortunes around - Moody|
|Nainggolan confirms imminent Inter transfer|
|U.S. Open missed cut may be blessing in disguise - McIlroy|
|Schmidt in no rush to decide on his future|
|Wallabies treating decider as grand final - Hooper|
|Salah won´t leave World Cup, Egypt FA boss claims|
|Chandimal, Hathurusinghe and Gurusinha admit ´serious´ conduct breach|