Hillary Clinton holds a slim lead over Donald Trump within the poll's margin of error. | AP Photo Poll: Clinton leads by 3 points in New Hampshire

Hillary Clinton holds only a slim, three-point lead over Donald Trump in New Hampshire, according to a new poll out Friday that also shows close races for Senate and governor.

The MassINC Polling Group/WBUR-FM poll shows Clinton leading Trump, 41 percent to 38 percent — well within the poll’s margin of error of plus or minus 4.4 percentage points.

That’s closer than in the immediate aftermath of the first debate late last month, when another MassINC survey showed Clinton ahead by 7 points, 42 percent to 35 percent.

Libertarian Gary Johnson continues have significant appeal in the state, drawing 11 percent of the vote in the new poll. Johnson was at 13 percent in the previous poll.

Green Party nominee Jill Stein draws a much smaller share of the vote, 3 percent, and a combined 7 percent say they prefer another candidate or are undecided.

There is some evidence the third-party candidates are hurting Clinton: When Johnson and Stein supporters are asked to choose only between Clinton and Trump and allocated accordingly, Clinton opens a five-point lead over Trump, 46 percent to 41 percent.

Clinton is viewed more favorably than Trump, even though only 40 percent of likely voters have a favorable opinion of the former secretary of state. Another 54 percent view Clinton unfavorably — fewer than the 60 percent that view Trump unfavorably. Only 34 percent of voters have a favorable opinion of Trump.

Other races down the ballot are also tightly contested. In one of the nation’s closest Senate races, incumbent GOP Sen. Kelly Ayotte and Democratic Gov. Maggie Hassan are tied, with each candidate earning 47 percent of the vote. Two percent prefer another candidate, and 5 percent are undecided.

That is statistically unchanged from two weeks ago, when Hassan had a slim, two-point lead over Ayotte.

Hassan’s image rating — 47 percent favorable versus 41 percent unfavorable — is slightly more positive than Ayotte’s: 44 percent favorable versus 44 percent unfavorable.

Ayotte said last weekend that she would not support Trump at the top of the ticket, one day after video emerged of Trump making sexually aggressive comments. Asked whether Ayotte made the right decision to dump Trump, 61 percent of likely voters say withdrawing her support was the right decision, more than twice the 30 percent who say she should have continued to support him.

Meanwhile, in the race to replace Hassan in Concord, Democrat Colin Van Ostern has pulled narrowly ahead of Republican Chris Sununu, 47 percent to 44 percent. That’s the reverse of the previous poll, which showed Sununu ahead by that three-point margin.

The new poll was conducted October 10-12, surveying 501 likely voters.