The race for the White House has tightened to a virtual tossup, according to a new poll that showed Donald Trump surging even before Hillary Clinton’s e-mail scandal roared back to life.

The Republican has gained 10 points on Clinton since Oct. 23, an ABC News/Washington Post tracking poll released Saturday found.

He now trails her by only 2 points, within the survey’s 3-point margin of error. Clinton leads 47 to 45 percent.

The poll’s 1,148 likely voters were queried between Monday and Thursday — before FBI Director James Comey’s Friday bombshell that the feds were looking into new e-mails in the probe of Clinton’s private server.

Trump immediately tried to cash in on the resurrected e-mail controversy during Saturday appearances.

“A vote for Hillary is a vote to surrender our republic to public corruption, graft and cronyism that threatens the very foundations of our constitutional system,” he said at a Golden, Colo., rally.

“We are a nation of laws, and we are all equal under those laws. Hillary’s corruption shreds that foundation,” he said. “I want the entire corrupt Washington establishment to big-league hear: When we win on Nov. 8 and we go to Washington, DC, we will drain the swamp.”

Clinton fired back from a rally in Daytona Beach, Fla.

“Of course Donald Trump is already making up lies about this,” she said. “He is doing his best to confuse, mislead, and discourage the American people. I think it’s time for Donald Trump to stop fear-mongering, to stop disgracing himself, to stop attacking our democracy.”

Clinton campaign director Robby Mook admitted that campaign staffers were feeling “upset and concerned” about the latest developments, but downplayed the scandal’s potential electoral fallout.

“This issue has been vetted for some time now,” he said in a press call. “I think voters are clear, they understand the issue and have factored it into their decision. We don’t see it changing the landscape.”

According to the ABC/Washington Post survey, independent voters now favor Trump by 16 points, accounting for much of the polling shift. But Trump also improved his standing among GOP voters: 86 percent of Republicans now say they support him, 4 percent more than a week ago.

Republicans are also becoming more enthusiastic about their candidate: 81 percent said they are likely to cast ballots, up from 75 percent a week ago.

In an ominous sign for the Democrats, the survey found that reluctant Clinton supporters are less likely to turn out and vote for her on Election Day, accounting for a 3 percent slump for her in the last week.

But a new Reuters/Ipsos survey released Saturday showed Clinton leading by 15 percent in early voting. Early voting is allowed in 37 states.

Clinton has an edge in some red states like Texas, Arizona and Georgia and battlegrounds like Ohio, the pollsters found.

Democrats are traditionally more likely than Republicans to vote early, however — and GOP voters tend to turn out in greater numbers on Election Day.