Updated

Rudy Gay re-entered a close game with about five minutes left and ended the Denver Nuggets' hopes of earning a win on the second night of back-to-back games.

Gay scored eight of his 19 points down the stretch and Memphis' rested starters pulled away for an 81-72 victory on Saturday night.

"His work was definitely showing tonight," Memphis guard Tony Allen said of Gay. "He carried us down the stretch. He made the big boy baskets down the stretch."

Gay's rush was part of 10 straight points for Memphis, breaking open a 68-68 game with 4:45 left. His 18-footer on the baseline with 1:25 left gave Memphis a 10-point lead, helping the Grizzlies snap a two-game losing streak.

Zach Randolph had 12 points for Memphis, which won despite shooting 40 percent. The Grizzlies outscored the Nuggets 28-15 in the fourth, eventually building the lead to 11 points.

Andre Iguodala, Corey Brewer and JaVale McGee each had 12 points for Denver, which had its two-game winning streak end. Kenneth Faried had 11 points for the Nuggets, hitting 5 of 7 shots.

Danilo Gallinari, coming off a career-high 39 points Friday night against Dallas, was held to 7 points on 2-of-8 shooting.

"We just ran out of gas, and ran out of bodies," Nuggets coach George Karl said. "We didn't have anybody really playing a great game. We worked them as hard as we could. The fight was good, but then with the fourth quarter and turnovers, it just broke our hearts."

The back-to-back games and good play by Memphis' bench in the fourth quarter combined to pose problems for Denver in the closing minutes.

"They had more energy than us in the fourth quarter," Brewer said. "Their bench came in and played great for them. ...We are on the fourth (game) in five nights. It is tough."

The game was tied at 68 when Gay took over. He scored on a pair of layups, the second coming on a feed from Randolph. He hit a 12-foot fadeaway before Randolph scored inside.

Gay capped the 10-0 stretch with an 18-foot baseline jumper for a 78-68 lead with 1:25 left.

"Rudy was great. He went in the game for us and made big shots," reserve guard Jerryd Bayless said. "That is what Rudy is supposed to do. He is our guy, and we have to ride him as far as he can go."

Wayne Ellington's 3-pointer with 23 seconds remaining gave Memphis its largest lead, 81-70.

While the fourth-quarter rally fueled by Gay put the Grizzlies past the Nuggets down the stretch, a major component was Memphis' second unit playing extended minutes in the final period, staying close to the Nuggets. That helped the Memphis starters stay on the bench until coach Lionel Hollins sent Gay, then Randolph and point guard Mike Conley, back into the game on either side of the 5-minute mark.

"I was fresh, because of the second group playing so well, and I could go out there and be in attack mode," Gay said.

Denver scored 48 points in the paint, while holding the Grizzlies to a season-low 30 points, but neither team shot well from 3-point range with Denver hitting 3 of 16, while Memphis managed 5 of 19.

Memphis held a seven-point lead in the first half, but needed a jumper from Bayless in the final second to hold a 37-36 advantage entering the locker room.

McGee gave the Nuggets their first lead of the game on a dunk with 8.1 seconds left in the half.

Gay led Memphis with 10 points at the break, but the game was rather sloppy as Memphis shot 39.5 percent from the field, compared to 45 percent for Denver. The two teams were a combined 3 of 15 from outside the arc.

No Denver players were in double figures at the half, and Gallinari, who had hit 14 of 23 against Dallas, was scoreless, missing all three of his shots.

That slump ended immediately at the start of the second half as Gallinari connected on a 3-pointer, but he would not score his other field goal until the closing seconds.

The game settled into a close affair after halftime with seven lead changes and five ties in the third quarter.

The night ended with 12 lead changes and nine ties.

With some expecting the Grizzlies and Nuggets to be jockeying for playoff positioning at the end of the season, the win was important for Memphis. Denver had won the two previous meetings this season and a third would have given the Nuggets the potential tiebreaker.

"It was just important to get a win," Hollins said when asked about losing three to the Nuggets. "I don't think (Denver) specifically mattered, they just happened to be the opponent. We had lost two in a row, and we needed to get back to playing our game."

NOTES: Gay returned after missing Memphis' last game on Wednesday with flight problems getting back to Memphis after the Christmas holiday. ... The Grizzlies play five of their next six games on the road. ... Memphis G/F Quincy Pondexter was carried off with an apparent knee injury late in the third quarter. He did not return. ... Even with the loss, Denver has won 14 of the last 20 in the series. ... Denver is now 13-3 when holding opponents under 100. .Marreese Speights led Memphis with 10 rebounds, including six off the offensive glass, the first time this season he has led the Grizzlies in rebounds.