It will be the sixth league game played at the O2 Arena in the British capital. Before 2011, games in London were only exhibitions.
"We look forward to returning to London next season," NBA commissioner Adam Silver said in a statement. "... This underscores our commitment to growing basketball in the region and to bringing more regular-season basketball to our fans in the UK."
Magic coach Scott Skiles competed in two preseason games in London as a player with Orlando in 1993.
"I remember playing in London with the Magic in 1993," Skiles said, "and I am sure our current players will relish this unique opportunity."
The Raptors participated in the first two regular-season games to be played in London in 2011.
The Associated Press contributed to this report.