Federal Labor MP Sam Rae has left the door open to potential preference deals with One Nation after Labor suffered a devastating defeat at the Victorian state election, ending 12 years of Labor government.

Speaking to News24.com.au on Sunday morning, Mr Rae declined to rule out the possibility of Labor entering preference deals with One Nation in limited circumstances.

Mr Rae was asked whether Labor should consider striking the deals after One Nation recommended its voters put Labor and the Greens last in every seat at the election.

“Oh, that’s a hypothetical for party officials to deal with,” Mr Rae told News24.com.au.

“I used to be a party secretary, as you know, and today I’m thinking about those party officials who’ve worked very hard.

“But ultimately, those are decisions they’ve got to make. Those are decisions that have both strategic and tactical ramifications.

“Of course, they need to be considered in the context of the values of our party and our movement, the people that we represent.”

The comments come as Labor confronts the scale of its election defeat in Victoria and faces questions about how it should respond to One Nation’s growing support.

Labor could lose as many as 40 lower house seats following Saturday’s election, with Jess Wilson becoming Victoria’s first female Liberal premier.

Outgoing Labor Premier Ben Carroll, who also lost his own seat of Niddrie, accepted full responsibility for the defeat during an emotional concession speech on Saturday night.

“Friends, this is a significant loss for Labor. It’s not the result we wanted, but it is a result we accept. As leader of the party, I take full responsibility,” Mr Carroll said.

“Democracy is both beautiful and brutal. Beautiful, because we get to witness the will of the people. And brutal, because it is so difficult and painful to lose.

“But Victorians have spoken. And their message is clear. They want change. Serving as the member for Niddrie, Minister and Premier has been the honour of my life.”

Mr Carroll became the first incumbent Victorian premier leading a major party to lose his own seat since 1883.

“To my cabinet and Caucus colleagues, many who are not returning, guys, friends, I am so sorry we did not get there tonight,” Mr Carroll said.

The outgoing premier maintained Labor had run a “strong campaign” but conceded the party could “not outrun time” after three consecutive terms in government.

Meanwhile, the Albanese government has also faced federal fallout from the election result.

Of Victoria’s 38 federal House of Representatives members, 27 are Labor MPs, accounting for about 29 per cent of the federal caucus.

A loss of nearly all those seats at the next federal election could see Labor lose its majority government.

Mr Rae, who represents a seat in northwest Melbourne, conceded Labor was “smashed” in Victoria.

“That’s obviously very painful for Labor people. But most importantly, it’s painful because our job is to relentlessly focus on the needs of working people,” he said.

Asked about whether the Albanese government could accept any responsibility for the rout in the state, Mr Rae said he did not believe so. 

“I think the reality is this election was predominantly focused on Victorian state issues. We saw that throughout the campaign from all the parties,” he said.