New Zealand's batsmen will face a testing session before the close of play after South Africa declared on 9-474 after tea on day three of the third Test in Wellington.
South Africa added 37 runs and lost two wickets after tea before captain Graeme Smith called the innings to a close, leaving the Black Caps at least 26 overs to face before stumps.
Mark Gillespie grabbed both wickets to fall to end with career-best figures of 6-113.
He had Mark Boucher caught in the gully for 46 and Vernon Philander on the mid-wicket boundary for 29 as the Proteas searched for quick runs.
Earlier, the visitors batted New Zealand out of the Test thanks to centuries from Alviro Petersen and JP Duminy after resuming the day on 2-246.
Petersen top-scored with 156 and Duminy made 103 as the pair added 200 runs for the third wicket.