ELAVIL, the brand name for Amitriptyline, is a prescription medication primarily used to treat depression. It belongs to a class of drugs known as tricyclic antidepressants, which work by affecting the balance of certain neurotransmitters in the brain, helping to improve mood and alleviate symptoms of depression.