Jonathan Bernier made 21 saves before leaving after the second period with an upper-body injury. Jimmy Howard replaced him in the third period and made seven saves.
Dylan Larkin and Danny DeKeyser each had a goal and an assist for Detroit (30-38-10), which has won four straight and six of its past seven games.
WATCH: [All Devils vs. Red Wings highlights]
"We haven't given up on the season," Larkin said. "I guess you can look at this as meaningless hockey, but we've called up a lot of young guys and everyone here still has something to play for, so we're playing hard."
Mackenzie Blackwood made 29 saves for New Jersey (29-40-9), which has lost 11 of its past 15 games (4-10-1) and has scored one goal or fewer in five of its past six.
"I thought we played a pretty good game. It was 2-0 before we had a couple bad breaks in the last few minutes, but we have to find a way to score," Devils coach John Hynes said. "We created a lot of chances tonight, including some odd-man rushes, but we aren't finishing when we get the opportunity."
DeKeyser gave the Red Wings a 1-0 lead at 13:38 of the first period, redirecting a pass from Larkin in the slot.