Millennial voters of both parties are leaning toward anti-establishment candidates in the 2016 campaign, a new poll released Thursday finds, giving an edge to Sen. Bernie Sanders, businessman Donald Trump and retired neurosurgeon Ben Carson.

The survey of 18- to 29-year-olds by the Harvard Institute of Politics found that among young people who expect to vote

in Democratic primaries and caucuses, 35% said their first choice was the party’s frontrunner, Hillary Clinton, while 41% favored her insurgent challenger, Mr. Sanders.

Among likely Republican voters, the top candidates were Mr. Trump, who was first choice for 22% and Mr. Carson with 20%.