Melatonin is being increasingly promoted as a therapeutic agent for the treatment of jet lag and insomnia, and is an efficient free radical scavenger. We have recently characterized a product for the reaction of melatonin with nitric oxide (NO), N-nitrosomelatonin. In the present work, reaction pathways with N1, C2, C4, C6 and C7 as possible targets for its reaction with NO that yield the respective nitroso derivatives have been investigated using semiempirical AM1 computational tools, both in vacuo and aqueous solution. Specifically, two different pathways were studied: a radical mechanism involving the hydrogen atom abstraction to yield a neutral radical followed by NO addition, and an ionic mechanism involving addition of nitrosonium ion to the indolic moiety. Our results show that the indolic nitrogen is the most probable site for nitrosation by the radical mechanism, whereas different targets are probable considering the ionic pathway. These results are in good agreement with previous experimental findings and provide a coherent picture for the interaction of melatonin with NO.