The royal trio took part in the Warner Bros.' studios inauguration ceremony at their Leavesden studios in Hertfordshire, East England, where William - whose wife Duchess Catherine is pregnant with their first child - gave a short speech to fellow guests.
Before exploring the wizarding world, the royal party were given a glimpse of props and costumes from Batman film 'The Dark Knight Rises', and the brothers appeared mesmerised by the Batmobile known as the Tumbler.
William was seen turning to Harry and whispering: ''We should borrow that for the weekend.''
He continued to share his excitement in his speech, saying: ''To be honest, I'm over the moon just to have seen the real Batmobile and Batpod - you don't do baby seats for those cars, do you, by any chance?
''On the other hand Harry's just excited to see a real life talking owl in the Harry Potter studios. I haven't told him yet that Harry Potter is fictional, so please keep the secret for a little longer.''
Once he wrapped up his talk, the imperial guests took a tour around the set of the franchise and were joined by 500 children and their parents from several charities which the royals personally support.
They were taught how to use magic wands in Gryffindor Common Room before enjoying a special effects display down the winding streets of Diagon alley.
To top off their fun-filled day, the royal party held a meeting in Hogwarts Great Hall for those who attended from their Charities Forum.