Gandalf is one of the playable in-game characters in LEGO Dimensions 2: The Rise of Enoch, from the LEGO Movie franchise.
In The LEGO Movie, Gandalf is among the Master Builders that meet in Cloud Cuckoo Land. Vitruvius often got Gandalf and Professor Dumbledore confused. He is later captured by a Super Secret Police force led by Bad Cop and imprisoned in Lord Business' Think Tank. Later, he is freed after Emmet's sacrifice and helps other Master Builders to stop Lord Business and the Micro Managers. Following the Kragle's destruction, Gandalf and Professor Dumbledore were tossing the Deep Sea Diver in the air during the victory celebration.