The Brewers rocked Archer (4-7) for six runs and six hits in the third, when two close calls in the outfield started the trouble for Pittsburgh.
"I didn't execute," Archer said. "Five consecutive hits. I didn't throw the ball where I wanted to, and they capitalized on every single one. One or two mistakes, that's OK. A six-run inning is inexcusable."
A pair of fine defensive efforts by the Pirates came up short and set the stage for the Brewers' big inning.
Right fielder Gregory Polanco had the ball pop out of his glove on a long sacrifice fly by Jesus Aguilar. Center fielder Starling Marte raced and dove for Travis Shaw's sinking liner, but the ball trickled free for a double. Ryan Braun followed with an RBI single.
"There are tipping points in the game every day," Pirates manager Clint Hurdle said. "Those were a couple of them, for sure."
Still, he praised the defensive effort.
"The one that cracked my heart a little bit was Marte laying out in center field, catching the ball, but it rolled out of his glove," Hurdle said. "He gave his best effort. It was everything you want to see from a guy who's won a Gold Glove."
Even Brewers manager Craig Counsell tipped his cap to Marte.
"He made a great attempt to make a great play," Counsell said. "Travis hit a ball hard, and Marte made a great effort."
Schoop hit a solo shot in the seventh off Nick Kingham, recalled Saturday from Triple-A Indianapolis.
Adam Frazier, who hit a three-run homer in the Pirates' 9-1 win Saturday night, teed off on Anderson for a two-run shot and Polanco followed with a solo drive that pulled the Pirates to 6-4. A single by Francisco Cervelli chased Anderson with nobody out and brought on Josh Hader.
Corey Dickerson grounded to second baseman Schoop, who tossed to shortstop Orlando Arcia at second. Cervelli slid into Arcia as he made the relay throw to first. Second base umpire D.J. Reyburn called Cervelli out for interference and gave the Brewers a double play. Elias Diaz grounded out to end the inning.
Hader followed up with a 1-2-3 seventh, and Joakim Soria worked around two infield throwing errors in the eighth. Jeremy Jeffress, who blew a save Friday night, pitched the ninth for his seventh save.
Archer, who exited his previous start against Atlanta after four innings with left leg discomfort, walked two and struck out five in his second career start against Milwaukee. His first, a 2-1 victory, came as a member of the Tampa Bay Rays last August.
Pirates: INF Josh Harrison wasn't going to play in a precautionary move, but he did pinch-hit in the fifth. He's been dealing with a left hamstring issue and left Saturday night's game in the eighth after hustling from first on a double by Kevin Newman. "Everything was fine up to that point," Harrison said. Asked if a trip to the disabled list was possible, he said: "I don't plan on it."
Brewers: In the seventh, Pirates reliever Kyle Crick hit Shaw with a pitch just above the right knee. After a brief delay, Shaw trotted down to first. He had a huge red mark on his thigh after the game, but said he'd be ready to go Tuesday.
IT'S A FIRST
The victory gave the Brewers their first series win against Pittsburgh this season. Milwaukee improved to 4-9 vs. the Pirates overall with two three-game series remaining between the NL Central rivals
NO COMPLAINT FROM HURDLE
Cervelli aimed for Arcia instead of the bag while trying to break up the double play. After a slight delay, Reyburn signaled Cervelli out for interference.
"It's a book rule," Hurdle said. "If he doesn't call it, they're going to review it and get the call in New York. You have to make an attempt to get to the bag. It's a rule. Unfortunately, we didn't make an attempt to get to the bag on the slide."
Frazier is batting .354 (29 for 82) with 11 doubles, four homers, 17 RBI and a 1.034 OPS in 26 games since being recalled on July 25. His seventh home run of the season was his fourth in seven games against the Brewers dating to last September. During that span, he's batting .429 (12 for 28) with 12 RBI vs. Milwaukee.
Brewers: RHP Junior Guerra (6-8, 3.72) makes his fourth start this season against Cincinnati on Tuesday as the Brewers begin a six-game road trip.
More AP MLB: https://apnews.com/tag/MLB and https://twitter.com/AP-Sports
The secret that Vladimir Guerrero Jr. shared with ESPN
Vladimir Guerrero Sr. gave only one piece of advice to his son: follow in the footsteps of one of his teammates, considered a member of the family, and whom he has known since he was six years old - veteran designated hitter Kendrys Morales.
Stanton glad to play meaningful games 'past May 7th'
Giancarlo Stanton says the biggest difference about coming to New York is playing meaningful games in May and that postseason success is what is driving him.
Blue Jays' Vladimir Guerrero Jr. targets Kendrys Morales as mentor
Vladimir Guerrero Jr. says his Hall of Fame father advised him to seek out DH Kendrys Morales as a mentor in the same fashion Morales did with Guerrero Jr. as a rookie with the Angels nearly 15 years ago.
Trout on playing for Phillies: 'I can't predict the future'
Mike Trout jokes that he is asked when he will join the Phillies every day and says he has not spoken to Bryce Harper or Manny Machado.
Miguel Cabrera faces pitcher for 1st time since June arm injury
Miguel Cabrera says he is fully healthy and ready to get back on the field and play. The two-time AL MVP hit against a pitcher Monday for the first time since rupturing a tendon in his left biceps on June 12.
Red Sox owner John Henry says spending more tends to helps teams win
Boston Red Sox owner John Henry said Monday that, while there is not a perfect correlation between a bigger payroll and winning, "spending more money helps."