President Donald Trump has a woman problem – and it could cost him re-election next year, according to a detailed poll released Thursday.

The survey of voters in battleground states found that both former vice president Joe Biden and Sen. Elizabeth Warren of Massachusetts would best Trump by an aggregate 6 and 5 points, respectively, in 17 battleground states, according to the poll, conducted by Democracy Corps for the Voter Participation Center and Center for Voter Information.

That might not sound like a big advantage, says veteran Democratic pollster Stan Greenberg. But Trump won battlegrounds by 1% in 2016 – and the battleground map in the recent Democracy Corps survey includes states like Ohio (which Trump won by 8 percentage points ) and Texas, a state that has not voted for a Democrat for president since 1976, but which is getting bluer due to urbanization and an increasing Latino vote.

The reason? Credit (or blame) women, who are fleeing Trump's camp in droves. That includes, much to Greenberg's surprise, white working class women, who were an important element of Trump's unanticipated victory in 2016, voting for the president by a 27-point margin.

White working class women moved away from Trump in the 2018 midterms and more so earlier this year. But this was the first time Biden and Warren break even with Trump with this demographic, according to the survey. "That brings an end to Trump's white working class revolt in 2016, as the women are a majority of the white working class," says a memo prepared by Greenberg.

Meanwhile, both Biden and Warren best Trump with every other category of female voter in battleground states, the survey found. That includes African American women (Biden has an 83-point advantage over Trump, and Warren, a 78-point advantage); unmarried women (Biden has a 34-point edge over Trump, and Warren, a 32-point advantage); white unmarried women (an 18-point advantage for both Democratic hopefuls); Hispanic women (a 30-point advantage for Warren, and a 25-point edge for Biden); white Millennial women (a 12-point advantage for Biden and an 11-point advantage for Warren over Trump); and white college-educated women (a 14-point edge for Biden, and a 15-point advantage for Warren.

Cartoons on President Donald Trump View All 948 Images

Women overall favored Hillary Clinton in 2016, although a majority of white women cast ballot for Trump, according to exit polls.

The recent poll, taken Oct. 5-9, after the impeachment inquiry was announced, is notable for two reasons: they show a growing gender gap that by definition hurts Trump, since women are a majority of voters. And it suggests that the conventional wisdom about the divided electorate now – that people have basically bought the T-shirt and settled into a red or blue camp, and just need to be motivated to vote – is not correct. The movement among female voters further away from Trump indicates people are changing their minds about the polarizing president.

"There's something big going on here," Greenberg says. "We've never had anything like that margin with unmarried women." Among the Democratic base pollsters call the "Rising American Electorate" – young people, unmarried women and people of color – both Biden and Warren "are building landslide wins" over Trump, the polling memo said. "These margins are unprecedented. It is part of a female wave that is becoming more and more dramatic."

Trump still does slightly better than Biden or Warren among Hispanic men and millennial men, besting each of the Democratic hopefuls by single digits. There has also been an erosion of support for Democrats among those male voter groups as well as African American men, the polling memo said.