California’s polls close at 8 p.m. Tuesday, but voters may have to wait days — or longer — to learn who won some of the closest state and local races.

The first results will arrive shortly after polls close, with updates continuing through the night. But mail ballots postmarked by Election Day can arrive through Nov. 10 and still be counted, leaving potentially decisive votes outstanding.

As Californians have come to know in the vote-by-mail era that began in 2020 when the state started mailing every registered voter a ballot, in some close contests, the winners may not be clear right away, or even days later. In the June primary, Republican Steve Hilton wasn’t determined to be Democrat Xavier Becerra’s challenger in the governor’s race until a week after the election.

News organizations may be able to call some races on election night, well before every ballot is counted. Close contests can take longer to resolve. Counties have until Dec. 3 to certify their results, with state certification scheduled for Dec. 11.

The delay comes from large numbers of vote-by-mail ballots arriving on or after Election Day, when polls close at 8 p.m. California allows ballots postmarked by or before Election Day and arriving up to seven days afterward to be counted. Election workers then must verify the signature on each vote-by-mail ballot envelope against the voter’s signature on file before it is counted. If there are questions, they will reach out to the voter to resolve them. In person voters also will be filling out or dropping off ballots at election offices and vote centers on Election Day. Ballots submitted before Election Day can be verified before then.

Slow counts in states like California led the Trump administration to try to impose restrictions on voting by mail, such as allowing post offices to deliver only ballots on lists of verified voters. That prompted election officials in California to urge state voters to vote early and to consider dropping ballots at official drop boxes or election offices. Ultimately, the U.S. Supreme Court ruled the administration’s order couldn’t be imposed for the midterm election.

State officials have tried to help speed the count, approving $40 million in extra funding in the new budget. Most of that is for county election offices to hire staff and purchase voting equipment, with additional funding for voter outreach and education through the Secretary of State’s office. Local election officials however said there is only so much they can do to quicken the count of late-arriving ballots.

“Our office is encouraging voters to return their ballots early to assist us in processing results sooner and avoid long lines on Election Day,” said Jim Irizarry, San Mateo County Assistant Chief Elections Officer.

Results in statewide, state legislative and congressional district races will be reported by the California Secretary of State’s office based on results and updates submitted by county election offices. Local races and measures will be reported by county election offices.

Here’s what county election offices are saying about their election result reporting:

Santa Clara County

The county expects to report its first round of results within 10 minutes of polls closing at 8 p.m., communications officer Steve Goltiao said. Those results will be updated every hour until all of the ballots from vote centers and ballot drop boxes have been collected and counted, he said, typically around midnight. The county will post on its social media channels when the last update of the night is posted on its election results website.

So how much of the total vote will be reported that night? It’s impossible to know the total until a week after Election Day, as ballots postmarked by Election Day may arrive up to a week later and be counted. The ballots that will be reported on the night of the election will include mail-in ballots received until the Monday before Election Day plus all votes cast in person up to and including Election Day, Goltiao said. The final update the night of the election will not include ballots collected from drop boxes on Election Day, which will be counted in the days after the election.

After Election Day, results will be posted daily by 5 p.m. for the first week, and then every other day by 5 p.m. thereafter, Goltiao said. His office is estimating that turnout — the percentage of registered voters who submit ballots — will be 55-65%, which he said is in line for a general midterm election.

Alameda County

Registrar of Voters Cynthia Cornejo said her office will report its first batch of results, representing early vote-by-mail ballots, shortly after polls close at 8 p.m. on Election Day, but could not be more specific. A second update will come after 9 p.m., which will include vote center ballots. Additional vote center returns will continue into the night, but Cornejo couldn’t say how often or when the last report might come.

The registrar’s office will have a report on how many unprocessed ballots remain Thursday, Nov. 5. Updated results will be reported on Friday, Nov. 6, Monday, Nov. 9 and Friday, Nov. 13, Cornejo said. She didn’t have a projection for turnout.

“In Alameda County, we have consistently received returned voted ballots since the week of Oct. 5,” Cornejo said. “While we continue to see voters returning their ballots, it is too early to determine overall voter turnout.”

Contra Costa County

Election officials will report initial results on Election Day “as soon after 8 p.m. as possible,” said Dawn Kruger, a spokesperson for the county elections department. She expects the department will make three or four additional updates that night until about midnight.

Those results will include vote-by-mail ballots and in-person ballots from the county’s Regional Early Voting Sites received before Election Day.

“Typically, the Election Night report only represents approximately half of the total vote that our office ultimately will receive,” Kruger said.

The first update after Election Day will be reported by 5 p.m. on Friday, Nov. 6, with additional results posted by 5 p.m. twice a week after that, Kruger said.

San Mateo County

First results on Election Day should be posted by 8:10 p.m., Irizarry said. The initial results released will include vote-by-mail ballots received in the mail through the Sunday before Election Day, as well as vote-by-mail ballots returned to vote centers and ballot drop boxes by the Sunday before Election Day, he said.

The next update will be released at 9:00 p.m., with further updates released every hour until all vote center ballots have been reported, Irizarry said. The final election night results report will depend on when all vote center ballots have been reported, but usually it is between midnight and 2 a.m., he said.

After Election Day, updated results will be released by 4:30 p.m. on Thursday, Nov. 5, Friday, Nov. 6, Monday, Nov. 9, Thursday, Nov. 12, Friday, Nov. 13 and Monday, Nov. 16, with additional results releases scheduled as needed, Irizarry said.