Trazodone, sold under many brand names,[1] is an antidepressant medication.[18] It is used to treat major depressive disorder, anxiety disorders, and difficulties with sleep.