The most common sources of these products were India (90), Switzerland (29) and Great Britain (18).
"Medsafe strongly encourages anyone intending to buy prescription medicines via the internet to consult their doctor who can advise on potential side effects, interactions with other medicines and appropriate dosage," Mr Fitzgerald said.
"Consumers who buy online run the risk of purchasing medicines that are inappropriate for them or unknowingly purchasing medicines that are counterfeit, of poor quality or contain dangerous ingredients."
Prescription medicines were referred to Medsafe by Customs to ensure compliance with New Zealand law.
Most prescription medicines Medsafe detained were held until the importer provided a valid doctor's prescription - if this did not occur they were destroyed.
By the numbers:
• Most medicines were for the treatment of erectile dysfunction - 5234 individual tablets
• Medicines for insomnia, endocrine disorders and heart disease / cholesterol were the next most prevalent
• Two parcels contained a counterfeit or fake product for the treatment of erectile dysfunction