EXCLUSIVE: Javier Bardem Opens Up About Acting Alongside Johnny Depp on 'Pirates 5': He's 'a Joy to Work With'

Getty Images

Johnny Depp
is sailing the high seas yet again as Captain Jack Sparrow in Pirates of the Caribbean: Dead Men Tell No Tales, and, for the fifth installment in the blockbuster franchise, he's joined by Javier Bardem.

ET's Carly Steel spoke with Bardem at the film's Shanghai premiere on Thursday, and the Oscar winner opened up about the excitement and challenges of acting opposite Depp.

WATCH: 'Pirates of the Caribbean: Dead Men Tell No Tales' Promises Way More Action and Fun

While Bardem praised Depp as "a joy to work with," he admitted that the actor's familiarity with his iconic role was captivating, and it was sometimes hard for co-stars not to get caught up in his performance.

"He's playing this character he knows so well that sometimes, the difficult part is to not be a spectator," the 48-year-old star recounted. "Sometimes I was shooting with him and I was watching how he became Sparrow and it was a delight. And then it's like, 'S**t! I have to say my line.'"

Bardem explained how he also looked for advice on working with the stalwart Pirates star by turning to his wife, Penelope Cruz, who starred opposite Depp in the fourth Pirates film, On Stranger Tides.

"[Her] advice for working with Johnny is very simple, it's 'have fun,'" Bardem shared.

WATCH: Javier Bardem Will Terrify You in First 'Pirates of the Caribbean: Dead Men Tell No Tales' Teaser

"When I was on the Pirates 4 set, while Penelope was shooting, I realized how amazing the team was [that] Jerry Bruckheimer and Disney put together to make this kind of movie," he continued. "I knew from the very beginning it was going to be an easy and exciting process."

In Dead Men Tell No Tales,
Bardem stars as Captain Armando Salazar, a magical, maniacal undead pirate hunter who seeks the Trident of Poseidon so he can kill every pirate who sails the seas and get revenge on his nemesis, Jack Sparrow.

Many familiar faces will be returning for the fifth Pirates film. Aside from Depp, Geoffrey Rush returns for a fifth time as Captain Hector Barbossa, while Keira Knightley will reprise her role as Elizabeth Turner.

Orlando Bloom is also returning as Will Turner, Elizabeth's husband who became the Captain of the Flying Dutchman at the end of the third film, At World's End.

NEWS: Captain Jack Is Back and in Trouble in This First 'Pirates 5' Photo

Meanwhile, Bardem is currently working alongside his wife on the upcoming drama Escobar, which tells the real life story of drug lord Pablo Escobar's romantic entanglement with Colombian journalist Virginia Vallejo.

Bardem plays as the eponymous cocaine kingpin opposite Cruz, who stars as Vallejo.

The actor opened up to ET about how his working relationship with his wife has evolved after co-starring on a number of other projects over the years, including 2013's The Counselor and 2008's Vicky Christina Barcelona.

"[Our connection] was very powerful in the sense that the relationship of those two characters, Virginia and Pablo, is very powerful," Bardem shared. "We had a great time doing it together… But there were some tough scenes in it."

WATCH: Johnny Depp Can't Find His Pants in Action-Packed 'Pirates of the Caribbean: Dead Men Tell No Tales' Trailer

Bardem said that getting to act alongside Cruz on the film's more emotionally challenging scenes made them less difficult to shoot.

"It was easier than we expected," he recalled. "We both had a lot of joy doing it."

While no release date has been determined, Escobar is expected to hit theaters in 2018.

Pirates of the Caribbean: Dead Men Tell No Tales
sails into theaters May 26.

Related Gallery