Sanchez's fifth homer this season gave Pittsburgh an 8-2 lead with two outs in the bottom of the fourth. Jack Wilson had two runs, three hits and one RBI, and one of three hits for Adam LaRoche was a second-inning solo homer.
Andrew McCutchen knocked in two runs and Nyjer Morgan one for the Pirates, who have won three of four.
Winner Zack Duke (7-4) allowed three runs and six hits in eight innings.
Detroit scored on a two-run first-inning homer by Marcus Thames and a solo shot by Ryan Raburn in the fifth. Rayburn had two of the seven hits for the Tigers, who have split their last four games.
Losing pitcher Armando Galarraga (3-7) gave up four earned runs and eight hits in just two innings.
Copyright 2009 by United Press International.