While it was a very slim victory in some cases, it reclaimed most of the traditionally safe seats where it still had the local MP but had lost the party vote to National during the John Key years.
It is a marked change from 2014 when National was ahead of Labour in 17 electorates which had Labour MPs in them.
There are now just five such seats, including Ohariu which was won by Labour's Greg O'Connor after years of United Future leader Peter Dunne.
The four other seats are Mt Roskill, Napier, Port Hills and West Coast Tasman.
Labour also managed to win the party vote in two seats held by National MPs - Nelson and Maungakiekie - although the margins are slim.
It also won back both the seat and the party vote in Christchurch Central - previously held by Labour but which National's Nicky Wagner won on her third attempt in 2011 after the Christchurch earthquakes.
Labour's candidate Duncan Webb won the seat off Wagner with a 2870 vote majority and Labour's party vote increased from 26 per cent to 41 per cent, overtaking National on 39 per cent.
While some of that came from the Green Party's drop, in 2014, National had commanded 45 per cent of the party vote.
IN return, National converted one Labour seat into a win for its candidate in 2017 - Hutt South was won by Chris Bishop this time round, the first time the electorate had been held by a National MP.
Labour General Secretary Andrew Kirton said it was part of an overall swing to Labour - and back to Labour in some cases.
In Nelson, National got a similar number of party votes as 2014 but increased turnout and the Green Party's drop meant Labour pipped National at the post.
Smith said it was traditionally a Labour seat which National had only won the party vote in since 2008.
He believed the result was partly because of the drop National felt in "urban liberal areas" such as central Auckland and Wellington.
He did not agree Boyack would have beaten him had Lawrey not stood, saying the "dynamics" in Nelson meant Lawrey's voters would not necessarily have voted for Boyack.
The Greens' focus on the constituency vote had come at the expense of the party vote, which dropped by 2000 to 3100.
Green Party co-convenor John Ranta said it was "a possibility" Labour would have won the seat had the Greens not campaigned it, but it did not change the numbers in Parliament which was decided by the nationwide party vote.
"There is obviously change in the air in the electorate and it's hard to know whether we were splitting voters, or taking voters that might have otherwise voted for Nick Smith off him, it's just speculation."
Kirton said the party vote had been a priority. "There is always going to be a situation you can tally up the different candidates and make all sorts of assumptions and hypotheticals about 'what ifs' but at the end of the day it's about securing as many votes as possible."
Despite the Memorandum of Understanding between the two parties, no "accommodations" were reached in any electorates.