Your health care provider may recommend surgery to treat spinal stenosis. One type of surgery that can help is a foraminotomy. A foraminotomy creates a larger space in your back for the nerves by opening the narrowed part of the spine.