If the ruling bloc cannot reach a deal, the country may have to go back to the polls

New Zealand's ruling coalition has fallen short of a parliamentary majority by one seat, following a campaign shaped by a sluggish economy and disillusioned voters.

It now needs the support of the centrist Opportunity Party to remain in power. If they cannot reach a deal, the country may have to go back to the polls.

The incumbent National Party led by Prime Minister Christopher Luxon secured 40 out of 130 seats, while its coalition partners ACT and New Zealand First took 13 and 12 respectively.

A government led by the centre-left Labour Party is not possible, official results on Friday show, as the bloc would not have enough seats even if Opportunity threw its weight behind it.

Labour secured 36 seats, The Greens took 17, while Te Pāti Māori, which represents Māori interests, picked up five.

Opportunity, which has been described as this election's kingmaker, secured seven seats. The party's leader Qiulae Wong has previously said she will negotiate first with the party that secures the largest number of seats.

Preliminary results on 7 November, election day, had projected that National combined with its coalition partners would have a slim lead over the left-leaning bloc.

But today's official tally shows it had lost two seats on special votes - cast by citizens who were overseas or outside of their registered electorate on election day - which typically skew left.

Some of National's key election pledges include lower taxes, cheaper energy, more renewable generation, and a greater focus on defence.

Labour, meanwhile, had campaigned to cut healthcare, public transport and fuel costs, more government support for social housing, among other things.

New Zealand's mixed-member proportional voting system means most governments are coalitions. Each voter makes two choices – for the representative of their constituency in parliament and a political party.

In earlier interviews with the BBC, many voters had expressed frustration over spiralling costs of living and high unemployment across the country, with declining faith in their political leadership.

"There's this kind of apathy and a bit of dread," said 21-year-old Imogen Vlutger.

A 40-year-old man said he didn't vote as he could not bring himself to tick any of the boxes on the ballot paper.

More than half of the country no longer see New Zealand as a land of opportunity, according to a survey by the Helen Clark Foundation, a public policy think tank.

Kiwis have been leaving the country in record numbers, with many of them, including former prime minister Jacinda Arden, moving to Australia.

'Flat', 'tired', 'cynical': Unusually gloomy Kiwis deliver New Zealand's tightest election in years