Nets 107, Pistons 105 (2OT): Joe Johnson hit a fade-away jumper from 23 feet at the buzzer for two of his game-high 28 points and Gerald Wallace added a season-high 25 points and 10 rebounds as Brooklyn snapped a four-game home losing streak.
Deron Williams added 17 points and six assists and Andray Blatche scored 16 off the bench for the Nets, who have won two straight after a season-worst five-game losing streak.
Brandon Knight scored 22 points and Rodney Stuckey added 19 off the bench to lead the Pistons, who have lost three straight overall and dropped to 2-12 on the road.
Detroit's Kyle Singler put back an offensive rebound to tie it at 105 with five seconds left in the second overtime, but Johnson drove on Tayshaun Prince and stepped back to hit the game-winner.
Wallace tipped in Johnson's miss to tie it at 90 with 20.7 seconds left in regulation, and Knight and Williams misfired on potential game-winners to send it to overtime. Johnson hit a runner in the lane to tie at 100 with 18 seconds left in the first overtime, and Stuckey missed from 15 feet with a chance to win it.
GAME NOTEBOOK: Brooklyn leading scorer Brook Lopez returned after missing seven games with a sprained right foot. He had nine points in 24 minutes. … The Nets scored a season-high 36 points in the second quarter to take a 59-47 halftime lead, but followed with just 14 in the third quarter as the Pistons seized the advantage. … Prince had 12 points and 10 rebounds for the Pistons.