Baclofen and Flexeril are different chemically, but they are in the same drug class used to treat muscle spasms.