The 27-year-old had about 110 pounds of ecstasy and about 2.5 pounds of methamphetamine in her possession when she was stopped at a routine border check in Germany in June.
The athlete, who competed in the 4x400m relay at 2016 Rio Olympics, was found guilty of drug smuggling offenses in a court in Kleve, Germany Monday.
Ghafoor said she had thought the drugs were doping materials as she desperately sought to improve her career, the court confirmed to CNN.
However, she would not reveal who had supplied her with the substances over fears for her family’s safety.
The Dutch Athletics Union said it was “stunned” by the judgments and said the case has been transferred to the doping authorities.
“The Athletics Union condemns any use or trade in doping or drugs and fully commits itself to the Dutch Doping Law.
“We regret the situation that has arisen for Madiea Ghafoor and her family.”