After falling behind by nine points, the Heat outscored Detroit 26-4 during a seven-minute stretch in the second quarter to take a 60-47 lead. Wade scored 15 points during the spurt.
LeBron James had 23 points, seven rebounds and seven assists for the Heat, who shot 56 percent.
Miami, last in the NBA in rebounds, also won the battle of the boards, 36-35.
Greg Monroe scored 31 points for the Pistons, who never got close in the second half.
Wade's most acrobatic basket was a fallaway jumper when he was fouled. He took a tumble and slid across the floor on his backside as the ball swished through the net.
On three successive possessions late in the first half, James and Wade took turns feeding each other.
First, James threw an alley-oop pass to Wade for an easy layup.
The Heat then forced a turnover to start a fast break that ended with Wade's alley-oop pass to James for a dunk.
Next came another Pistons turnover, and Wade flipped an underhand pass across the lane to James for another dunk and a 60-47 lead.
Jeff Teague had 23 points for Atlanta before fouling out in the first overtime. Al Horford had 24 points and 13 rebounds. Josh Smith, who opened the second overtime with a three-point play, had 17 points and 14 rebounds.
Kevin Garnett had 24 points and 10 rebounds as the Celtics were left with their longest losing streak in six years
In Chicago, Kirk Hinrich scored a season-high 25 points, hitting six of seven three-pointers in Chicago's 103-87 victory over Golden State.
Nate Robinson added 22 points off the bench in the Bulls' third straight victory. Jimmy Butler had 16 points and a career-high 12 rebounds starting in place of All-Star Luol Deng, who missed his fourth consecutive game due to a right hamstring injury.
David Lee, the Warriors' All-Star selection, scored 23 points.
In Cleveland, Kyrie Irving scored 35 points and the Cleveland Cavaliers rallied from a 20-point deficit in the third quarter to defeat the Milwaukee Bucks 113-108, while in Memphis, Tennessee, Marc Gasol had 20 points and nine rebounds and the Memphis Grizzlies blitzed the Brooklyn Nets 101-77.
In other games Friday, Kevin Durant had 24 points and 11 rebounds as the Oklahoma City Thunder overcame a slow start to overwhelm the Sacramento Kings 105-95 and Metta World Peace hit five 3-pointers on his way to scoring 17 points in the Los Angeles Lakers' 102-84 victory over the Utah Jazz.
Also Friday, the Washington Wizards earned its tenth win of the season with a 114-101 victory over the Minnesota Timberwolves, the Houston Rockets beat the New Orleans Hornets 100-82 and the San Antonio Spurs had a 113-107 victory over the Dallas Mavericks.