DENVER (AP) — The ever-reliable Max Scherzer just couldn’t get his usual grip on the baseball in the thin air at Coors Field. He licked his hand. He held the ball tighter. But nothing seemed to work.

No worries, his teammates had his back on a rare off day for the three-time Cy Young winner.

READ MORE: Regina King Places Handprints, Footprints Outside TCL Chinese Theatre In Hollywood

Max Muncy homered to start the 10th inning and the Los Angeles Dodgers rallied past the Colorado Rockies 7-5 on Thursday to tighten the NL West chase.

“We know we’re a great team. We know we can come back from any situation,” Muncy said. “But sometimes when you have a come-from-behind win like that, it reaffirms it and gets it fresh in people’s minds.”

Scherzer was in the clubhouse as he watched the drama unfold. He just knew that Trea Turner was going to come through with that two-out RBI single to tie it up in the ninth.

“Just kind of got sideways for me,” Scherzer said. “You learn from these outings. This is the toughest place to pitch and you learn from it. If you can learn something from here even when you fail and then when you take it and go somewhere else, these lessons can be applied to other outings.

“Sometimes when you get punched in the face, that’s what it takes to go out there and learn how to do something new.”

Scherzer had a feeling Muncy would come up clutch, too. Muncy delivered by drilling a slider from Lucas Gilbreath (2-2) to deep center, setting off a roar from the Dodgers faithful scattered throughout Coors Field. It also scored Justin Turner, who began the inning at second base.

READ MORE: Encino Home Of ‘Real Housewives’ Star Dorit Kemsley Robbed

It was a comeback win the Dodgers needed with time running out in their bid for a ninth straight NL West crown. Los Angeles moved within one game of the San Francisco Giants, who lost 7-6 at San Diego in 10 innings. Both teams have nine games remaining.

“This is a big one,” Dodgers manager Dave Roberts said. “Today, Max didn’t have his best stuff. … For us to pick him up for a change, it was nice.”

The Rockies were an out away from winning their first home series over the Dodgers since August 2018.

Gilbreath had a string of 17 straight scoreless outings snapped in the 10th by Muncy’s 35th homer of the season.

“This loss, it sucks. We had them,” Rockies starter Kyle Freeland said. “We played quality baseball all three games against them. Unfortunately, it didn’t turn our way.”

Kenley Jansen (4-4) earned the win by pitching the ninth and Blake Treinen picked up the his sixth save by getting C.J. Cron to hit into a game-ending double play.

Carlos Estévez got two quick outs in the ninth before a single by Mookie Betts and another by Corey Seager off Estévez’s right shin. Estévez remained in the game and after a few warmup tosses, surrendered the single to Turner.

MORE NEWS: Flight From New York's JFK To John Wayne Airport Diverts To Denver After Flight Attendant Attacked By Passenger

“That ninth inning was next level,” Roberts said.