David Krejci and Reilly Smith both scored in regulation and again in the shootout as the Boston Bruins beat the Detroit Red Wings 3-2 Wednesday night.

The Bruins outshot Detroit 35-18 in regulation, and Jimmy Howard made three key saves in overtime — the last to stop Torey Krug at point-blank range. Howard, though, couldn't stop Krejci and Smith in the shootout, while neither Gustav Nyquist or Andrej Nestrasil could get their shots on net.

Nyquist tied the score at 2:56 of the third period, snapping a wrist shot past Bruins goalie Tuukka Rask to end Detroit's streak of nine scoreless power plays. Tomas Tatar also scored for the Red Wings.

Boston had two great chances in the final minute of regulation, but Howard made a pad save on Dougie Hamilton, then knocked away Simon Gagne's attempt to put in the rebound.

The Bruins got on the scoreboard to take advantage of Detroit's neutral-zone turnover. Krejci in alone against Howard and beat him on the glove side for his first of the season at 5:12 of the opening period.

Tatar tied it at 8:40, picking up a loose puck at the bottom of the face-off circle and beating Rask for his first of the year.

Rask stopped Luke Glendening on a breakaway early in the second period. Moments later, Howard made a point-blank save against Brad Marchand on a 2-on-1 break.

Smith then gave the Bruins a 2-1 lead with 6:29 left in the period, one-timing a pass from Patrice Bergeron for his second goal.

Nyquist's tying score was his third goal in three games, including the Red Wings' only two power-play goals.

Nyquist and Johan Franzen picked up back-to-back penalties, but Howard made four saves on the two power plays, making Detroit a perfect 10 for 10 on the penalty kill this season.

Daniel Paille hit the post moments after Boston's second power play, but the Red Wings struggled to take advantage.

NOTES: Bruins assistant coach Doug Houda needed multiple stitches in the top of his head after being hit by a puck during the second period. Houda was joking and fist-bumping players as he walked to the dressing room, and was back on the bench before the period ended. ... Gagne played his first game since the 2012-13 season, a day after signing a one-year $600,000 contract with the Bruins. ... In a schedule oddity, the Red Wings were hosting the Bruins for the second time in their first three games of the season.