Catalyzes the transfer of a methyl group onto N-acetylserotonin, producing melatonin (N-acetyl-5-methoxytryptamine).
Highly expressed in pineal gland. In the retina, 10- to 100-fold lower expression compared to pineal gland, if any.