National's Chris Bishop turned a 709-vote loss in Hutt South in 2014 to a 1530-vote win in 2017 over Labour's Ginny Anderson, following Labour incumbent Trevor Mallard's decision to stand as a list MP. It is the first time National has held the seat since it was created in 1996.
Other close races featured new candidates that retained seats for their respective parties.
In Maungakiekie, where National's Sam Lotu-Iga retired, National's Denise Lee won a 2157 majority over Labour's Priyanca Radhakrishnan - almost 2000 votes fewer than the number of votes that Green candidate Chloe Swarbrick won.
Labour's Deborah Russell defeated National's Paulo Garcia in New Lynn, a seat vacated by former Labour leader David Cunliffe, but where National had won the party vote in 2014. The party vote swung back to Labour with a narrow 307-vote majority in 2017.
National's Lawrence Yule managed to hold Tukituki, where National incumbent Craig Foss retired, though established Labour candidate Anna Lorck, who also ran in 2014, substantially closed the gap.
In the country's most marginal seat, Labour's Adrian Rurawhe again won Te Tai Hauauru, defeating a strong challenge from former rugby league star and Maori Party candidate Howie Tamati.
National's Harete Hipango retained Whanganui following the retirement of National incumbent Chester Borrows.
Nine of the 10 largest majorities went to National candidates, the largest being the 19,639 margin won by Selwyn MP Amy Adams. The only Labour candidate to make the top 10 was leader Jacinda Ardern, who won Mt Albert with a 15,264 margin.
Ardern had previously failed to win Auckland Central, where National's Nikki Kaye extended her narrow majority from 600 over Ardern in 2014 to 1581 over Labour's Helen White.
Four of the top 10 largest candidate majorities went to new MPs standing in National safe havens: Erica Stanford in East Coast Bays (previously held by Murray McCully), Tim van de Molen in Waikato (previously held by Lindsay Tisch), Simeon Brown in Pakuranga (previously held by Maurice Williamson), and Chris Penk in Helensville (previously held by John Key).
National also took nine of the top 10 electorates with the biggest party vote majority, mostly in affluent areas around Auckland: Hunua, Rodney, Tamaki, East Coast Bays, Epsom and Pakuranga.
Clutha-Southland also made the list, despite the controversy surrounding former MP Todd Barclay, and the handling of the matter by party leader Bill English. National MP Hamish Walker won the seat with a 14,354 majority, though the share of the party vote fell from 63 per cent in 2014 to 59 per cent in 2017.