HOUSTON(AP) Case Keenum and No. 17 Houston had 57 seconds to score and avoid overtime with Southern Mississippi on Saturday.
The nation's most potent offense needed just 36.
Keenum threw for a career-high 559 yards and had five touchdowns, his last coming with 21 seconds remaining, and the Cougars escaped with a 50-43 win.
Keenum broke the tie with a 28-yard pass to Patrick Edwards .
Houston didn't even have to hurry to get it done.
''That's just how we are, we're prepared for that,'' coach Kevin Sumlin said. ''Our two-minute is really our offense. We have to work on slowing the ball down.''
Sumlin said the team trusts Keenum so much that there was never a doubt they'd win during Houston's final drive.
''I think more than just him playing and his level of play, I think he creates an attitude for our whole team that if we're behind we're going to win the game, and if it's close we're going to win the game,'' Sumlin said.
The Golden Eagles had a chance to tie it, but Martevious Young 's heave from midfield was knocked down in the end zone as the final seconds ticked off the clock.
Keenum's other TD passes went for 33, 55, 14 and 17 yards as Houston won its fourth straight game. James Cleveland finished with 13 catches for 190 yards, and Charles Sims ran 95 yards as the two teams combined 1,358 yards and 66 first downs.
''Coming away with those close ones says a lot about doing the little things right,'' Keenum said. ''Like coach said: 'It's not how you do it, but how many (wins) and as long as you win.'''
The Cougars (7-1, 3-1 Conference USA) led by seven and were driving to put the game away when Korey Williams forced a fumble by Bryce Beall , which Southern Miss recovered on its own 23.
The Golden Eagles (5-4, 3-2) marched downfield and tied it 43-all on a 13-yard reception by Gerald Baptiste with 57 seconds left.
Southern Miss had cut the lead to 43-36 on a 5-yard touchdown reception by Baptiste with 5 1/2 minutes left. That score was helped by a 36-yard quarterback draw by Young moments earlier.
Baptiste finished with 186 yards receiving and three scores, while Young was 20 of 34 for 334 yards and ran for another 70.
''I'm my worst critic,'' Baptiste said. ''I may have scored three times but I feel like I should have had four or five ... and I'd give them all back for a win.''
Keenum had already thrown for more yards than the season-low 233 yards he had last week with 11 1/2 minutes left before halftime. He had 244 yards passing after a 55-yard catch and run score by Tim Monroe that made it 21-13.
Southern Miss answered with a 1-yard run by Young, but Daniel Hrapmann's extra point attempt was blocked and Nick Saenz returned it to push Houston's lead to 23-19. After a field goal by Southern Miss, Keenum threw his third TD of the half to make it 30-22 at the break.
Matt Hogan added a 34-yard field goal early in the third quarter, and Keenum's second touchdown pass to Cleveland made it 40-22 early in the fourth.
The back-and-forth game continued when Southern Miss finished off a 70-yard drive with Tory Harrison 's 1-yard run with about 9 minutes remaining. Hogan then answered with a 23-yard field goal that extended the lead to 43-29.
''Craziness is probably a good word for it,'' Keenum said about the second half.
Southern Miss was in the game the entire way, mostly because it took advantage of mistakes. The Golden Eagles scored nine points off two first-half turnovers, including Williams' fumble recovery on the first play of the game that set up Fletcher's 6-yard TD run.
The extra point was blocked, but an interception in the end zone by Eddie Hicks led to a 29-yard field goal by Hrapmann that got Southern Miss within 23-22 about 3 minutes before halftime.
Hrapmann missed a 32-yarder in the third quarter.
The Golden Eagles were encouraged by their performance and hope for a rematch with the Cougars in the C-USA title game.
''We're down, but we know that if we win out we'll still win (the West division) of the conference,'' Williams said.