CHICAGO -- Justin Verlander's fastball was still popping as he finished up the eighth inning.
Chicago, which won the series opener, had beaten Verlander in Detroit 11 days ago and was thinking sweep to really get back in the race in the AL Central.
But Wilson Betemit came through with a clutch RBI single in the eighth and the Tigers pulled out the victory behind their ace, who got his 14th win.
"Huge win. A lot of guys shy away from saying how big a series is at this point in the season, but I think it's a big win for us," Verlander said.
"These guys had the momentum coming into today. Obviously we're in first place and they need to catch up. A sweep would be huge for those guys. The course of the game was really a seesaw battle. To be able to come on top was uplifting for us and hopefully demoralizing for them," he said.
Verlander (14-5), allowed four runs and seven hits in eight innings, including two-run homers to Adam Dunn in the first and Paul Konerko in the sixth. Verlander, who threw 125 pitches, came back to strike out Konerko and Dunn with a runner on in the eighth.
"If your horse says he's OK, you leave him in there. That's just the way it is," Detroit manager Jim Leyland said.
Valverde pitched the ninth for his 27th save in as many chances.
Detroit leads the division by two games over the Cleveland Indians. The third-place White Sox are 4½ games out.
"It's tough, no doubt about it. We knew what tonight meant. We beat Verlander tonight and we have a chance to sweep those guys tomorrow. Tomorrow it turns back on us," said Chicago starter Jake Peavy, who lasted six innings.
"It's huge for them, especially with what we have coming up this weekend and to start next week (the Boston Red Sox and New York Yankees). They know. They pulled it out late and we didn't and that's just the way it goes," he said.
Will Ohman (0-2) issued a leadoff walk to Victor Martinez in the eighth and pinch-runner Andy Dirks stole second with Jesse Crain pitching. With two outs, Matt Thornton replaced Crain and Betemit -- recently acquired from the Kansas City Royals -- fouled off four pitches before hitting an RBI single to center.
"I'm sure he feels great for himself with a new team, against a team that's trying to chase you down in the division," Verlander said of Betemit. "That's the most crucial battle of the night, by far. To have him do it speaks volumes not only for the management for bringing him in, but for his concentration level and his ability."
Konerko's two-run homer, his 24th of the season and second in as many games, tied the game at 4-4 in the sixth and came right after the Tigers had scored three in the top of the inning.
Konerko said he wasn't surprised how hard Verlander was throwing in his final inning with one pitch clocked near 100 mph.
"He throws hard. I'm not amazed, I've seen him do it before," Konerko said. "You know it's there."
Brennan Boesch's bunt single got the Tigers started in the sixth. Magglio Ordonez followed with his second single of the game and Miguel Cabrera delivered with a bloop single to right to tie the game 2-2. Martinez then lined a single to right -- Detroit's fourth straight hit -- to put the Tigers ahead. Jhonny Peralta followed with a sacrifice fly to push the lead to 4-2. After a double by Betemit, Peavy intentionally walked Alex Avila to load the bases before striking out Austin Jackson.
Cabrera singled in a run in the fourth inning before Peavy pitched out of a bases-loaded jam.
Peavy allowed 10 hits and four runs in six innings and is still winless in five starts since he pitched four innings of relief against the Washington Nationals on June 25.
"Ran out of gas a little bit. Went as hard as I could for as long as I could," Peavy said. "But didn't have good stuff the later the game went. ... Come up with four runs on Justin Verlander. I wish I could have been better. It just wasn't meant to be tonight."
Dunn, who was 9 for 90 in his previous 25 games, fouled off three pitches before connecting on a 3-2 pitch from Verlander, sending the ball 436 feet into the bleachers in right-center field to give the White Sox a 2-0 lead. He struck out in his next three at-bats.
Verlander had given up seven hits and five runs -- four earned -- in six innings while losing to the White Sox in first start after the All-Star break on July 15. ... Chicago is 14-20 against the AL Central. ... The Tigers outrighted the contract of veteran third baseman Brandon Inge to Triple-A Toledo. Inge was designated for assignment last week after the Tigers acquired Betemit. Inge was batting just .177 with one home run in 70 games this season.