Trevor Releford made a 3-pointer from the top of the key with 0.6 seconds left to lift Alabama to a 67-64 victory over Mississippi on Tuesday night.
Releford scored 21 of his 26 points in the second half before delivering the final shot that helped snap a four-game losing streak for the Crimson Tide (10-14, 4-7 Southeastern Conference).
He accounted for 14 of Alabama's 16 points over the final 5 minutes with an assist on the other basket.
Jarvis Summers had tied the game on two free throws with 13 seconds left for the Rebels (16-8, 7-4). Then Releford brought the ball across midcourt, passed once and got it right back.
He fired the ball over Ole Miss' sharpshooter Marshall Henderson to deliver the win for a team that had dropped six of its last seven games.
Nick Jacobs added 18 points and eight rebounds for Alabama while Shannon Hale scored 15. Releford made 8 of 9 free throws.
Henderson led Ole Miss with 14 points on 4-of-14 shooting from 3-point range after scoring 29 and hitting eight 3s in a win over Missouri. He missed his only attempt from inside the 3-point line.
Anthony Perez added 13 points and LaDarius White had 10 points and eight rebounds.
Releford's two free throws with 1:11 left put Alabama up 64-58. Then Aaron Jones made 1 of 2 free throws and Perez saved an offensive rebound out to Henderson, who drilled a 3-pointer over Retin Obasohan.
Then Hale missed a 3-pointer and Ole Miss, down by two points, called a timeout with 17 seconds remaining to set up a play.
Releford fouled Summers, who made both but finished with nine points on 2-of-9 shooting.
The Alabama guard, who had 25 points in a loss at No. 3 Florida, took over from there.