Trazodone is a prescription drug that is used for treating depression in adults. The medication is believed to work by balancing serotonin levels in the brain and blocking certain serotonin receptors. It comes in the form of a tablet and is generally taken one to three times a day, usually after eating.