Cyclobenzaprine is used with rest, physical therapy, and other measures to relax muscles and relieve pain and discomfort caused by strains, sprains, and other muscle injuries. Cyclobenzaprine is in a class of medications called skeletal muscle relaxants.