By then, there is no telling how exhausted the pitchers will be. The teams set a record for combined pitchers used in a World Series game: 18, not counting the Dodgers’ Clayton Kershaw, who lined out as a pinch-hitter in the 17th inning, just to add to the zaniness of the night.

“Regular season, you probably expect a few of those,” said Kershaw, adding that the clubhouse chef had prepared peanut-butter-and-banana sandwiches for the players as the hours dragged on. “You don’t expect a game like that to happen in the World Series. An incredible game, it really was.”

There were pratfalls from Boston’s Eduardo Nunez, who did not even play until the 10th inning but managed to fall over in four different places: the batter’s box, after colliding with catcher Austin Barnes in the 13th; the dirt around first base, after sliding in safely moments later; the third-base stands, after catching a foul pop and tumbling there in the bottom of the inning; and the pitcher’s mound, after making an awkward catch in the 16th.

There was a spectacular double play by center fielder Cody Bellinger, who caught Nunez’s fly ball in the 10th and uncorked a laser to the plate to cut down Ian Kinsler, who was tagging up from third. Bellinger had been picked off in the ninth by David Price, Boston’s Game 2 starter, who was working in relief.

“I was glad I had a chance to redeem myself,” Bellinger said. “I wouldn’t have been able to sleep.”

There were home runs before Muncy’s — a solo shot by the Dodgers’ Joc Pederson off Rick Porcello in the third inning, and another by the Red Sox’ Jackie Bradley Jr. off Kenley Jansen that tied the score in the eighth. Jansen relieved the rookie starter Walker Buehler, who dazzled for seven shutout innings.

“He’s got tremendous stuff,” Manager Dave Roberts said, “and he lives for moments like this.”

Only twice before had a pitcher worked seven scoreless innings in the World Series while striking out seven and allowing two hits or fewer: Don Larsen in his perfect game in 1956 and Roger Clemens in 2000. Buehler joined those Yankees on Friday, stifling a strong lineup whose first two hitters, Mookie Betts and Xander Bogaerts, combined to go 0 for 15.