South Africa needs six wickets on the final day for victory after Kyle Verreynne's maiden Test century left New Zealand needing to pull off a record run chase in the second Test.

New Zealand will resume on day five at 94-4, trailing by 332 runs after the Proteas declared at 354-9, setting the Black Caps an improbable target of 426 to win.

If the Proteas manage to clinch victory, it will deny New Zealand their first-ever Test series victory over South Africa after dominating the first Test at the same venue, Hagley Oval, last week.

New Zealand faced 42 overs after Dean Elgar's declaration late in the middle session, with Kagiso Rabada adding two more wickets to his first-innings five-wicket haul, while Keshav Maharaj also claimed two dismissals.

Verreynne was crucial to South Africa establishing complete dominance having resumed on day four at 5-140, with an overall lead of 211 runs.

The South African wicketkeeper-batsman was the perennial figure as the Proteas added 214 runs to their overnight score, with handy contributions from Wiann Mulder (35) and Kagiso Rabada (47), whose knock came from 34 balls and was a career high with the bat.

Verreynne and Rabada combined for a 78-run eighth-wicket stand which took the life out of New Zealand, who had hoped for a final-innings target no greater than 300.

Shortly after Rabada was dismissed, Verreynne brought up his maiden Test century swiping a length ball wide of fine leg.

Verreynne finished unbeaten on 136*, with Tim Southee, Matt Henry, Kyle Jamieson and Neil Wagner all claiming two wickets each.

Tasked with a record run chase, New Zealand's pursuit started disastrously with Rabada dismissing Will Young and Tom Latham in the first and third overs. New Zealand were soon 25-3 when Maharaj  - who sent down 16 overs in a row - bowled Henry Nicholls.

Devon Conway (60*) and Daryl Mitchell steadied the innings but Maharaj dismissed the latter for 24 late in the day.

Record run chase required

South Africa's declaration left New Zealand needing an unlikely 426 to win, which exceeds the current fourth-innings world record chase of 418 by the West Indies against Australia in St John's in 2003. With the Black Caps four down, that is unlikely to be threatened.

Verreynne firming as worthy de Kock's successor

Verreynne's opportunity in the Proteas line-up has come following Quinton de Kock's premature retirement and he is beginning to prove he is the future for South Africa after only six Tests.