This is because melatonin is considered “medical by function” which means that it requires a drug licence. All medicines that are prescription-only require a drug licence, which outlines strict criteria on who it can be prescribed to, and for what purpose.