Melatonin is a neurohormone that is secreted in the brain and which is associated with the sleep cycle, its clinical uses have been focused on sleep disorders, as well as on the improvement of cognitive performance and people's mood. Likewise, Transcranial Magnetic Stimulation (TMS) has been used in the same areas. The objective of this research was to analyze for two weeks, in young adults with an average age of 24 (the minimum age was 18 and the maximum was 32), which of the two treatments was more effective in inducing improvements in sleep quality, memory and mood. Four groups were formed, the placebo group (n=28), the sham group (n=28), the melatonin group (n=25) and the TMS group (n=16). All groups had a pre-test evaluation of sleep quality, memory, depression and anxiety. The experimental phase lasted 2 weeks and consisted of placebo exposure, sham stimulation, melatonin consumption (10 mg) and TMS (128 Hz). After this period, the post-test evaluation was carried out. The results showed that both treatments were equally effective in improving sleep quality, although TMS was more effective in improving memory and anxiety symptoms. It is inferred that both treatments are effective, although the question arises about their long-term use and the maintenance of the improvements.