Some treatment options for neck muscle spasms include prescription muscle relaxants, such as Soma, Flexeril, Valium, Robaxin and Zanaflex, states Everyday Health. These are only effective for short-term treatment, losing effectiveness after two weeks. These drugs also cause side effects, such as drowsiness, dizziness and confusion.
Doctors only prescribe Soma for about two weeks because of its habit-forming tendencies, states Spine-Health. Valium is also habit-forming, and users who stop taking it may find it difficult to fall asleep without it. Flexeril, appropriate for longer-term treatment, may lead to the retention of urine in men with large prostates. Doctors prescribe antidepressants for some people with long-term neck pain, states WebMD. Doctors rarely use surgery as a treatment for neck pain.