LeBron James led the Heat with 27 points, while Dwyane Wade finished with 21 points. Norris Cole chipped in with 11 points. Offseason acquisitions Shane Battier and Eddy Curry did not suit up for the game.
The teams split their two-game preseason series.
Orlando shot 50 percent from the floor, while Miami shot 41.4 percent.
The Magic will open their season on Sunday on the road against the Oklahoma City Thunder, while Miami will face the defending NBA Champion Mavericks on Sunday in Dallas in a rematch of last season's NBA finals.