Catalyzes the formation of long-chain N-acylserotonins and N-acyldopamines, which are important cellular signaling lipids (PubMed:24444601, PubMed:31385627). Catalyzes in vitro the formation of various N-acetyl-2-arylethylamines such as N-acetyltryptamine and melatonin (PubMed:11098219, PubMed:26476413). 2-arylethylamine + acetyl-CoA = CoA + H(+) + N-acetyl-2-arylethylamine acetyl-CoA + serotonin = CoA + H(+) + N-acetylserotonin butanoyl-CoA + serotonin = CoA + H(+) + N-butanoylserotonin hexadecanoyl-CoA + serotonin = CoA + H(+) + N-hexadecanoyl-serotonin octadecanoyl-CoA + serotonin = CoA + H(+) + N-octadecanoyl-serotonin (9Z)-octadecenoyl-CoA + serotonin = CoA + H(+) + N-(9Z-octadecenoyl)-serotonin (5Z,8Z,11Z,14Z)-eicosatetraenoyl-CoA + serotonin = CoA + H(+) + N-[(5Z,8Z,11Z,14Z)-eicosatetraenoyl]-serotonin acetyl-CoA + dopamine = CoA + H(+) + N-acetyl-dopamine dopamine + hexadecanoyl-CoA = CoA + H(+) + N-hexadecanoyl-dopamine (9Z)-octadecenoyl-CoA + dopamine = CoA + H(+) + N-(9Z-octadecanoyl)-dopamine acetyl-CoA + tyramine = CoA + H(+) + N-acetyltyramine butanoyl-CoA + tyramine = CoA + H(+) + N-butanoyltyramine acetyl-CoA + octopamine = CoA + H(+) + N-acetyloctopamine 5-methoxytryptamine + acetyl-CoA = CoA + H(+) + melatonin 2-phenylethylamine + acetyl-CoA = CoA + H(+) + N-(2-phenylethyl)acetamide acetyl-CoA + noradrenaline = CoA + H(+) + N-acetylnoradrenaline acetyl-CoA + tryptamine = CoA + H(+) + N-acetyltryptamine When length of the acyl-CoA aliphatic chain is increased, it begins to occupy the binding site for the amine substrate, leading to non-productive amine binding which results in a decrease in the rate of catalysis (PubMed:26476413). Inhibited by tyrosol (an analog of tyramine) (PubMed:26476413). Tyramine or octopamine are not substrates when the acyl acceptor is oleoyl-CoA (PubMed:24444601). kcat is 1.3 sec(-1) for acetyl-CoA (at pH 8 and with serotonine as cosubstrate) (PubMed:24444601). kcat is 0.33 sec(-1) for butanoyl-CoA (at pH 8 and with serotonine as cosubstrate) (PubMed:24444601). kcat is 0.16 sec(-1) for palmitoyl-CoA (at pH 8 and with serotonine as cosubstrate) (PubMed:24444601). kcat is 0.059 sec(-1) for steroyl-CoA (at pH 8 and with serotonine as cosubstrate) (PubMed:24444601). kcat is 0.075 sec(-1) for oleoyl-CoA (at pH 8 and with serotonine as cosubstrate) (PubMed:24444601). kcat is 0.043 sec(-1) for arachidonoyl-CoA (at pH 8 and with serotonine as cosubstrate) (PubMed:24444601). kcat is 2.4 sec(-1) for serotonine (at pH 8 and with acetyl-CoA as cosubstrate) (PubMed:24444601). kcat is 0.52 sec(-1) for serotonine (at pH 8 and with butanoyl-CoA as cosubstrate) (PubMed:24444601). kcat is 0.15 sec(-1) for serotonine (at pH 8 and with palmitoyl-CoA as cosubstrate) (PubMed:24444601). kcat is 0.057 sec(-1) for serotonine (at pH 8 and with steroyl-CoA as cosubstrate) (PubMed:24444601). kcat is 0.030 sec(-1) for serotonine (at pH 8 and with arachidonoyl-CoA as cosubstrate) (PubMed:24444601). kcat is 7 sec(-1) for dopamine (at pH 8 and with acetyl-CoA as cosubstrate) (PubMed:24444601). kcat is 0.14 sec(-1) for dopamine (at pH 8 and with palmitoyl-CoA as cosubstrate) (PubMed:24444601). kcat is 0.058 sec(-1) for dopamine (at pH 8 and with oleoyl-CoA as cosubstrate) (PubMed:24444601). kcat is 2.4 sec(-1) for serotonin (at pH 8 and with acetyl-CoA as cosubstrate) (PubMed:26476413). kcat is 4.3 sec(-1) for tryptamine (at pH 8 and with acetyl-CoA as cosubstrate) (PubMed:26476413). kcat is 1.5 sec(-1) for tyramine (at pH 8 and with acetyl-CoA as cosubstrate) (PubMed:26476413). kcat is 7.3 sec(-1) for 2-phenylethylamine (at pH 8 and with acetyl-CoA as cosubstrate) (PubMed:26476413). kcat is 5.6 sec(-1) for noradrenaline (at pH 8 and with acetyl-CoA as cosubstrate) (PubMed:26476413). kcat is 2.6 sec(-1) for 5-methoxytryptamine (at pH 8 and with acetyl-CoA as cosubstrate) (PubMed:26476413). kcat is 2.3 sec(-1) for octapamine (at pH 8 and with acetyl-CoA as cosubstrate) (PubMed:26476413). kcat is 1.6 sec(-1) for acetyl-CoA (at pH 8 and with tyramine as cosubstrate) (PubMed:26476413). Optimum pH is 8-8.5. Aromatic compound metabolism; melatonin biosynthesis; melatonin from serotonin: step 1/2. Lipid metabolism; fatty acid metabolism. Expressed in all stages except early embryos (PubMed:11098219). Expressed in thorax-abdomen (PubMed:24444601). RNAi-mediated knockdown results in decreased levels of N-palmitoyldopamine (PALDA) and N-oleoylethanolamine and higher levels of N-palmitoyl-derived fatty acid amides (FAAs), N-palmitoylglycine, palmitamide and palmitoleamide. Belongs to the acetyltransferase family. AANAT subfamily. Extended N-terminus.