A spirited bowling performance by the New Zealand attack led to Pakistan’s dismissal of 239 at Mount Maunganui on Monday.
It means the visitors trail New Zealand’s first-innings total by 192 runs ahead of the Black Caps’ second innings, which will get under way at the start of day 4.
Kyle Jamieson, Tim Southee, Trent Boult and Neil Wagner had the Pakistan batsmen in trouble at 80-6 but a 107-partnership between Mohammad Rizwan and Faheem Ashraf provided a glimmer of hope.
READ: Williamson ton puts NZ on top
The captain eventually departed for 71, while Ashraf fell nine runs short of a century as Wagner and Boult wrapped up the Pakistan tail.
Jamieson finished as the pick of the New Zealand bowlers with figures of 3-35 with Southee, Boult and Wagner each taking two wickets.