But Adames doubled home Tyrone Taylor in the fifth, and Milwaukee went ahead to stay on Omar Narváez’s run-scoring groundout against Miguel Yajure (1-1) in the sixth.
Hunter Renfroe sparked Milwaukee’s big seventh with a one-out single. Renfroe advanced on Kolten Wong’s walk and scored on Hiura’s single. Urías followed with an another run-scoring single for a 4-1 lead.
Pirates manager Derek Shelton then replaced Yajure with Yohan Ramirez. But the Brewers extended their rally with a little patience. Consecutive walks for Narváez, rookie pinch-hitter Garrett Mitchell and Christian Yelich brought home two more runs.
Peralta allowed two hits, struck out three and walked none. Rogers, Brad Boxberger and Adrian Houser then combined for four innings of three-hit ball.
Pirates starter Zach Thompson struck out five in four scoreless innings. He allowed three hits and walked one.
Pirates: RHP David Bednar (back inflammation) has been throwing on flat ground and will throw a side session in the next few days. If all goes well, he could throw a live batting practice session by the end of next week, director of sports medicine Todd Tomczyk said.
Brewers: 1B Rowdy Tellez returned to Milwaukee’s lineup after being limited to pinch-hitting duty because of right knee soreness that sent him to the bench in the third inning of Monday night’s game.