The Pistons took a four-point lead at halftime, but eventually lost their sixth in a row. Toronto outscored Detroit over the final two quarters 62-37.
Lowry scored 21 points and added nine assists. DeRozan had 19 points although he managed to hit just 3-of-15 from the floor. The Raptors had lost their previous two games after winning five straight.
Toronto won despite making 40 percent of its shots from the field, but the Raptors went 31-of-34 from the foul line.
Jonas Valanciunas chipped in 16 points and 11 rebounds for the Raptors. Amir Johnson had 10 points and 11 rebounds.
Detroit was led by Brandon Jennings with 22 points.
Notable deaths of 2014 [PHOTOS]