Harden sank an off-balance jumper with 4.5 seconds left to lift the Rockets to a 96-95 victory over San Antonio. Harden scored 18 of his 29 points in the second half as the Rockets rallied from three down in the final minute to snap a four-game losing streak to their state rivals.
Houston has won three in a row and inched closer to clinching a postseason berth.
"Tonight was a great environment, great crowd," Harden said. "Hopefully, we can continue to build off this lead. It's momentum."
Tony Parker scored 23 points, including 10 in a row to put San Antonio ahead with just under 2 minutes left. The Spurs led 95-94 when Harden got the ball from Omer Asik, drove to the free throw line and hit the winning jumper between Tim Duncan and Kawhi Leonard.
"The shot was there, it was a pull-up," Harden said. "I just had the confidence to go out there and shoot it."
Duncan missed a jumper from the wing just before the buzzer sounded and the Spurs had a four-game winning streak snapped.
Duncan had 17 points and seven rebounds for the Spurs, who shot 42 percent (33 of 78), gave away 18 turnovers and were held below 100 points for just the third time in 12 games.
"The last few games have been pretty good," Spurs coach Gregg Popovich said. "I thought we worked hard tonight, executed pretty well. You can't turn it over 18 times on the road."
The Rockets, meanwhile, have held four of their last six opponents under 100 points and won each of those games.
"We're growing," Harden said. "It took us some time, but we usually rely on our shots. If we're not making shots, we kind of give up on our defense. The last few weeks, it's been our defensive effort, holding teams down defensively and trying to get out and score our transition baskets."
The Spurs and Rockets could potentially meet in the first round of the playoffs, with the Spurs atop the Western Conference and Houston currently sitting at No. 7, three games ahead of the Lakers.
Their last matchup of the regular season had a postseason feel, with the lead changing hands nine times in the third quarter before Houston finished with an 11-4 spurt to lead 74-67. Harden went 6 for 6 from the free throw line and scored 12 points in the quarter, attacking the basket more than he did in the first half.
"He's good at finding hands and arms and he reaches and will make you foul him," said Green, who guarded Harden much of the night. "You pretty much have to play defense without your hands, which is a hard thing to do."
Rockets backup forward Greg Smith had the highlight of the game early in the fourth, throwing down a one-handed dunk over Tiago Splitter for an 81-74 lead. Carlos Delfino, Parsons and Jeremy Lin all missed open 3-pointers over the next 3 minutes and Splitter flipped in a hook shot and a reverse layup to keep the Spurs close.
Parker, in his second game back after returning from a sprained left ankle, then pushed San Antonio in front with his individual scoring spurt, including a fadeaway jumper over Beverley.
Parker finished 7 for 13 from the field and also had seven assists.
"TP is getting his rhythm back," Duncan said. "He's feeling good and obviously, he's our attack guy on the floor and he is the guy we go through in the fourth quarter."
The Spurs assigned C Aron Baynes to the NBA Development League. The 6-foot-10 rookie from Australia has played in 11 games for the Spurs this season. ... Harden went 15 for 17 from the free throw line and now has 602 made free throws this season. ... Rockets F Francisco Garcia sat out with an illness. Garcia has played in eight games for Houston since coming over in a trade with Sacramento just before the Feb. 21 deadline. ... Former Rockets and Spurs C Moses Malone had a courtside seat next to the Houston bench. The Hall of Famer played for Houston from 1976-82 and with San Antonio in 1994-95.
Copyright by STATS LLC and The Associated Press
Around The Association
MVP: James Harden. The Beard nailed the winning jumper with 4.5 seconds left to cap off his 29 points with some style. Throw in the nine rebounds, six assists, two steals and two blocked shots and that's your game MVP.
X-Factor: Down the stretch, the Spurs had been going to Tony Parker offensively. But with the Spurs up and 30 seconds remaining in the game, the Spurs went away from Parker to attack what they thought was a mismatch with Manu Ginobili. San Antonio couldn't capitalize and ended the play with a badly missed 3 from Kawhi Leonard.
That was ... what I'd like to see from a first-round playoff matchup: We're still weeks away from the playoffs starting, but there's a chance the Spurs and Rockets could end up as opponents in either a 1-vs-8 or 2-vs-7 series. Either way, it would be a fun best-of-seven matchup thanks to each team's style of play.