FOXBOROUGH, Mass. - 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. They will host Tennessee next Saturday night.
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 for Miami (5-11).
The Associated Press contributed to this report.