Castellanos also homered and singled to help Cincinnati improve to 7-2 in extra-inning games this season. Lucas Sims (3-1) pitched two innings for the win.
Jesse Winkler was at second base to start the 12th and Castellanos hit a pitch from Antonio Santos (0-1) to the wall to make it 5-4. Pinch-hitter Nick Senzel singled and Eugenio Suarez had an RBI groundout.
Colorado got a run on Raimel Tapia’s groundout in the bottom of the inning off Heath Hembree, who earned his first save.
The Reds have played the most extra-inning games in the majors.
“Extra innings, everybody’s up, everybody’s believing in the guy that they’re going to get it done,” Castellanos said of the team’s success.
“It felt really good. It was great,” Farmer said of his third home run of the season. “I’ve come close a couple of times. I didn’t think I had any more power left in me.”
The teams combined for 36 runs in the first two games, and early it looked like another big scoring night.
Ryan McMahon hit his ninth homer, a 478-foot shot according to Statcast, to put the Rockies ahead 2-0 in the first. Castellanos responded with a two-run shot in the third off Jhoulys Chacín, his 10th.
The pitching took over from there. Cincinnati starter Tyler Mahle settled down after the first inning to blank Colorado on five hits over the next six innings and worked out of a jam in the seventh. Garrett Hampson led off with a triple but Mahle stranded him at third.
“We’ve been getting the big hit lately. Tonight it didn’t come our way,” Rockies manager Bud Black said. “We had multiple opportunities to get a base hit, to do some situational hitting, just didn’t happen tonight.”
Mahle allowed two runs and seven hits and struck out four in his seven innings.
Reds: INF Mike Moustakas (heel contusion) did not play. ... OF Scott Heineman was added to the taxi squad for the last two games of the series.
Rockies: OF Charlie Blackmon wasn’t in the starting lineup due to a mild right groin strain suffered Friday night. He pinch-hit in the seventh and struck out. ... INF Brendan Rodgers (right hamstring) went 2 for 3 for Triple-A Albuquerque on Friday night in a rehab assignment.
SHOGO SAVES THE DAY
Hampson sent a drive to deep center with two outs in the bottom of ninth that looked destined for extra bases until Shogo Akiyama made a leaping catch to end the inning.
He got a bear hug from Jesse Winkler at the warning track and a tip of the cap from reliever Tejay Antone.
“I didn’t think he had a chance off the bat and he kept tracking it,” manager David Bell said. “He has that ability to close on the ball but then also it’s like he almost hangs a little bit in the air. It’s a beautiful play to watch. He was just gliding. There’s nothing like a great defensive play like that.”
LONG TIME, NO START
Chacín, normally in the role of long reliever, made a spot start for Colorado and allowed two runs on four hits in four innings. It was his first start for the Rockies since June 28, 2014, and in between he pitched for six teams over six seasons.
Chacín threw 53 pitches and got nine of his 12 outs on ground balls, including one double play. The other three were retired with strikeouts.
Mondesi 464-foot HR helps Royals beat Boston 5-3, stop skid
— Adalberto Mondesi hit a 464 foot three-run homer, Salvador Pérez added his 18th home run this season, and the Kansas City Royals beat the Boston Red Sox 5-3 on Friday night for only their second win in their last 13 games.
Rockies walk it off on C.J. Cron's single
C.J. Cron sends the Colorado fans home happy with a walk-off single as the Rockies top the Brewers 6-5 in 10 innings.
Twins' triple and 2 bases-loaded walks in 10th beat Texas
— Luis Arraez hit an RBI triple to start the Minnesota 10th inning and the Twins then drew two bases-loaded walks to beat the Texas Rangers 7-5 on Friday night in the opener of a three-game series matching last-place teams.
Twins score 3 in the 10th to beat the Rangers
An RBI triple from Luis Arraez and two bases-loaded walks power the Twins to a 7-5 win over the Rangers in 10 innings.
Adolis Garcia sends 100 mph pitch into the seats
Adolis Garcia's first home run in June, his 17th of the season, ties the game for the Rangers against the Twins.
Adam Duvall's grand slam highlights 3-HR game for Marlins
Adam Duvall hits a grand slam and a 2-run shot, while Jon Berti chips in a 3-run shot helping the Marlins dominate the Cubs 10-2.