Samuel L Jackson was seen outside Da Sandro on Halifax Road in Ainsley Top on Saturday evening (Jan 22) and stopped for a selfie with a fan.
A spokeswoman for the restaurant said: "We are thrilled to have had the legendary Samuel L Jackson dining with us this weekend.
"It’s fantastic that more landmarks on our doorstep are being used for filming locations. We hope Mr Jackson enjoyed his visit to Huddersfield and Da Sandro’s, we would be happy to welcome him back any time."
The actor, who has appeared in dozens of movies, is the star of Marvel' s upcoming six-part series Secret Invasion, which is understood to have been filming in Halifax since the beginning of this week.
Crews have been spotted on the outskirts of Halifax town centre.
The Piece Hall is to shut from Monday until February 1 for more filming for the series, while a number of roads are being closed off in Leeds city centre on Sunday (Jan 23) as part of the fliming.
The upcoming American miniseries, created by Kyle Bradstreet, will be available to watch on Disney+ upon its release.
A star cast will be appearing on the show, including Samuel L. Jackson reprises his role as Nick Fury, Ben Mendelsohn as Talos and Cobie Smulders as Maria Hill.
The show features
a group of shapeshifting aliens, the Skrulls, have invaded all aspects of life on Earth. Additionally Olivia Coleman, Emilia Clarke, Killian Scott, Christopher McDonald and Carmen Ejogo have been cast in undisclosed roles. Kingsley Ben-Adir will be portraying the ‘lead villain’
Currently there is no confirmed date for its release.