Pakistan, resuming at 304-4, were 401-6 at lunch on the second day of the second Test of the three-match series against West Indies in Abu Dhabi on Saturday.
Overnight batsman Misbahul Haq failed to complete his hundred as he fell for 96 on the bowling of pacer Shannon Gabriel, while nightwatchman Yasir Shah made 23 and was dismissed by Windies captain Jason Holder.
Wicketkeeper-batsman Sarfraz Ahmed played an aggressive innings of 45, as he along with all-rounder Mohammad Nawaz (16) steer Pakistan past 400 at the stroke of lunch.
For visitors, paceman Gabriel was the pick of the bowlers, as he picked three wickets and give away just 57 runs.
Pakistan lead the three-match series 1-0 after the first day-night Test by 56 runs in Dubai.