Tranylcypromine works by inhibiting the activity of monoamine oxidase, an enzyme that breaks down neurotransmitters such as serotonin, norepinephrine, and dopamine. By preventing the breakdown of these neurotransmitters, tranylcypromine increases their levels in the brain, which can help improve mood and alleviate symptoms of depression.