what does mdma do to the brain

MDMA affects the brain by increasing the activity of at least three neurotransmitters (the chemical messengers of brain cells): serotonin, dopamine, and norepinephrine.

Like other amphetamines, MDMA causes these neurotransmitters to be released from their storage sites in neurons, resulting in increased neurotransmitter activity. Compared to the very potent stimulant, methamphetamine, MDMA causes greater serotonin release and somewhat lesser dopamine release

Serotonin is a neurotransmitter that plays an important role in the regulation of mood, sleep, pain, appetite, and other behaviors. The excess release of serotonin by MDMA likely causes the mood elevating effects experienced by MDMA users. However, by releasing large amounts of serotonin, MDMA causes the brain to become significantly depleted of this important neurotransmitter, contributing to the negative behavioral aftereffects that users often experience for several days after taking MDMA