Andre Drummond posted 23 points and 19 rebounds to lead the Detroit Pistons past the Magic 103-96 in NBA action in Orlando.
Blake Griffin added 20 points for Detroit, which snapped a five-game losing streak to even its record at 5-and-5.
The Pistons were 18-of-20 at the line in Wednesday's game, while the Magic were 7-of-9.
Evan Fournier had a game-high 27 points to pace Orlando, which had won its previous two games.
D.J. Augustin added 16 points and seven assists for the Magic, who fell to 4-and-7 overall.
The Pistons will play the Hawks Friday in Atlanta.