Miami dropped defending Super Bowl champion New England into the wild-card playoff round when Ryan Fitzpatrick tossed a 5-yard touchdown pass to tight end Mike Gesicki with 24 seconds remaining for a stunning 27-24 victory Sunday.
New England (12-4) will have to play in the opening weekend of the postseason for the first time since 2009. The Patriots never have made the Super Bowl while playing in the wild-card round.
The Patriots won their first eight games, the split the next eight, including the rarity of two losses at home.
It is the second straight season the Dolphins have denied the Patriots an unbeaten division record. They scored on a wild series of laterals on the final play in their second meeting last season, in Miami.
After trailing throughout the game, Tom Brady threw a 13-yard touchdown pass to James White to put New England in front 24-20 with 3:53 left. But Fitzpatrick, who finished 28 of 41 for 320 yards and a touchdown, was unflappable, leading Miami on a 13-play, 75-yard drive that included him recovering a fumbled snap, and completing a 24-yard pass to DeVante Parker.
Miami (5-11) made New England play catchup for most of the game and led 10-0 early and 20-17 in the fourth quarter.
Brady finished 16 of 29 for 221 yards with two touchdowns and an interception. He went over 4,000 yards for the 11th time in his career, tying him with Philip Rivers for fourth on the all-time list.
The Dolphins drove inside the Patriots 20 early in the fourth quarter, but settled for a 32-yard field goal by Jason Sanders to take a 20-17 lead with 8:29 remaining.
Brandon Bolden gave the Patriots good field position, taking the ensuing kickoff and returning it 38 yards to the New England 40. Rex Burkhead rushed 14 yards on the first play to get the Patriots across the 50.
Brady completed a short pass to Ben Watson, followed by a 20-yard strike to Mohamed Sanu. Three plays later, Brady connected with White for the go-head score.
But it wasn’t enough.
The Dolphins made it clear from the outset that they weren’t going to allow the Patriots to coast. Miami took a 10-0 lead in the second quarter when Eric Rowe stepped in front of Brady’s pass to Julian Edelman and returned it 35 yards for a touchdown. It was Brady’s first career pick-6 against the Dolphins.
It also marked the first time the Dolphins led the Patriots by double digits since Week 8 of the 2013 season. New England won that game 27-17.
Miami twice saw its leads evaporate on Sunday as well.
The Patriots got a 25-yard field goal from Nick Folk. They tied it by capping a five-play, 82-yard drive with a 4-yard run by Sony Michel just before the half. Michel’s TD was setup by a 50-yard pass from Brady to Phillip Dorsett along the sideline, his first catch since Week 13.
Later, trailing 17-10 in the third, the Patriots went deep in the playbook when Brady connected with linebacker and part-time fullback Elandon Roberts for a 38-yard touchdown.