Gandalf (Ian McKellen) appears throughout the trilogy as a single character—Gandalf the Grey then Gandalf the White. He does not play multiple roles, nor does he change costumes mid‑scene to deceive enemies. His transformation occurs off‑screen between The Fellowship of the Ring and The Two Towers, signifying his resurrection and elevated authority.