The company will pay $80 million for negligence, after it allowed painkillers to reach the black market.
The DEA says the Walgreen distribution center in Florida received larger than usual orders for painkillers from six stores.
The center didn’t report the activity, even though its required to do so.
Each pharmacy was sent three times the average orders for painkillers, such as the addictive narcotic oxycodone.
The DEA said the pharmacies knew the drugs were not for legitimate medical use.
The Walgreen center is banned from distributing similar substances until next year.
In a statement, Walgreen said that it has “identified specific compliance measures … to enhance our ordering processes and inventory systems, to provide our team members with the tools, training and support they need to ensure the appropriate dispensing of controlled substances.”