Playing mostly third-line minutes on a deep team that went to the Stanley Cup Final, Heinen put up 11 goals and 34 points in 77 games. That was a bit of a regression from the season before -- his first full season in the NHL -- when he had 16 goals and 47 points.
Heinen, who last week had filed for salary arbitration, is the first of three key restricted free agents to re-sign with the Bruins.
Heinen, who turned 23 Friday, just completed a three-year, $2.9875 million entry-level contract.
A native of Langley, British Columbia, Heinen was selected by the Bruins in the fourth round (116th overall) of the 2014 NHL draft.