Mars in Ireland and the UK is recalling some bars of Galaxy, Maltesers Teasers, and bags of Minstrels "due to the potential presence of salmonella", the chocolate maker said.
There are fears some of the products may carry the potentially deadly bacteria and consumers are being warned not to eat the confectionery affected.
A Mars Chocolate spokesman said: "Through our routine testing, we have detected the potential presence of salmonella from the ingredients used to make our chocolate.
"As a precaution, we are voluntarily recalling certain Galaxy Smooth Milk Chocolate bars, Galaxy Minstrels, and Galaxy Counters and Teasers bars.
"We are working closely with the relevant food safety authorities and our customers to ensure that the affected products are no longer available for purchase.
"If you have one of the products listed above, you should not eat it. Please keep the product and contact our consumer care team to arrange return and reimbursement," he said.
The products being recalled are:
Galaxy Counters 112g Pouch - product code AW99G in Ireland, batch numbers 720B1SLO00 and 720C1SLO00 with best before dates of May 13, 2018.
Maltesters Teasers 35g Bar - product code AX46E, batches 720C1SLO00 and 720D2SLO00 in the UK and Ireland, with the best before date of May 13, 2018.
Galaxy Milk 200g Bar - product code AC76R, batches 719G1SLO00, 719G2SLO00, with the best before date of May 6, 2018, and batches 720A2SLO00, 720B1SLO00 with the best before date of May 13, 2018.
Galaxy Milk 4x42g Multipack Bars - product code AF67D, batches 719G1SLO00 and 719G2SLO00 with the best before date of May 6, 2018.
Galaxy Milk 42g Bar - product code AN22R, batch number 719G2SLO00, with the best before date of May 6, 2018.
Galaxy Counters 78g Treat Bag - product code AW99N, batch number 719G2SLO00, with the best before date of May, 6, 2018.
Galaxy Minstrels 118g Pouch (Sweet Nights In promotion) - product code BJ30K, batch number 720B1SLO00, with the best before date of May 13, 2018.
Irish consumers can contact 1890 812 315 and UK consumers can call 0800 952 0084 for reimbursement.