The contaminant has been linked to the deaths of more than 300 children in Africa and Asia
The products, including the Galaxy Minstrels and Galaxy Counters bars, with a best-before date ranging between May 6, 2018 and May 13, 2018 were recalled as a precautionary measure, the British and Irish units of Mars said.
Mars also said it had received no complaints regarding the affected products and that it was working closely with relevant food safety authorities regarding the recall.
The company, which makes the Mars Bars that Harry Potter meant to buy on his first trip aboard the Hogwarts Express, said it came across the issue during a routine testing process.