Medications used as muscle relaxers can differ in their chemical structures and the way they work in the brain. In general, muscle relaxers act as central nervous system depressants and cause a sedative effect or prevent your nerves from sending pain signals to your brain.