Donald Trump and Bernie Sanders are flying high after their New Hampshire primary victories, according to a new poll.

The Donald attracted 44 percent of the vote nationally among self-identified Republicans and GOP-leaning independents, the Morning Consult reported Friday.

Texas Sen. Ted Cruz, who won the Iowa caucuses and finished third in New Hampshire, came in a distant second with 17 percent.

Retired neurosurgeon Ben Carson and Florida Sen. Marco Rubio were in third with 10 percent each.

Former Florida Gov. Jeb Bush had 8 percent and Ohio Gov. John Kasich took 4 percent.

Trump’s support came from independent voters (47 percent), those who view themselves as other than conservative (47 percent) and those without a college degree (49 percent).

Almost half of voters who say their top priority is national security also choose Trump.

More than six in 10 Republicans have favorable views of Trump (67 percent), Rubio (62 percent) and Cruz (61 percent), the poll found.

Trump’s support has gone up six points since his New Hampshire victory.

On the Democratic side, Hillary Clinton won 46 percent of the vote, just seven points higher than Sanders’ 39 percent.

Sanders led by a 55 percent-to-36 percent margin among voters between 18 and 29 years old, while Clinton did best among those older than 65.

But he must still do better among non-white voters, who play increasingly large roles in states next up on the nominating calendar — such as South Carolina, where more than half the Democratic electorate will be African-American.

Clinton led among black voters by a 63 percent-to-26 percent margin, and among Hispanics by a 52 percent-to-44 percent edge, the poll found.

The Morning Consult polled 1,600 registered voters on Wednesday and Thursday. The poll has a margin of error of plus or minus 2 percentage points.