Hillary Clinton lost to Donald Trump in the presidential election, but she’s winning the unpopularity contest, according to a new poll.

Clinton is viewed favorably by just 39 percent of Americans, two percentage points lower than the president, a Bloomberg National Poll released Tuesday shows.

The survey also says that 58 percent of Americans have an unfavorable view of the former Democratic presidential candidate compared to the 55 percent who have an unfavorable view of Trump.

Clinton’s favorability rating was the second-lowest since the poll began tracking her in 2009.

“There’s growing discontent with Hillary Clinton even as she has largely stayed out of the spotlight,” said J. Ann Selzer, who oversaw the Bloomberg survey. “It’s not a pox on the Democratic house because numbers for other Democrats are good.”

Former President Barack Obama has a 61 percent favorability rating — up 5 percentage points since December, and the highest since the poll began tracking him in September 2009.

His vice president, Joe Biden, is also enjoying high favorability ratings at 60 percent, the poll shows.

But the former secretary of state even lost popularity among people who voted for her in November, with more than a fifth saying they have an unfavorable view of her. Just 8 percent said that before the election.

In follow-up interviews, the pollsters found some Clinton supporters voted for her because she was the lesser of two evils.

“She did not feel authentic or genuine to me,” Chris Leininger, 29, an insurance agent from Fountain Valley, Calif., told Bloomberg. “She was hard to like.”

Robert Taylor told the poll he would rather have seen Sen. Bernie Sanders be the Democratic nominee.

“I felt like there was a smugness and that she was just a politician who was called a Democrat, but could have been a Republican,” said Taylor, 46, a second-grade teacher from suburban Chicago.

Still, some voters aren’t pleased with either.

Asked whom he would rather have a beer with — Clinton or Trump — Ray Cowart, 75, said neither.

“I wouldn’t go, even if I was thirsty,” said the retired owner of a software company in Elk Park, NC.

The survey of 1,0001 adults was conducted by telephone between July 8 and 12 and has a plus or minus 3.1 percentage-point margin of error.