MIAMI — Ryan Tannehill was hardly a rattled rookie as he stood in his end zone, contemplating the long drive the Miami Dolphins needed with the score tied and 92 seconds left.
‘‘You’re excited,’’ he said. ‘‘You know your team needs you to step up.’’
Tannehill did just that, moving the Dolphins 65 yards in six plays to set up a 43-yard field goal by Dan Carpenter at the final gun, as his team rallied to beat Russell Wilson and the Seattle Seahawks, 24-21, Sunday.
Tannehill had drawn criticism for mistakes down the stretch in close games. But he helped Miami score 17 points in the final 8:08 and came through on the last drive with completions of 19, 25, and 7 yards, as well as a 15-yard scramble.
‘‘In this league you need to win some games like this,’’ said coach Joe Philbin, whose team will host the Patriots next Sunday. ‘‘It’s important for any quarterback to do that.’’
Carpenter hit the winning kick on his 27th birthday, and Miami (5-6) broke a three-game losing streak. The Seahawks (6-5), unbeaten at home this year, lost for the fifth time in six road games, and coach Pete Carroll said he made poor use of last week’s bye.
‘‘I’m disappointed in all phases of the game,’’ he said. ‘‘We didn’t do the things we needed to do in the week off to get prepared. I screwed it up.’’
Tannehill and Miami caught a break with Seattle leading, 14-7, early in the fourth quarter. Bobby Wagner intercepted a pass by Tannehill in the end zone, but the turnover was negated by a penalty on safety Earl Thomas for roughing the passer.
‘‘They were looking out for me today, and we got it called back,’’ said Tannehill with a chuckle. On the next play, Daniel Thomas scored the tying touchdown on a 3-yard run.
Leon Washington returned a kickoff for a touchdown and put Seattle ahead with eight minutes left. Miami answered with an 80-yard drive capped by Tannehill’s 29-yard pass to Charles Clay, making it 21-21.
The Seahawks were forced to punt from midfield, allowing the Dolphins to start at their 10 with 1:32 left.
‘‘There was no panic,’’ Tannehill said. ‘‘Everyone felt confident out there.’’