The state's attorney general, Xavier Becerra, said Thursday that inspections of Home Depot trash bins over a two-year span uncovered the violations.
The company said in a statement that it will work with California in its commitment to responsible waste disposal.
Becerra said the home improvement chain will pay about $16 million in civil penalties, $9 million toward environmental protection and compliance, and nearly $2 million to cover costs.
Officials say Home Depot outlets failed to properly manage the disposal of aerosol cans, batteries, electronics, paint and other items, in addition to customer information.
Copyright 2018 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.