HOUSTON -- The Memphis Grizzlies needed a pick-me-up after dropping three of their last four games, including two straight at home.
They found it in a thrilling last-second victory over the Houston Rockets on Wednesday night.
Marc Gasol made a jumper with 0.1 seconds left to give the Grizzlies a 102-100 victory.
"It was huge for us mentally because we hadn't been playing to our level of expectations," Mike Conley said. "We've lost some games in the past few weeks that we feel like we shouldn't have lost. To lose (Tuesday) night in Utah and to beat a very good team in Houston that we know is going to be there in the playoff standings, it means a lot."
With the game tied, Gasol blocked James Harden's layup with 6.4 seconds left to give the Grizzlies the ball back for his winner.
Harden was upset that he didn't draw a foul on that play on a night the Rockets tied a season low with five free throw attempts.
"I drove to the basket, I got grabbed on my arms and nothing was called," Harden said.
Gasol finished with 21 points.
Courtney Lee made a pair of free throws with about a minute remaining to give Memphis a 100-98 lead. Terrence Jones tied it with a hook shot seconds later, and Gasol missed on the other end to set up the final sequence.
The win extended the Grizzlies' lead over second-place Houston in the Southwest Division and tied the season series at 2-2.
Jones had 21 points and Harden scored 18 in his return after a one-game suspension for kicking LeBron James on Sunday.
The Grizzlies were up by 12 with about 5 minutes left when Houston went on a 14-2 run, with seven points from Jones, to tie it at 98 with 1½ minutes left.
A 10-0 run by the Grizzlies to open the fourth quarter broke a tie and gave them a 89-79 lead with 9 minutes left. They did most of that damage from the inside, with all but two of those points coming in the paint.
"The key was defense," Gasol said. "We contained them on one side of the floor and they didn't get as many easy baskets and they weren't able to run."
Coach Kevin McHale was unhappy with his team's defense.
"They got layups and steady cuts off of us," McHale said. "We were not very good defensively. We gave them 102 points and they've had a hard time scoring."
The Rockets missed their first six shots of the fourth quarter before Josh Smith's 3-pointer cut it to 7 with about 7½ minutes remaining.
Memphis scored five quick points, with a 3-pointer by Jeff Green, to make it 96-84 midway through the quarter.
The Grizzlies scored the first six points of the second half to take a 60-59 lead early in the third quarter. Houston led by a basket later in the third when Memphis scored eight points in a row, with the first six from Gasol, to go back on top 71-65 midway through the quarter. Houston's offense stalled in that span as the Rockets had a pair of turnovers and Harden missed a 3-pointer.
The Rockets got back on track after that, using a 10-2 spurt with 3s from Harden and Jason Terry, to take a 75-73 lead.
Smith had a nifty no-look pass to Jones for a dunk near the end of the third quarter and a reverse layup by Smith tied it at 79-all entering the fourth.
Memphis scored six straight points, with four from Gasol, to get within two points later in the second quarter, but Smith made a 3-pointer with less than a second left in the quarter to leave Houston up 59-54 at halftime.
The Rockets made five 3-pointers in the first quarter, with three straight coming at the end of an 18-4 run that gave them a 25-13 lead with 5 minutes left in the quarter.
Grizzlies: G/F Vince Carter missed his 14th straight game with a tendon injury in his left foot. ... Zach Randolph and G Beno Udrih returned Wednesday after missing Tuesday's game against Utah with illnesses. Randolph had 15 points and Udrih added four.
Rockets: Harden had 13 assists and has had at least 10 assists in four of his last five games. ... Smith added 16 points and eight rebounds for Houston. ...
HOWARD HEALING: McHale said that C Dwight Howard, who hasn't played since Jan. 23 because of swelling in his right knee, is "coming along." But there's still no timetable for his return. McHale hopes he's able to play at least a few games before the playoffs so he can get his rhythm back.
"When you're away from it and you get back it takes a little time," McHale said. "You need timing and ... it just takes time."
Grizzlies: Host the Los Angeles Lakers on Friday night.
Rockets: Host Detroit on Friday night.
Toronto coach Dwane Casey explains what the Raptors have to do to win Game 5 of the Eastern Conference finals on the road and Kyle Lowry says Toronto is over what happened in the first two games in Cleveland.
LeBron James describes what his mindset is prior to the Cavaliers playing the Raptors in Game 5 of the Eastern Conference finals.
Shelley Smith says the Warriors are stunned with how Draymond Green has performed the past two games, but Steve Kerr is confident Green will bounce back.