Labor is "shell-shocked" at the "terrible" result of a NSW by-election that saw its primary vote slide backwards and the government retain the marginal seat, NSW opposition leader Jodi McKay says.
Ms McKay told reporters on Sunday she was "devastated" by the Upper Hunter result.
"We did not think that the result would be the way it is. We thought that people would hear our message," she said.
"We didn't expect that our vote would go to independents, we didn't expect our vote to be torn away as it was."
Labor conceded defeat on Sunday, with both Ms McKay and ALP candidate Jeff Drayton calling their Nationals counterparts to congratulate them.
Ms McKay admitted her party needed to do some "really genuine soul-searching" to figure out why it was not resonating with voters.
![Labor candidate for Upper Hunter Jeff Drayton and NSW Opposition Leader Jodi McKay speak to the media on polling day in Muswellbrook on Saturday, 22 May.](https://images.sbs.com.au/drupal/news/public/20210522001544089951-original.jpg?imwidth=1280)
Labor candidate for Upper Hunter Jeff Drayton and NSW Opposition Leader Jodi McKay speak to the media on polling day in Muswellbrook on Saturday, 22 May. Source: AAP
But she said that blaming her leadership would be a cop-out and would not address the fundamental structural issues facing the Labor party.
Nobody in her party room has asked her to step down or issued a challenge to her role.
Ms McKay urged her party to focus on issues that matter to working people in western Sydney and other places rather than "minority issues".
She says she's implemented changes since the 2019 poll, but the by-election shows the party hasn't made the progress she thought.
"The policies are good, I just don't know why we're not connecting," she said.
Deputy federal Labor leader Richard Marles played down what impact the result could have on a federal poll due in the coming year.
"I wouldn't be rushing to over-react to the result last night," he told Sky News' Sunday Agenda program.
"Ultimately, the incumbent won."
Nationals candidate Daivd Layzell had claimed around 30 per cent of the first preferences from over 41,000 votes counted at 2pm on Sunday.
Mr Drayton was next on 21 per cent, with the One Nation and Shooters, Fishers and Farmers Party candidates following on 12 per cent.
It represents a significant swing against the opposition, which got 28.6 per cent of first preferences in the 2019 state election.
"Our result yesterday, particularly in Singleton, is a warning to Labor that we can't take any community for granted," Mr Drayton, a coal miner and union official, said in a statement.
"Working class communities are hurting and they're turning away from this government. However, right now, they don't see Labor as the answer.
"Labor needs to do some real soul searching as to how we will win these communities back."
NSW Nationals leader John Barilaro said earlier on Sunday that the result was an indictment of the Labor party.
He accused them of pretending to be for mining and agriculture but not voting accordingly.
He said the problem was not Ms McKay's leadership.
"She's just a jockey, the horse is broken," he told Sky News. "They've got to start fixing their policies ...They just can't find their way back because they have forgotten about the people that actually matter."
Premier Gladys Berejiklian had said the government would need a miracle to win the seat.
Though the Nationals have held it the last 90 years, it has become marginal and governments traditionally don't do well in by-elections.
![NSW Premier Gladys Berejiklian speaks with NSW Nationals Leader and Deputy Premier John Barilaro on polling day in Muswellbrook, Saturday, 22 May, 2021.](https://images.sbs.com.au/drupal/news/public/20210522001544108303-original.jpg?imwidth=1280)
NSW Premier Gladys Berejiklian speaks with NSW Nationals Leader and Deputy Premier John Barilaro on polling day in Muswellbrook, Saturday, 22 May, 2021. Source: AAP
This race was sparked when Nationals MP Michael Johnsen stepped down after it emerged that police were investigating an allegation of sexual assault, which he has vehemently denied.
The final vote count will not be known for some days, with postal votes returning as late as Wednesday.