The chemical structure of the medication called Flexeril is very similar to antidepressant medications. However, it is not technically considered an antidepressant. Most doctors prescribe it to treat patients’ muscle pain. If you are searching for a treatment for your depression, you should talk to your doctor about available options.