It was Chicago's first victory since the club learned Derrick Rose would be lost for the rest of the season with a knee injury.
Deng hit 11-of-17 shots from the field and made all four of his free throws to bring the Bulls back from a two-point halftime deficit. Chicago outscored the Pistons in the second half 48-26.
Taj Gibson added 23 points for the Bulls, missing just twice in his 13 shots. The Bulls had lost four in a row.
Kirk Hinrich, who has taken Rose's place in the starting lineup, had 13 points and seven assists.
Detroit lost for the 19th time in its last 20 meetings with the Bulls. Rodney Stuckey scored 25 points for the Pistons, who shot just 27 percent in the second half.