Patric Young scored 19 points as No. 14 52, on Tuesday.
The Gators (20-6, 8-3 SEC) had lost two straight, but got 14 points from both Erik Murphy and Bradley Beal, and opened the second half with a 16-0 run to secure the bounce-back win.
Alabama (16-9, 5-6) has dropped two in a row since head coach Anthony Grant suspended four of his best players for disciplinary reasons. Two of those players, Andrew Steele and Trevor Releford, returned on Tuesday, finishing with 11 and eight points, respectively. But the team's top-two scorers, JaMychal Green and Tony Mitchell, remained out.