Nearly 400 absentee ballots cast in Milwaukee that were not opened on election day were discovered as part of a recount.

Democrat Joe Biden won Wisconsin by 20,600 votes and President Donald Trump paid for a recount in just Milwaukee and Dane counties — the counties with the most votes for Biden.

The 386 uncounted ballots were found on the fourth day of the recount.

US presidential election certified results
(PA Graphics)

The city’s top elections official, Claire Woodall-Vogg, said not counting the 386 ballots on November 3 was due to an error by new election inspectors. The unopened ballots were discovered underneath ballots that had been counted, she said.

The county board of canvassers voted unanimously to count the ballots as part of the recount.

Ms Woodall-Vogg said: “If there’s one positive to come out of the recount it’s that indeed that every vote is being counted, including these 386.”

As of Tuesday morning, recounted ballots not including the newly discovered ones showed a net gain of only 57 votes for Mr Trump.

The president is widely expected to file a lawsuit challenging tens of thousands of absentee ballots once the recount is complete.

His campaign has raised objections to broad categories of ballots, including all absentee ballots cast in-person.

Election 2020-Wisconsin-Recount
Wisconsin has 10 electoral votes (Mike De Sisti/Milwaukee Journal-Sentinel via AP)

While the recount in Wisconsin continues, Mr Trump has suffered a series of legal defeats in other states including in Pennsylvania where Mr Biden’s win was certified.

That win, giving him Pennsylvania’s 20 electoral votes, had put him over the 270 needed, leading The Associated Press to declare Mr Biden the president-elect four days after election day.

Mr Biden has collected 306 overall electoral votes to Mr Trump’s 232.

Wisconsin has 10 electoral votes.

Wisconsin’s recount got off to a slow start last week as elections officials addressed a myriad of complaints from Mr Trump’s attorneys and observers.

But Brian Rothgery, spokesman for the Milwaukee county board of supervisors, said that as of Tuesday, the work was “very close to being back on schedule” and could be completed as soon as Wednesday.

The recount is about 36% complete in Dane County and only “slightly behind schedule,” said Dane county clerk Scott McDonell.

Neither county planned to work on Thanksgiving. They must complete the recount by December 1, the deadline for certifying the vote.