Toronto got 20 points from Jerome Williams in the first half, but Orlando built a 57-50 halftime lead. The Magic made it 104-90 on a three-point play by former Raptor Tracy McGrady with 6:52 remaining.
Alvin Williams produced seven points in a 13-0 run that cut the deficit to one. He sank two foul shots with 2:42 left for a 107-106 lead.
The game stayed close until Alvin Williams fed Jerome Williams for an inside hoop with 55 seconds left for a 111-109 advantage. Orlando had a chance to tie, Grant Hill missed an open jumper with 48 seconds left.
Toronto misfired on its next possession, giving Orlando and McGrady another chance. But McGrady was double-teamed and passed to an open Pat Garrity, who misfired on a three-pointer with 14 seconds remaining. Jerome Williams sank two free throws to help seal it.
McGrady led Orlando with 38 points but had just six in the fourth quarter.
Notable deaths of 2014 [PHOTOS]