The first period ended scoreless as both teams failed to light the lamp. One of the best opportunities for the Devils in the first came with Miles Wood racing down on a breakaway, but his chance was denied by Kyle Keyser.
The Devils play the New York Rangers on Wednesday at Madison Square Garden. You can watch that game on MSG or MSG+. Puck drop is 7:08 p.m. MST.
Devils goaltender Cory Schneider's first real challenge of the game came early in the second period when he denied Trent Frederic on a 2-on-1 rush that came off a New Jersey turnover at the other end.
Oskar Steen put the Bruins up 1-0 in the second period, scoring on a nice solo effort in which he stepped into the offensive zone and rifled a shot past Schneider.
Hughes provided a lift for his team later in the middle frame, potting his first goal of exhibition play. The equalizer came on the power play as the rookie finished off a nice feed from Sami Vatanen.
"A really nice pass by Sami to get through me then I just tried to get it off my stick as fast as possible, beat the goalie to the spot and luckily it went in," said Hughes.
Jesper Bratt gave the Devils their first lead of the night in the third when he got a piece of a Travis Zajac shot out in front. The goal made it a 2-1 game, but not for long.
Moments later, the Bruins tied the game at 2-2 when the Devils couldn't get the puck out of their own end and Chris Wagner potted one from on the doorstep.
Hughes almost set up Nikita Gusev out in front later in the frame with a beautiful backhand pass, right on the tape, showing off his elite vision and playmaking. The Bruins goaltender, however, made a great save to keep the Devils off the board.
Connor Carrick put the Devils back on top, 3-2, hammering home a one-timer.
Things got exciting when the Bruins tied things up at 19:10 of the third period with their goalie pulled for the extra attacker.
In overtime, Gusev set up Hughes in front for the game-winning goal as the Devils skated away with the victory.
"I think chemistry will come easy the more we play, that was just our first game, not too many expectations but it was nice to connect on that last goal."