Because of the absence of an arylalkylamine N-acetyltransferase (AANAT) homolog in the plant genome, the proposal was made that a GCN5-related N-acetyltransferase superfamily gene (GNAT) could be substituted for AANAT. To clone rice serotonin N-acetyltransferase (SNAT), we expressed 31 rice GNAT cDNAs in Escherichia coli and screened SNAT activity by measuring N-acetyltryptamine after application with 1 mm tryptamine. GNAT5 was shown to produce high levels of N-acetyltryptamine in E. coli, suggesting a possible rice SNAT. To confirm SNAT activity, the GNAT5 protein was purified through affinity purification from E. coli culture. The purified recombinant GNAT5 showed high SNAT enzyme activity catalyzing serotonin into N-acetylserotonin. The values for Km and Vmax were 385 μm and 282 pmol/min/mg protein, respectively. An in vitro enzyme assay of purified SNAT showed N-acetylserotonin formation to be proportional to enzyme concentration and time, with peak activity at pH 8.8. High substrate concentrations above 1 mm serotonin inhibited SNAT activity. Finally, the mRNA level of SNAT was higher in shoots than in roots, but it was expressed constitutively, unlike N-acetylserotonin methyltransferase (ASMT), the terminal enzyme in melatonin synthesis. These results suggest that ASMT rather than SNAT is the rate-limiting enzyme of melatonin biosynthesis in plants.