Johnny Depp, dressed as Jack Sparrow, surprises Disneyland visitors

WATCH: Johnny Depp Visits Disneyland As Captain Jack Sparrow

It really was a pirate’s life for Johnny Depp at Disneyland Wednesday night.

Depp had a major surprise for riders on the Disneyland version of “Pirates of the Caribbean.” He blended in with the audio-animatronics on the ride, dressed in full Captain Jack Sparrow garb.

He appeared in one of the village scenes, getting as close as the water would let him to the boats full of riders.

The videos were quickly loaded onto social media.

This isn't the first time Depp has donned his pirate hat in public. In 2015, he took time while filming in Australia to visit a children's hospital.

Last year, he also appeared in Disneyland as one of his other famous characters. Depp interacted with park guests via video link as the Mad Hatter as a promotion for "Alice Through the Looking Glass."

Actor Johnny Depp,  dressed as Captain Jack Sparrow, of PIRATES OF THE CARIBBEAN: DEAD MEN TELL NO TALES took part in "Worlds, Galaxies, and Universes: Live Action at The Walt Disney Studios" presentation at Disney's D23 EXPO 2015 in Anaheim, Calif.  (Photo by Jesse Grant/Getty Images for Disney)

Credit: Jesse Grant

icon to expand image

Credit: Jesse Grant