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.
Leon Washington returned a kickoff for a touchdown for the eighth time to tie the NFL record 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 Dolphins forced Seattle to punt from midfield and started at their 10 with 1:32 left. Tannehill quickly moved them downfield and finished 18 for 26 for 253 yards and a score.
Tannehill broke the Dolphins' rookie record of 2,210 yards passing set by Dan Marino in 1983.
Wilson went 21 for 27 for 224 yards and two scores, increasing his season total to 17 TD passes. He also ran for 38 yards.
Tannehill and Miami caught a break with Seattle leading 14-7 early in the fourth quarter. Bobby Wagner intercepted Tannehill in the end zone, but the turnover was negated by a penalty on safety Earl Thomas for roughing the passer.
On the next play, Daniel Thomas scored the tying touchdown on a 3-yard run.
Washington took the ensuing kickoff on the run, found a seam, juked past Carpenter and was in the clear to score untouched on a 98-yard return. Washington tied the career record for touchdowns on kickoff returns held by Joe Cribbs of Cleveland.
The lawn sprinklers came on between plays in the third period, causing a brief delay and drawing a roar from the amused crowd. Otherwise, Miami fans had little to cheer about until the wild final 10 minutes.
Wilson eluded a sack when he bounced off Jared Odrick, then scrambled and threw a 3-yard pass to Anthony McCoy for the Seahawks' first score. On their next possession, Wilson ducked away from Tony McDaniel to elude another sack, then ran for 20 yards to set up the go-ahead touchdown.
The Seahawks went three-and-out on their first four possessions. Coach Pete Carroll played for field position, punting when his team had the ball at the Miami 40, 48 and 38.
The conservative strategy helped keep the Dolphins pinned deep, and they started outside their 20 on only one possession. Their touchdowns came on drives of 94, 82 and 80 yards.
The Dolphins broke a scoreless tie in the second quarter when they mounted a long drive capped by Reggie Bush's 21-yard run.
Seattle answered with a tying 80-yard drive that ended when a scrambling Wilson hit McCoy with 29 seconds left in the first half.
Wilson moved the Seahawks 80 yards again on their first series of the second half. He went 7 for 7 for 66 yards on the drive, including a 4-yard pass to Michael Robinson for a touchdown.
Online: http://pro32.ap.org/poll and http://twitter.com/APNFL
Seattle 21, Miami 24
Seattle 0 7 7 7 21
Miami 0 7 0 17 24
Mia • Bush 21 run (Carpenter kick), 5:13.
Sea • McCoy 3 pass from Wilson (Hauschka kick), :29.
Sea • Robinson 4 pass from Wilson (Hauschka kick), 4:00.
Mia • Thomas 3 run (Carpenter kick), 8:08.
Sea • Washington 98 kickoff return (Hauschka kick), 7:54.
Mia • Clay 29 pass from Tannehill (Carpenter kick), 5:13.
Mia • FG Carpenter 43, :00.
Attendance • 51,295.
First downs 16 23
Total Net Yards 312 435
Rushes-yards 27-96 28-189
Passing 216 246
Punt Returns 2-30 0-0
Kickoff Returns 2-122 0-0
Interceptions Ret. 1-10 0-0
Comp-Att-Int 21-27-0 18-26-1
Sacked-Yards Lost 2-8 1-7
Punts 7-40.0 5-45.0
Fumbles-Lost 0-0 0-0
Penalties-yards 10-59 2-15
Time of Possession 31:59 28:01
Rushing • Seattle, Lynch 19-46, Wilson 5-38, Turbin 2-9, Rice 1-3. Miami, Bush 14-87, Thomas 9-60, Tannehill 4-33, Mar.Moore 1-9.
Passing • Seattle, Wilson 21-27-0-224. Miami, Tannehill 18-26-1-253.
Receiving • Seattle, Tate 4-56, Rice 3-49, Turbin 3-47, Miller 3-16, McCoy 2-23, Lynch 2-1, Baldwin 1-14, Kearse 1-8, Moore 1-6, Robinson 1-4. Miami, Bess 7-129, Clay 6-84, Hartline 2-17, Thomas 1-18, Fasano 1-10, Bush 1-(minus 5).
Missed Field Goals • None.