In an episode which was filmed back in March, the Prince of Wales and Duchess of Cornwall will surprise residents of Albert Square at a street party, celebrating the Queen's 70 years on the throne.
Along with filming the episode, the couple also visted the new Elstree set and met the cast and crew of the BBC soap.
The episode, which airs on June 2,will see the couple greeted by Mick and Linda Carter, aka Danny Dyer and Kellie Bright, who introduce them to the Walford residents.
"I did think what amazing sports that they are just willing to do it", Bright said on meeting the Royal couple. "I just thought, 'Wow, they've never done anything like this before’. They didn’t really know what to expect, I mean it must have been nerve-wracking for them and completely out of their norm".
"So I just hope they enjoyed it as much as we did".
"We are truly honoured to have both the Prince of Wales and the Duchess of Cornwall appear in what is set to be one of EastEnders’ most special episodes", EastEnders executive producer Chris Clenshaw.
"Linda Carter is naturally in her element and giddy with excitement as their Royal Highnesses arrive in Walford, but it wasn’t just her, as for all of us at EastEnders it was an extremely special day that will go down in EastEnders’ history".