LeBron James contributed 24 points, 11 assists and eight rebounds for Miami, which survived an 11-2 run by the Pistons down the stretch to notch a fifth victory in six games.
Christ Bosh helped out with 17 points and seven rebounds
Brandon Jennings netted 26 points for Detroit, which had its two-game winning streak snapped.
Rodney Stuckey supplied 20.
Swim Week Miami Beach 2014 [PHOTOS]