MIAMI -- Giancarlo Stanton homered twice, and Justin Bour chipped in with a monstrous two-run shot on Monday, but it was a lined single by Dee Gordon in the 10th inning that enabled the Marlins to celebrate a 6-5 walk-off win over the Phillies at Marlins Park.
The two-out single by Gordon gave Miami its fourth walk-off victory of the season and its first win in four games since the All-Star break.
"That was good, we showed pop today to score some runs, and Dee came through in the clutch at the end," said Stanton, who now leads the National League in homers with 28.
The Phillies worked out of a bases-loaded, one-out jam in the ninth inning, and almost escaped a similar situation in the 10th.
In both the ninth and 10th innings, the Phillies rolled the dice, going with five infielders on separate occasions. But on the night the Marlins got big homers, it was Gordon whose hit found the right spot.
"You see the five-man infield two innings in a row," Marlins manager Don Mattingly said. "Then, obviously, the big hit by Dee puts an end to that."
• Cut4: Koehler somehow avoids bat near the mound
"Bullpen did a heck of a good job," Phillies manager Pete Mackanin said. "That's why we played extra innings."
Derek Dietrich put Miami in business in the 10th inning with a one-out triple to deep right field off Mark Leiter Jr. Phillies right fielder Ty Kelly couldn't run the ball down, and after that, Kelly became the fifth infielder. Philadelphia intentionally walked J.T. Realmuto and JT Riddle. Pinch-hitter A.J. Ellis reached on a fielder's choice, with shortstop Freddy Galvis throwing Dietrich out at the plate, but Gordon delivered the game-winning liner to right.
The back-to-back intentional walks sped the game up to the point where Gordon had to rush on deck because he went to watch video on Leiter.
"I didn't have on batting gloves going onto the on-deck circle," Gordon said. "It was chaotic for a second because the intentional walk happens kind of quickly."
Stanton and Bour, who both participated in the T-Mobile Home Run Derby, each put on a power display against right-hander Jerad Eickhoff. Stanton blistered a two-run homer that clanked off the auxiliary scoreboard down the line in left in the first inning. In Miami's three-run fifth inning, Stanton lifted a towering home run to left. Miami went ahead, 5-4, on Bour's two-run homer. Per Statcast™, Bour's shot projected at 446 feet with an exit velocity of 112.2 mph, both personal highs on a home run this year.
"Well, [Eickhoff] got hurt by the long ball, obviously. The one guy is leading the National League in home runs, so that happens," Mackanin said. "And the other one he just made a bad pitch. Other than that, he did OK."
The Phillies used a two-out rally in the third inning to score four times off Tom Koehler, who threw 38 pitches in the inning, 30 of them with two outs. A walk to Cesar Hernandez got things rolling. Galvis had an RBI double, Maikel Franco had an RBI single and Nick Williams delivered a two-run double.
Hernandez pulled the Phillies even at 5 in the seventh inning with a sacrifice fly off Kyle Barraclough, who walked Brock Stassi and hit Cameron Perkins with a pitch to open the inning.
MOMENTS THAT MATTERED
Stanton's latest Statcast™ specials: Stanton's first home run was another Statcast™ special, projected at 441-feet with an exit velocity of 115.1 mph, to go along with a 25-degree launch angle. The two-run shot in the first inning off Eickhoff was the second hardest homer Stanton has connected on this year. Stanton's second homer was a moonshot, with a launch angle of 39 degrees, his highest on a homer since Statcast™ started in 2015. The projected distance on the drive in the fifth inning was 386 feet with an exit velocity of 110 mph.
"Honestly, I wasn't worried about those," Eickhoff said. "Those two are going to happen. Especially the bloop and the blast. That's pretty textbook there, especially in the first inning. Those I was OK with. It was the Bour homer that I was most frustrated with."
Stanton's bid for a third home run, or at least an extra-base hit, was taken away in the seventh inning when his drive to left-center was caught by Perkins, who made a leaping grab. Statcast™ tracked the distance at 391 feet with an exit velocity of 102.4 mph, and a launch angle of 33 degrees. At that stretch of the park, the ball didn't have the distance for a homer, but it would have been extra bases, if not for Perkins' grab.
"I don't know who caught it," Stanton said. "I was about to get the inside the parker, if he didn't."
Kick save, escape for Neris:Hector Neris used his arm and his body to prevent the Marlins from celebrating a walk-off win in the ninth inning. Inheriting a first-and-third, one-out situation from Ricardo Pinto, Neris intentionally walked Stanton after Gordon advanced to second on a defensive indifference call. Neris struck out Christian Yelich. Marcell Ozuna, on an 0-2 offering, ripped a hard comebacker that deflected off Neris' leg and rolled to first base, where Tommy Joseph fielded it and tagged Ozuna out. The exit speed was 103 mph, but the roll went in the Phillies' favor.
"I was glad it bounced toward first base," Mackanin said. "That's what I was glad about. Once I saw where the ball hit off of Neris, emotions were fine because I knew we would get him."
"We really need to win pretty much every game from here on out. The most important thing for me is to keep the team in it for as long as I can. With our offense, we know there's a chance we can put a crooked number up there. We're at the point of the year where you can't look back anymore. You can't really worry about individual performances. The only thing that matters from here on is whether we won the game or we lost." -- Koehler, on extra-inning win
SOUND SMART WITH YOUR FRIENDS
Just twice in Marlins history has a player hit three homers in a game. Mike Lowell did it against the Phillies on April 21, 2004, and Cody Ross is the most recent, on Sept. 11, 2006 versus the Mets at Hard Rock Stadium.
Prado exits in fifth
Marlins third baseman Martin Prado was replaced by Dietrich in the fifth inning. In the bottom of the fourth, Prado struck out, and appeared to grimace after a swing.
After the game, Mattingly said Prado will be placed on the disabled list with a right knee sprain, which he sustained in the third inning while making an off-balance throw to get Eickhoff out. Miguel Rojas will be reinstated from the 60-day disabled list and return on Tuesday.
Phillies: Vince Velasquez (2-5, 5.58) is expected to come off the 10-day DL and make his first start in over a month against the Marlins at 7:10 p.m. ET. The right-hander is working his way back from a strained flexor in his right elbow.
Marlins: Adam Conley (2-3, 7.53) makes his first start with the Marlins since May 8. The lefty was optioned to Triple-A New Orleans after that, and is being brought back up due to Edinson Volquez (left knee tendinitis) going on the disabled list.
Watch every out-of-market regular-season game live on MLB.TV.