Vivactil is used to treat depression. It is believed to work by increasing the activity of serotonin in the brain. This medicine is a tricyclic antidepressant (TCA). This medicine is only available with a prescription from your doctor.