The Taxi star will appear in 1D's upcoming video for the boy band's new single, "Steal My Girl."
"Can't believe that Hollywood Royalty @DannyDevito is in the steal my girl video ! what a legend !" Niall Horan Tweeted on Friday, along with a picture of the guys on set with DeVito.
DeVito also got in on the social media fun by involving the British band in his popular Troll Foot meme.
"Trollfoot wit all da boys!" DeVito Tweeted with a photo of the guys posing with his bare foot.
"Steal My Girl" is the lead track off One Direction's fourth studio album, Four, set to be released Nov. 17.