A poor sleep position is listed as one of the primary causes of neck pain. This can result from an old or sagging mattress, a poor mattress and pillow combination, or the position you choose to sleep in.
Sometimes pain forces us into less than ideal sleep positions that can actually exacerbate pain. The solution is to have a mattress that supports a good sleep position, with all body parts supported, and good spinal alignment.