The "Trap Queen" rapper, born Willie Junior Maxwell II, pleaded guilty last year to distributing and possessing cocaine.
New York prosecutors said he was part of a ring of six men that distributed more than 100 kilograms of cocaine, heroin, fentanyl and crack cocaine across Long Island and New Jersey between June 2019 and June 2020.
The men obtained the drugs on the U.S. west coast and used the United States Postal Service and drivers with hidden vehicle compartments to transport the narcotics to New York.
The substances were then distributed to dealers who sold them on Long Island and in New Jersey.
The Justice Department described Maxwell, 31, as "a kilogram-level redistributor for the trafficking organization."
The rapper was arrested in October, 2021 at the Citi Field baseball stadium in Queens, New York, where he had been scheduled to perform at a music festival.
Prosecutors said that searches during their investigation had recovered approximately $1.5 million in cash, 16 kilograms of cocaine, two kilograms of heroin, numerous fentanyl pills and several guns.
Maxwell will also be subject to five years of post-release supervision, the United States attorney for the Eastern District of New York said in a statement.
One of Maxwell's co-defendants, a New Jersey prison officer, was sentenced to six years in March for his role in the scheme. The other four co-defendants have pleaded guilty and are awaiting sentencing.
Maxwell gained recognition when his debut single "Trap Queen" reached number two on the U.S. charts in 2015.