Alameda County Superior Court Judge Steven Brick signed the order Friday based on allegations brought by the state and several cities and counties.
Their lawsuit contends that Target stores statewide have routinely thrown hazardous items directly into the trash. Items alleged include bleach, pesticides, paint, aerosols and electronics.
Among the claims, the Los Angeles City Attorney's Office says Los Angeles stores sent more than 5,000 pounds of unsellable hazardous products to a regional food bank.
Target said in a statement that the company has a comprehensive program in place to ensure stores comply with California law.