Pedro Alvarez recorded his seventh career multi-homer game, including his third versus Milwaukee, and Jeff Locke tossed another gem as the Pittsburgh Pirates downed the Brewers, 5-2, in the second test of a three-game set at Miller Park.
Alvarez drove in three runs, while Andrew McCutchen and Neil Walker each clubbed solo homers for the Pirates, winners in nine of their last 11 games.
"The pitch that really made the difference for him was the fastball inside for strikes," Pirates manager Clint Hurdle said of Locke. "Very impressive. He's getting better, the confidence is there. He's not afraid of the barrel."
Locke (5-1) continued his recent success, tossing six innings of three-hit, shutout ball and striking out seven in the win.
"It's just nice to come here and win a game," Locke said. "We've struggled here, every body told me, even though I've only pitched here once before. I just know I have to keep attacking and take advantage of my tremendous defense."
The lefty has yielded three earned runs or less in each of his last seven starts since April 23, and has surrendered a total of seven earned runs during that span.
Carlos Gomez smacked two solo homers -- his seventh and eighth of the season -- to account for Milwaukee's lone runs. Mike Fiers (1-3) gave up four runs on five hits over four frames for the Brewers, who have lost four of six.
"He didn't give up a lot of hits, but when he did, they were homers," Milwaukee manager Ron Roenicke said of Fiers. "He hung some fastballs and missed location. I expect us to score runs, hopefully we'll get this thing going."
Fiers retired the first two batters of the game, but made a mistake by serving up a 1-0 offering over the middle of the plate to McCutchen, who smacked a line-drive homer that bounced off the top of the left field wall for a 1-0 Pittsburgh lead.
The Buccos utilized the longball once again in the second and fourth inning.
Walker hit a one-out single and Alvarez followed with a two-run shot to make it 3-0 in the second and Walker added to Pittsburgh's lead in the fourth with a solo homer to right to make it 4-0.
Gomez hit for his first homer off Justin Wilson, who relieved Locke in the seventh, while Alvarez hit his second of blast of the game in the ninth, a moon-shot to right field off Alfredo Figaro.
Tony Watson worked around Gomez's solo homer in the ninth to help the Pirates secure the win.
Walker is now tied with George Grantham for the second most career homers by a Pirates second baseman with 40 ... Locke is 4-0 in his last seven starts and also has allowed 24 hits ... Milwaukee fell to 5-17 in May ... Pittsburgh is just 47-9 versus Milwaukee at Miller Park since 2007 ... Fiers started in place of Kyle Lohse, who is nursing a sore elbow.