DETROIT (AP) — Jorge Polanco homered and drove in four runs, Brian Dozier added three more hits to his torrid second half and the Minnesota Twins beat the Detroit Tigers 8-1 on Tuesday night.

The Tigers lost for the third time in 14 games against Minnesota, costing them precious ground in a crowded race for the second AL wild card.

Kennys Vargas homered for the Twins, and Robbie Grossman drove in two runs.

Kyle Gibson (6-9) dominated, allowing one run and five hits in eight innings. The win ended a four-start winless streak, including when Gibson allowed five runs in five innings to Detroit on Aug. 23.

Matt Boyd (5-4) took the loss in his worst outing since June. He gave up seven runs, eight hits and a walk in 3 2/3 innings.

Dozier entered hitting .318 with 26 homers since the All-Star break. He's hit safely in 17 consecutive games.

Buck Farmer saved Detroit's bullpen by pitching 4 1/3 scoreless innings, but now the Tigers long reliever will be unavailable for starts by Anibal Sanchez and Mike Pelfrey on Wednesday and Thursday. Sanchez has struggled all year, while Pelfrey will be pitching for the first time since July and is expected to be on a low pitch count.

Boyd got into trouble quickly, allowing two runs before recording an out. Dozier led off with a base hit and Polanco blooped a double down the right-field line. Grossman lined Boyd's 11th pitch of the night into center for a two-run single, but the Tigers defense prevented further damage.

Vargas hit a hard grounder up the middle, but Jose Iglesias fielded it behind second and got off a backhanded flip toward the bag. Ian Kinsler caught it in his bare hand and threw in one motion to turn the double play.

Miguel Cabrera's RBI single made it 2-1 in the bottom of the first, but Gibson took control after that.

Polanco's two-run homer gave the Twins a three-run lead in the third. Grossman followed with a double, giving the top three in Minnesota's order six hits in six plate appearances, including three doubles and a homer.

Detroit loaded the bases in the fourth, but Gibson got Jarrod Saltalamacchia to pop out and end the inning.

Polanco had two shots at the triple he needed for the cycle but popped out and walked.

TRAINER'S ROOM

Twins: Miguel Sano was out of the lineup one day after leaving a game with stiffness and soreness in his lower back. Sano is listed as day to day but said he expects to miss two or three games.

Tigers: Justin Upton didn't play after aggravating a calf injury on Monday. Upton, one of Detroit's hottest hitters over the last three weeks, hopes to return within a day or two.

OLYMPIAN IN THE HOUSE

For the second day in a row, a medalist from the 2016 Summer Olympics threw out the first pitch. After boxing gold medalist Claressa Shields did the honors on Monday, it was Canadian Shelina Zadorsky, who won bronze as a member of the women's soccer team after a college career at the University of Michigan.

UP NEXT

The teams play the third of a four-game series Wednesday night, with Detroit's Anibal Sanchez (7-13, 5.69) facing Minnesota's Tyler Duffey (8-11, 6.13). Sanchez has shown some signs of improvement, going 1-1 with a 3.34 ERA in his last five starts.