Left back and flank pain when laying down?

Kidney stone. There can be several causes of back and flank pain. Kidney stones and muscle spasms are two common causes of pain and you should see a physician to help determine the cause of your pain.