Miami's Keny Hayes hit a three to tie the game at 70 with just over six seconds remaining.
John Wall then took the ball up the floor with a full head of steam and delivered victory to the Wildcats in his first official game as a Wildcat when he nailed a pull up midrange jumper with 0.05 seconds remaining in the game.
Kentucky fell behind 36-18 in the first half, then fought back to get within a basket by the end of the first half, 39-36.
The Wildcats finally pulled even at 57-52, but the Redhawks came charging back and the game was a back and forth affair until the final horn sounded.
Miami was led by Nick Winbush, who was unconscious from long range, nailing eight of ten threes and finishing with 26 points. Hayes added sixteen for the Redhawks.
Wall led the way with 19 points, Patrick Patterson scored 17, and DeMarcus Cousins added ten for the Wildcats. Cousins did all of his damage in the second stanza. Wings Darius Miller and Darnell Dodson added nine points each for the Wildcats, with Dodson doing most of his damage in the first half, and Miller thriving in the second.
Wall hits game winner with 0.05 seconds
AllWildcats Top Stories
RECAP: No. 5 Kentucky 88, Miss. State 81Wenyen Gabriel's finest overall game as a Wildcat helped keep No. 5 Kentucky undefeated in SEC play on Tuesday at Mississippi State.
AllWildcatsTuesday at 3:57 PM
Howland: Briscoe 'The Heart and Soul' of UKKentucky may have a better scorer. (Malik Monk)
AllWildcatsMonday at 2:39 PM
RECAP: No. 6 KENTUCKY 92, AUBURN 72LEXINGTON, Ky. -- Bruce Pearl got a phone call from Auburn basketball legend Charles Barkley prior to the Tigers' matchup on Saturday against No. 6 Kentucky.
AllWildcatsSaturday at 3:58 PM
Breakdown: Kentucky Commit Lynn BowdenThe commitment of Lynn Bowden is a big addition to Kentucky's 2017 recruiting class. What are the Wildcats getting with Bowden?
Scout FootballSaturday at 5:51 AM