Garoppolo again showed that he could be the answer for the 49ers (3-10) at quarterback, going 20 of 33 in his second start for the team. Acquired before the trade deadline from New England, Garoppolo threw for 293 yards in his debut with the team last week to help the 49ers to a 15-14 win at Chicago.
The game was tied when he found Garrett Celek on a 6-yard touchdown pass with about two minutes left in the third quarter to make it 23-16. Celek had a big play earlier in that drive on a 61-yard reception on third down.
DeAndre Hopkins had 149 yards receiving and two touchdowns, but lost a fumble in the fourth quarter with the Texans down by 7 . San Francisco added 41-yard field goal after that to secure the victory.
Savage was injured when he was driven to the ground on a hit by Elvis Dumervil with about nine minutes left in the second. Replays showed Savage looking dazed after his head hit the ground with both of his arms lifted upward shaking.
He was taken to the medical tent where he stayed for less than three minutes before returning to the bench and going back in for the next series. He threw two incompletions on that drive, and Houston's team doctor approached him after he returned to the sideline after that possession.
Savage tried repeatedly to enter the game on the next series. But a team official kept grabbing Savage's jersey and finally his arm and pulled him away from the field. He then could be seen arguing with that person and the team's trainer before being escorted to the locker room.
Yates, who hadn't appeared in a game since Nov. 16, 2015, was signed last month after Deshaun Watson went out with a knee injury. Houston went up 16-13 when Hopkins grabbed a 29-yard touchdown reception on the Texans' first drive of the second half.
The 49ers took a 10-3 lead when Carlos Hyde ran two yards for a touchdown with about 2 1/2 minutes left in the first half.
Yates connected with Hopkins for a 7-yard touchdown on Houston's next drive, but the kick failed to leave Houston down 10-9.
Robbie Gould added a 35-yard field goal at the end of the second quarter to leave San Francisco up 13-9.
INJURIES: Houston offensive tackle Kendall Lamm sustained a concussion in the first quarter. The Texans have had six players sustain concussions in the last two games combined. ... 49ers rookie receiver Victor Bolden injured his ankle in the second quarter and didn't return. ... San Francisco cornerback Ahkello Witherspoon injured his knee in the fourth quarter.
49ERS: Host the Titans next Sunday.
TEXANS: Visit Jaguars next Sunday.
For more NFL coverage: http://www.pro32.ap.org and http://www.twitter.com/AP-NFL
Dianna Russini, Andrew Hawkins and Tedy Bruschi weigh in on Minnesota's options at quarterback next season.
The Indianapolis Colts have established the Edwin Jackson Memorial Scholarship in honor of the linebacker who was killed when he and another person were hit by a suspected drunken driver on Feb. 4.
The NFL Live crew discusses the latest arrest of 49ers LB Reuben Foster, saying his behavior puts a damper on San Francisco's busy offseason.
The Cardinals gave general manager Steve Keim a four-year extension through the 2022 season.
Former Indianapolis Colts cornerback Vontae Davis has been cleared after surgery for a core injury, a source told ESPN's Adam Schefter.
Former Browns receiver Mohamed Massaquoi now wears a device that substitutes for his four fingers and works with his thumb.