Spinal stenosis surgery helps to reopen your spinal canal, the channel in your backbone that houses your spinal cord and other nerves. A doctor does the surgery when the space in the canal narrows because of arthritis, bone spurs, or other problems. When that happens, the nerves can be pinched or squeezed.