"It wasn't demoralizing; they played better," said guard Rasheed Sulaimon, who led Duke with 16 points. "I believe we have them on the schedule again."
Durand Scott scored a season-high 25 points for Miami, and Kenny Kadji added a season-high 22.
Miami (14-3, 5-0 Atlantic Coast Conference) beat a No. 1 team for the first time, taking control with a stunning 25-1 run midway through the opening half.
Seth Curry, Tyler Thornton and Quinn Cook went a combined 1-for-29 for the Blue Devils, who shot a season-low 30 percent.
Duke (16-2, 3-2) went 4-for-23 from three-point range, while Miami went 9-for-19 and shot 57 percent overall.
In other Top 25 games *
At Indiana, Victor Oladipo scored 19 points, and Yogi Ferrell added a season-high 15 to help No. 7 Indiana (17-2, 5-1 Big Ten) rout Penn State, 72-49. D.J. Newbill had 18 points to lead Penn State (8-11, 0-7), which has lost seven straight.
* At Georgia, Scottie Wilbekin scored 17 points as No. 8 Florida shook off a sluggish first half and defeated Georgia, 64-47. Florida (15-2, 5-0 SEC) trailed 27-24 at halftime, making just one of nine attempts from three-point range.
* At New Mexico, Tony Snell scored 23 points and the No. 15 Lobos (17-2, 4-0 Mountain West) defeated Colorado State, 66-61.
* At Drake, Richard Carter scored 20 points and the Bulldogs stunned No. 17 Creighton, 74-69. Doug McDermott had 21 points to lead Creighton (17-3, 6-2 Missouri Valley).
* At Missouri State, Cleanthony Early scored 17 points and No. 20 Wichita State (18-2, 7-1 Missouri Valley) rallied for a 62-52 victory over the Bears.
* At Northwestern, Jared Swopshire scored 16 points in a 55-48 victory over No. 12 Minnesota. The Wildcats (12-8, 3-4 Big Ten) sent the Gophers (15-4, 3-3) to their third straight loss.
* At Oregon, E.J. Singler scored 19 points and Arsalan Kazemi added 16 as the No. 16 Ducks (17-2, 6-0 Pac-12) edged Washington State, 68-61.
North Carolina suspended junior guard Leslie McDonald for three games. The reason for the suspension was not disclosed.