HOUSTON -- Down 17 in the second half on the road, there was no panic in No. 25 Memphis.
The Tigers kept their focus and finished with a victory.
Riley Ferguson threw for 471 yards and had a 21-yard TD pass with 1:28 left, Patrick Taylor rushed for a career-high four touchdowns and Memphis rallied to beat Houston 42-38 on Thursday night.
"Offensively, to go from being shutout in the first half, not playing our best ball, a lot of mistakes, everything that could probably go wrong in the first half did," Memphis coach Mike Norvell said. "But, I came into the locker room and there was something about their eyes. No panic. They came out and absolutely responded."
Ferguson was 33 of 53 and found Sean Dykes to cap an eight-play, 80-yard drive that took 1:49 to give Memphis (6-1, 3-1 American) its only lead.
"We said we had to stay focused," Ferguson said. "We knew we would be able to score as long as we didn't hurt ourselves. We knew we had to regain our focus and stop shooting ourselves in the foot."
"It was just ground and pound," Taylor said about his four touchdown runs. "It was taking advantage of every opportunity that they gave me when they gave me the ball."
Houston (4-3, 2-2) was driving when Kyle Postma fumbled at the Memphis 49, with T.J. Carter recovering with a minute remaining. After Memphis punted, Postma's pass was intercepted by Carter with 24 seconds remaining to end the game.
"It came down to finishing and securing of the ball at the end of the game," Postma said.
Dillon Birden finished with 106 yards and a touchdown on 21 carries, and Duke Catalon rushed for 65 yards and a career-high three touchdowns as Houston built a 17-0 lead at the half and 31-14 advantage with 1 1/2 minutes left in the third quarter.
"We have to play well in crunch time and to do that we have to understand our assignments and the situation and what's on the line," Houston coach Major Applewhite said.
The Cougars led 38-28 with 6:44 left after Postma found Steven Dunbar for an 8-yard touchdown pass. Taylor cut the lead to three with a 5-yard run with 5:14 left. After Memphis forced a Houston three-and-out, Ferguson capped the comeback.
"We talked today that our term is unwavering focus no matter what happens," Norvell said. "We were in a hostile environment. There were emotional swings, momentum swings. We were trying to stay focused on doing our job because the next play could be make all the difference in the game, and our guys did that."
Postma finished 29 of 40 for 315 yards, and Linell Bonner caught eight passes for 121 yards for Houston. The Cougars had 554 yards.
Memphis: The Tigers should remain ranked for another week and could rise in the rankings following the comeback win.
Memphis: The Tigers were out of sync offensively and couldn't complete drives in the first half, going scoreless in the first half for the first time since 2012. Memphis made adjustments at the half and looked much sharper in all three phases in the second half to complete the comeback.
Houston: The Cougars proved again they are able to get up for big games against ranked foes, but were unable to play a complete game. After allowing 38 second half points last week against Tulsa, Houston allowed 42 points in the second half Thursday.
Memphis: Ferguson was 17 of 26 for 279 yards and a touchdown in the second half. The Tigers scored on their first six drives of the second half. The only drive they didn't score on was the final play following Carter's interception. Memphis committed two penalties for 10 yards.
Houston: Steven Dunbar caught eight passes for 52 yards, and D'Eriq King caught seven passes for 51 yards. Ed Oliver had six tackles, 2 1/2 tackles for loss, one sack and recovered a fumble. Houston was penalized eight times for 72 yards, leading to four Memphis first downs.
Memphis: The Tigers host Tulane Oct. 27 in the second of three consecutive non-Saturday games.
Houston: Travels to No. 16 South Florida on Oct. 28 for a game that was originally scheduled for Nov. 4 but was moved up to accommodate other schedule changes in the American following Hurricane Irma.
More AP college football: http://collegefootball.ap.org and http://www.twitter.com/AP-Top25
Will UGA's breakout game be vs. LSU?
Marty & McGee discuss what No. 4 Georgia will look like without a complete roster in the upcoming SEC Championship game vs. the No. 2 Tigers.
Ohio State QB Justin Fields named Big Ten offensive player of the year
Ohio State quarterback Justin Fields was honored Wednesday as the Big Ten offensive player of the year.
OK State's Chuba Hubbard, Baylor's James Lynch named Big 12's top players
NCAA rushing leader Chuba Hubbard from Oklahoma State has been named the Big 12 offensive player of the year, and conference sacks leader James Lynch from Baylor is the top defensive player. Baylor's Matt Rhule was chosen as the league's top coach.
SEC suspends WR Jauan Jennings for first half of Vols' bowl game
Tennessee receiver Jauan Jennings has been suspended by the SEC for the first half of his team's upcoming bowl game after he stepped on an opposing Vanderbilt player in last week's regular-season finale.
Clay Helton will return for fifth season as USC coach in 2020
Clay Helton, who guided USC to an 8-4 record this season and is 34-17 since becoming the full-time head coach, will return in 2020, saying the Trojans are "on the verge of doing something special."
Mike Bobo reaches deal to step down at Colorado State
Mike Bobo, who went 28-35 in five seasons at Colorado State but just 7-17 over the past two years, has reached an agreement with the university to step down as coach.