More than 9500 types of prescription medications imported from almost 90 countries were stopped at the border last year.
The most popular drug New Zealanders imported was for erectile dysfunction with 3265 different medications.
Academics who have conducted a study on importation of medicines said people needed to be educated about the potential harm of trying to bring in drugs.
Figures requested by the Herald under the Official Information Act show that last year 6218 parcels were referred to Medsafe from Customs that were found to contain 9659 different types of prescription medication.
The parcels came from 86 countries.