There are now a lot of different types of melatonin as an active ingredient. The types can be determined by their dosage form. The most common forms of melatonin as an active ingredient are tablets, capsules, sprays and creams.