A pair of Otago schoolboys who chased Hollywood actor Daniel Craig in Dunedin have posted their selfies of the star on Twitter.

Alfred Pettitt takes a selfie with Daniel Craig after spotting him in Dunedin.

Alfred Pettitt and Caley Callahan were heading to the bank after school when they spotted James Bond actor Daniel Craig leaving the Meridian mall in Dunedin, they told the Otago Daily Times.

"I did a double-take and realised it was him," Alfred told the paper.

The two teens chased after the star dressed in a cap and glasses asking him if he would take a selfie with them.

''You only get one chance, and I don't know anyone who isn't a fan of him, to be honest ... he is James Bond,'' Caley said.

"To be quite honest, I don't think he wanted to be seen, because he had the cap and glasses on, but he seemed to be enjoying himself down here."

The pair say the actor, who's in Dunedin filming 'The Light Between Oceans', was friendly and struck up a conversation with the boys asking them where they went to school.

''I told him it was good to meet him, as it was not often you get to meet a celebrity in Dunedin,'' says Alfred.

The duo, who are huge fans of Craig, were quick to post their snaps on Twitter.