The affected milks have been sold in Woolworths, Coles and IGA in NSW.
E. coli can cause serious illness to chose affected - symptoms include diarrhoea, stomach pain, nausea and vomiting and pneumonia.
Shoppers are warned to not consume these products and dispose of them immediately.
'Lion Dairy & Drinks is committed to the highest standards of quality and safety,' said the company.
'Consumers and customers can be assured that we are undertaking a thorough investigation and will put in place steps to mitigate it happening again.’