HOUSTON (AP) - James Harden scored a season-high 43 points and Clint Capela added 27 as the Houston Rockets held off the Detroit Pistons to get their fifth straight win, 126-124 on Wednesday night.
Houston has won eight of its last 10 after winning just one of its first six games and improved to 9-7 this season.
The Rockets led by 14 with about five minutes left, but Blake Griffin made five 3-pointers that helped Detroit cut the lead to four points with about 90 seconds left. Houston struggled to contain Griffin late after defensive stopper P.J. Tucker was ejected in the third quarter after he received two technical fouls for arguing with officials.
But Griffin had a turnover and a charge after his fifth 3 and Harden, who made all 19 of his free throw attempts, made two free throws to make it 122-116 with 19.1 seconds left. Ish Smith added a 3-pointer to cut the lead to three points with 9.6 seconds left, but Harden made two more free throws.
Griffin was fouled on a 3-point attempt with 3.6 seconds remaining and made the first two free throws before missing the third. It was Harden at the line again after that, and he made both shots before Smith made a 3 at the buzzer.
Griffin led the Pistons with 37 points and 11 rebounds Andre Drummond added 20 points with 11 rebounds for the Pistons.
Detroit used a run to cut Houston's lead to six points with about six minutes left before the Rockets scored the next eight points, with six from Harden to make it 113-99 about a minute later.
But Griffin made three 3-pointers, with the first two on consecutive possessions, to fuel a 9-2 run that got Detroit within 115-108 with 3 ½ minutes left.
James Ennis made a 3-pointer for Houston after that, but Griffin scored the next five points, with another 3-pointer to cut the lead to 118-113 with about two minutes left.
Harden added a basket on a goaltending call, but Griffin made yet another 3 to make it 120-116 before his late errors.
The Rockets scored the first seven points of the third quarter to make it make it 65-57. But Detroit scored the next eight points, with 3s by Reggie Jackson and Langston Galloway to tie it a couple of minutes later.
Houston went on another run after that, outscoring Detroit 9-2, to take a 76-67 lead midway through the quarter. Harden got the Rockets going in that span with a 3-pointer and Clint Capela capped it with four straight points.
The Rockets were up 81-73 later in the third when Tucker got hit by Griffin on a screen and began complaining to an official. He received a technical foul, but that didn't stop him from continuing to get in the officials' face and yell at him, drawing a second technical and an ejection.
The Pistons made both free throws from the technical but the Rockets scored the next five points, with a 3 from Gerald Green, to make it 86-75 with about four minutes left in the quarter.
Pistons: Detroit made 16 3-pointers to give the team at least 10 in seven straight games, a franchise record. ... Luke Kennard missed his 11th game with a sprained right shoulder and coach Dwane Casey said that he hasn't been cleared for contact drills and will still be out for a while.
Rockets: Capela received a technical foul in the third quarter for hanging on the rim after a dunk. ... Chris Paul added 20 points with seven assists.
Pistons: Host Houston on Friday night.
Rockets: Visit Detroit on Friday night.