Cadbury has pleaded guilty to three offences under food and hygiene regulations in connection with a salmonella scare last summer. Birmingham City Council alleged the firm put "unsafe" chocolate on the market for a period in 2006, which led to one million bars being recalled.
Thirty people were affected, the Health Protection Agency said.
Cadbury will be sentenced for the offences at Birmingham Crown Court on 13 July.