TALLAHASSEE, Fla. -- Florida State needed another fourth-quarter rally to beat Miami.
Dalvin Cook ran for 222 yards and three touchdowns, the last a 23-yarder around the right end with 6:44 remaining, to help No. 12 Florida State outlast Miami 29-24 on Saturday night.
Miami took a 24-23 lead on Brad Kaaya's 29-yard touchdown pass to Stacy Coley with 10:02 left.
More from FoxSports
The Seminoles (5-0, 3-0 Atlantic Coast Conference) have won six in a row against the Hurricanes (3-2, 0-1), their longest winning streak in the series since winning seven straight from 1963 to 1972.
Cook also scored the go-ahead touchdown last year in Florida State's victory over the Hurricanes.
The sophomore, who didn't practice the first part of the week due to a strained hamstring, is also the first Florida State back to have two 200-yard games in a season since Greg Allen in 1981. Before this year, Florida State had not had a back run for more than 200 yards in a game since Sammie Smith in 1988.
According to STATS LLC, Cook's 792 yards after five games are the second-most in the ACC since 1996. Maryland's Bruce Perry had 821 yards in 2001. Cook had 22 carries against Miami.
Florida State's Everett Golson completed 25 of 33 passes for 291 yards and a touchdown. Kaaya threw for 405 yards and three touchdowns, his fifth 300-yard game and his second against the Seminoles.
Cook opened the scoring on his first carry with a 72-yard run. It was the second straight week that Cook scored a touchdown on his first carry. In a 24-16 victory at Wake Forest, Cook scored from 94 yards, which was the third-longest TD run in school history.
After Michael Badgley's 30-yard field goal put Miami on the board, Cook extended the Seminoles' lead to 14-3 when he took Golston's screen pass 36 yards for a score.
Trailing 17-3, Miami got back into it on Kaaya's 58-yard touchdown pass to Rashawn Scott. Scott was able to get separation from cornerback Jalen Ramsey while Lamarcus Brutus tried to go for the interception.
Miami was able to counter Roberto Aguayo's field goals with touchdowns. Joe Yearby's 1-yard reception brought them to 20-17 with 5:26 remaining in the third. After Aguayo's third field goal, Coley's touchdown gave the Hurricanes a short-lived lead.