The U.S. Department of Justice announced Friday that the Atlanta-based company would also "take steps" to block illicit online drug dealers from using their delivery service.
The DOJ says the fine amount is the money UPS collected from suspect online pharmacies.
UPS won't be charged with any crimes. Its biggest rival, FedEx Corp., has also been a target of the federal investigation.
The investigation of the two companies stems from a global campaign to shutter illicit online pharmacies launched in 2005. Since then, dozens of arrests have been made and thousands of websites closed worldwide as investigators continue to broaden the probe beyond the operators.
MORE HBJ HEADLINES
Boeing-built tankers could be based at Fairchild AFB 4:04 p.m. Plenty of risks could sink Boeing’s Iran deal 3:52 p.m. Southwest Airlines delays delivery of 67 Boeing 737s How would Brexit affect U.S? Car quality improves even as new technology is introduced Flu spray fails again, panel urges shot instead